Commit graph

34 commits

Author SHA1 Message Date
Pat Hartl
17fa802c19 Implementation of script debugger component with RPC via SignalR 2025-12-10 20:55:38 -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
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
5be13ea9dd Move middlewares to files 2025-03-10 21:40:17 -05:00
Pat Hartl
5bc4675657 Fix login page 2025-03-09 18:44:22 -05:00
Pat Hartl
f001b6167b Refactor application to use storage location path for saves 2025-03-09 00:15:47 -06:00
Pat Hartl
fd194d4e0a Fix double logging to console 2025-02-27 23:34:35 -06:00
Pat Hartl
379fb74082 Make setup service transient 2025-02-27 20:25:50 -06:00
Pat Hartl
e8627b6a87 Use generic implementations 2025-02-16 10:08:05 -06:00
Pat Hartl
b05860d816 Move importing to new service with implementations 2025-02-16 09:17:26 -06:00
Pat Hartl
6d5c9d06c5 Fix antiforgery issues when importing archive 2025-02-16 00:05:11 -06:00
Pat Hartl
d8eb0f0023 Add default challenge scheme 2025-02-11 18:06:42 -06:00
Pat Hartl
841fd2cb7b Remove DI auditing interceptor 2025-02-09 19:04:46 -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
a29cc15350 Merge branch 'main' into add-logging-provider-configuration
# Conflicts:
#	LANCommander.Server/LANCommander.Server.csproj
#	LANCommander.Server/Program.cs
2025-02-08 18:15:35 -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
14ba77693a Redirect auth errors, process OIDC logins 2025-01-06 18:55:24 -06:00
Pat Hartl
5bf1e21bf7 Fix account link/unlink 2025-01-06 02:29:15 -06:00
Pat Hartl
6a8d8eae52 Fix claim passed to registration form 2025-01-06 02:07:25 -06:00
Aaron Powell
8e5a4f6bf4 Refactoring startup for easier understanding and tracing
Broke the startup of the app into a series of extension methods (and classes to contain them), rather than one long method. This means the stack tracers are easier to follow when the startup fails, and it's clearer what's happening when throughout the pipeline.

I've included a few optimisations, such as starting to rely more on DI for injecting things (like the logger) rather than the static logger, which in turn can help with testability and evaluation of the callstack.
2025-01-02 11:40:15 +11:00
Pat Hartl
a31b4e5921 Fixed auth via OAuth provider 2024-12-30 21:11:48 -06:00
Pat Hartl
e92c1e0064 Working registration via OAuth 2024-12-30 21:04:13 -06:00
Pat Hartl
b08f99fc78 Working authentication with OAuth 2024-12-30 14:16:49 -06:00
Pat Hartl
6115f0fe95 Start of interface to link external providers to user account 2024-12-30 01:05:58 -06:00
Pat Hartl
bf9ca2fc2d Map external user auths to users via custom fields 2024-12-29 18:58:01 -06:00
Pat Hartl
98c0d276b0 Support OAuth as well as OIDC
- Rename ExternalProvider to AuthenticationProvider
- Add enum for authentication provider type (OAuth, SAML, OIDC, etc)
- Add claim mappings
- Move authentication provider registration to extension methods
2024-12-28 05:23:23 -06:00
Pat Hartl
42ca5c323a WIP MySQL concurrency fixes
- Removed the Blazor authentication pages and went back to Razor pages
- Fixed issues with dashboard charts that were pulling data on render and causing the database context to be open longer than it should
- Switched back to UserManager and RoleManager
- Temporarily disabled authentication state in pages that might try to use user claims/roles
- Reverted spacing changes to forms to allow for validation messages
- Moved initialization of database connection to database context
- Updated PostgreSQL provider
- Rescaffolded MySQL migrations
- Added a bunch of logging stuff that should eventually be stripped out
2024-10-21 20:06:52 -05:00
Pat Hartl
2056b06207 Working new login page 2024-10-18 19:15:05 -05:00
Pat Hartl
91ee1d47a9 Move data and service layers to separate projects, update packages 2024-10-07 18:04:26 -05:00
Pat Hartl
cf93fb763c Start to a basic CMS editor 2024-08-19 01:22:48 -05:00
Pat Hartl
cb061e09c5 Rename server project 2024-08-04 18:44:33 -05:00