Commit graph

109 commits

Author SHA1 Message Date
Suphonchai Phoonsawat
7bafbf5001 เพิ่มรายการรักษาการ #2431 2026-04-17 15:35:29 +07:00
Suphonchai Phoonsawat
5606e8b50a Change GetProfileByKeycloakIdNewAsync To GetProfileByKeycloakIdNew2Async 2026-04-17 09:41:52 +07:00
Suphonchai Phoonsawat
1cf780ecd0 Refactor LeaveController to streamline profile retrieval and duty time handling 2026-04-01 12:24:00 +07:00
Suphonchai Phoonsawat
2cd7798dd9 Add admin endpoints for processing leave tasks, including retrieval, deletion, and updates 2026-03-31 09:46:44 +07:00
Suphonchai Phoonsawat
c1ac687101 Add CreateLeaveProcessJobDto and implement CreateProcessTaskAsync in LeaveController 2026-03-30 09:52:27 +07:00
Suphonchai Phoonsawat
7ba429bb64 Refactor checkout status logic in LeaveController for improved clarity and handling of check-in dates
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m46s
2026-03-27 09:48:10 +07:00
Suphonchai Phoonsawat
aef81e9f4e Add support for multiple child DNA IDs in leave processing and enhance batch creation of duty time changes
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m45s
2026-03-25 15:17:54 +07:00
Suphonchai Phoonsawat
252d8b5fa3 Update SearchProfile method parameters to use string for SelectedNodeId #1555
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m40s
2026-03-23 10:40:54 +07:00
Suphonchai Phoonsawat
58aca3a328 Add SelectedNode parameter to SearchProfile method for enhanced profile retrieval #1555
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m44s
2026-03-23 10:13:13 +07:00
Suphonchai Phoonsawat
818ff38e99 Add SelectedNodeId parameter to SearchProfile method and update related DTO #1555 2026-03-23 10:04:09 +07:00
Suphonchai Phoonsawat
23bbd9791e Add CreateChangeRoundMultipleAsync method for batch processing of duty time changes #1555
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m51s
Build & Deploy Placement Service / build (push) Successful in 1m54s
Build & Deploy Insignia Service / build (push) Successful in 1m51s
Build & Deploy Discipline Service / build (push) Successful in 1m51s
2026-03-23 09:49:17 +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
6902236f48 Add GetTimeStampHistoryAsync2 method for fiscal year timestamp retrieval
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m50s
2026-03-11 11:57:00 +07:00
Suphonchai Phoonsawat
4562029e6e Update GetTimeStampHistoryAsync call to include pagination and keyword filtering
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 2m8s
2026-03-10 14:10:35 +07:00
Suphonchai Phoonsawat
3e34aaa178 Refactor file upload logic in LeaveController to handle check-in scenarios more effectively
#2328
2026-02-20 16:32:57 +07:00
harid
256da24caf แก้ไขสิทธิ์ PARENT ให้เห็นข้อมูลทั้งหมดทุกหน่วยงาน #54
All checks were successful
Build & Deploy Discipline Service / build (push) Successful in 1m55s
Build & Deploy Insignia Service / build (push) Successful in 1m48s
Build & Deploy Leave Service / build (push) Successful in 1m49s
Build & Deploy Placement Service / build (push) Successful in 1m46s
Build & Deploy Retirement Service / build (push) Successful in 1m50s
2026-02-19 17:01:44 +07:00
Suphonchai Phoonsawat
d748308419 Enhance LeaveController to implement check-out logic and status validation based on last check-in record 2026-02-19 15:07:04 +07:00
Suphonchai Phoonsawat
4f18a97d0b Add GetOCStaffAsync method to UserProfileRepository and create GetOcStaff response models 2026-02-05 11:57:19 +07:00
Suphonchai Phoonsawat
358fd47b99 Add IsProbatin property to GetProfileByKeycloakIdDto and update leave request logic for probationary users #2266 2026-02-05 10:39:57 +07:00
Suphonchai Phoonsawat
7775ea85c3 Refactor error handling in LeaveController to return appropriate error responses instead of throwing exceptions
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m18s
2026-02-04 10:32:44 +07:00
Suphonchai Phoonsawat
19000b2e42 Refactor check-out status logic to improve clarity and handle edge cases for same-day and next-day check-outs 2026-02-04 10:18:44 +07:00
Suphonchai Phoonsawat
659e06a08d Add cancellation token support and extend timeout to 30 minutes for external API calls
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m19s
2026-01-30 13:35:58 +07:00
Suphonchai Phoonsawat
5c05f1123a Increase HttpClient timeout for long-running operations
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m21s
2026-01-30 09:49:54 +07:00
Suphonchai Phoonsawat
4c189fdc4a Fix null reference for CheckIn and CheckOut location names in LeaveController
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m21s
2026-01-29 10:07:29 +07:00
harid
90eb94cee3 กรองค้นหาข้อมูลรายการลงเวลากรณีพิเศษ #2252
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m24s
2026-01-28 16:24:59 +07:00
Suphonchai Phoonsawat
839c357842 Update LeaveController to use KeycloakUserId for profile retrieval #2253
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m38s
2026-01-28 11:47:10 +07:00
Suphonchai Phoonsawat
22a7a8c17c Update LeaveController to refine check-in/check-out logic based on meeting location #2223
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m17s
2026-01-26 12:04:58 +07:00
Suphonchai Phoonsawat
c1d689ebfa Update LeaveController to adjust check-in/check-out times based on location for meetings
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m14s
2026-01-23 21:25:34 +07:00
Suphonchai Phoonsawat
ecf5ada7ed Update LeaveController to conditionally set check-out time based on existing value and duty schedule
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m14s
2026-01-23 20:55:21 +07:00
Suphonchai Phoonsawat
9bd6017ded Update LeaveController to adjust check-in/check-out times based on user duty schedule #2223
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m16s
2026-01-23 20:35:54 +07:00
Suphonchai Phoonsawat
e1c7688913 Update LeaveController to set end times based on duty schedule for check-in/check-out #2228 2026-01-23 20:27:22 +07:00
Suphonchai Phoonsawat
4e4eec3d84 Add job status check for pending or processing check-in/check-out requests
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m19s
2026-01-23 09:32:17 +07:00
Suphonchai Phoonsawat
2f366374fa Refactor user profile retrieval to use new method GetProfileByKeycloakIdNewAsync
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m12s
2026-01-22 12:43:52 +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
Suphonchai Phoonsawat
21f82d69e1 Add load testing script for simulating 30,000 requests over 10 minutes 2026-01-19 14:27:43 +07:00
Suphonchai Phoonsawat
b0715e3da6 refactor LeaveController to update check-out status logic based on morning end time #2187
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m12s
2026-01-16 16:19:49 +07:00
Suphonchai Phoonsawat
5ec7933b3c refactor LeaveController to correct end time parsing for seminar handling #2199
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m11s
2026-01-14 16:51:21 +07:00
Suphonchai Phoonsawat
9e529ed19b refactor LeaveController to update checkout-check endpoint to accept string for seminar handling #2199 2026-01-14 16:43:35 +07:00
Suphonchai Phoonsawat
3e8c3d998e refactor LeaveController to modify checkout-check endpoint for seminar handling #2199 2026-01-14 16:42:36 +07:00
Suphonchai Phoonsawat
3a6e4501fd refactor LeaveController to update start and end time logic for check-in and check-out #2199 2026-01-14 16:38:55 +07:00
Suphonchai Phoonsawat
5415019b3c refactor LeaveController to update image URL handling for check-in and check-out #2188
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m12s
2026-01-14 10:25:31 +07:00
Suphonchai Phoonsawat
6907607a06 refactor LeaveController to improve sorting and pagination logic #2192 2026-01-13 17:01:20 +07:00
Suphonchai Phoonsawat
1c3ce46bcb update LeaveController to determine status based on leave request and range
All checks were successful
Build & Deploy Leave Service / build (push) Successful in 1m12s
#2187
2026-01-12 13:41:23 +07:00
Suphonchai Phoonsawat
7b97cd09a3 update LeaveController to handle additional leave range options for check-in and check-out statuses
Some checks failed
DockerHub Release - Leave Service / release-to-dockerhub (push) Failing after 12s
2026-01-09 20:24:50 +07:00
Suphonchai Phoonsawat
3f13557b31 update LeaveController to pass currentDate parameter to GetLastEffectRound method 2026-01-09 19:11:52 +07:00
Suphonchai Phoonsawat
95cd49ecbc update LeaveReportController to pass date parameter to GetLastEffectRound method 2026-01-09 19:10:16 +07:00
97c9064ab5 #2142 2025-12-19 14:23:27 +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
Suphonchai Phoonsawat
ff66aebdfa fix: update end time parsing and improve attendance status logic
Some checks failed
release-dev / release-dev (push) Failing after 12s
2025-12-15 10:29:23 +07:00
kittapath
ec04665f39 add permission brother
Some checks failed
release-dev / release-dev (push) Failing after 13s
2025-12-12 01:36:06 +07:00