Commit Graph

18 Commits

Author SHA1 Message Date
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
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
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
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
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
dda1592871 clean(pre-prod): did some cleaning 2026-01-12 09:54:38 -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
Matthieu Haineault
70575e1772 feat(banking_hours): added a function to add or take banked_hours 2026-01-09 08:00:08 -05:00
Matthieu Haineault
41efccac17 fix(migration): commented migration scripts 2026-01-08 14:20:05 -05:00
Matthieu Haineault
5b778943a1 feat(paid_time-off): worked on vacation service, implemented vacation business logic inside shifts creation and did a migration 2026-01-08 12:13:14 -05:00
Matthieu Haineault
b6132c8b35 feat(schedule-presets): added a service that applies a preset to an existing timesheet. did some cleaning in utils and dtos 2025-12-09 13:02:10 -05:00
Matthieu Haineault
13962a8496 clean(modules): modules file cleaning 2025-12-04 14:50:23 -05:00
Matthieu Haineault
d913f59eb5 refactor(schedules_employees): refactor schema relations between employees and presets 2025-12-04 10:42:54 -05:00
Matthieu Haineault
5452641f19 feat(migration): added a split prismaModule to manage legacy DB, created scripts to fetch old data, transform to match the new structure and creates new items in the new DB 2025-11-24 14:59:16 -05:00
Matthieu Haineault
48f1220a4e clean(modules): cleaned unused dto files and added validation. Changed error messages to match i18n 2025-11-18 14:55:42 -05:00
Matthieu Haineault
3ceb2e0955 refactor(presets): refactor module to use Result Pattern commented to work on plugging error names 2025-11-18 13:49:18 -05:00