Commit graph

3204 commits

Author SHA1 Message Date
Pat Hartl
2ddcd75c19 Bind import UI events 2025-12-01 01:05:32 -06:00
Pat Hartl
09eae10935 Try to get existing entity before creating another 2025-12-01 01:05:18 -06:00
Pat Hartl
0f4633aa50 Rework game importer to maintain collections 2025-11-30 21:52:18 -06:00
Pat Hartl
54ace5d141 Map relational game data, fix individual game import 2025-11-29 19:31:43 -06:00
Pat Hartl
6dfc0906ac Refactor launcher library importing, manifests
Switched the library importing in the launcher to work based on a queue. As a new game is added to the queue, it should find any related data and also add it to the queue. This should result in an easier to maintain importer while reducing the load on the launcher's DAL. This may result in more RAM usage while importing. Local manifests have also been refactored to match manifests in import/export LCX files, removing the old manifest format. This is a large breaking change that will probably break existing game installations. A migration will probably have to be created.
2025-11-29 18:24:27 -06:00
Pat Hartl
b7433a2da1 Fix window content fit 2025-11-26 23:24:29 -06:00
Pat Hartl
a281ef473e Fix script debugging in launcher, fix cmdlet registration 2025-11-26 22:38:04 -06:00
Pat Hartl
b60f0a109e Increase game download buffer, force async file reads 2025-11-26 19:26:58 -06:00
Pat Hartl
ffa8ba2399 Add cmdlet to patch GameSpy games 2025-11-26 18:45:19 -06:00
Pat Hartl
e6c12b4809 Refactor script debugging
Instead of providing delegates to a ScriptClient singleton, script execution now relies on dependency injection for debugging. This can be handled by registering an implementation of IScriptDebugger. Multiple script debuggers are supported. These changes required the creation of a PowerShellScriptFactory to handle DI of the service provider to the script.

In the case of LANCommander, "debugging" scripts really just gives an opportunity for the application to break after a script's execution and provide a poor-man's pty. This could be expanded upon in the future to hook directly into PowerShell's debugging functionality, but would require a substantial refactor to script execution.
2025-11-26 01:09:52 -06:00
Pat Hartl
d8af75df26 Load all cmdlets defined in code 2025-11-25 23:58:43 -06:00
Pat Hartl
a549f06a85 Fix service registration in CLI. Create abstraction for external script runners. 2025-11-23 20:54:56 -06:00
Pat Hartl
d6577564db Move launcher settings to separate assembly 2025-11-23 20:53:45 -06:00
Pat Hartl
cac403544e Fix gap with title bar 2025-11-21 19:18:19 -06:00
Pat Hartl
49c4506478 Smoother load from Depot -> Library 2025-11-21 19:06:26 -06:00
Pat Hartl
24414f7994 Avoid inaccessible game/server from crashing launcher when selecting game 2025-11-21 18:20:23 -06:00
Pat Hartl
fe9d1e72c1 Use single footer in main app window between routes 2025-11-21 18:20:01 -06:00
Pat Hartl
2382484975 Fix background color 2025-11-21 13:20:02 -06:00
Pat Hartl
679837ff5e Add log when media fails to import 2025-11-21 13:16:10 -06:00
Pat Hartl
55ad5ddb96 Use DefaultAsync for default storage location 2025-11-21 13:15:57 -06:00
Pat Hartl
7374c904a1 Fix mapping of primary action on export 2025-11-21 13:15:35 -06:00
Pat Hartl
8298452315 Disable antiforgery on chunk upload 2025-11-21 12:06:14 -06:00
Pat Hartl
ab28a61cfd Port other controllers to endpoints 2025-11-21 01:28:37 -06:00
Pat Hartl
88723a8ef3 Fix injection of logger 2025-11-21 00:48:46 -06:00
Pat Hartl
47d78f66d9 Add basic routes for issues, move to minimal API, resolve using user ID 2025-11-21 00:25:59 -06:00
Pat Hartl
c6f51b6a54 Fix root route for games 2025-11-21 00:11:02 -06:00
Pat Hartl
edc3e706d1 Check if the game archive can stream before trying to download 2025-11-20 22:05:02 -06:00
Pat Hartl
cf16d7619f Move game endpoints to minimal API, fix archive upload compressed size calculation 2025-11-20 22:04:20 -06:00
Pat Hartl
17c45d9821 Fix token secret not loading from config 2025-11-20 01:21:23 -06:00
Pat Hartl
52dc00791b Fix null reference when no token is stored 2025-11-20 01:20:51 -06:00
Pat Hartl
875433937a Load settings on launcher 2025-11-19 23:54:11 -06:00
Pat Hartl
34b172b539 Fix divider title 2025-11-19 19:52:42 -06:00
Pat Hartl
88686383db Unwrap settings config builder extensions 2025-11-19 19:52:36 -06:00
Pat Hartl
256b46e823 Fix storage of authentication token 2025-11-19 00:36:03 -06:00
Pat Hartl
a8190ad91b Revert changes to Dockerfile 2025-11-18 19:50:48 -06:00
Pat Hartl
92bc32ac53 Remove unused class 2025-11-18 01:14:35 -06:00
Pat Hartl
0889d6c9d4 Fix spacing in data table 2025-11-18 01:14:24 -06:00
Pat Hartl
4213c2629f Fix file manager styling 2025-11-17 22:14:29 -06:00
Pat Hartl
f84a373d65 Correctly register ArchiveService as IArchiveClient implementation 2025-11-17 22:09:19 -06:00
Pat Hartl
772dd03537 Rename to ArchiveService 2025-11-17 22:09:03 -06:00
Pat Hartl
3a5b3f0897 Configure database on startup 2025-11-17 20:31:11 -06:00
Pat Hartl
7321738d4a Fix updating default role ID 2025-11-17 18:02:02 -06:00
Pat Hartl
b0025daea0 Prefer IOptions, fix setting duplication bug 2025-11-17 18:01:53 -06:00
Pat Hartl
add770b227 Refactor Settings
Settings for the server are now combined with the settings from the SDK. This introduces a large breaking change and a migration should be created. This refactor utilizes .NET Configuration and the Options pattern. This will allow for the overriding of any setting using envionment variables. It also means that Settings.yml can be used to override any .NET configuration. A SettingsProvider implementation was created, and any updating of settings was changed from SettingsService.SaveSettings() to SettingsProvider.Update(s => { ... })
2025-11-16 12:31:25 -06:00
Pat Hartl
f20d2861bb Change order of copy, fix .NET publish 2025-11-14 18:20:13 -06:00
Pat Hartl
10bb7a5a46 Adjust dev Dockerfile pathing 2025-11-14 18:06:29 -06:00
Pat Hartl
6aa6e76615 Change Development dockerfile for building directly in Docker 2025-11-14 02:24:16 -06:00
Pat Hartl
7efee54550 Fix check to see if user is already participant 2025-11-14 00:16:11 -06:00
Pat Hartl
3a8f1b9698 Fix logger minimum levels 2025-11-13 23:40:22 -06:00
Pat Hartl
a506a67ccd Fix validation message for chat input 2025-11-13 23:40:12 -06:00