Commit graph

53 commits

Author SHA1 Message Date
Pat Hartl
c07161a1a3 Ensure game cache is expired 2026-07-02 20:01:04 -05:00
Pat Hartl
62c03621a3 Rework update functionality as an additional download workflow 2026-06-08 19:00:56 -05:00
Pat Hartl
4c89aa60fe Add cmdlet for extracting the latest archive for a game 2026-05-31 22:19:03 -05:00
Pat Hartl
52dd3f23ba Add "Package" button to archive page w/ dialog 2026-05-27 20:42:23 -05:00
Pat Hartl
ecdc5f9ce3 Add options to redistributables
Options are defined schema that the redistributable will allow a game to customize / override. This will be useful for install scripts on a redistributable. It opens up the opportunity to define a redistributable for something such as dgVoodoo and override options on a per-game basis without having to edit the config manually in the game's scripts.
2026-05-15 00:14:46 -05:00
Pat Hartl
e56371cd7c Add support for external IDs beyond IGDB 2026-05-14 00:30:45 -05:00
Pat Hartl
5ad55faa5a Add support for tools 2026-05-14 00:29:48 -05:00
Pat Hartl
62b8bf332f Use correct storage location for packaging 2026-05-11 04:06:32 -05:00
Pat Hartl
a256ea6406 Log script errors, avoid silent failures in package scripts 2026-05-10 12:14:32 -05:00
Pat Hartl
4474164e9b Split ScriptClient into partials 2026-02-10 17:34:35 -06:00
Pat Hartl
657dd746b8 Skip packaging if resulting path does not exist 2026-01-14 20:13:20 -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
cf16d7619f Move game endpoints to minimal API, fix archive upload compressed size calculation 2025-11-20 22:04:20 -06:00
Pat Hartl
772dd03537 Rename to ArchiveService 2025-11-17 22:09:03 -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
d875377f15 Rename SDK services -> clients, implement new configuration, use dependency injection for clients 2025-09-24 20:58:23 -05:00
Bastien Vidé
2b581f4aa3 Added redistributables to Games API and Games manifest 2025-08-10 18:47:00 +02:00
Bastien Vidé
93b25f8fd7 Fixed an issue where game scripts were not in the manifest, nor in the game API 2025-08-08 13:27:09 +02:00
Pat Hartl
f6d031e9dd Restore old manifest for API endpoint 2025-08-06 19:37:31 -05:00
Pat Hartl
8daad65cd3 Schedule background process for packaging 2025-08-02 23:27:27 -05:00
Pat Hartl
6c49d9041a Add basic workflow for packaging games via scripts 2025-08-02 00:22:16 -05:00
Pat Hartl
a5dab5c094 Merge branch 'main' into refactor/optional-import-export
# Conflicts:
#	LANCommander.Server.Services/GameService.cs
#	LANCommander.Server.Services/ImportService.cs
#	LANCommander.Server.Services/Importers/GameImporter.cs
#	LANCommander.Server.Services/UserService.cs
#	LANCommander.Server/UI/Components/AvatarUploader.razor
#	LANCommander.Server/UI/Components/ImportUploadDialog.razor
2025-07-25 18:42:39 -05:00
Pat Hartl
1e7578772f Put addons (mods/expansions) nested under base game in list 2025-05-23 02:17:06 -05:00
Pat Hartl
93d3c9dc06 Implement some export functionality 2025-04-11 02:31:29 -05:00
Pat Hartl
13527e8ef2 Working in game imports 2025-03-29 20:10:35 -05:00
Pat Hartl
407ec6334b Fix save paths not being included in downloaded manifest 2025-03-13 00:35:58 -05:00
Pat Hartl
a5471aa9c2 Fix adding data with relationships 2025-02-23 08:50:16 -06:00
Pat Hartl
e8627b6a87 Use generic implementations 2025-02-16 10:08:05 -06:00
Pat Hartl
b05860d816 Move importing to new service with implementations 2025-02-16 09:17:26 -06:00
Pat Hartl
1665463114 Fix exception when importing game with no archives 2025-02-16 01:19:03 -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
6b786381b0 Fix missing scripts and custom fields in exports 2025-02-09 18:25:38 -06:00
Pat Hartl
751c0036c1 Fix game update and delete 2025-02-09 14:52:26 -06:00
Pat Hartl
3603ee6a70 Fix GameService DI 2025-02-03 02:35:49 -06:00
Pat Hartl
6081edfb4f Update relationships 2025-02-02 14:58:07 -06:00
Pat Hartl
af08645396 Remove use of DatabaseServiceFactory, update service dependency injection 2025-02-01 02:21:34 -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
2c5bbed8d5 Increase API performance 2025-01-25 12:46:24 -06:00
Pat Hartl
3b8edf2376 Fix game importing 2025-01-23 00:25:23 -06:00
Pat Hartl
b4080c8f22 Change cache keys, add extension to clear game cache by ID 2025-01-23 00:25:11 -06:00
Pat Hartl
db5bd719b1 Fix importer styling, fix import storage location 2025-01-08 20:01:00 -06:00
Pat Hartl
d62a48e977 Calculate uncompressed archive size on import 2025-01-08 17:31:19 -06:00
Pat Hartl
df24bfd058 Fix importing 2025-01-08 17:24:55 -06:00
Pat Hartl
61d1a10d74 Refactor import dialog, add storage location selector 2025-01-08 17:10:03 -06:00
Pat Hartl
8f6ad14d7e Fix eager loading 2024-12-20 11:34:59 -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
00b9ca5953 Rename service and repository methods to async 2024-11-12 18:32:46 -06:00
Pat Hartl
b5bddf806d Optimize controller routes for getting depot and library games 2024-11-11 18:22:30 -06:00
Pat Hartl
ce105a285f Rename GetImagePath -> GetMediaPath 2024-11-05 19:38:59 -06:00
Pat Hartl
24acb5e1bd Cache service calls from database for all of entity type for 30 seconds 2024-10-30 17:44:10 -05:00