Commit Graph

475 Commits

Author SHA1 Message Date
Matthieu Haineault
3741bf3b26 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-11-04 08:31:40 -05:00
Matthieu Haineault
6adb614931 refactor(shifts): modified return and switched bank_code_id for types 2025-11-04 08:31:38 -05:00
fef9ea0b74 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-11-03 15:43:58 -05:00
29f131e307 fix(local): switch values back to local for local testing
Will need to figure out a method to automatically detect if backend is running locally or remotely to avoid switching URIs back and forth constantly
2025-11-03 15:43:10 -05:00
Matthieu Haineault
bdbec4f68c feat(pay-period): added approval of timesheets, shifts and expenses by bulk. added route to controller 2025-11-03 14:14:09 -05:00
Matthieu Haineault
5268737bd1 feat(expenses): implement role guards 2025-11-03 12:11:13 -05:00
Matthieu Haineault
7ee87d8409 feat(timesheets): implement role guards for timesheets 2025-11-03 12:08:54 -05:00
Matthieu Haineault
f1f765b350 clean(folder): cleaning imports 2025-11-03 11:47:41 -05:00
Matthieu Haineault
c59b50a829 refactor(schedule-presets): modified route and params to use session data 2025-11-03 11:19:21 -05:00
Matthieu Haineault
b1c6c50571 refactor(time-and-attendance): removed a layer of folder 2025-11-03 10:53:15 -05:00
Matthieu Haineault
c274550a91 refactor(shifts): removed email from param of create shift and used req-user data instead 2025-11-03 10:15:40 -05:00
Matthieu Haineault
bb60887a0d refactor(timesheet): used session data and removed email from query of the Get function 2025-10-31 14:04:07 -04:00
Matthieu Haineault
6c746aa3c2 refactor(expenses): added start_date to find the right timesheet using expense.date 2025-10-31 12:37:11 -04:00
Matthieu Haineault
e5484da39a refactor(expenses): added email to req inside controller and pass email to the function to pin point the right timesheet 2025-10-31 12:34:12 -04:00
Matthieu Haineault
e0cefc8ec9 refactor(expenses): modified createExpense signature. removed timesheet_id from the param. ajusted auth logic 2025-10-31 12:11:55 -04:00
Matthieu Haineault
9f0da467ae fix(timesheet): removed validation/transformation from ensureTimesheet and use the param Date format inside the function 2025-10-31 08:50:13 -04:00
Matthieu Haineault
c0fbad006d fix(attachments): fix typo 2025-10-31 08:35:24 -04:00
8ab80fc2d8 Merge pull request 'fix(imports): ajusted imports to remove relative paths' (#7) from dev/matthieu/refactor into main
Reviewed-on: Targo/targo_backend#7
2025-10-30 15:06:17 -04:00
Matthieu Haineault
c9c9df2599 Merge branch 'dev/matthieu/refactor' of git.targo.ca:Targo/targo_backend into dev/matthieu/refactor 2025-10-30 15:05:24 -04:00
Matthieu Haineault
68f29b8842 Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/matthieu/refactor 2025-10-30 15:05:20 -04:00
06ba94cdb9 Merge branch 'main' into dev/matthieu/refactor 2025-10-30 15:03:56 -04:00
e8bd0403ea Merge branch 'main' of https://git.targo.ca/Targo/targo_backend 2025-10-30 15:00:38 -04:00
78aec894ed fix(auth): change auth to work with remote docker lab 2025-10-30 14:23:52 -04:00
Matthieu Haineault
2b033de91b fix(imports): ajusted imports to remove relative paths 2025-10-30 13:57:16 -04:00
Matthieu Haineault
2debd40871 fix(imports): fix constants imports 2025-10-30 12:24:24 -04:00
Matthieu Haineault
1385777122 refactor(presets): modified routes name and switch Param(email) to use employee_id instead. ajusted these methods to use employee_id accordingly 2025-10-30 12:22:12 -04:00
Matthieu Haineault
2a250567ad Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-10-30 12:04:08 -04:00
Matthieu Haineault
50521b7c68 refactor(presets): removed upsertAction manipulation. created 3 seperate routes for create update et delete. 2025-10-30 12:04:05 -04:00
c0eef4e3a3 feat(docker): Add/Update Dockerfile for Remote Docker Lab deployment 2025-10-29 15:20:20 -04:00
2dd8bdb3c3 fix(docker): Update workdir and CMD, add ENV variables for testing 2025-10-28 15:34:20 -04:00
45e447f954 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-10-28 14:48:17 -04:00
ca8c12ca6f feat(docker): add dockerfile for dockerization of backend in lab
Should be in 10.100.251.2
2025-10-28 14:45:06 -04:00
Matthieu Haineault
7eb3844713 clean(time_and_attendance): cleaning helpers, types, mappers, constants 2025-10-27 15:50:57 -04:00
Matthieu Haineault
4cb01de970 feat(time_and_attendance): clean files of deprecated imports and moved utils to shared utils folder. Modified @Body for create and update shifts to use only an array of shifts 2025-10-27 15:23:28 -04:00
Matthieu Haineault
488f0341cc feat(timesheets): added timesheet_id to shifts return objects 2025-10-27 13:41:20 -04:00
Matthieu Haineault
28f811e1fb refactor(modules): clean up module.ts files to match new imports/controllers/providers 2025-10-27 13:28:39 -04:00
Matthieu Haineault
e7a50df5e5 refactor(selects): moved select: lines to shared file 2025-10-27 12:08:06 -04:00
Matthieu Haineault
5e49bc5df6 refactor(utils): moved utils to shared utils folder 2025-10-27 11:47:38 -04:00
Matthieu Haineault
ac1eaabb5d fix(schema): remove commented lines 2025-10-27 10:20:56 -04:00
Matthieu Haineault
4cdc6dbc56 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-10-27 10:17:15 -04:00
Matthieu Haineault
3ae1085e95 fix(schema): temporary comment on some schema lines to prep for removing employees/customer from this module 2025-10-27 10:17:11 -04:00
fc6681a548 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-10-27 09:59:34 -04:00
Matthieu Haineault
6c44bb5ad2 refactor(modules): moved some module to change the structure to domain oriented 2025-10-27 09:50:22 -04:00
Matthieu Haineault
2712033451 refactor(cleaning): preparing other modules for refactoring 2025-10-24 16:47:30 -04:00
Matthieu Haineault
1289aed720 reafactor(time-and-attendance): organized files and folders and centralize module files 2025-10-24 16:38:18 -04:00
Matthieu Haineault
b69b9f30d8 Merge branch 'dev/matthieu/refactor' of git.targo.ca:Targo/targo_backend into dev/matthieu/refactor 2025-10-24 16:15:58 -04:00
Matthieu Haineault
062b9b4640 refactor(expenses): major refactor of the CRUDs methods sing sessions data 2025-10-24 16:15:54 -04:00
4b39240606 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-10-24 14:23:35 -04:00
d16c4d4d86 fix(shift): minor fix for receiving date properly.
Change 'd' for 'day' in date-time-helpers. 'Also remove oauth-sessions, unused bloat
2025-10-24 14:23:26 -04:00
Matthieu Haineault
3e2265cbac BREAKING CHANGE(Time&Attendance): prep to split into APIs. setup structure for timesheet related modules 2025-10-23 14:23:53 -04:00