Commit graph

59 commits

Author SHA1 Message Date
Pat Hartl
e4431e7333 Fix release channel dropdown in Settings / Updates 2025-02-16 12:48:37 -06:00
Pat Hartl
0594ad594d New login page with launcher download button 2025-02-15 23:45:51 -06:00
Pat Hartl
52b7dbbc48 Add ability to change release channels, 2025-02-13 02:04:09 -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
2909f151df Add tags to cache entries 2025-02-09 01:37:31 -06:00
Pat Hartl
28aef43e1c Add forms for editing logging providers 2025-02-08 19:27:59 -06:00
Pat Hartl
cef428acc1 Optimize UserService queries, cache user roles, clean up UserService 2025-02-08 12:32:54 -06:00
Pat Hartl
8158ab4a22 Adjust layout and spacing 2025-02-04 19:32: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
e2a943865c Add tool to regenerate thumbnails 2025-02-02 22:46:14 -06:00
Pat Hartl
9fb73454ca Clear depot cache, correctly show loading indicators on buttons 2025-02-02 22:46:02 -06:00
Pat Hartl
260238abe6 Ignore thumbnail files in orphaned file list 2025-02-02 22:45:14 -06:00
Pat Hartl
af08645396 Remove use of DatabaseServiceFactory, update service dependency injection 2025-02-01 02:21:34 -06:00
Pat Hartl
dfce85371d Add ByteSize component 2025-01-29 23:09:55 -06:00
Pat Hartl
43b2753c22 Fix archive settings display 2025-01-27 20:17:44 -06:00
Pat Hartl
b7ea2d5468 Display any error messages when changing password 2025-01-25 13:46:55 -06:00
Pat Hartl
ef60a27a8b Fix component reference
Some checks failed
Publish SDK NuGet Package / publish (push) Failing after 1m19s
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
2025-01-25 09:15:08 -06:00
Pat Hartl
7b4f2950c7 Add separate binding for SSL 2025-01-25 02:40:36 -06:00
Pat Hartl
b6fa4d4a10 Add ability to specify SSL certificate 2025-01-25 01:57:17 -06:00
Pat Hartl
74aaf8ee9d Fix spacing for auth edit 2025-01-22 18:32:06 -06:00
Pat Hartl
61d1a10d74 Refactor import dialog, add storage location selector 2025-01-08 17:10:03 -06:00
Pat Hartl
a8ddf89eac Add cookie policies to settings 2025-01-06 20:34:57 -06:00
Pat Hartl
1db285c7bb Merge branch 'v1.1.0' of https://github.com/LANCommander/LANCommander into v1.1.0
# Conflicts:
#	LANCommander.Server/UI/Pages/Profile/ConnectedAccounts.razor
2025-01-01 23:31:49 -06:00
Pat Hartl
fb5703556a Fix template population 2025-01-01 23:29:25 -06:00
Pat Hartl
66c589c468 Update to AntBlazor v1.1.0 2024-12-31 18:21:41 -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
0957c0f082 Add abillity to customize color / icon, add Bootstrap icons 2024-12-29 21:36:21 -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
11e182413d Add ability to define external authentication providers 2024-12-28 03:48:15 -06:00
Pat Hartl
1a6ec990a4 Add ability to customize web UI CSS and page rendering CSS 2024-11-30 19:24:02 -06:00
Pat Hartl
9cd761be76 Fix role list 2024-11-27 19:41:22 -06:00
Pat Hartl
161974f884 Fix editing of roles, change method of repository Update 2024-11-27 19:36:44 -06:00
Pat Hartl
5de9eccce1 Adjust Blazor server-side to pull data with new context 2024-11-25 22:29:56 -06:00
Pat Hartl
f62d43500f Standardize private method signature 2024-11-22 02:05:44 -06:00
Pat Hartl
1dda11dd0a Switch dependency injection for services that access database 2024-11-22 02:04:04 -06:00
Pat Hartl
00b9ca5953 Rename service and repository methods to async 2024-11-12 18:32:46 -06:00
Pat Hartl
ce105a285f Rename GetImagePath -> GetMediaPath 2024-11-05 19:38:59 -06:00
Pat Hartl
3dd91b3b0d Switch all DateTime.Now to use UTC 2024-10-23 23:16:52 -05:00
Pat Hartl
d8fbd3a940 Fix roles, users, and collection editing pages 2024-10-23 02:29:59 -05:00
Pat Hartl
365da83342 New UI layout, navigation on left side 2024-10-22 19:54:38 -05:00
Pat Hartl
28ace00b5d Restore UI auth checks 2024-10-21 20:14:55 -05: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
991771a7f3 Use string constant for administrator role name 2024-10-16 02:06:02 -05:00
Pat Hartl
91829f601d Enable navigation properties for user roles, use service in place of managers 2024-10-16 01:54:51 -05:00
Pat Hartl
2805f34449 WIP fix for MySQL connection concurrency issues
This is a large commit. There are a number of things that this commit does to try to fix various issues that were occurring when the database provider was set to MySQL:
- The DAL `Repository` has been completely refactored to follow best practices. The repository is now being injected into services instead of the database context itself. This allows the DI to handle the repository's lifetime instead of creating a new repository for every transaction and sharing the context across repositories. As part of these changes, there is no more allowed usage of `IQueryable` and all service/repository methods must actually execute database queries before their return. This is to ensure that the context does not stay open longer than it needs to. Abusing `IQueryable`s by tossing them into Blazor components seems to be a big no-no.
- Some deletion behaviors on relationships have been tweaked as MySQL wasn't able to apply migrations with behaviors that were contradictory.
- A `ConnectionInterceptor` was added to try to keep track of `DatabaseContext` lifetimes. This is really only for debugging and should be put into `#if DEBUG` regions. This helped identify some potential issues where some contexts were basically never closing, causing the MySQL connector to not function.
- Docs for generating migrations have been updated to reflect the addition of being able to specify the database provider and connection string when adding a migration, avoiding the need to edit `Settings.yml`
- The application can now be put into a pause state on startup by adding the `--debugger` argument when used from the command line. When a debugger is attached, it resumes execution.
- The application can now log to Seq when using debug build
- Service lifetime on `DatabaseContext` has switched to transient. This may be reverted in the future.
- Lazy loading has been disabled for debugging purposes. It didn't directly help the concurrency issues, but it needs to be tested individually to be re-enabled.
- All usage of `UserManager`, `RoleManager`, and `SignInManager` have been removed from all controllers, pages, and Blazor components. Functionality has been moved to `UserService` and `RoleService`. This might have done the most amount of help, but could probably be improved upon in the future by not relying on them and instead having our own implementation.
- Application startup migrations and server autostarts have been disabled temporarily. There might be an issue of `DatabaseContext` lifetimes that spawn from this.
2024-10-13 20:42:45 -05:00
Pat Hartl
e236c2b25b Refactored first time setup
Fixes #128
2024-10-12 18:36:00 -05:00
Pat Hartl
33fcc96117 Fix saving of new path 2024-10-11 01:15:01 -05:00
Pat Hartl
609a11fec2 Filter list of storage locations to archive type 2024-10-11 01:10:47 -05:00
Pat Hartl
07882e39d2 Add ability to specify multiple upload folders for archives
Implements #97
2024-10-11 01:09:12 -05:00