Commit graph

59 commits

Author SHA1 Message Date
Pat Hartl
692cd85161 Fixed save packaging and upload
Fixes #190
2025-03-19 17:35:16 -05:00
Pat Hartl
404697d588 Refactor save upload using SavePacker 2025-03-18 20:30:04 -05:00
Pat Hartl
698ddc378e Add test for checking CreatedBy on basic record creation 2025-03-16 21:04:24 -05:00
Pat Hartl
0ef09ab5a7 Fix server login and registration script execution
Fixes #213
2025-03-14 17:43:23 -05:00
Pat Hartl
f52e0349a5 Fix depot list API, gracefully handle depot errors
- Depot endpoint was doing an improper operation to get a user by username
- Failure to get depot results will result in a graceful error handling
- Depot will now show a no results error if nothing is available
- Depot will now show a no results message if there are no results in the applied filter

Fixes #210
2025-03-14 02:19:11 -05:00
Pat Hartl
4c587ebe35 Fix path for downloading save 2025-03-12 01:08:52 -05:00
Pat Hartl
7efac9867a WIP fix for save uploading, move saves to endpoint
Ref #190

Ported the save API functionality to endpoints as part of ongoing efforts to use minimal API patterns.

Added some more security checks to make sure users can only alter or download their own saves.

Moved upload pathing to use the default save storage location. Settings pages will need to be updated to use this storage location. Other areas of the application will have to be checked to make sure they're not reading from `Settings.yml`.
2025-03-08 20:06:34 -06:00
Pat Hartl
a9827a7636 Fix downloading of avatar
Some checks failed
LANCommander Release / prep (push) Failing after 2s
LANCommander Release / build_server_linux_arm64 (push) Has been skipped
LANCommander Release / build_server_linux_x64 (push) Has been skipped
LANCommander Release / build_server_osx_arm64 (push) Has been skipped
LANCommander Release / build_server_osx_x64 (push) Has been skipped
LANCommander Release / build_server_win_arm64 (push) Has been skipped
LANCommander Release / build_server_win_x64 (push) Has been skipped
LANCommander Release / build_launcher_linux_arm64 (push) Has been skipped
LANCommander Release / build_launcher_linux_x64 (push) Has been skipped
LANCommander Release / build_launcher_osx_arm64 (push) Has been skipped
LANCommander Release / build_launcher_osx_x64 (push) Has been skipped
LANCommander Release / build_launcher_win_arm64 (push) Has been skipped
LANCommander Release / build_launcher_win_x64 (push) Has been skipped
LANCommander Release / build_release (push) Has been skipped
LANCommander SDK Release / prep (push) Failing after 1s
LANCommander SDK Release / publish (push) Has been skipped
2025-02-28 18:13:34 -06:00
Pat Hartl
61cb858d52 Fix launcher blasting server on game stop 2025-02-28 17:38:25 -06:00
Pat Hartl
27f88f801f Fix games not starting 2025-02-28 14:02:37 -06:00
Pat Hartl
d38432f675 Add server scripts to execute on game start/stop, refactor how play sessions are recorded 2025-02-23 15:39:06 -06:00
Pat Hartl
4796a2d9f6 Rename BytesDownloaded -> BytesTransferred 2025-02-16 15:48:34 -06:00
Pat Hartl
3c5d70b104 New status for enumerating files before move 2025-02-16 15:47:57 -06:00
Pat Hartl
e3513ea4f7 Fix moving progress 2025-02-16 15:42:00 -06:00
Pat Hartl
2e5959cb38 Max 10 seconds for detect script to execute 2025-02-08 23:26:33 -06:00
Pat Hartl
e9e5bc096d Move registration to AuthenticationService, add scripts for UserLogin and UserRegistration 2025-02-04 18:45:24 -06:00
Pat Hartl
90b02ed567 Fixed redist installation
Some checks failed
Publish SDK NuGet Package / publish (push) Failing after 1m17s
LANCommander Release / prep (push) Has been cancelled
LANCommander Release / build_server_linux-arm64 (push) Has been cancelled
LANCommander Release / build_server_linux-x64 (push) Has been cancelled
LANCommander Release / build_server_osx-arm64 (push) Has been cancelled
LANCommander Release / build_server_osx-x64 (push) Has been cancelled
LANCommander Release / build_server_win-arm64 (push) Has been cancelled
LANCommander Release / build_server_win-x64 (push) Has been cancelled
LANCommander Release / build_launcher_linux-arm64 (push) Has been cancelled
LANCommander Release / build_launcher_linux-x64 (push) Has been cancelled
LANCommander Release / build_launcher_osx-arm64 (push) Has been cancelled
LANCommander Release / build_launcher_osx-x64 (push) Has been cancelled
LANCommander Release / build_launcher_win-arm64 (push) Has been cancelled
LANCommander Release / build_launcher_win-x64 (push) Has been cancelled
LANCommander Release / build_release (push) Has been cancelled
- Made download progress show correct time/transfer values
- Added progress for redist installs
- Executed correct scripts on redist install
- Fixed extraction path / working directory for redists
- Make game install use FileTransferMonitor
- Include title of what's being installed in download progress
2025-02-04 02:34:31 -06:00
Pat Hartl
38606a3231 Add progress for redistributable installing
Some checks failed
Publish SDK NuGet Package / publish (push) Failing after 1m42s
LANCommander Release / prep (push) Has been cancelled
LANCommander Release / build_server_win-x64 (push) Has been cancelled
LANCommander Release / build_launcher_linux-arm64 (push) Has been cancelled
LANCommander Release / build_launcher_linux-x64 (push) Has been cancelled
LANCommander Release / build_launcher_osx-arm64 (push) Has been cancelled
LANCommander Release / build_launcher_osx-x64 (push) Has been cancelled
LANCommander Release / build_launcher_win-arm64 (push) Has been cancelled
LANCommander Release / build_launcher_win-x64 (push) Has been cancelled
LANCommander Release / build_server_linux-arm64 (push) Has been cancelled
LANCommander Release / build_server_linux-x64 (push) Has been cancelled
LANCommander Release / build_server_osx-arm64 (push) Has been cancelled
LANCommander Release / build_server_osx-x64 (push) Has been cancelled
LANCommander Release / build_server_win-arm64 (push) Has been cancelled
LANCommander Release / build_release (push) Has been cancelled
2025-01-31 00:34:37 -06:00
Pat Hartl
f3708b4f3c Refactor redistributable installation
- Install now extracts the redistributable archive to the game's `.lancommander` directory, under a directory matching the redist's ID
- Scripts are downloaded and saved to the same location
- BeforeStart, AfterStop, and NameChange scripts are now available for redistributables
- Change manifest reading/writing to use async
2025-01-30 23:57:12 -06:00
Pat Hartl
9ca82716f4 Use async overload for getting player alias 2025-01-30 20:34:34 -06:00
Pat Hartl
e753d54190 Add game variables to redist script execution, extract redist files to .lancommander directory, fix working directory of redist scripts
Ref #151
2025-01-30 20:29:50 -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
bebe4181a3 Add cmdlet for downloading player avatar
Some checks failed
Publish SDK NuGet Package / publish (push) Failing after 50s
LANCommander Release / prep (push) Has been cancelled
LANCommander Release / build_launcher_linux-x64 (push) Has been cancelled
LANCommander Release / build_launcher_osx-arm64 (push) Has been cancelled
LANCommander Release / build_launcher_osx-x64 (push) Has been cancelled
LANCommander Release / build_launcher_win-arm64 (push) Has been cancelled
LANCommander Release / build_launcher_win-x64 (push) Has been cancelled
LANCommander Release / build_server_linux-arm64 (push) Has been cancelled
LANCommander Release / build_server_linux-x64 (push) Has been cancelled
LANCommander Release / build_server_osx-arm64 (push) Has been cancelled
LANCommander Release / build_server_osx-x64 (push) Has been cancelled
LANCommander Release / build_server_win-arm64 (push) Has been cancelled
LANCommander Release / build_server_win-x64 (push) Has been cancelled
LANCommander Release / build_launcher_linux-arm64 (push) Has been cancelled
LANCommander Release / build_release (push) Has been cancelled
Implements #148
2025-01-29 23:11:52 -06:00
Pat Hartl
dfce85371d Add ByteSize component 2025-01-29 23:09:55 -06:00
Pat Hartl
baf4ec15b2 Smooth transfer speeds / time remaining, update progress on addons 2025-01-29 22:52:27 -06:00
Pat Hartl
45717345d3 Refactor execution context to include servers, use in server process orchestration 2025-01-29 20:35:42 -06:00
Pat Hartl
06ee4d4ed7 Fix install dialog not showing for games with addons 2025-01-27 01:38:55 -06:00
Pat Hartl
940ef82073 Fix uninstalling games that might not have a dependent game installed 2025-01-27 00:05:09 -06:00
Pat Hartl
c6c372ffd3 Get playsessions on import as separate request 2025-01-25 12:45:33 -06:00
Pat Hartl
f657065f40 Add route to check for update for game 2025-01-25 01:48:37 -06:00
Pat Hartl
a4f59f83c4 Get all actions from remote, fallback to manifests 2025-01-25 01:34:31 -06:00
Pat Hartl
11a2562429 Fix offline mode 2025-01-15 02:28:11 -06:00
Pat Hartl
304f308474 WIP refactor of game importing 2025-01-12 02:54:41 -06:00
Pat Hartl
ce17b7999f Rework depot results, API docs via Scalar 2024-12-16 00:57:11 -06:00
Pat Hartl
e8e4ae1866 Avoid exceptions when no addonIds are passed 2024-11-15 23:42:17 -06:00
Pat Hartl
2a409afc5d Fix API that gets hit when adding/removing from library 2024-11-15 01:18:14 -06:00
Pat Hartl
65be58fbf2 Working validate files dialog
Very basic, but it will compare local files against what's available on the server and allow you to selectively replace them. Save paths are ignored to avoid accidental replacement.

Implements #142
2024-11-14 20:53:08 -06:00
Pat Hartl
60337009b1 Fix routes for getting content by version, cache results 2024-11-14 00:54:28 -06:00
Pat Hartl
7fd07e9de6 Switch HTTP methods 2024-11-12 23:28:05 -06:00
Pat Hartl
9285c376d3 Remove base game and dependent games from serialization 2024-11-12 02:17:26 -06:00
Pat Hartl
fd994c2524 Add more metadata to DepotGame, add DepotService 2024-11-11 19:54:02 -06:00
Pat Hartl
09901e6943 Add method to get full media thumbnail URL 2024-11-11 19:11:03 -06:00
Pat Hartl
0bb8c046a1 Add method to get thumbnail route 2024-11-07 20:41:39 -06:00
Pat Hartl
23829ca9b3 Merge branch 'v1.1.0' into user-libraries 2024-11-05 20:42:14 -06:00
Pat Hartl
02ac6a00f8 Dialog to verify install files with ability to select replacement files
Implements #142
2024-11-04 17:31:37 -06:00
Pat Hartl
64ea9fd503 Gracefully handle any errors from searching for lobbies 2024-11-03 16:19:39 -06:00
Pat Hartl
e30a1baef3 Start of migrations, services, controllers 2024-10-31 01:54:34 -05:00
Pat Hartl
ff4911258d Fix play button not updating after exit 2024-10-29 18:12:14 -05:00
Pat Hartl
3c022b7044 Track running executable and all spawned children
Implements #106

There's a bit of work to be done on the cancellation. It seems that it takes an awful long time to kill all of the processes. The actual tracking works though. I was able to verify the functionality by launching Red Faction using Dash Faction.
2024-10-29 01:27:51 -05:00
Pat Hartl
4972e2ad63 Merge save UTF-8 fixes 2024-10-28 01:10:29 -05:00