Commit graph

354 commits

Author SHA1 Message Date
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
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
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
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
99079e46cc
Merge pull request #318 from RattleSN4K3/fix/ImportGameThumbnails
Fix generating of thumbnails on importing games
2025-06-23 23:14: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
5c4e94b150 Reload auth configuration on saving 2025-06-22 01:33:04 +02:00
RattleSN4K3
61e0378f12 Bypass password policy on first-time-setup for administrator creation 2025-06-18 00:19:58 +02:00
Pat Hartl
5898de8a03 Include games in asset list that are mods/expansions, but have no base game ID
Fixes #285
2025-05-25 21:13:10 -05:00
RattleSN4K3
e2ba7d76cb Fix uploading avatar (Media accessed null), also AddSync called twice 2025-05-24 19:32:47 +02:00
Pat Hartl
701650eca2
Merge pull request #273 from LANCommander/feature/nest-game-list
Nest Game List
2025-05-23 02:20:12 -05:00
Pat Hartl
b21641c769 Update AntBlazor 2025-05-23 02:17:45 -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
50ba8cd1f8
Merge pull request #271 from RattleSN4K3/fix/FixGameBaseGameChanges
Fix changing base game of a game
2025-05-18 15:25:11 -05:00
RattleSN4K3
6521e16a1e Ability to set base game to standalone mods/expansions as well 2025-05-18 20:14:25 +02:00
RattleSN4K3
24ea952f42 Prevent Game referencing itself as base game (in UI) 2025-05-18 19:46:42 +02:00
RattleSN4K3
779502f3a4 Fix changing base game not working (still storing old selection) 2025-05-18 19:46:41 +02: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
RattleSN4K3
028e3bfe0d Option to delete selected Media entries 2025-05-18 01:02:52 +02:00
RattleSN4K3
81511a9cd3 Clear Archives cache to update client manifest request when validating files 2025-05-17 23:04:54 +02:00
Pat Hartl
cd9849a032
Merge pull request #255 from RattleSN4K3/fix/RedistributableDelete
Fix Redistributable not updating after deletion
2025-05-05 19:02:10 -05:00
RattleSN4K3
decb50ec2c Remove RouterLink on General for new entry, leading to zero-guid-page 2025-05-05 22:43:48 +02:00
RattleSN4K3
6de3852b9f Fix accessing Redistributable page crashing for non existing item 2025-05-05 22:43:48 +02:00
RattleSN4K3
70789784c2 Fix deleting Redistributable not updating view 2025-05-05 22:43:46 +02:00
Pat Hartl
065db80ce9 Fix double DI 2025-05-05 02:25:57 -05:00
Pat Hartl
66558abeec Fix default role saving
Fixes #234
2025-05-04 16:51:19 -05:00
Pat Hartl
a6dbb01e63 Strip punctuation from search
Fixes #240
2025-05-04 16:32:22 -05:00
Pat Hartl
56a87354ef
Merge pull request #251 from RattleSN4K3/fix/MediaListOrderType
Fix Media.Type Select not updating
2025-05-03 16:53:41 -05:00
Pat Hartl
167193deba
Merge pull request #246 from RattleSN4K3/fix/SetupLoginBlock
Block First-Time-Setup after its initial setup being done
2025-04-25 02:31:13 -05:00
Pat Hartl
c86e2a2e14
Merge pull request #247 from RattleSN4K3/fix/FixImportMultiplayerModes
Fix import multiplayer modes
2025-04-25 02:29:34 -05:00
Pat Hartl
b859b70553
Merge pull request #252 from RattleSN4K3/fix/MediaManualThumbnail
Fix Media Manual preview thumbnail and PDF viewer.
2025-04-25 02:26:09 -05:00
Pat Hartl
5e64e96b77
Merge pull request #253 from LANCommander/refactor/beacon
Refactor/beacon
2025-04-25 01:00:15 -05:00
Pat Hartl
e38ee0a65e Start/stop beacon from settings page 2025-04-25 00:59:13 -05:00
RattleSN4K3
c56fa69c49 Use generated thumbnail for manual media, fix manual preview 2025-04-25 07:24:06 +02:00
RattleSN4K3
63a19b58cb Fix Media.Type Select not updated properly when full list is refreshed 2025-04-25 06:44:33 +02:00
RattleSN4K3
0127142cf7 Parse and store multiplayer info notes as description 2025-04-24 20:00:50 +02:00
RattleSN4K3
12941932be Prevent browser prompting to save meta data credentials afer submit 2025-04-24 02:22:19 +02:00
RattleSN4K3
c9cb96e9cf Prevent accessing setup pages after initialization 2025-04-24 02:22:18 +02:00
RattleSN4K3
78a61f29ed Improve messaging for launcher variants (cloud, pre, nightly) 2025-04-12 22:47:53 +02:00