Commit graph

59 commits

Author SHA1 Message Date
Pat Hartl
19696aac9b Fix sidebar social styling 2025-02-06 19:42:55 -06:00
Pat Hartl
cc5dd25136 Fix script editing 2025-02-04 20:58:08 -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
a29dedec2e Fix layout styling 2025-02-03 18:04:46 -06:00
Pat Hartl
ea1603673b Fix search breaking paging 2025-02-03 17:25:32 -06:00
Pat Hartl
981aed208f Fix archive uploading 2025-02-03 01:42:14 -06:00
Pat Hartl
fa0e03c005 Allow searching on TransferInput 2025-02-03 00:42:18 -06:00
Pat Hartl
af08645396 Remove use of DatabaseServiceFactory, update service dependency injection 2025-02-01 02:21:34 -06:00
Pat Hartl
1fdaaffe30 Fix datatable button placement 2025-01-31 01:53:59 -06:00
Pat Hartl
463926361c Change height of redists transfer input 2025-01-31 01:49:19 -06:00
Pat Hartl
b986a9b6a6 Fix archives being wiped out on actions save 2025-01-30 19:29:40 -06:00
Pat Hartl
dfce85371d Add ByteSize component 2025-01-29 23:09:55 -06:00
Pat Hartl
4ef1c7be21 Optional column picker, working search, show totals, pagination options 2025-01-28 18:23:49 -06:00
Pat Hartl
0719380fab Mark some columns as hidden by default 2025-01-28 00:46:37 -06:00
Pat Hartl
0f1c41b783 Fix double load on datatables when changing page 2025-01-27 01:39:11 -06:00
Pat Hartl
f11f671418 Fixed script creation 2025-01-27 00:21:46 -06:00
Pat Hartl
7b4f2950c7 Add separate binding for SSL 2025-01-25 02:40:36 -06:00
Pat Hartl
298b92a4d3 Fix script editor data binding for null created by 2025-01-22 18:31:24 -06:00
Pat Hartl
d00fa19502 Make action editor save its own changes 2025-01-22 01:21:11 -06:00
Pat Hartl
84ec503fdc Fix archive editor uploading 2025-01-21 20:43:28 -06:00
Pat Hartl
0d87296689 Fix DataTable default sort, search 2025-01-21 18:48:01 -06:00
Pat Hartl
4509d1394c Fix script editor query 2025-01-21 02:47:00 -06:00
Pat Hartl
d2a257228b Reload table after removal from library 2025-01-21 00:31:03 -06:00
Pat Hartl
d22552aa55 Fix spacing on tables, use datatable where possible 2025-01-20 20:00:15 -06:00
Pat Hartl
22c3b4cf53 Add social links to menu 2025-01-20 14:27:08 -06:00
Pat Hartl
a1e0ba1629 Change route based on data table parameters 2025-01-19 13:57:18 -06:00
Pat Hartl
c1efa15965 Simplified datatable 2025-01-16 00:35:01 -06:00
Pat Hartl
177141a889 Fix file manager toolbar 2025-01-15 18:53:09 -06:00
Pat Hartl
11ebe7b842 Fix table action alignment 2025-01-15 18:52:53 -06:00
Pat Hartl
61d1a10d74 Refactor import dialog, add storage location selector 2025-01-08 17:10:03 -06:00
Pat Hartl
72850f05a9 Remove old authentication pages 2025-01-06 02:59:32 -06:00
Pat Hartl
66c589c468 Update to AntBlazor v1.1.0 2024-12-31 18:21:41 -06:00
Pat Hartl
6eee6cfd81 Fix datatable toolbar spacing 2024-12-16 21:30:53 -06:00
Pat Hartl
5eba58c53c Toggle column visibility using CSS 2024-12-14 20:11:59 -06:00
Pat Hartl
8a3132b872 Add DataTable component 2024-12-12 17:35:52 -06:00
Pat Hartl
ac29523602 Fix display of created by for script editor 2024-11-30 19:34:49 -06:00
Pat Hartl
8e58b7236b Fix display of created by in archive editor 2024-11-30 19:31:46 -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
e4a6feab7d Fix avatar uploader trying to lazy load media 2024-11-27 03:13:58 -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
41091e5e6d Fix redirects to login or first time setup if required 2024-10-23 22:28:55 -05:00
Pat Hartl
d8fbd3a940 Fix roles, users, and collection editing pages 2024-10-23 02:29:59 -05:00
Pat Hartl
dd8bd7ffaa Load archive data when parameters set 2024-10-23 00:50:41 -05:00
Pat Hartl
365da83342 New UI layout, navigation on left side 2024-10-22 19:54:38 -05:00
Pat Hartl
2056b06207 Working new login page 2024-10-18 19:15:05 -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