Commit Graph

665 Commits

Author SHA1 Message Date
6fc709a271 Refactor CurrencyInflationController routes and method signatures for improved clarity and consistency 2025-11-13 21:03:14 +00:00
507e5686e4 Refactor ConsolesController routes and method signatures for improved clarity and consistency 2025-11-13 21:01:22 +00:00
27e5616da8 Refactor ComputersController routes and method signatures for improved clarity and consistency 2025-11-13 21:00:36 +00:00
464f52878b Refactor CompanyLogosController routes and method signatures for improved clarity and consistency 2025-11-13 20:57:06 +00:00
f6214e6d14 Refactor CompaniesController routes and method signatures for improved clarity and consistency 2025-11-13 20:51:05 +00:00
baaf571505 Refactor CompaniesBySoftwareVersionController routes and method signatures for improved clarity and consistency 2025-11-13 20:46:34 +00:00
8d6c382754 Refactor CompaniesBySoftwareVariantController routes and method signatures for improved clarity and consistency 2025-11-13 20:44:57 +00:00
e171b8ddd8 Refactor CompaniesBySoftwareFamilyController routes and method signatures for improved clarity and consistency 2025-11-13 20:38:59 +00:00
6981075c4a Refactor CompaniesByMagazineController routes and method signatures for improved clarity and consistency 2025-11-13 20:37:16 +00:00
bed72102e8 Refactor CompaniesByDocumentController routes and method signatures for improved clarity and consistency 2025-11-13 20:35:47 +00:00
d301315fbf Refactor CompaniesByBookController routes and method signatures for improved clarity and consistency 2025-11-13 20:33:41 +00:00
79f0d2632b Refactor BooksController routes and method signatures for improved clarity and consistency 2025-11-13 20:22:33 +00:00
0ba1a24b4e Refactor BookScansController routes and method signatures for improved clarity and consistency 2025-11-13 20:19:02 +00:00
583f20ff99 Add 401 response type to Delete and Create actions in multiple controllers for improved security handling 2025-11-13 19:28:21 +00:00
1826c70883 Add 404 response type to Delete and Update actions in multiple controllers for improved error handling 2025-11-13 19:10:08 +00:00
34d76fd646 Refactor BookScansController and Iso31661NumericController methods to use synchronous Task return types for improved readability 2025-11-13 19:00:38 +00:00
fc6238aef1 Refactor controller methods to return ActionResult for better error handling 2025-11-13 18:52:45 +00:00
505ace535f Remove unnecessary localization dependencies from CompaniesController and NewsController constructors 2025-11-13 18:28:14 +00:00
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