Commit graph

255 commits

Author SHA1 Message Date
Pat Hartl
188926e37b Add new RPC hub, migrate existing SignalR messaging to strongly typed RPC, add chat data migrations 2025-08-28 19:57:23 -05:00
Pat Hartl
e8388f7918 Add way to start thread 2025-08-20 20:54:09 -05:00
Pat Hartl
fd3fbf4a75 Initial backend implementation for chat 2025-08-19 03:08:30 -05:00
Pat Hartl
59cd872c5f Used cached credentials for SteamCMD 2025-08-15 02:15:40 -05:00
Pat Hartl
086c41dcb8 Set created by based on ID 2025-08-15 02:15:20 -05:00
Pat Hartl
5a50d80326 Revert "Fix lookup of game metadata when adding new game"
This reverts commit 2b711b5017.
2025-08-15 02:08:39 -05:00
Pat Hartl
134ca81c07 Added ability to add multiple Steam profiles, handle login + logout 2025-08-12 18:52:58 -05:00
Pat Hartl
46c4a4d7a4 Merge branch 'main' of https://github.com/LANCommander/LANCommander 2025-08-10 18:08:17 -05:00
Pat Hartl
2b711b5017 Fix lookup of game metadata when adding new game 2025-08-10 18:08:14 -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
9c98f8b5c5 Port server API routes to endpoints, add start/stop/getstatus
Implements #325
2025-08-07 23:35:50 -05:00
Pat Hartl
f6d031e9dd Restore old manifest for API endpoint 2025-08-06 19:37:31 -05:00
Pat Hartl
14f103fddd Service to interact with SteamCMD 2025-08-03 18:20:39 -05:00
Pat Hartl
bee8125226 Merge branch 'feature/ArchivesUpdateSelective' of https://github.com/RattleSN4K3/LANCommander into RattleSN4K3-feature/ArchivesUpdateSelective
# Conflicts:
#	LANCommander.Server.Services/ArchiveService.cs
2025-08-03 14:11:34 -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
305a6e1b7d Remove antiforgery, fix auth service registration 2025-07-30 20:42:15 -05:00
Pat Hartl
ace43fa09e Revert "Merge branch 'feature/server-process-resource-monitoring'"
This reverts commit 8be2341305, reversing
changes made to cf0fe7c1b6.
2025-07-30 19:29:18 -05:00
Pat Hartl
8be2341305 Merge branch 'feature/server-process-resource-monitoring' 2025-07-30 19:27:38 -05:00
Pat Hartl
6ec919d1be Separate import and export functionality
This refactor splits the import and export functionality out of the ImportContext and adds an ExportContext. This also introduced separate importer and exporter implementations.

Additionally, adding archive, save, scripts, and server files to the final export archive has been implemented at the exporter implementation for each instead of handling it in the context. This should be a good pattern if other files need to be added down the road.
2025-07-27 17:51:50 -05:00
Pat Hartl
1250315110 Mostly-functional selective importer 2025-07-26 19:19:38 -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
c9c7963e46 Fix file-based records not being added to mainfest if files don't exist 2025-07-25 18:19:45 -05:00
Pat Hartl
3edc7f7fae Dispose archive properly to fix corruption issues 2025-07-25 18:19:03 -05:00
Pat Hartl
47d5b0b58a Working selective export (at least for manifest) 2025-07-25 17:57:33 -05:00
Pat Hartl
2e073e9332 Render export dialog, resolve circular DI issues
- Fixed circular DI issues with importers and importer context
- Added additional mappings for data <-> manifest models
- Avoid null reference exceptions when trying to export archives/media where files don't exist
- Consolidate import dialogs
- Render selectable flags in export dialog
- Fixed various media uploaders to use new MediaService.WriteToFile
2025-07-19 17:39:55 -05:00
Pat Hartl
400acd9287 Remove old export routes, build export archive from flags 2025-07-15 20:32:46 -05:00
Pat Hartl
c37ccd494c
Merge pull request #316 from RattleSN4K3/feature/ReworkLoginMessaging
Error messaging for login/register via Launcher
2025-06-29 21:15:11 -05:00
RattleSN4K3
a99703aaf7 Import media with same Id, overwrite on subsequent import 2025-06-22 19:29:45 +02:00
RattleSN4K3
3fad5d3fa5 Generate thumbnails on media import through archive import 2025-06-22 18:58:50 +02:00
RattleSN4K3
83ab404830 Fix deleting upload after failed import
Upload was kept since ArchiveService.DeleteAsync is not called on exception.
2025-06-22 18:52:36 +02:00
RattleSN4K3
5c4e94b150 Reload auth configuration on saving 2025-06-22 01:33:04 +02:00
RattleSN4K3
8d0864e01c Handle errors with specific exceptions, provide error response with message for clients 2025-06-22 01:33:03 +02:00
RattleSN4K3
83f453851f Prevent user account creation if the password does not meet the required criteria 2025-06-22 01:33:03 +02:00
RattleSN4K3
61e0378f12 Bypass password policy on first-time-setup for administrator creation 2025-06-18 00:19:58 +02:00
Pat Hartl
cddf67a613 Resource stats component, better tracking of child processes, fix serialization bugs 2025-06-14 15:33:10 -05:00
Pat Hartl
425bae360b Abstract server state to support other engines, add Docker container stats 2025-05-26 22:19:53 -05:00
Pat Hartl
fd27010a81 Fix status reporting, use private active memory 2025-05-26 21:59:30 -05:00
RattleSN4K3
023fe9e555 Update archive's file sizes for a specific archive/game 2025-05-26 23:53:40 +02:00
Pat Hartl
b3371fcd26 Fix obsolete usage of GetStatus, rework server control as siwtch 2025-05-25 21:11:33 -05:00
RattleSN4K3
73ff5f258a Remove-game-library dialog to remove base game + addons 2025-05-25 22:25:17 +02:00
RattleSN4K3
cb0765300b Only remove addon games _recursively_ (keep standalone and full games) 2025-05-24 21:30:30 +02:00
RattleSN4K3
f7d8f4b875 Fix crashing server when base game is removed 2025-05-24 21:26:57 +02:00
Pat Hartl
57bf7a1772
Merge pull request #281 from RattleSN4K3/fix/GameSaveUpload
Fix storing several entities (such as Gamesaves) properly
2025-05-24 14:06:45 -05:00
RattleSN4K3
b09752e458 Fix storing several entities (such as Gamesaves) properly
Referenced properties were not properly loaded causing constraint errors on saving.
2025-05-24 18:22:06 +02:00
RattleSN4K3
086f568f39 Fix importing tags on Lookup from IGDB 2025-05-24 16:32:48 +02:00
Pat Hartl
4d32f574a9 Provide server state instead of just status 2025-05-24 02:34:00 -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
84559b6492
Merge pull request #268 from RattleSN4K3/fix/FixExpiringArchivesCache
Expiring Archives cache after recalculating/updating archives
2025-05-17 23:43:41 -05:00