Commit graph

58 commits

Author SHA1 Message Date
Pat Hartl
06b638e592 Make Settings / Users a searchable datatable 2025-03-09 01:43:12 -06:00
Pat Hartl
7fdbc62063 Fix potential issues with first time startup path creation 2025-02-26 00:59:50 -06:00
Pat Hartl
b1c6c82f84 Fix shadow properties on HTTP paths and server consoles 2025-02-12 21:05:33 -06:00
Pat Hartl
2012f12379 Fix MySQL migrations
Fixes #168
2025-02-12 20:39:47 -06:00
Pat Hartl
841fd2cb7b Remove DI auditing interceptor 2025-02-09 19:04:46 -06:00
Pat Hartl
b28e8a51ee Fix auditing
The way updates are being handled means that the auditing interceptor doesn't work as the entities are not showing in the change tracker at that stage as modified. Added the auditing to BaseDatabaseService instead.
2025-02-09 18:53:40 -06:00
Pat Hartl
e022ebb127 Test fix relationship breaking 2025-02-09 14:10:06 -06:00
Pat Hartl
3bc4cb2607 Fix some child entities not being updated/removed 2025-02-06 19:36:08 -06:00
Pat Hartl
117f2d6c2b Update to .NET 9 2025-02-04 18:39:29 -06:00
Pat Hartl
981aed208f Fix archive uploading 2025-02-03 01:42:14 -06:00
Pat Hartl
25dbb9e012 Retrieve relationship entity from tracker when available 2025-02-03 00:29:08 -06:00
Pat Hartl
69e903499b Add auditing interceptor 2025-02-02 19:14:06 -06:00
Pat Hartl
123a5827c3 Remove repository 2025-02-02 18:52:47 -06:00
Pat Hartl
283873330b Fix updating of :1 relationships, only process added/removed entities in :* relationships 2025-02-02 18:50:22 -06:00
Pat Hartl
6081edfb4f Update relationships 2025-02-02 14:58:07 -06:00
Pat Hartl
57735aa667 Simplify database updates 2025-01-31 01:57:23 -06:00
Pat Hartl
aa4ba8a056 Add custom fields to games and allow them to be used in scripts / actions 2025-01-30 19:21:02 -06:00
Pat Hartl
c17d2006a6 Fix game importing 2025-01-28 17:31:02 -06:00
Pat Hartl
b74dee5e60 Fix updating children properties and removal of children 2025-01-25 00:11:31 -06:00
Pat Hartl
0016a4b282 Fix setting simple values and _:1 values on update 2025-01-24 23:15:39 -06:00
Pat Hartl
d0a3f8d334 Fix change tracking for many relationships
Fixes #167
2025-01-24 21:32:05 -06:00
Pat Hartl
254a653cbb Fix game adds 2025-01-20 17:30:11 -06:00
Pat Hartl
dc4a49d71a Convert more tables to data tables 2025-01-20 01:23:07 -06:00
Pat Hartl
8f6ad14d7e Fix eager loading 2024-12-20 11:34:59 -06:00
Pat Hartl
8a3132b872 Add DataTable component 2024-12-12 17:35:52 -06:00
Pat Hartl
7084cd75d3 Fix page slug generation to avoid collision, fix page slug editor 2024-11-30 02:09:10 -06:00
Pat Hartl
161974f884 Fix editing of roles, change method of repository Update 2024-11-27 19:36:44 -06:00
Pat Hartl
627aebaa05 Execute as split query if any includes are added 2024-11-27 01:52:06 -06:00
Pat Hartl
5f00f2100a Remove lazy loading 2024-11-27 01:51:47 -06:00
Pat Hartl
5de9eccce1 Adjust Blazor server-side to pull data with new context 2024-11-25 22:29:56 -06:00
Pat Hartl
b52c84992e Remove mutex 2024-11-22 02:13:32 -06:00
Pat Hartl
00b9ca5953 Rename service and repository methods to async 2024-11-12 18:32:46 -06:00
Pat Hartl
3440345868 Add ability to project to another datatype in repo
This commit adds the ability for database requests to be projected to another datatype using AutoMapper. This is extremely useful for grabbing large amounts of data from the database and mapping it to another datatype without the overhead of mapping it post-query.
2024-11-11 18:18:59 -06:00
Pat Hartl
ddce80d296 Rename semaphore to mutex 2024-11-08 00:39:55 -06:00
Pat Hartl
8996c04c83 Add eager loading to repo. Move semaphore to DbContext. Inject DbContext instead of factory to open less connections 2024-11-07 01:40:05 -06:00
Pat Hartl
e30a1baef3 Start of migrations, services, controllers 2024-10-31 01:54:34 -05:00
Pat Hartl
25a4766b7d Use semaphores to make DbContext access in a repository safer 2024-10-30 18:15:02 -05:00
Pat Hartl
3dd91b3b0d Switch all DateTime.Now to use UTC 2024-10-23 23:16:52 -05:00
Pat Hartl
7a9d6ecdba Add file size to game saves 2024-10-23 22:33:28 -05:00
Pat Hartl
142475ea7b Go back to tracking 2024-10-23 02:32:00 -05:00
Pat Hartl
edae55c468 Attempt to fix User duplicate entry issues 2024-10-23 01:59:17 -05:00
Pat Hartl
9f1f4d7e12 Make DatabaseContext use no tracking 2024-10-23 01:59:01 -05:00
Pat Hartl
c7e12035ce Revert "Try doing all EF operations by AsNoTracking"
This reverts commit f43e3927e3.
2024-10-23 01:06:47 -05:00
Pat Hartl
f43e3927e3 Try doing all EF operations by AsNoTracking 2024-10-23 00:50:23 -05:00
Pat Hartl
42ca5c323a WIP MySQL concurrency fixes
- Removed the Blazor authentication pages and went back to Razor pages
- Fixed issues with dashboard charts that were pulling data on render and causing the database context to be open longer than it should
- Switched back to UserManager and RoleManager
- Temporarily disabled authentication state in pages that might try to use user claims/roles
- Reverted spacing changes to forms to allow for validation messages
- Moved initialization of database connection to database context
- Updated PostgreSQL provider
- Rescaffolded MySQL migrations
- Added a bunch of logging stuff that should eventually be stripped out
2024-10-21 20:06:52 -05:00
Pat Hartl
2056b06207 Working new login page 2024-10-18 19:15:05 -05:00
Pat Hartl
524f4c9573 Back to managers 2024-10-16 16:29:55 -05:00
Pat Hartl
91829f601d Enable navigation properties for user roles, use service in place of managers 2024-10-16 01:54:51 -05:00
Pat Hartl
14df6bc95c Use custom models for identities 2024-10-15 23:48:16 -05:00
Pat Hartl
57d93e33e6 Remove identity context 2024-10-15 20:50:54 -05:00