Commit graph

20 commits

Author SHA1 Message Date
Suphonchai Phoonsawat
7e0f0485fd Add TokenUserInfo class and extend ClaimsPrincipal with methods for user claims retrieval
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m49s
2026-03-17 15:47:03 +07:00
harid
02487d91ff เปลี่ยนเส้น api สำหรับเก็บ logs
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m12s
Build & Deploy Discipline Service / build (push) Successful in 1m27s
Build & Deploy Insignia Service / build (push) Successful in 1m25s
Build & Deploy Placement Service / build (push) Successful in 1m17s
Build & Deploy Retirement Service / build (push) Successful in 1m23s
2026-01-28 13:27:25 +07:00
Suphonchai Phoonsawat
2b737de23b Update ElasticConfiguration URIs and IndexFormats in appsettings for Leave and Insignia
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m12s
2026-01-22 12:24:27 +07:00
Suphonchai Phoonsawat
d945deae4f Add error handling for permission API calls and enhance logging in middleware
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m15s
2026-01-22 11:58:26 +07:00
Suphonchai Phoonsawat
90eea1ac7f Enhance CombinedErrorHandlerAndLoggingMiddleware with caching and improved token handling 2026-01-20 11:09:13 +07:00
Suphonchai Phoonsawat
d5c2c54eaa fix: update image retrieval logic in LeaveController and adjust RabbitMQ configuration in appsettings
Some checks failed
release-dev / release-dev (push) Failing after 13s
#2138
2025-12-18 14:08:05 +07:00
kittapath
b4cc522fef update api key
Some checks failed
release-dev / release-dev (push) Failing after 12s
2025-11-12 01:56:06 +07:00
Suphonchai Phoonsawat
0e74ad730c fix Middleware
Some checks failed
release-dev / release-dev (push) Failing after 13s
2025-07-04 14:57:25 +07:00
Suphonchai Phoonsawat
8f9b40c303 ปรับการแกะ keycloakid มาจาก token เนื่องจาก middleware ทำงานก่อน auth middleware จึงทำให้ยังไม่มี context.User เลยเอาไปหา keycloakId ไมได้
Some checks failed
release-dev / release-dev (push) Failing after 13s
2025-06-24 12:49:24 +07:00
Suphonchai Phoonsawat
2e77371316 ปรับ Middleware โดยรวม Exception + LogWriter ไว้ด้วยกัน 2025-06-24 10:42:11 +07:00
Suphonchai Phoonsawat
0baa85e857 Correct Middleware 2025-06-23 17:03:18 +07:00
Suphonchai Phoonsawat
fffa6bc374 fix #1414 2025-05-06 19:14:32 +07:00
Suphonchai Phoonsawat
db483ce18d improve ErrorExceptionMiddleWare Code 2025-04-25 10:23:47 +07:00
Suphonchai Phoonsawat
e51ab03a5c fix 2025-04-02 09:17:13 +07:00
Suphonchai Phoonsawat
0fb3fd1d06 fix Convert FormData แล้วเขียนลง Logs 2025-03-27 12:24:58 +07:00
Suphonchai Phoonsawat
92451af236 เพิ่มเติม function การเขียน log 2025-03-26 11:43:26 +07:00
Suphonchai Phoonsawat
b8fef58b28 เพิ่ม middleware ในการเขียน log โดยเขียนไป elasticsearch โดยไม่ใช้ Serilog เพื่อจัด format เอง 2025-03-21 15:44:11 +07:00
Suphonchai Phoonsawat
9a2e487d8d แก้ปัญหา GlobalExceptionMiddleware Resturn Response 200 เมื่อมมี Exception 500 2023-07-28 10:38:30 +07:00
Suphonchai Phoonsawat
01c55f296d แก้บั้ก Global Exception Middleware 2023-07-13 15:54:29 +07:00
Suphonchai Phoonsawat
89263416b3 Add Report Service and add middleware 2023-07-12 21:50:11 +07:00