Commit graph

97 commits

Author SHA1 Message Date
Pat Hartl
c5506b440f Move Steam integrations to separate assembly, add cmdlets for various Steam actions 2026-01-24 16:37:07 -06:00
Pat Hartl
5b0abac404 Merge branch 'main' into development 2025-12-15 23:15:40 -06:00
Pat Hartl
1679719ad4 Add application migrations 2025-12-13 00:27:54 -06:00
Aaron Powell
52642ccb25 Removing serilog from server 2025-12-11 16:18:33 +11:00
Pat Hartl
88686383db Unwrap settings config builder extensions 2025-11-19 19:52:36 -06:00
Pat Hartl
3a5b3f0897 Configure database on startup 2025-11-17 20:31:11 -06:00
Pat Hartl
b0025daea0 Prefer IOptions, fix setting duplication bug 2025-11-17 18:01:53 -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
305a6e1b7d Remove antiforgery, fix auth service registration 2025-07-30 20:42:15 -05:00
Pat Hartl
5bf9e07852 Small middleware to skip antiforgery checks on API routes 2025-07-30 19:42:21 -05:00
Pat Hartl
041a0069ee Add DiscoveryBeacon, DiscoveryProbe, new beacon message
Adds a discovery beacon and probe to the client and removes BeaconService from the server.
2025-04-23 21:23:33 -05:00
Pat Hartl
e86e5d8b44 Use server engines to start/stop servers 2025-03-24 00:19:33 -05:00
Pat Hartl
98cab7ec24 Reorder database init to fix migrations 2025-03-23 20:01:44 -05:00
Pat Hartl
dbf6c1b395 Mostly fix server status/control
Currently can't stop the server process, needs more security

Ref #198
2025-03-20 02:32:36 -05:00
Pat Hartl
86c906f8db Add project for automated tests
Had to remove the responsibility of providing the current version of the application from UpdateService. A new IVersionProvider can be used to get the version. This also allows for this to be mocked in tests.
2025-03-15 21:00:00 -05:00
Pat Hartl
444bc9d4bc Clean up startup 2025-03-11 21:21:16 -05:00
Pat Hartl
e2d3928d19 Move Scalar config out of extensions, add bearer token field to API reference 2025-03-11 19:32:38 -05:00
Pat Hartl
dafd0e31ff Try fallback URIs if server is unreachable, enhance ping
Fixes #208
2025-03-10 21:44:51 -05:00
Pat Hartl
5be13ea9dd Move middlewares to files 2025-03-10 21:40:17 -05:00
Pat Hartl
9a29faad0f Fix Scalar registration 2025-03-10 02:14:53 -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
3d9c762842 Only create directory if working dir is not null 2025-03-08 03:39:30 -06:00
Pat Hartl
a53318b656 Ensure config directory is created 2025-03-08 01:25:01 -06:00
Pat Hartl
7ee78d77d6 Create Settings.yml if it doesn't already exist 2025-03-07 23:12:07 -06:00
Pat Hartl
41f4fa93f0 Initialize Docker configuration 2025-03-07 20:44:32 -06:00
Pat Hartl
f7477e9f1c Fix IPX relay autostart
Fixes #188
2025-03-07 01:03:14 -06:00
Pat Hartl
6e6ad58dce Fix singleton registration of settings for fresh instals 2025-03-05 00:32:32 -06:00
Pat Hartl
ac1eff8c98 Create directories on start if they don't exist 2025-02-26 00:39:01 -06:00
Pat Hartl
777b7d6ea6 Prevent autostart servers from stopping application execution 2025-02-25 23:55:04 -06:00
Pat Hartl
de60ceb04d Fix server starting/stopping, fix server autostart preventing app from starting, fix status update on external close of server 2025-02-25 22:05:23 -06:00
Pat Hartl
01c7bbfa8b Fix archive download endpoint
Fixes #181
2025-02-25 21:22:19 -06:00
Pat Hartl
b05860d816 Move importing to new service with implementations 2025-02-16 09:17:26 -06:00
Pat Hartl
c861254387 Fix download routes 2025-02-16 02:12:13 -06:00
Pat Hartl
6d5c9d06c5 Fix antiforgery issues when importing archive 2025-02-16 00:05:11 -06:00
Pat Hartl
17525f9d02 Add storage location if one doesn't already exist
Fixes #173
2025-02-12 21:23:59 -06:00
Pat Hartl
6a0552aa30 Don't start servers if database isn't configured 2025-02-12 20:39:58 -06:00
Pat Hartl
5fde4b63b3 Switch to OpenApi 2025-02-09 01:23:33 -06:00
Pat Hartl
28aef43e1c Add forms for editing logging providers 2025-02-08 19:27:59 -06:00
Pat Hartl
5b32a440b3 Adopt new startup pattern 2025-02-08 15:28:13 -06:00
Pat Hartl
4c8cbc840a Merge branch 'refactor-startup'
# Conflicts:
#	LANCommander.Server/Program.cs
#	LANCommander.Server/Properties/launchSettings.json
2025-02-08 14:07:29 -06:00
Pat Hartl
eef0b01758 Add support for running as service 2025-02-06 19:11:33 -06:00
Pat Hartl
69e903499b Add auditing interceptor 2025-02-02 19:14:06 -06:00
Pat Hartl
123a5827c3 Remove repository 2025-02-02 18:52:47 -06:00
Pat Hartl
12c5110795 Fix non-https binding 2025-01-25 12:02:30 -06:00
Pat Hartl
7b4f2950c7 Add separate binding for SSL 2025-01-25 02:40:36 -06:00
Pat Hartl
dec4edf06d Don't log ping requests 2025-01-25 02:11:04 -06:00
Pat Hartl
b6fa4d4a10 Add ability to specify SSL certificate 2025-01-25 01:57:17 -06:00
Pat Hartl
a8ddf89eac Add cookie policies to settings 2025-01-06 20:34:57 -06:00
Pat Hartl
cbfd1fc30d Support forwarded headers 2025-01-06 17:59:53 -06:00