Commit Graph

602 Commits

Author SHA1 Message Date
Matthieu Haineault
1da818d843 fix(dockerfile): modified Prisma Client generate command line to match prisma 7.3.0 with multiple databases 2026-02-06 15:12:11 -05:00
Matthieu Haineault
fd177194ec fix(accounts): small import fix 2026-02-06 15:05:10 -05:00
Matthieu Haineault
047871fe35 fix(prisma): many small fixes due to prisma updated version 2026-02-06 15:03:14 -05:00
Matthieu Haineault
ca1123e636 fix(prisma): fix prisma config 2026-02-06 14:48:02 -05:00
08af0d3e84 Merge pull request 'dev/matthieu/prisma/MariaDB' (#14) from dev/matthieu/prisma/MariaDB into main
Reviewed-on: Targo/targo_backend#14
2026-02-06 14:43:35 -05:00
Matthieu Haineault
364219c267 Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/matthieu/prisma/MariaDB 2026-02-06 14:41:08 -05:00
5d241513e6 Merge pull request 'fix(sick-hours): fix issue where sicks hours are not properly being deducted nor reimbursed' (#13) from release/nicolas/v1.1 into main
Reviewed-on: Targo/targo_backend#13
2026-02-06 14:38:21 -05:00
Nic D
3ab99afbbb Merge branch 'main' of https://git.targo.ca/Targo/targo_backend into release/nicolas/v1.1 2026-02-06 14:38:07 -05:00
Nic D
afa8694e1e fix(sick-hours): fix issue where sicks hours are not properly being deducted nor reimbursed 2026-02-06 14:37:27 -05:00
0fcbe93ae4 Merge pull request 'release/nicolas/v1.1' (#12) from release/nicolas/v1.1 into main
Reviewed-on: Targo/targo_backend#12
2026-02-06 14:02:55 -05:00
Nic D
14db036a69 Merge branch 'main' of https://git.targo.ca/Targo/targo_backend into release/nicolas/v1.1 2026-02-06 14:02:13 -05:00
Nic D
a4be488a0f fix(sick-hours): fix a single error in shift creation where sick hours check was being done with banked hours 2026-02-06 14:02:01 -05:00
Matthieu Haineault
0ce1b62d06 feat(schema prisma): dropped attachment related tables and added columns to expenses table to match new needs for garageHQ 2026-02-06 13:14:36 -05:00
Matthieu Haineault
6d911014de feat(Accounts): setthing up account services and e2e testing of the routes 2026-02-06 08:37:40 -05:00
48e1d763ea Merge pull request 'fix(auth): change logout behavior, now sends success code when logout request processed' (#11) from release/nicolas/v1.1 into main
Reviewed-on: Targo/targo_backend#11
2026-02-05 15:01:13 -05:00
Nic D
6d96311d98 refactor(e2e): remove old e2e workflow, no longer up to date, will need to create new one later(never?) 2026-02-05 15:00:52 -05:00
Nic D
d0f68cf1c6 fix(auth): change logout behavior, now sends success code when logout request processed 2026-02-05 13:24:27 -05:00
Matthieu Haineault
6d17baf6c8 fix(prisma): fix prisma calls to match 7.3.0 versions 2026-02-05 11:52:46 -05:00
Matthieu Haineault
b8157b78d1 fix(PrismaClient): fix a bug where transactionClients where instantiated with the wrong Prisma imports 2026-02-05 11:31:47 -05:00
80bd862741 Merge pull request 'feat(paid-time-off): add methods and controller to pull paid time off for one employee' (#10) from release/nicolas/v1.1 into main
Reviewed-on: Targo/targo_backend#10
2026-02-05 08:03:29 -05:00
Nic D
2ec59e2ffb feat(paid-time-off): add methods and controller to pull paid time off for one employee 2026-02-05 08:00:54 -05:00
Matthieu Haineault
d9f0362cb9 fix(PrismaClient): fix the client generation. was overwriting previous entries. now create multiple instances = db amount 2026-02-04 15:24:36 -05:00
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