dev #4

Merged
rajukottedi merged 7 commits from dev into prod 2026-02-16 10:28:59 +05:30

7 Commits

Author SHA1 Message Date
a23953fe11 Merge pull request 'Support encrypted cache conn strings & update dependencies' (#3) from feature/portfolio-admin-auth into dev
Reviewed-on: #3
2026-02-15 14:23:56 +05:30
2533b5298f Support encrypted cache conn strings & update dependencies
Moved DecryptConnectionString to KBR.Shared.Extensions for reuse and improved configuration access. Added Encryption property to CacheOptions and appsettings for conditional decryption of cache connection strings. Updated ServiceCollectionExtensions to decrypt SQL Server cache connection strings when needed. Upgraded NuGet packages across projects to latest .NET 8/10.0.x versions. Included minor code cleanups and OpenApiSecurityScheme improvements.
2026-02-15 14:22:22 +05:30
6ac6b1e08e Merge pull request 'feature/portfolio-admin-auth' (#2) from feature/portfolio-admin-auth into dev
Reviewed-on: #2
2026-02-15 13:27:58 +05:30
4ebd93d39b Update projects to .NET 10.0 and add Program doc entry
Upgraded target frameworks to .NET 10.0 across multiple projects for latest compatibility. Added documentation for the auto-generated Program class in PortBlog.API.xml. No other functional changes.
2026-02-15 13:22:48 +05:30
5b7952877e Admin API refactor: claim-based resume CRUD & versioning
Major refactor of AdminController and related services to support full CRUD for candidate resume, projects, hobbies, skills, academics, experiences, certifications, and contact info, all using access token claims for candidate identity. Introduced AdminService and expanded IResumeRepository for granular entity management. Updated DTOs for upsert operations and date support. Improved API versioning (Asp.Versioning.Mvc), Swagger integration, and middleware setup. Added unit test project. Enhanced error handling, documentation, and mapping.
2026-02-15 05:27:35 +05:30
cd01c11be7 Refactor controllers and services; update logging
Refactored AdminController and AuthService to use primary
constructor syntax, removing explicit field declarations.
Updated logging to use structured logging across controllers
and services. Added XML documentation for methods in
AdminController, AuthController, AuthService, and MailService.
Modified Program.cs to improve connection string handling and
Swagger setup. Removed deprecated service files.
2025-11-22 14:16:31 +05:30
3a7edb23c7 Add JWT, OTP, and caching features
Upgraded projects to .NET 9.0 and added new projects `KBR.Cache`, `KBR.Shared`, and `KBR.Shared.Lite` to the solution. Introduced JWT authentication and OTP handling with new models, services, and configuration options. Updated database schema with new entities `Users` and `RefreshTokens`, and added migrations for schema changes. Implemented caching strategies using `AppDistributedCache` with support for in-memory, SQL Server, and Redis. Enhanced email handling with `MailHelpers` for domain replacement. Updated controllers, repositories, and configuration files to support new features.
2025-11-22 06:52:59 +05:30