6 Commits

Author SHA1 Message Date
6f38194ef3 Enhance Documents management; add filtering, sorting, and pagination capabilities to DocumentsController and DocumentsService, update UI in Documents.razor with MudDataGrid integration, and improve data retrieval logic for better performance. 2026-05-17 12:13:35 +01:00
b4c2dc4480 Remove scanning models and related functionality
- Deleted `BaseScan`, `BookScan`, `DocumentScan`, and `MagazineScan` models.
- Removed references to scans in `ApplicationUser`, `Book`, `Document`, and `MagazineIssue` models.
- Updated `MarechaiContext` to remove DbSet properties for scans.
- Removed `BookScansController`, `DocumentScansController`, and `MagazineScansController`.
- Adjusted `UserAccountDeletionService` to exclude scan models from user deletion logic.
2026-05-10 00:02:55 +01:00
b3f08ab47b Add pagination support for document retrieval by letter and year
- Introduced CountRequestBuilder for counting documents by letter and year.
- Updated WithCItemRequestBuilder and WithYearItemRequestBuilder to include Count property.
- Modified DocumentsRequestBuilder to support pagination with skip and take query parameters.
- Enhanced DocumentsController to handle pagination in GetDocumentsByLetterAsync and GetDocumentsByYearAsync methods.
- Updated Search.razor and Search.razor.cs to implement infinite scrolling and display total document counts.
- Refactored DocumentsService to support pagination and counting for document retrieval methods.
2026-05-09 13:43:23 +01:00
e92d8dca59 Add Companies pages for Books, Documents, and Magazines
- Updated Index.razor files to link to new Companies pages for Books and Documents.
- Created Companies.razor and Companies.razor.cs for Documents and Magazines, implementing company listing and filtering.
- Added new methods in BooksService, DocumentsService, and MagazinesService to fetch companies by letter and all companies.
- Enhanced localization resources for new Companies features in English, German, Spanish, French, and Italian.
2026-04-29 11:34:48 +01:00
03d952288d [Blazor] Implement user management functionality with role assignment
- Added RolesDialog component for managing user roles.
- Created UserDialog component for adding and editing user details.
- Introduced UserDialogResult class to handle user dialog results.
- Developed Users page for displaying and managing users.
- Implemented UsersService for user-related API interactions.
- Added AuthService for authentication management.
- Created HttpAuthHandler for handling HTTP requests with authentication.
- Introduced JwtAuthenticationStateProvider for managing authentication state.
- Updated Register class to include new services.
- Added TokenProvider for managing JWT tokens.
- Enhanced LoginDisplay component for user authentication UI.
- Updated NavMenu to include user management links for authorized users.
- Created RedirectToLogin component for redirecting unauthenticated users.
- Updated Startup class to configure authentication and authorization services.
- Modified _Imports.razor to include necessary namespaces for authentication.
2026-04-24 14:39:24 +01:00
a4bcd87769 Added Kiota to Blazor app, migrated to use API server instead of direct calls to database. 2026-03-24 16:00:00 +00:00