Commit graph

3050 commits

Author SHA1 Message Date
Pat Hartl
f62d43500f Standardize private method signature 2024-11-22 02:05:44 -06:00
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
2cb487621c Formatting 2024-11-16 01:45:01 -06:00
Pat Hartl
e22e5057df Fix importing base game and media 2024-11-16 01:44:53 -06:00
Pat Hartl
f33b669ef6 Fix logging when game fails to add 2024-11-15 23:42:34 -06:00
Pat Hartl
e8e4ae1866 Avoid exceptions when no addonIds are passed 2024-11-15 23:42:17 -06:00
Pat Hartl
99368cbfc6 Update state of game detail buttons when adding/installing/removing 2024-11-15 23:41:53 -06:00
Pat Hartl
67cef0aea6 Fix logic for saving thumbs as PNG 2024-11-15 23:22:15 -06:00
Pat Hartl
3614dae4ca When adding/removing, handle base game and dependent games 2024-11-15 02:25:40 -06:00
Pat Hartl
111251c9cf Import any base game that might be required 2024-11-15 02:25:22 -06:00
Pat Hartl
a1c2a4704d Fix spacing 2024-11-15 02:24:30 -06:00
Pat Hartl
2a409afc5d Fix API that gets hit when adding/removing from library 2024-11-15 01:18:14 -06:00
Pat Hartl
ba60641a76 Stop importing indicator on failure 2024-11-15 01:17:58 -06:00
Pat Hartl
e4006d24c6 Get thumbnails for game details 2024-11-15 01:17:45 -06:00
Pat Hartl
02e8a4f075 Add cover for games missing cover 2024-11-15 00:18:25 -06:00
Pat Hartl
982a973285 Change size of filter form 2024-11-14 20:53: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
3688c49125 Add background to filter, allow scrolling 2024-11-14 00:34:13 -06:00
Pat Hartl
7a227caa94 Add button to get back to library on depot 2024-11-14 00:33:56 -06:00
Pat Hartl
95e84b03e2 Fix text alignment in select 2024-11-14 00:33:38 -06:00
Pat Hartl
67941fe877 Fix singular game local import 2024-11-14 00:10:20 -06:00
Pat Hartl
ce9c1e9684 Consolidate game imports 2024-11-13 23:10:31 -06:00
Pat Hartl
b01c13eeb4 Change style of library buttons on game details 2024-11-13 22:55:00 -06:00
Pat Hartl
76a9520437 Add remove from library button to context menu 2024-11-13 22:48:43 -06:00
Pat Hartl
8cff55ea3e Add ID parameter to controller route 2024-11-13 22:44:48 -06:00
Pat Hartl
ad152465fd Fix games not importing if base game is not set 2024-11-13 22:44:33 -06:00
Pat Hartl
79776c3327 Import games from library 2024-11-13 01:52:37 -06:00
Pat Hartl
ed84ca8963 Grouping in depot, default to no grouping 2024-11-13 01:43:00 -06:00
Pat Hartl
0ad69c00d4 Filterable depot 2024-11-13 00:57:00 -06:00
Pat Hartl
cc0aa2baef Add buttons for adding/removing games from library 2024-11-13 00:04:21 -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
62ceffc976 Merge branch 'user-libraries' of https://github.com/LANCommander/LANCommander into user-libraries
# Conflicts:
#	LANCommander.Server.Services/LibraryService.cs
2024-11-12 21:02:28 -06:00
Pat Hartl
00b9ca5953 Rename service and repository methods to async 2024-11-12 18:32:46 -06:00
Pat Hartl
be86bcb261 WIP depot view and import 2024-11-12 02:35:28 -06:00
Pat Hartl
4f5324ce1b Expire user library cache when adding/removing 2024-11-12 02:34:27 -06:00
Pat Hartl
6528015f4a Add authorization functionality to swagger 2024-11-12 02:18:04 -06:00
Pat Hartl
82caf0529a Get user using existing method 2024-11-12 02:17:42 -06:00
Pat Hartl
9285c376d3 Remove base game and dependent games from serialization 2024-11-12 02:17:26 -06:00