Commit graph

42 commits

Author SHA1 Message Date
Pat Hartl
120e14d40c Add Tools section to server app
Allows users to upload additional tools and tie them to games. This can be useful for software like map editors, trainers, etc.
2026-02-08 02:24:53 -06:00
Pat Hartl
d4c47fe45d Redirect to root after logout
Some checks failed
LANCommander Release / prep (push) Failing after 17s
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
2026-01-25 17:46:19 -06:00
Pat Hartl
1f000f5f5a Add name to export file 2026-01-25 17:33:39 -06:00
Pat Hartl
74f2551a7c Ensure init location exists on upload 2026-01-03 18:31:51 -06:00
Pat Hartl
e1c1469614 Fix chat component rendering
- Load thread after creation
- Change thread list from DataList to Flex
- Move unread badge to right side of chat thread list item
- Fix avatar rerendering after another message is added to message group
- Add styling to thread list
- Change message input to support markdown and add markdown rendering for message contents
2025-12-30 18:08:20 -06:00
Pat Hartl
9b3e154eaa
Merge pull request #385 from aaronpowell/download-files-from-new-data-path
Download endpoints get correct paths
2025-12-19 01:11:10 -06:00
Aaron Powell
0e5a8c5be2 Ensuring that the download endpoints will receive correctly pathed folders for data directory
Also adding logging throughout the download endpoints
2025-12-17 22:52:28 +11:00
Aaron Powell
c62c36772a Error handling, logging, and return types to help debugging 2025-12-17 22:35:28 +11:00
Aaron Powell
52642ccb25 Removing serilog from server 2025-12-11 16:18:33 +11:00
Pat Hartl
b93c0f6732
Merge pull request #374 from LANCommander/development
Refactored Importing / Legacy Game Importing
2025-12-05 14:40:12 -06:00
Aaron Powell
bc47a7f61c Using TypedResults properly to understand return types and putting some more diagnostics for readability 2025-12-02 16:28:54 +11:00
Aaron Powell
059fc7d907 Fixing null ref error with versioned endpoint 2025-12-02 16:18:58 +11:00
Pat Hartl
b4e8925e0e Merge branch 'main' into development 2025-12-01 17:57:07 -06:00
Aaron Powell
8cb30fef5f Adding logging to library endpoints for better debugging 2025-12-01 21:53:49 +11: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
b60f0a109e Increase game download buffer, force async file reads 2025-11-26 19:26:58 -06:00
Pat Hartl
8298452315 Disable antiforgery on chunk upload 2025-11-21 12:06:14 -06:00
Pat Hartl
ab28a61cfd Port other controllers to endpoints 2025-11-21 01:28:37 -06:00
Pat Hartl
88723a8ef3 Fix injection of logger 2025-11-21 00:48:46 -06:00
Pat Hartl
47d78f66d9 Add basic routes for issues, move to minimal API, resolve using user ID 2025-11-21 00:25:59 -06:00
Pat Hartl
c6f51b6a54 Fix root route for games 2025-11-21 00:11:02 -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
ac223c6959 Move auth routes to endpoints, change OIDC response mode to query, fix link w/o antiforgery 2025-10-21 02:41:00 -05:00
Pat Hartl
19db052fac Send minimal response with server settings 2025-10-06 23:21:26 -05:00
Pat Hartl
b1e5034ed9 Remove projection overloads 2025-10-05 19:41:24 -05:00
Pat Hartl
14208b34a3 Serve client settings via new endpoint 2025-09-26 00:49:34 -05:00
Pat Hartl
d875377f15 Rename SDK services -> clients, implement new configuration, use dependency injection for clients 2025-09-24 20:58:23 -05:00
Pat Hartl
fd3fbf4a75 Initial backend implementation for chat 2025-08-19 03:08:30 -05:00
Pat Hartl
2453ef2043 Merge branch 'main' of https://github.com/LANCommander/LANCommander 2025-08-07 23:35:52 -05:00
Pat Hartl
9c98f8b5c5 Port server API routes to endpoints, add start/stop/getstatus
Implements #325
2025-08-07 23:35:50 -05:00
Bastien Vidé
b31afc934b Modified getters in SaveEndoints to only get and download current user's game saves 2025-08-07 21:20:50 +02:00
Pat Hartl
305a6e1b7d Remove antiforgery, fix auth service registration 2025-07-30 20:42:15 -05:00
RattleSN4K3
5ac36efe71 Download launcher via Endpoint (from configured storage) 2025-04-12 15:11:45 +02:00
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
6d9dcc5b9a Added logging for unauthorized save endpoints 2025-03-12 01:09:35 -05:00
Pat Hartl
f001b6167b Refactor application to use storage location path for saves 2025-03-09 00:15:47 -06: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
01c7bbfa8b Fix archive download endpoint
Fixes #181
2025-02-25 21:22:19 -06:00