Commit Graph

668 Commits

Author SHA1 Message Date
Matthieu Haineault
a32d636b6e feat(tickets): added a service function to get tickets according to email or session email and ticket status 2026-02-20 05:29:22 -05:00
40fa274571 added tickets module server in Cors 2026-02-19 09:45:25 -05:00
Matthieu Haineault
a5fc7b1de9 feat(ticket): added a route to get tickets using the email of the assigned employee or the ticket status 2026-02-19 08:18:43 -05:00
Nic D
c712e0f5db fix(exports): fix issue where bank code was not being properly verified, adjust sorting of results 2026-02-18 11:59:27 -05:00
Matthieu Haineault
6207784d57 Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/matthieu/tickets 2026-02-18 08:58:00 -05:00
Matthieu Haineault
455a57fef6 Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/matthieu/tickets 2026-02-18 08:57:48 -05:00
Nic D
aa6109ff09 fix(shifts): fix issue where end time for paid time off shifts was not being calculated correctly. 2026-02-17 15:23:56 -05:00
Matthieu Haineault
ef969d3c42 fix(CSV): fix csv structure to match Desjardins 2026-02-16 09:36:13 -05:00
Nic D
a9637a93a6 BREAKING(csv-report): Trim shift and expense retrieval, up to calculateOvertime portion, logic requires rework 2026-02-13 16:05:59 -05:00
Matthieu Haineault
df390b41b6 fix(csv): started to fix csv structure to match desjardins needs 2026-02-12 15:14:44 -05:00
Matthieu Haineault
502f92188d feat(tickets): a few more basic setup to match frontend needs 2026-02-11 14:02:34 -05:00
Matthieu Haineault
dccb249b15 feat(Tickets): created helpers for boolean manipulations and basic setup for ticketing module 2026-02-11 08:45:26 -05:00
Matthieu Haineault
3f248a212d feat(modules): basic setup for controllers, services and modules of the customer-support module 2026-02-10 08:35:50 -05:00
Matthieu Haineault
ee6337758e feat(DTO): dto implementations for the ticket module 2026-02-10 08:14:44 -05:00
Matthieu Haineault
c3698d4a36 fix(imports): switched deprecated imports for new version of Prisma 2026-02-06 15:27:37 -05:00
Matthieu Haineault
6a6a3187be fix(imports): fixed deprecated imports 2026-02-06 15:22:19 -05:00
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