Commit graph

2902 commits

Author SHA1 Message Date
Pat Hartl
93523fe8e1 Fix exporting of scripts 2025-07-30 19:25:55 -05:00
Pat Hartl
cc66aedd28 Fix files not being added to export archive 2025-07-29 00:24:28 -05:00
Pat Hartl
29a84fe6eb Fix importer/exporter dependency injection 2025-07-28 08:51:34 -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
c81630b18a Fix merge issue 2025-07-25 18:49:38 -05:00
Pat Hartl
b9dfa8f48d
Merge pull request #328 from LANCommander/refactor/optional-import-export
Selective Export
2025-07-25 18:46:22 -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
7fd01564f1 Remove export footer 2025-07-25 18:35:13 -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
2094266936
Merge pull request #327 from Mavyre/main
Corrected routes for Play Sessions tracking
2025-07-25 00:48:01 -05:00
Bastien Vidé
095eaa5dc7 Corrected routes for Play Sessions tracking 2025-07-25 00:38:09 +02: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
Pat Hartl
1747195b36
Merge pull request #321 from RattleSN4K3/fix/EndGameLag
Fix game end lag caused by generating game save
2025-06-29 21:11:52 -05:00
Pat Hartl
236852fb4f
Merge pull request #322 from RattleSN4K3/feature/SavePathsRegistryExport
Re-implement registry save paths game save creation in Launcher
2025-06-29 21:11:25 -05:00
RattleSN4K3
2e6fdd1925 Re-implement registry save paths, split registry per path, export via Microsoft.Win32 2025-06-28 00:49:57 +02:00
RattleSN4K3
b3919b73f9 Fix calling regedit for game save registry import 2025-06-28 00:44:53 +02:00
RattleSN4K3
2d755b2253 Configure script debugging for game save registry export 2025-06-28 00:44:52 +02:00
RattleSN4K3
9eca901448 Fix uploading game save registry dumping when debugging script 2025-06-28 00:44:51 +02:00
RattleSN4K3
2d06457486 Fix uploading game save taking long time if no save path is configured 2025-06-28 00:38:29 +02:00
RattleSN4K3
6b9190aaeb Prevent attempting to upload game save in offline mode 2025-06-28 00:38:22 +02:00
RattleSN4K3
c4708006d6 Fix calling After-stop script when game ends 2025-06-28 00:38:15 +02:00
Pat Hartl
99079e46cc
Merge pull request #318 from RattleSN4K3/fix/ImportGameThumbnails
Fix generating of thumbnails on importing games
2025-06-23 23:14:18 -05:00
Pat Hartl
05775d2769
Merge pull request #319 from RattleSN4K3/fix/CollectionEdit
Fix editing collection and other metadata pages
2025-06-23 23:13:18 -05:00
RattleSN4K3
1a278bdebb Add editing Company, showing a modal for changing name, using separate instance 2025-06-23 22:19:28 +02:00
RattleSN4K3
f549bf82fa Fix editing Tag, showing a modal for changing name, using separate instance 2025-06-23 22:19:28 +02:00
RattleSN4K3
b1334b8cfb Fix editing Platform, showing a modal for changing name, using separate instance 2025-06-23 22:19:28 +02:00
RattleSN4K3
48d9d5692c Fix editing Genre, showing a modal for changing name, using separate instance 2025-06-23 22:19:24 +02:00
RattleSN4K3
8c04ed119f Fix editing Engine, showing a modal for changing name, using separate instance 2025-06-23 22:19:24 +02:00
RattleSN4K3
72721942bd Pre-load entities which are shown in the datatable of a Collection 2025-06-23 22:19:19 +02:00
RattleSN4K3
0fa1c624f2 Fix acessing edit page for a collection 2025-06-23 22:19:19 +02:00
RattleSN4K3
18823f6e9b Fix calling OnOk and OnCancel after import dialog 2025-06-22 21:23:03 +02: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
79d161769e Proper error messaging for login/register, utilizing ErrorResponse 2025-06-22 01:36:17 +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
a126b61508 FEATURE START 2025-06-22 01:33:01 +02:00
Pat Hartl
af87690dcb
Merge pull request #305 from RattleSN4K3/feature/LoggingDefaults
[Launcher] Configure logger with log level from debug settings
2025-06-18 01:16:06 -05:00
Pat Hartl
d05ffd6649
Merge pull request #303 from RattleSN4K3/fix/FixContextMenuActions
Fix context menu items not triggering on click
2025-06-18 01:15:28 -05:00
Pat Hartl
9c9845d3ca
Merge pull request #308 from RattleSN4K3/feature/AdminBypassPasswordPolicy
Bypass password policy on first-time-setup for administrator creation
2025-06-18 01:09:48 -05:00
Pat Hartl
238a834e80
Merge pull request #307 from RattleSN4K3/fix/NoLocalhostConnection
[Launcher] Fix connecting to hostname:port Uri
2025-06-18 01:04:49 -05:00
RattleSN4K3
61e0378f12 Bypass password policy on first-time-setup for administrator creation 2025-06-18 00:19:58 +02:00
RattleSN4K3
bf1c16f8ff Fix connecting to hostname:port Uri (adds UriExtensions.CreateUri and .TryCreateUri 2025-06-17 00:41:19 +02:00