Commit Graph

49 Commits

Author SHA1 Message Date
3d4fa16d04 Merge pull request 'dev' (#8) from dev into prod
Reviewed-on: #8
2026-02-16 12:23:38 +05:30
62fc6c1a49 Merge pull request 'Improve error handling and logging for mail and OTP endpoints' (#7) from feature/portfolio-admin-auth into dev
Reviewed-on: #7
2026-02-16 11:54:21 +05:30
4b968099ad Improve error handling and logging for mail and OTP endpoints
Updated AuthController and CvController to return exception messages in 500 responses and enhanced logging. MailService now throws descriptive exceptions on email send failures, allowing upstream error reporting and preserving failed messages.
2026-02-16 11:44:31 +05:30
4ab4c615e9 Merge pull request 'dev' (#6) from dev into prod
Reviewed-on: #6
2026-02-16 11:21:06 +05:30
90d04d7a42 Merge pull request 'Improve URL config parsing and mail exception handling' (#5) from feature/portfolio-admin-auth into dev
Reviewed-on: #5
2026-02-16 11:19:29 +05:30
2d603e4fc6 Improve URL config parsing and mail exception handling
Refactor Program.cs to robustly parse and validate URLs from config, logging a warning if none are valid. Enhance MailService exception handling to log full exceptions and avoid interrupting OTP generation by swallowing mail send errors.
2026-02-16 11:18:46 +05:30
ec62f5a566 Merge pull request 'dev' (#4) from dev into prod
Reviewed-on: #4
2026-02-16 10:28:59 +05:30
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
b4a9d797dd Merge pull request 'update post details for blog' (#1) from dev into prod
Reviewed-on: #1
2025-01-06 00:01:01 +05:30
912457755e update post details for blog 2025-01-05 23:37:31 +05:30
eba39f8c5a Merge branch 'dev' of rajukottedi/PortBlog.API into prod 2024-05-09 13:38:03 +05:30
8cede3ba55 code refactoring 2024-05-09 13:31:40 +05:30
3a217bc28e Merge branch 'dev' of rajukottedi/PortBlog.API into prod 2024-05-08 22:55:43 +05:30
5fbeb9f732 code refactoring 2024-05-08 22:54:51 +05:30
0df3605c40 Merge branch 'dev' of rajukottedi/PortBlog.API into prod 2024-05-08 02:08:42 +05:30
2676921d7a publish only api project 2024-05-08 02:05:52 +05:30
8eeedf6dad changed api url for blog - /blog/api/* 2024-05-07 05:35:31 +05:30
50911e0de7 add frombody to updatecomments count api 2024-05-07 03:43:31 +05:30
2b25c55a70 Update post comments 2024-05-07 03:36:41 +05:30
c6538b8d0d code refactoring 2024-05-07 02:49:17 +05:30
d8c59d7bd1 Blog APIs implemented 2024-05-07 02:31:50 +05:30
50c5f87f93 blog apis for getting like and views 2024-05-06 23:23:25 +05:30
5c1a50ea64 code refactoring 2024-05-05 16:02:39 +05:30
cd1ad0a47f code refactoring 2024-05-02 17:57:56 +05:30
62c7a29909 code refactoring 2024-05-02 17:06:43 +05:30
4672d82975 send email code refactoring 2024-05-01 23:44:28 +05:30
9a4db75e85 code refactoring 2024-05-01 23:33:26 +05:30
d2548941fa returning true on successfully sent message 2024-05-01 23:28:13 +05:30
e8b9fe0dc3 serilog configuration changed based on environments 2024-05-01 00:45:22 +05:30
22c0d933af dev appsettings json format fix 2024-05-01 00:15:48 +05:30
167b736493 Merge branch 'dev-mail-service' of rajukottedi/PortBlog.API into dev 2024-05-01 00:00:11 +05:30
9cfe5676bc code refactoring 2024-04-30 23:58:32 +05:30
aa22cbe708 Merge branch 'dev-mail-service' of rajukottedi/PortBlog.API into dev 2024-04-30 23:23:31 +05:30
bd2ec7272f Added Mail Service 2024-04-30 23:20:58 +05:30
efb1f344e0 added allow urls to use 2024-04-30 13:51:22 +05:30
c7b1f28c92 added Images folder to the output folder 2024-04-30 13:10:11 +05:30
46edddc84f Merge branch 'dev-api-documentation' of rajukottedi/PortBlog.API into dev 2024-04-29 16:04:20 +05:30
61d97d40b0 Implemented API versioning and added to the swagger documentation 2024-04-29 16:03:01 +05:30
b3cb7b351f api performance changes 2024-04-29 00:19:37 +05:30
21e02ab3ca 1. AES Encryption/Decryption Tool
2. Encrypted Connection string
3. Added API Security using ApiKey
2024-04-28 13:22:57 +05:30
4c6f9a4ba8 Changes:
Database Migration, Repositories, Automapper, Logger, StaticFiles
2024-04-26 02:34:47 +05:30
234912badb Add project files. 2024-04-22 17:46:50 +05:30
00526043d8 Add .gitattributes, .gitignore, README.md, and LICENSE.txt. 2024-04-22 17:46:48 +05:30