Commit graph

311 commits

Author SHA1 Message Date
Suphonchai Phoonsawat
058027ea29 เปลี่ยน DEFAULT สิทธิ์เป็น "CHILD" กรณีไม่ตั้งค่ามา #2431
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m53s
2026-04-17 20:11:18 +07:00
Suphonchai Phoonsawat
ee2d16925a แก้ไข รักษาการ ถ้าไม่ได้ใส่ privilage มาจะให้ default = "PARENT" #2431
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 2m7s
2026-04-17 19:21:30 +07:00
Suphonchai Phoonsawat
6efeec3f1f เพิ่ม List ของการเจ้หน้าที่ ส่ง noti ขอยกเลิกการลา #2432
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m52s
2026-04-16 19:05:26 +07:00
Suphonchai Phoonsawat
c91e6c8030 Add migration for LeaveProcessJobStatuses table
- Created a new migration to add the LeaveProcessJobStatuses table.
- The table includes fields for job status, timestamps, user information, and error messages.
- Supports tracking of leave process job statuses with relevant metadata.
2026-03-30 09:23:13 +07:00
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
Suphonchai Phoonsawat
c20e1b48bd Add GetDifference method to DateTimeExtension and implement TimeCheck endpoint in LeaveRequestController
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m35s
2026-02-23 10:09:36 +07:00
Suphonchai Phoonsawat
682c88c2db Add BeginningLeaveCount and BeginningLeaveDays to LeaveBeginnings table
- Altered LeaveDays column to update its comment.
- Added BeginningLeaveCount column to track the number of leave occurrences.
- Added BeginningLeaveDays column to store the total days of leave carried over.
2026-02-11 09:44:18 +07:00
Suphonchai Phoonsawat
639d41649c Add LeaveCount column to LeaveBeginnings table
- Introduced a new column 'LeaveCount' of type int to the LeaveBeginnings table.
- Set default value to 0 and added a comment for clarity in Thai: "จำนวนครั้งที่ลาสะสม".
2026-02-05 10:54:44 +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
a463df5716 Add migration to create CheckInJobStatuses table for RMQ task control
- Introduced a new migration that creates the CheckInJobStatuses table.
- The table includes fields for tracking job statuses, timestamps, user information, and error messages.
- Supports various statuses such as PENDING, PROCESSING, COMPLETED, and FAILED.
2026-01-20 10:49:13 +07:00
harid
64c1021c52 Migrate เก็บฟิลด์ใช้แสดงในรายงานลาเพิ่ม #2195
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m18s
2026-01-16 09:25:22 +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
harid
0a58075428 migrate + api บันทึกผู้ตรวจสอบและส่งไปพิจาณา #2109
Some checks failed
release-dev / release-dev (push) Failing after 12s
2025-12-11 21:27:18 +07:00
harid
48792f0d31 no message 2025-12-04 16:15:38 +07:00
Suphonchai Phoonsawat
d1bda77fa9 Merge branch 'develop' into working
Some checks failed
release-dev / release-dev (push) Failing after 11s
2025-11-21 09:46:17 +07:00
Suphonchai Phoonsawat
14fd93ae95 fix ยืมคืนเครื่องราชย?มาใช้่ RootDnaId แทน rootId 2025-11-21 09:45:55 +07:00
harid
842ed531f5 fix ใบสมัครสอบคัดเลือก #2016, #2017, #2018
Some checks failed
release-dev / release-dev (push) Failing after 11s
2025-11-20 18:11:09 +07:00
harid
0065468568 migrate
Some checks failed
release-dev / release-dev (push) Failing after 10s
2025-11-17 18:20:29 +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
harid
3d9f922fc9 ทำฟังก์ชันกลางคำนวณปีงบประมาณ 2025-10-09 16:43:37 +07:00
Bright
71dc9f05d3 add field DisciplineDirectors.RootDnaId 2025-07-31 18:50:21 +07:00
Bright
b548d8fea6 เพิ่มฟิลด์ตำแหน่งทางการบริหาร 2025-07-25 13:44:53 +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
27acadbb07 Add Dna Id to table 2025-06-20 14:44:53 +07:00
kittapath
1ef8544833 หา dna บรรจุ 2025-06-20 00:35:25 +07:00
Suphonchai Phoonsawat
ea55d21f51 add Dna Id Field to Process TimeStamp
Some checks failed
release-dev / release-dev (push) Failing after 12s
2025-06-18 13:43:46 +07:00
706edbd0f0 update placement and retire 2025-06-16 12:10:50 +07:00
Suphonchai Phoonsawat
88270a230f fix #1357 ปรับ API 2025-05-29 13:57:44 +07:00
Suphonchai Phoonsawat
22a3914072 เพิ่มคำนวนเครื่องราชย์แยกตาม type 2025-05-28 10:48:40 +07:00
moss
4b43104400 ยกเลิกลูกจ้าง
Some checks failed
release-dev / release-dev (push) Failing after 13s
2025-05-27 19:48:38 +07:00
moss
dc3c5a82a1 step ระบบลาออก
Some checks failed
release-dev / release-dev (push) Failing after 11s
2025-05-23 10:49:40 +07:00
Suphonchai Phoonsawat
3beba561fc fix #1547 **** รอรัน migration อีกครั้ง *****
fix #1520
2025-05-16 10:33:38 +07:00
6e1965ba79 wait migrate 2025-05-15 18:05:48 +07:00
Suphonchai Phoonsawat
afb7b60a19 แก้เครื่องราชย์ 2025-05-15 10:06:08 +07:00
moss
64eb77674a เพิ่มวันที่ยับยั่ง 2025-05-07 17:13:57 +07:00
moss
2b8713cbe0 retire add approve 2025-05-07 14:17:28 +07:00
Suphonchai Phoonsawat
01590c4894 issue #1291 2025-05-07 11:51:19 +07:00
Suphonchai Phoonsawat
fffa6bc374 fix #1414 2025-05-06 19:14:32 +07:00
Suphonchai Phoonsawat
5ba93feb52 add field และ เพิ่ม call ProfileLeave API 2025-05-02 20:19:01 +07:00
Suphonchai Phoonsawat
249911b931 fix warning
Some checks failed
release-dev / release-dev (push) Failing after 11s
2025-05-02 12:13:14 +07:00
Suphonchai Phoonsawat
db483ce18d improve ErrorExceptionMiddleWare Code 2025-04-25 10:23:47 +07:00
Suphonchai Phoonsawat
19c30e69df CRUD Leave Beginning
Some checks failed
release-dev / release-dev (push) Failing after 11s
2025-04-23 11:25:12 +07:00
Suphonchai Phoonsawat
ddc3d268be add api add commander and approver ด้วย และเพิ่มประเภทของผู้อนุมัติ 2025-04-22 14:28:51 +07:00
Suphonchai Phoonsawat
bec082a554 Merge branch 'develop' into working 2025-04-22 10:40:24 +07:00