Matthieu Haineault
|
1a88e02411
|
clean(modules): clean module imports and clean utils files
|
2025-11-13 15:23:17 -05:00 |
|
Matthieu Haineault
|
30cc41955b
|
fix():fix merge
|
2025-11-13 13:54:01 -05:00 |
|
Matthieu Haineault
|
e72b63116c
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend
|
2025-11-13 13:53:32 -05:00 |
|
Matthieu Haineault
|
214d6aa370
|
fix(shifts): small error typing fix
|
2025-11-13 13:52:48 -05:00 |
|
|
|
37b150d87c
|
fix(shifts): fix minor issue with using UTC instead of local time to get timesheet id
|
2025-11-13 12:17:00 -05:00 |
|
Matthieu Haineault
|
6aa464a76e
|
fix(shifts): fix overlap shifts
|
2025-11-13 11:05:13 -05:00 |
|
Matthieu Haineault
|
7e95e8dae3
|
fix(shifts): minor overlap fix
|
2025-11-13 10:31:50 -05:00 |
|
Matthieu Haineault
|
b513f02fe5
|
fix(time and attendances): fix imports
|
2025-11-13 09:55:34 -05:00 |
|
Matthieu Haineault
|
0764eebc98
|
fix(shifts): fix overlap checks for updating shifts
|
2025-11-13 09:53:48 -05:00 |
|
Matthieu Haineault
|
2003b5357d
|
fix(timesheets): typing fix
|
2025-11-13 08:20:01 -05:00 |
|
Matthieu Haineault
|
96490563c6
|
fix(timesheets): small query fix
|
2025-11-12 14:17:29 -05:00 |
|
Matthieu Haineault
|
14c00522db
|
fix(timesheets): ajusted type of function mapOneTimesheet
|
2025-11-12 14:13:04 -05:00 |
|
Matthieu Haineault
|
c59844560a
|
fix(imports): minor fix of imports
|
2025-11-12 13:35:03 -05:00 |
|
Matthieu Haineault
|
e067e15bb1
|
fix(timesheets): added type to expense in return
|
2025-11-12 13:30:51 -05:00 |
|
Matthieu Haineault
|
73a2a755e4
|
fix(timesheets): fix id.data
|
2025-11-12 10:31:25 -05:00 |
|
Matthieu Haineault
|
40072af4a6
|
fix(timesheets): changed function calls from query to body
|
2025-11-12 09:40:01 -05:00 |
|
Matthieu Haineault
|
1d9eaeab30
|
feat(Result): ajusted return values to match Result pattern.
|
2025-11-12 09:16:37 -05:00 |
|
Matthieu Haineault
|
a8d53ab0aa
|
fix(shifts): added Promise to remove function of the shift controller
|
2025-11-11 14:52:34 -05:00 |
|
Matthieu Haineault
|
383a01639a
|
feat(Result): added the result pattern to handle errors at any level. Ajusted modules
|
2025-11-11 14:51:50 -05:00 |
|
Matthieu Haineault
|
6332a42fa7
|
feat(presets): small ajustements
|
2025-11-10 11:16:10 -05:00 |
|
Matthieu Haineault
|
03d9fa2cf4
|
clean(schedule-presets): clean module of unused imports
|
2025-11-07 16:49:16 -05:00 |
|
Matthieu Haineault
|
8dca65d00e
|
refactor(expenses): ajusted the controller and service to match new session set-up and did some cleaning
|
2025-11-07 13:09:32 -05:00 |
|
Matthieu Haineault
|
eb166dbc46
|
clean(shifts): clean module of unused features
|
2025-11-06 16:45:00 -05:00 |
|
Matthieu Haineault
|
efc06b8857
|
fix(shifts): removed unused overtime calculation and return from create or update shifts
|
2025-11-06 14:45:16 -05:00 |
|
Matthieu Haineault
|
7817c3b758
|
fix(shifts): fix the type update
|
2025-11-06 14:42:39 -05:00 |
|
Matthieu Haineault
|
809209533a
|
fix(employee): setting up the profil section
|
2025-11-06 14:00:19 -05:00 |
|
Matthieu Haineault
|
e34658fc41
|
fix(shifts): ajusted return
|
2025-11-06 12:47:36 -05:00 |
|
Matthieu Haineault
|
4e48d98c0f
|
fix(shifts): commented unused service function
|
2025-11-06 11:10:25 -05:00 |
|
Matthieu Haineault
|
c0189dc61d
|
fix(shifts): rework update and create to match ShiftEntity
|
2025-11-06 11:04:55 -05:00 |
|
|
|
032e1de631
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend
|
2025-11-05 14:34:30 -05:00 |
|
|
|
88d4f2fe27
|
fix(shift): fix minor issue with naming property (changed to shift_id from id)
|
2025-11-05 14:31:31 -05:00 |
|
Matthieu Haineault
|
1a0532846f
|
feat(role-guards): added role-guards group and added role check to controllers
|
2025-11-05 14:27:54 -05:00 |
|
Matthieu Haineault
|
02ebb23d7a
|
refactor(employees): uncomment module and comment archival parts(needs refactoring)
|
2025-11-05 08:36:24 -05:00 |
|
Matthieu Haineault
|
be00798961
|
refactor(shifts): change structure of error management returns
|
2025-11-05 08:26:45 -05:00 |
|
Matthieu Haineault
|
407f04ac0b
|
fix(shifts): fix a problem with overlaps
|
2025-11-04 16:42:14 -05:00 |
|
Matthieu Haineault
|
95f369fcbc
|
refactor(shifts): changed to conflictException build for error management for the create function
|
2025-11-04 15:59:03 -05:00 |
|
Matthieu Haineault
|
eda1f86235
|
refactor(shifts): added date to overlap comparisons
|
2025-11-04 15:15:04 -05:00 |
|
Matthieu Haineault
|
0a3d4e2960
|
fix(shifts): changed date format to UTC
|
2025-11-04 14:50:07 -05:00 |
|
Matthieu Haineault
|
457757a066
|
clean(shifts): cleaning
|
2025-11-04 09:55:22 -05:00 |
|
Matthieu Haineault
|
c2203f77cb
|
fix(shifts): fix overlaping logic
|
2025-11-04 09:41:46 -05:00 |
|
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 |
|
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 |
|
|
|
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 |
|
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
|
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 |
|
Matthieu Haineault
|
60aac39daa
|
feat(timesheets): added an option to generate a second timesheet in case of a pay-period as no data in either the 1st or 2nd week
|
2025-10-22 13:50:17 -04:00 |
|
Matthieu Haineault
|
7fe2b6265a
|
refactor(expenses): init setup to use session infos
|
2025-10-22 12:42:32 -04:00 |
|
Matthieu Haineault
|
9f27c83981
|
fix(pay-period): commented bulk approval and command service
|
2025-10-22 10:16:38 -04:00 |
|
Matthieu Haineault
|
0ce1191437
|
fix(pay-period): replug pay-period module
|
2025-10-22 10:13:42 -04:00 |
|
Matthieu Haineault
|
6488082290
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend
|
2025-10-22 08:59:08 -04:00 |
|
Matthieu Haineault
|
af9d89da01
|
refactor(expenses): commented old files, set up create update and delete expenses. set up findAll method and ajust query params of the timesheet controller
|
2025-10-22 08:59:04 -04:00 |
|
|
|
dd15a6dc14
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend
|
2025-10-22 08:09:54 -04:00 |
|
|
|
8b514c8beb
|
refactor(auth): removed verification console logs
|
2025-10-22 08:09:13 -04:00 |
|
Matthieu Haineault
|
9270033f24
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/matthieu/refactor
|
2025-10-21 16:29:20 -04:00 |
|
Matthieu Haineault
|
6aeaf16993
|
refactor(expenses): commented module expenses et leave-request. needs refactor to match new timesheets and shifts module.
|
2025-10-21 16:27:56 -04:00 |
|
Matthieu Haineault
|
11f6cf2049
|
refactor(timesheets): deep refactor of the timesheet module and small corrections of the shift module.
|
2025-10-21 15:59:33 -04:00 |
|
Matthieu Haineault
|
b7ad300a6e
|
refactor(shifts): refactor of the shift module to use an array of shifts
|
2025-10-21 12:11:26 -04:00 |
|
|
|
88f7c0cb0e
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend
|
2025-10-21 10:51:06 -04:00 |
|
|
|
1dbc0bf6c2
|
refactor(auth): add functionality to complete auth cycle, utilizer user from request.
|
2025-10-21 10:50:11 -04:00 |
|
Matthieu Haineault
|
d1974ea9e3
|
refactor(shifts): added Patch and Post route to shift module and added Overtime checks to create/update and delete functions.
|
2025-10-21 09:33:04 -04:00 |
|
Matthieu Haineault
|
7537c2ff0d
|
refactor(shifts): massive do-over of the whole module. exposed delete route only and simplified find and create/update functions.
|
2025-10-20 14:59:24 -04:00 |
|
Matthieu Haineault
|
bba6c84b6f
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/matthieu/refactor
|
2025-10-20 08:55:21 -04:00 |
|