Commit Graph

747 Commits

Author SHA1 Message Date
a715d936eb Refactor controller methods to use synchronous Task return types for improved readability 2025-11-13 18:27:00 +00:00
e4c2837ad9 Automatically convert services into controllers. 2025-11-13 18:22:44 +00:00
36520596da Add BooksByMachineController with CRUD operations for managing book-machine associations 2025-11-13 17:34:47 +00:00
764e058f79 Add BooksByMachineFamilyController with CRUD operations 2025-11-13 17:29:30 +00:00
349b396588 Add authentication controller. 2025-11-13 17:04:00 +00:00
d0e5725ae0 Update DTO properties to support nullable types and add required validation attributes 2025-11-13 16:46:56 +00:00
0bbf821489 Add JsonPropertyName attributes to DTO properties for serialization 2025-11-13 16:19:14 +00:00
10017850f8 Refactor viewmodels to use DTOs instead of viewmodels 2025-11-13 15:21:11 +00:00
d9239f39c0 Refactor viewmodels to use DTOs instead of viewmodels 2025-11-13 15:21:10 +00:00
f445006e46 Refactor viewmodels to use new namespace structure 2025-11-13 15:16:41 +00:00
3520e49b25 Move viewmodels to different folders.
Yes, separating big renames into smaller commits.
2025-11-13 15:08:01 +00:00
268c8fab07 Move viewmodels to separate library. 2025-11-13 15:07:20 +00:00
e9e3ef2ab0 Move viewmodels to separate library. 2025-11-13 15:07:11 +00:00
6962be93a4 Add token authentication. 2025-11-13 14:36:14 +00:00
be83594ea9 Configure controllers. 2025-11-13 14:27:00 +00:00
b1f32e6f13 Moved startup code to server. 2025-11-13 05:16:58 +00:00
c73c4d839a Moved startup code to server. 2025-11-13 05:16:49 +00:00
d7c61b2fdd Copy appsettings to server. 2025-11-13 04:56:47 +00:00
a942d40849 Add server skeleton. 2025-11-13 04:55:13 +00:00
6c01b2128f Update Aaru.CommonTypes to 5.4.1. 2025-11-13 04:26:47 +00:00
e14bfba354 Move to centralized package management. 2025-11-13 04:25:11 +00:00
d2c71d350d Add Directory.Build.props file. 2025-11-13 04:15:47 +00:00
eb7c0a6858 Remove copilot upgrade assessment file. 2025-11-13 04:07:05 +00:00
8f6d334af4 Major refactor and cleanup. 2025-11-13 04:05:35 +00:00
1d67081792 fix: Update CurrenciesPegging and CurrenciesInflation columns to NOT NULL with foreign key constraints 2025-11-13 03:10:14 +00:00
f304448fdb fix: Ensure correct charset and collation for foreign key compatibility in BookScans migration 2025-11-13 03:10:02 +00:00
88307edc9a fix: Make migration for IssueNumber column idempotent in MagazineIssues table 2025-11-13 03:09:48 +00:00
51d0809536 fix: Update foreign key constraints handling in migration for CurrenciesPegging and CurrenciesInflation 2025-11-13 03:09:36 +00:00
8e07b6587b Update Pomelo.EntityFrameworkCore.MySql to version 9.0.0 2025-11-13 03:08:48 +00:00
4f2435fcbd Update connection string. 2025-11-13 03:08:14 +00:00
3fac917422 docs: Update migration progress - all tasks completed successfully 2025-11-13 02:02:50 +00:00
096865dc3b chore: Complete .NET modernization - upgrade to .NET 9, update dependencies, fix security vulnerabilities, and implement local credential encryption
Changes:
- Upgrade both projects from .NET 5.0 to .NET 9.0
- Update Entity Framework Core packages to 9.0.11
- Update SkiaSharp to 3.119.1 (fixes CVE security vulnerability)
- Remove deprecated Microsoft.ApplicationInsights.AspNetCore
- Implement local credential encryption using Data Protection API
- Add CredentialEncryptor helper for DPAPI integration
- Add ConnectionStringManager for secure connection string handling
- Update Startup.cs to register credential encryption services
- Remove Application Insights configuration from _Host.cshtml

All changes maintain backward compatibility with existing plaintext credentials
while providing optional encryption for production deployments.
2025-11-13 02:02:14 +00:00
29ec7571fe Pre-upgrade checkpoint: Save current state before .NET 5 to .NET 8 migration 2025-11-13 01:40:51 +00:00
fc893ee08b Added more items to ignore 2025-11-13 01:36:52 +00:00
cf7f830aad Updated .editorconfig. 2025-11-13 01:22:01 +00:00
8213e4ad80 Updated Rider project files. 2025-11-13 01:21:28 +00:00
e974a77e46 Add security headers middleware. 2025-11-13 01:20:40 +00:00
691ec0b68e Update copyright year. 2020-12-31 23:24:15 +00:00
20e6cff6b4 Change submodules for nuget packages. 2020-12-20 22:35:47 +00:00
13b7ba1f9b Code refactor. 2020-12-20 21:34:13 +00:00
5880d93368 Update dependencies. 2020-12-20 16:12:51 +00:00
977294ed8d Update submodules. 2020-12-19 22:03:14 +00:00
467869c0c2 Update to .NET 5.0. 2020-12-19 22:01:44 +00:00
d41668a208 Allow to upload magazine scans. 2020-08-14 01:56:45 +01:00
3581dd6e05 Allow to upload document scans. 2020-08-14 01:56:22 +01:00
b641d5de30 Allow to upload book scans. 2020-08-14 01:55:48 +01:00
57eec861ce Add base scan view model. 2020-08-14 01:55:28 +01:00
d4a0a95635 Create folders for scans. 2020-08-14 01:54:54 +01:00
c5652cfb37 Fix documentation by machine (family) getting invalid sort sequence. 2020-08-12 20:05:31 +01:00
4b255bcf32 Fix blazor constraint not supporting unsigned long. 2020-08-12 20:05:09 +01:00