Commit graph

935 commits

Author SHA1 Message Date
Pat Hartl
1dda11dd0a Switch dependency injection for services that access database 2024-11-22 02:04:04 -06:00
Pat Hartl
8c7b3b1ec9 Merge branch 'user-libraries' of https://github.com/LANCommander/LANCommander into user-libraries 2024-11-17 16:37:32 -06:00
Pat Hartl
e95b42b10d Revert "Try fix circular ref json serialization"
This reverts commit 4ef01ef29f.
2024-11-16 12:45:19 -06:00
Pat Hartl
aa5fa31857 Undo mapping change 2024-11-16 12:21:08 -06:00
Pat Hartl
4e300e1f64 Map profile to SDK model 2024-11-16 12:12:25 -06:00
Pat Hartl
4ef01ef29f Try fix circular ref json serialization 2024-11-16 11:59:07 -06:00
Pat Hartl
50879edf4d Force max depth on Game 2024-11-16 11:40:51 -06:00
Pat Hartl
7c87bfcf24 Fix mapping for game saves 2024-11-16 11:20:59 -06:00
Pat Hartl
9a585629e9 Temporarily disable game icons in server due to database context concurrency issues 2024-11-16 01:45:41 -06:00
Pat Hartl
3b02da70e4 Mitigate database context disposal 2024-11-16 01:45:22 -06:00
Pat Hartl
65be58fbf2 Working validate files dialog
Very basic, but it will compare local files against what's available on the server and allow you to selectively replace them. Save paths are ignored to avoid accidental replacement.

Implements #142
2024-11-14 20:53:08 -06:00
Pat Hartl
a734ef9793 Fix incorrect type for cache 2024-11-14 01:51:21 -06:00
Pat Hartl
60337009b1 Fix routes for getting content by version, cache results 2024-11-14 00:54:28 -06:00
Pat Hartl
8cff55ea3e Add ID parameter to controller route 2024-11-13 22:44:48 -06:00
Pat Hartl
7fd07e9de6 Switch HTTP methods 2024-11-12 23:28:05 -06:00
Pat Hartl
e9c542ab49 Rename async controller routes 2024-11-12 23:22:01 -06:00
Pat Hartl
00b9ca5953 Rename service and repository methods to async 2024-11-12 18:32:46 -06:00
Pat Hartl
6528015f4a Add authorization functionality to swagger 2024-11-12 02:18:04 -06:00
Pat Hartl
9285c376d3 Remove base game and dependent games from serialization 2024-11-12 02:17:26 -06:00
Pat Hartl
63d203f87f Map DepotGame cover from attached media 2024-11-11 20:20:02 -06:00
Pat Hartl
f0abe24367 Filter collections and play sessions 2024-11-11 18:33:04 -06:00
Pat Hartl
407093bdce Optimize query, filter play sessions and collections 2024-11-11 18:30:31 -06:00
Pat Hartl
b5bddf806d Optimize controller routes for getting depot and library games 2024-11-11 18:22:30 -06:00
Pat Hartl
f61d6db02a Add HTTP method for library get 2024-11-07 20:25:24 -06:00
Pat Hartl
a98c2c92a2 Add route to get thumbnail 2024-11-07 18:54:46 -06:00
Pat Hartl
4a7277cc7f Change game table size to small 2024-11-07 02:06:54 -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
9d539c3c24 Server package.json 2024-11-05 23:38:46 -06:00
Pat Hartl
38f2eba664 Fix automapper def 2024-11-05 22:35:38 -06:00
Pat Hartl
23829ca9b3 Merge branch 'v1.1.0' into user-libraries 2024-11-05 20:42:14 -06:00
Pat Hartl
4643aecc8f Remove useless startup log 2024-11-05 20:38:40 -06:00
Pat Hartl
7a90c254bd Only generate thumbnails on start if database is connected 2024-11-05 20:22:34 -06:00
Pat Hartl
e1030d25d9 Enable migrations and server autostarts 2024-11-05 20:21:28 -06:00
Pat Hartl
31433213b6 Generate thumbnails on startup 2024-11-05 20:20:03 -06:00
Pat Hartl
659a4e3b50 Fix abstract base background job class 2024-11-05 20:16:34 -06:00
Pat Hartl
1fc74d22dd Add background job for generating all thumbnails 2024-11-05 19:39:32 -06:00
Pat Hartl
ce105a285f Rename GetImagePath -> GetMediaPath 2024-11-05 19:38:59 -06:00
Pat Hartl
4d6b704a5b Fix primary action flag not mapping for API 2024-11-04 19:07:37 -06:00
Pat Hartl
02ac6a00f8 Dialog to verify install files with ability to select replacement files
Implements #142
2024-11-04 17:31:37 -06:00
Pat Hartl
e30a1baef3 Start of migrations, services, controllers 2024-10-31 01:54:34 -05:00
Pat Hartl
cdd8f31f93 Use cached results for indexes 2024-10-30 18:14:06 -05:00
Pat Hartl
0821dfde5c Merge tag 'v1.0.4' into v1.1.0
# Conflicts:
#	LANCommander.Launcher.Services/InstallService.cs
#	LANCommander.Launcher.Services/ProfileService.cs
#	LANCommander.Launcher/UI/Components/DownloadQueue.razor
#	LANCommander.Launcher/wwwroot/css/app.css.map
#	LANCommander.SDK/Enums/InstallStatus.cs
2024-10-28 01:01:57 -05:00
Pat Hartl
2ade50b855 Set new uploads path to default 2024-10-23 23:17:28 -05:00
Pat Hartl
2f95e46358 Update default Postgres username 2024-10-23 23:17:10 -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
41091e5e6d Fix redirects to login or first time setup if required 2024-10-23 22:28:55 -05:00
Pat Hartl
3c50303e02 Do redirect after creating admin 2024-10-23 22:28:01 -05:00
Pat Hartl
88ad8926c9 Redirect to games list if game ID doesn't exist 2024-10-23 22:27:48 -05:00
Pat Hartl
ed92933f54 Fix profile pages not rendering 2024-10-23 02:31:50 -05:00