12 Commits

Author SHA1 Message Date
5c69478f84 Enhance Magazines management; add filtering, sorting, and pagination capabilities to MagazinesController and MagazinesService, update UI in Magazines.razor with MudDataGrid integration, and improve data retrieval logic for better performance. 2026-05-17 12:55:06 +01:00
09f2a70bd5 Add GPU photo upload suggestion functionality
- Introduced a new JavaScript file `gpu-photo-upload.js` for handling batch uploads of GPU photos with progress tracking and cancellation support.
- Updated the `GpuPhotosService` to include a method for deleting pending photos.
- Enhanced localization files for GPU photo suggestions in German, English, Spanish, French, and Italian, adding new strings for photo upload prompts and actions.
- Modified the `_Host.cshtml` to include the new JavaScript file for GPU photo uploads.
2026-05-13 22:18:38 +01:00
1da54e7ecb Implement credits suggestion feature for software entries
- Added a new dialog for suggesting changes to software credits, allowing users to edit and submit credit information.
- Updated the Software service to include methods for retrieving existing credit roles and searching for people.
- Enhanced the Software view to display credits with an option to suggest changes, including a tooltip for authorized users.
- Implemented localization for new strings related to credits in multiple languages (English, German, Spanish, French, Italian).
- Updated metadata to include credits as a new junction group for suggestions.
2026-05-13 01:45:01 +01:00
6862592b86 Add Magazine Issue View and Yearly Issues Overview
- Implemented IssueView component to display detailed information about a magazine issue, including cover image, summary, associated machines, and software.
- Created IssuesByYear component to list magazine issues by year, with navigation options for issues without a publication date.
- Enhanced MagazinesService to fetch consolidated data for magazine issues and distinct publication years.
- Added localization support for new strings related to issues and years in multiple languages.
- Updated Magazine view to include navigation chips for issues by year.
2026-05-10 04:11:27 +01:00
fdd225330d Add MagazinesBySoftware entity and related functionality
- Created a new migration to add the MagazinesBySoftware table with appropriate foreign keys to MagazineIssues and Softwares.
- Updated MarechaiContext to include DbSet for MagazinesBySoftware.
- Implemented MagazinesBySoftware model with relationships to MagazineIssue and Software.
- Developed MagazinesBySoftwareController to handle CRUD operations and retrieval of software associated with magazine issues.
- Enhanced MagazineIssue model to include a collection of MagazinesBySoftware.
- Updated Software model to include a collection of MagazinesBySoftware.
- Added service methods for managing software associations with magazine issues.
- Implemented UI components in MagazineIssueDialog for adding and removing software associations.
- Added localization strings for software-related UI elements in multiple languages.
2026-05-10 03:11:00 +01:00
25cf49b437 Add cover image functionality for magazine issues
- Introduced CoverGuid and OriginalCoverExtension fields in MagazineIssues table.
- Implemented migration to add new columns for magazine issue covers.
- Updated MagazineIssue model to include cover properties.
- Enhanced MagazineIssuesController with endpoints for uploading and deleting cover images.
- Added file upload validation for cover images in the controller.
- Implemented cover file management, including deletion of old covers.
- Updated MagazineIssueDialog to handle cover image upload and deletion in the UI.
- Added localization for cover-related messages in multiple languages.
2026-05-10 02:40:13 +01:00
e895dcaf08 Add magazine issue management functionality
- Implemented GetIssuesByMagazineAsync method in MagazinesController to retrieve issues for a specific magazine.
- Updated NewsController to route new and updated magazine issue notifications to the magazines controller.
- Created MagazineIssueDialog component for adding and editing magazine issues.
- Added MagazineIssueDialogResult class to encapsulate dialog results.
- Developed MagazineIssues page for displaying and managing magazine issues, including add, edit, and delete functionalities.
- Enhanced Magazines page to include a button for navigating to the issues of each magazine.
- Updated localization resources for magazine issue management in multiple languages.
- Added service methods for creating, updating, retrieving, and deleting magazine issues in MagazinesService.
2026-05-10 00:54: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
6970447be8 Add pagination support for magazine retrieval by letter and year
- Updated `WithCItemRequestBuilder` and `WithYearItemRequestBuilder` to include query parameters for pagination (skip, take).
- Introduced `CountRequestBuilder` for counting magazines by year and letter.
- Modified `MagazinesController` to handle pagination in `GetMagazinesByLetterAsync` and `GetMagazinesByYearAsync` methods.
- Enhanced `MagazinesService` to support pagination in API calls.
- Updated Razor components for magazines to reflect pagination and loading states.
- Adjusted UI elements to improve user experience during data retrieval.
2026-05-09 13:30:35 +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