Commit Graph

580 Commits

Author SHA1 Message Date
Matthieu Haineault
b269062816 fix(Prisma): Fix prisma queries around the whole app to match new structure of many instance of clients/services files. added scripts to manage more than one schema at a time 2026-02-04 14:13:06 -05:00
Matthieu Haineault
a3bdd41648 fix(prisma-client): modified imports in many files to match the new structure of the Prisma ORM. (where @prisma/client => prisma/generated/postgres/client). Added commented mariaDB variables to Dockerfile for future connections 2026-02-04 10:18:03 -05:00
Matthieu Haineault
f2ec4d9e82 feat(PrismaClient): generation of the 3 individual prisma clients for each database, removed unsupported modules file from the prisma schema folder 2026-02-04 08:57:47 -05:00
Matthieu Haineault
789e9acf89 fix(mariaDB): fixed account service functions to use new prisma setup 2026-02-04 08:27:38 -05:00
Matthieu Haineault
8b9c2f7a86 feat(mariaDB): clean prisma MariaDB folders. re-organized it and added scripts command for easier generation and migration 2026-02-03 15:52:02 -05:00
Matthieu Haineault
25e9200c41 Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/matthieu/prisma/MariaDB 2026-02-03 11:42:02 -05:00
Matthieu Haineault
d7eacd127c feat(prisma): setup for including MariaDB with the new Prisma version 7.3.0 2026-02-03 11:40:08 -05:00
Nic D
83f5da2e4a fix(preset): fix issue where notification of creation was being sent for weekly preset application 2026-01-27 16:33:27 -05:00
Nic D
652bc1cba1 feat(presets): add possibility for user with right permissions to apply presets to employee timesheets 2026-01-27 16:12:28 -05:00
Nic D.
0b31fc829b fix(auth): changes to how logout is handled, will now disconnect user from authentik for app only. 2026-01-26 16:27:11 -05:00
9c9554cae6 Merge pull request 'dev/nicolas/timesheet-sse' (#9) from dev/nicolas/timesheet-sse into main
Reviewed-on: Targo/targo_backend#9
2026-01-21 10:26:57 -05:00
Nic D
68883b84e7 feat(pay-period): add SSE for timesheet-approval when employees update timesheet and a user is on timesheet-approval 2026-01-21 10:21:58 -05:00
646cb58e98 feat(pay-period): begin integration of SSE route for live event-based feedback on timesheet update 2026-01-20 16:28:17 -05:00
bf630acb7c replaced app2 by portail 2026-01-20 09:02:02 -05:00
Nic D
11d841e868 refactor(chatbot): change context logic, adding context to chat request instead of sending on page change 2026-01-15 12:18:57 -05:00
Nic D
63cc2a4458 fix(chatbot): changed session id to be unique with user email instead of using testing for everything 2026-01-15 10:17:45 -05:00
Nic D
4e4fc01ed7 Merge branch 'main' of https://git.targo.ca/Targo/targo_backend 2026-01-15 09:38:00 -05:00
Nic D
7d492a2817 fix(timesheet): remove lines that were interfering with weekly overtime calculations. 2026-01-15 09:37:52 -05:00
0c99e2e174 added db variable in dockerfile 2026-01-15 09:33:26 -05:00
Matthieu Haineault
c5a41b2bfb fix(DB): fix env value calls for prod setup 2026-01-15 09:16:03 -05:00
Matthieu Haineault
f85c11f780 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2026-01-15 08:47:40 -05:00
Matthieu Haineault
7d8f9ee7fb feat(migration): migration from old DB to the new one. 2026-01-15 08:47:34 -05:00
Nic D
9079cfceed Merge branch 'main' of https://git.targo.ca/Targo/targo_backend 2026-01-14 16:06:59 -05:00
Nic D
8410a3f7c6 fix(chatbot): change post address, object structure, handling of response 2026-01-14 16:06:50 -05:00
78798c9173 added app2.targo.ca in CORS 2026-01-14 15:37:30 -05:00
Matthieu Haineault
5805549058 fix(prisma): commented unused column 2026-01-14 15:31:50 -05:00
Matthieu Haineault
c294d491d1 feat(banking): added columns to table Employees and timesheets for future update on banking hour options 2026-01-14 14:44:41 -05:00
Matthieu Haineault
e259851b87 clean(banking): removed debug comments 2026-01-14 10:38:49 -05:00
Matthieu Haineault
8a2e67cbc8 fix(banking): fix delete options of withdraw_banking hours 2026-01-14 10:37:46 -05:00
Matthieu Haineault
456f69baa4 fix(env): removed unused files 2026-01-14 08:48:47 -05:00
Matthieu Haineault
1abc377891 fix(banking): fix an issue where the banked hours would not be updated as intended 2026-01-14 08:20:27 -05:00
6c89acbe0e Merge branch 'main' of git.targo.ca:Targo/targo_backend 2026-01-13 16:27:31 -05:00
fa64b7d919 feat(timesheet-approval): add overtime calculation for overview and timesheet details 2026-01-13 16:27:27 -05:00
Matthieu Haineault
560bb9cc3c fix(banking_hours): added modifier of 1.5 to ensure real display and manipulations of banked hours 2026-01-13 14:07:44 -05:00
Matthieu Haineault
d414670d80 fix(scripts): commented migration script 2026-01-13 09:19:12 -05:00
Matthieu Haineault
052cebe003 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2026-01-13 09:16:15 -05:00
Matthieu Haineault
28b8a5612f feat(scripts): added a scripts to fetch and update employee supervisors and supervisor status 2026-01-13 09:13:58 -05:00
8f93c2b0f7 fix(chatbot): minor fixes to chatbot implementation, add chatbot to module access 2026-01-12 14:11:50 -05:00
28f90c027d Merge branch 'main' of git.targo.ca:Targo/targo_backend 2026-01-12 10:34:25 -05:00
297f1241bd feat(chatbot): add chatbot module for frontend deploy testing 2026-01-12 10:34:13 -05:00
Matthieu Haineault
dda1592871 clean(pre-prod): did some cleaning 2026-01-12 09:54:38 -05:00
Matthieu Haineault
5d6f6bfd0a feat(paid_time_off): added last_updated to manipulations bank updates 2026-01-12 07:20:07 -05:00
7e9dbe5b3d fix(employees): change DTOs to accomodate lack of last_update date 2026-01-09 12:54:57 -05:00
6acb853c69 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2026-01-09 12:12:33 -05:00
5ab1144d2c fix(employees): add second employeeDetailedUpsertDto to separate from GET dto that only requires partial PaidTimeOff access 2026-01-09 12:12:27 -05:00
Matthieu Haineault
25c9e0a673 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2026-01-09 12:01:11 -05:00
Matthieu Haineault
4c7c596d02 refactor(paid-time-off): refactor functions to use paid-time-off service instead. 2026-01-09 12:01:06 -05:00
791b3aacb9 feat(employees): add paid time off to properties sent to employee list queries (some partial, full when editing) 2026-01-09 11:39:30 -05:00
Matthieu Haineault
c03ea4cb6f Merge branch 'main' of git.targo.ca:Targo/targo_backend 2026-01-09 08:00:14 -05:00
Matthieu Haineault
70575e1772 feat(banking_hours): added a function to add or take banked_hours 2026-01-09 08:00:08 -05:00