|
|
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 |
|
Matthieu Haineault
|
fad4f6f3d6
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/matthieu/refactor
|
2025-10-20 08:54:45 -04:00 |
|
Matthieu Haineault
|
e1b63bd61a
|
clean(none): clean slate , removed useless code lines
|
2025-10-15 16:36:05 -04:00 |
|
Matthieu Haineault
|
a563df0943
|
feat(timesheets): preparing for Express Session requests
|
2025-10-15 14:08:59 -04:00 |
|
Matthieu Haineault
|
0ea3f51974
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/matthieu/refactor
|
2025-10-14 16:44:03 -04:00 |
|
Matthieu Haineault
|
06ad34a4c8
|
refactor(shared): centralized some small logics
|
2025-10-14 16:43:18 -04:00 |
|
Matthieu Haineault
|
cefba7a2dd
|
fix(shifts): fixed findTimesheet to findUnique instead of upsert
|
2025-10-14 14:29:37 -04:00 |
|
Matthieu Haineault
|
9ad4e63485
|
refactor(shifts): removed return statement of Delete shift function
|
2025-10-14 14:18:31 -04:00 |
|
Matthieu Haineault
|
a88aaf34f0
|
fix(shifts): modified ensureTimesheet
|
2025-10-14 11:59:26 -04:00 |
|
Matthieu Haineault
|
5ec131c863
|
fix(shfits):small fix
|
2025-10-14 11:16:08 -04:00 |
|
Matthieu Haineault
|
1fe2c1291c
|
fix(shift): changed default value of is_approved in asLocalDateOn
|
2025-10-14 11:14:43 -04:00 |
|
Matthieu Haineault
|
8ad8076f4d
|
fix(shifts): fix bank_code_id by type
|
2025-10-14 10:58:43 -04:00 |
|
Matthieu Haineault
|
feeb19bbf0
|
fix(shfits): small route fix
|
2025-10-14 10:38:24 -04:00 |
|
Matthieu Haineault
|
99e9f1f3bf
|
feat(shifts): extract delete logics outside of master upsert method and create a new route for delete requests
|
2025-10-14 10:35:30 -04:00 |
|
Matthieu Haineault
|
d95b6471cd
|
fix(shifts): modified controller to accept a query action. clean up module
|
2025-10-14 10:04:48 -04:00 |
|
Matthieu Haineault
|
5292f1af11
|
feat(preferences): added display options to preferences table
|
2025-10-14 09:33:29 -04:00 |
|
Matthieu Haineault
|
2f0982c952
|
refactor(shifts): modified shifts.utils to use ISO format instead of UTC
|
2025-10-10 17:01:05 -04:00 |
|
Matthieu Haineault
|
4ff512a207
|
refactor(shifts): refactored shiftCommandService and moved helpers to shifthelpersService
|
2025-10-10 16:44:44 -04:00 |
|
Matthieu Haineault
|
408e52b4f5
|
refactor(timesheets): refacatored query-service
|
2025-10-10 13:29:26 -04:00 |
|
Matthieu Haineault
|
2de8db6212
|
refactor(timesheets): dried findAll methods to centralize shareable methods
|
2025-10-10 11:34:39 -04:00 |
|
Matthieu Haineault
|
95786b9e37
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/setup/attachment/MatthieuH
|
2025-10-10 09:34:54 -04:00 |
|
Matthieu Haineault
|
9efdafb20f
|
refactor(preferences & modules): changed type from boolean to Int so each preferences can have more than 2 options.
Also cleaned-up module imports/providers
|
2025-10-10 09:27:57 -04:00 |
|
Matthieu Haineault
|
6a4fbeb2c4
|
refactor(leave-requests): moved utils to shared file
|
2025-10-09 16:48:45 -04:00 |
|
Matthieu Haineault
|
71d86f7fed
|
refactor(helpers): moved helpers to a shared file
|
2025-10-09 16:41:34 -04:00 |
|
Matthieu Haineault
|
78a335a47c
|
fix(imports): ajusted imports for new ISOstring dates methods
|
2025-10-09 15:49:00 -04:00 |
|
Matthieu Haineault
|
af8ea95cc4
|
fix(shifts): changed UTC comparison for ISOString
|
2025-10-09 15:45:57 -04:00 |
|
Matthieu Haineault
|
1954d206a8
|
fix(dates): removed dates from L-R and P-P
|
2025-10-09 15:23:03 -04:00 |
|
Matthieu Haineault
|
4527b0e7f7
|
fix(shifts): clean
|
2025-10-09 15:22:34 -04:00 |
|
|
|
5a1017f82b
|
fix(pay-period): change payload to send regular hours and other hours, rather than each individual shift type as a property
|
2025-10-09 15:17:02 -04:00 |
|
Matthieu Haineault
|
7c7edea768
|
feat(schedule-presets): created an apply service to auto-create shifts using presets
|
2025-10-09 08:40:20 -04:00 |
|
Matthieu Haineault
|
83792e596a
|
feat(schedule_presets): module schedule_presets setup. Ajustments to seeders to match new realities
|
2025-10-08 16:45:37 -04:00 |
|
Matthieu Haineault
|
9b169d43c8
|
resolve mergre
|
2025-10-08 08:57:24 -04:00 |
|
Matthieu Haineault
|
fda95d3fc4
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend
|
2025-10-08 08:57:04 -04:00 |
|
Matthieu Haineault
|
f6c5b2a73c
|
refactor(shifts): refactor main upsert function to use shared utils and helpers
|
2025-10-08 08:54:43 -04:00 |
|
|
|
6254410f66
|
fix(expense): rename import to avoid confusion
|
2025-10-07 16:27:30 -04:00 |
|
Matthieu Haineault
|
cc310e286d
|
feat(expenses): method implementation to show a list of all expenses made by an employee using email, year and period_no
|
2025-10-07 13:51:35 -04:00 |
|
Matthieu Haineault
|
a750f79107
|
fix(timesheets): fix backend return to send an array of expenses with total mileage and total expense
|
2025-10-07 12:00:52 -04:00 |
|
Matthieu Haineault
|
4d905c905e
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend
|
2025-10-07 10:28:16 -04:00 |
|
Matthieu Haineault
|
0fc80f50f9
|
fix(timesheets): minor fix
|
2025-10-07 10:28:13 -04:00 |
|
|
|
e575b9bd54
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend into auth-session-fullstack
|
2025-10-07 10:24:25 -04:00 |
|
Matthieu Haineault
|
c58e8db59f
|
fix(timesheets: minor fix
|
2025-10-07 10:07:47 -04:00 |
|
Matthieu Haineault
|
9821b81afd
|
fizx(archive): fix import services
|
2025-10-07 09:55:44 -04:00 |
|
Matthieu Haineault
|
791a953744
|
fix(timesheets): modified returns to show total expense, total mileage and an array of all expenses per date
|
2025-10-07 09:49:42 -04:00 |
|
|
|
c0569d8efd
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend into auth-session-fullstack
Don't know whyyyy
|
2025-10-07 08:20:44 -04:00 |
|
Matthieu Haineault
|
57b74b1726
|
fix(modules): deprecate old methods and extract utils and helpers. created archival services.
|
2025-10-07 08:18:46 -04:00 |
|
|
|
406233b2a3
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend into auth-session-fullstack
did something it didn't like, not sure whadid something it didn't like,
not sure whatt
|
2025-10-06 16:06:38 -04:00 |
|
|
|
fa845cf6e6
|
fix(timesheet): add some quality of life to get required info, employee name, change pay period response from week 1 and 2 to array of weeks
|
2025-10-06 16:06:26 -04:00 |
|
Matthieu Haineault
|
79c5bec0ee
|
fix(controller): commented deprecated or unsued methods of controllers
|
2025-10-06 15:44:07 -04:00 |
|
Matthieu Haineault
|
caf03d8d68
|
fix(leave-requests): fix depencies for the Leave-Requests Module
|
2025-10-06 14:00:25 -04:00 |
|
Matthieu Haineault
|
79153c6de3
|
feat(leave-requests): implementation of vacation, sick and holiday leave-requests.
|
2025-10-06 12:15:51 -04:00 |
|
Matthieu Haineault
|
d8bc05f6e2
|
feat(preferences): setup for prefrences module which allows a user to manage dark mode, notifications, lefty mode for phone user and a lang switch (en, fr)
|
2025-10-03 14:03:09 -04:00 |
|
Matthieu Haineault
|
3984540edb
|
fix(leaves and expenses): import name fixes
|
2025-10-03 10:22:27 -04:00 |
|
Matthieu Haineault
|
10d4f11f76
|
feat(leave-request): added holiday shift's creation and CRUD for holiday leave-requests.
|
2025-10-03 09:38:09 -04:00 |
|
Matthieu Haineault
|
d36d2f922b
|
feat(leave-request): added holiday shift's creation and CRUD for holiday leave-requests.
|
2025-10-03 09:37:42 -04:00 |
|
Matthieu Haineault
|
77f065f37f
|
feat(expense): link expense with attachment.
|
2025-10-01 16:35:40 -04:00 |
|
Matthieu Haineault
|
f8f4ad5a83
|
fix(expenses): ajusted mileage logic
|
2025-10-01 10:02:52 -04:00 |
|
Matthieu Haineault
|
3b4dd9ddb5
|
fix(mock): small typo in mock datas
|
2025-09-30 11:12:46 -04:00 |
|
Matthieu Haineault
|
52114deb33
|
feat(expenses): upsert function for expenses
|
2025-09-30 10:43:48 -04:00 |
|
|
|
1c797c348a
|
"refactor(timesheet): add full employee name to return data to display in timesheet approval employee details dialog header"
|
2025-09-26 11:40:04 -04:00 |
|
Matthieu Haineault
|
46deae63bc
|
fix(holiday): minor valid_codes fix
|
2025-09-16 14:47:35 -04:00 |
|
|
|
5621f72342
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend into auth-session-fullstack
|
2025-09-16 11:21:56 -04:00 |
|
|
|
bcf73927bd
|
fix(payperiod): add minor fix to total hours calculated method
|
2025-09-16 11:20:50 -04:00 |
|
Matthieu Haineault
|
cc48584b99
|
feat(shifts): ajusted validations for create/update/delete shifts
|
2025-09-16 09:17:59 -04:00 |
|
Matthieu Haineault
|
f9931f99c8
|
feat(validationPipe): Global Exception Filter basic setup using APP_FILTER and APP_PIPE
|
2025-09-11 16:48:05 -04:00 |
|
Matthieu Haineault
|
ef4f6340d2
|
feat(shifts): added a master function to create/update/delete a single shift
|
2025-09-11 15:22:57 -04:00 |
|
Matthieu Haineault
|
125f443ec0
|
feat(timesheet): added comment and supervisor comment to payload of findAll
|
2025-09-10 16:20:37 -04:00 |
|
Matthieu Haineault
|
a343ace0b7
|
fix(pay-period): fix total_hours calculation
|
2025-09-09 10:24:53 -04:00 |
|
|
|
a3d4b0cef7
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend into auth-session-fullstack
Why am I constantly getting these merge messages
|
2025-09-09 09:30:17 -04:00 |
|
Matthieu Haineault
|
6e1f5ce9a2
|
refactor(shifts_expenses): refactor description to comment to match frontend
|
2025-09-09 09:24:54 -04:00 |
|
|
|
8e25e939af
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend into auth-session-fullstack
Something something
|
2025-09-09 09:02:58 -04:00 |
|
Matthieu Haineault
|
8ef5c0ac11
|
feat(pay-periods): added total_hours and is_remote to payload
|
2025-09-09 09:01:33 -04:00 |
|
|
|
75f07aaf99
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend into auth-session-fullstack
|
2025-09-09 08:28:43 -04:00 |
|
|
|
d45feb1aa0
|
fix(payperiod): add type to payload.
|
2025-09-09 08:21:27 -04:00 |
|
Matthieu Haineault
|
0fb6465c27
|
fix(timesheet): added is_remote
|
2025-09-09 08:19:50 -04:00 |
|
Matthieu Haineault
|
954411d995
|
refactor(shifts): added is_remote to track work from home shifts
|
2025-09-08 15:25:09 -04:00 |
|
Matthieu Haineault
|
dac53c6780
|
fix(timesheets): fix query to use helper instead of library function
|
2025-09-08 10:14:14 -04:00 |
|
Matthieu Haineault
|
4f7563ce9b
|
feat(timesheet): added Post function to create a new shifts inside a timesheet
|
2025-09-04 15:14:48 -04:00 |
|
Matthieu Haineault
|
5063c1dfec
|
fix(seeder): fix bank_codes for expenses seeder
|
2025-09-02 15:16:03 -04:00 |
|
Matthieu Haineault
|
93cf2d571b
|
feat(timesheet): added getTimesheetByEmail
|
2025-09-02 14:29:00 -04:00 |
|
Matthieu Haineault
|
c170481f3b
|
fix(pay-period): switch filters from categorie to type
|
2025-08-29 13:16:58 -04:00 |
|
Matthieu Haineault
|
c52de6ecb8
|
fix(seeds): fix timesheet seeds
|
2025-08-29 11:44:04 -04:00 |
|
Matthieu Haineault
|
18c1ce38be
|
fix(timesheets): small typo to_num function
|
2025-08-29 11:17:24 -04:00 |
|
Matthieu Haineault
|
eefe82153f
|
fix(findAll): fix loop for week_shifts
|
2025-08-29 11:03:59 -04:00 |
|
Matthieu Haineault
|
0516736fa2
|
refactor(timesheet): added shift types and expenses type data
|
2025-08-29 08:28:47 -04:00 |
|
Matthieu Haineault
|
ea76435f4f
|
fix(seeder): fix seeders
|
2025-08-28 14:43:23 -04:00 |
|
Matthieu Haineault
|
213b68fb7d
|
Merge branch 'dev/setup/modules/MatthieuH' of git.targo.ca:Targo/targo_backend
|
2025-08-28 14:03:52 -04:00 |
|
Matthieu Haineault
|
5b2377796a
|
refactor(CSV): modify export csv to match checklist options
|
2025-08-28 13:33:31 -04:00 |
|
Matthieu Haineault
|
c336e024d5
|
Merge branch 'dev/setup/modules/MatthieuH' of git.targo.ca:Targo/targo_backend
|
2025-08-28 10:24:42 -04:00 |
|
Matthieu Haineault
|
994e02ba7f
|
refactor(timesheets): refactored findAll to return more data
|
2025-08-28 10:22:19 -04:00 |
|
Matthieu Haineault
|
9bc5c41de8
|
refactor(timesheets): refactored findAll to return more data
|
2025-08-28 10:22:00 -04:00 |
|
Matthieu Haineault
|
13bc09c77e
|
fix(customer): phone_number type fix
|
2025-08-26 13:23:54 -04:00 |
|
Matthieu Haineault
|
7b86b8c662
|
refactor(employee): switched phone_number type from number to string
|
2025-08-26 12:50:11 -04:00 |
|
Matthieu Haineault
|
464512eb96
|
Revert "fix(module): added archivalAttachmentModule to app.module.ts"
This reverts commit 0e3c5581d8.
|
2025-08-26 08:11:22 -04:00 |
|
Matthieu Haineault
|
0e3c5581d8
|
fix(module): added archivalAttachmentModule to app.module.ts
|
2025-08-25 16:46:59 -04:00 |
|
Matthieu Haineault
|
35e2e38811
|
feat(attachments): setup Garbage Collector for attachments module
|
2025-08-25 16:42:05 -04:00 |
|
Matthieu Haineault
|
fe32081ed9
|
feat(attachments): setup AdminSearchDto, CronJobs for archival and display route via controller
|
2025-08-25 15:46:28 -04:00 |
|
Matthieu Haineault
|
a3c58fb0f5
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/setup/attachment/MatthieuH
|
2025-08-25 13:29:56 -04:00 |
|
Matthieu Haineault
|
72f6cc8a9e
|
refactor(routes): ajusted routes on Patch functions
|
2025-08-25 13:14:19 -04:00 |
|
Matthieu Haineault
|
514f41df19
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/setup/attachment/MatthieuH
|
2025-08-25 08:16:34 -04:00 |
|
Matthieu Haineault
|
301d5f2c9d
|
feat(timesheet): replaced findAll by getPeriodByQuery with year, period_no and email query params.
|
2025-08-25 08:07:48 -04:00 |
|
Matthieu Haineault
|
d58f4e392c
|
feat(variants): setup variants of file types
|
2025-08-22 13:16:35 -04:00 |
|
Matthieu Haineault
|
2eadabbdb4
|
fix(Leave-Requests): small fix in Promises
|
2025-08-22 06:59:45 -04:00 |
|
Matthieu Haineault
|
bfe145854f
|
fix(export csv): added a filter to check if item is approved
|
2025-08-21 16:27:17 -04:00 |
|
Matthieu Haineault
|
9a150715b0
|
refactor(leave-request): refactor to use email instead of employee ids
|
2025-08-21 15:00:40 -04:00 |
|
Matthieu Haineault
|
bdf6662374
|
feat(label): modified label of pay-periods
|
2025-08-21 10:07:04 -04:00 |
|
Matthieu Haineault
|
1155a58eac
|
feat(label): modified label of pay-periods
|
2025-08-21 09:13:09 -04:00 |
|
Matthieu Haineault
|
5282406b7a
|
feat(L-R): comments about future refactor
|
2025-08-21 08:16:31 -04:00 |
|
Matthieu Haineault
|
d1fe7868f9
|
refactor(variables): renamed variables to use snake_case
|
2025-08-20 15:33:48 -04:00 |
|
Matthieu Haineault
|
3c8c999bfe
|
feat(approval): selected approval by bulk for pay-period using crew view. renamed variables to use snake_case
|
2025-08-20 15:33:17 -04:00 |
|
Matthieu Haineault
|
d44f8da99f
|
feat(full_name): added employee full name for liste d'employés
|
2025-08-19 16:17:34 -04:00 |
|
Matthieu Haineault
|
220f5901dd
|
refactor(pay-periods): removed employe_id from pay_load
|
2025-08-19 15:46:18 -04:00 |
|
Matthieu Haineault
|
f765a99273
|
refactor(pay-period): ajusted logics services and controller of model pay-periods
|
2025-08-19 14:49:47 -04:00 |
|
Matthieu Haineault
|
ae6ce4bf97
|
feat(pay-period): added email to Param of getCrewOverview
|
2025-08-19 09:37:53 -04:00 |
|
Matthieu Haineault
|
a23a6299dd
|
refactor(module): refactored expenses and shifts approval to be made in batch iva timesheets
|
2025-08-19 08:44:36 -04:00 |
|
Matthieu Haineault
|
7a9adeec69
|
refactor(module): refactor employees, archives and pay-period to use email instead of id and switch pay-period's requests to transaction
|
2025-08-19 08:34:35 -04:00 |
|
Matthieu Haineault
|
fe87c36884
|
fix(supervisor): added is_supervisor column to employees, archives and mock seeds
|
2025-08-18 12:26:52 -04:00 |
|
Matthieu Haineault
|
4d2ed4714f
|
fix(timesheet): removed magic number
|
2025-08-18 10:57:35 -04:00 |
|
Matthieu Haineault
|
30f7179fe6
|
feat(attachments): minor fix and try catch for attachments controller
|
2025-08-18 10:44:28 -04:00 |
|
Matthieu Haineault
|
e62b4cff1c
|
feat(attachments): minor fix and try catch for attachments controller
|
2025-08-18 10:44:16 -04:00 |
|
Matthieu Haineault
|
2761b75f40
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/setup/attachment/MatthieuH
|
2025-08-18 10:29:00 -04:00 |
|
Matthieu Haineault
|
c45284fd84
|
feat(attachments): attachments module with minor fixes to attachments prisma model.
|
2025-08-18 10:26:01 -04:00 |
|
|
|
ee90bde58c
|
fix(employees): fix profile route to actually include email in route as param
|
2025-08-15 17:02:35 -04:00 |
|
Matthieu Haineault
|
014f58f78a
|
feat(attachments): added prisma models for blobs and attachments and basic setup for stream and hash
|
2025-08-15 13:30:07 -04:00 |
|
Matthieu Haineault
|
9d3967c5c7
|
feat(attachments): base config for attachment management.
|
2025-08-14 16:54:11 -04:00 |
|
Matthieu Haineault
|
45386ac4bf
|
fix(temp): temporary commented RolesAllowed tags for dev purposes.
|
2025-08-14 11:55:17 -04:00 |
|
Matthieu Haineault
|
183a54a89a
|
feat(employees): added funcion to get employee by email
|
2025-08-14 11:47:47 -04:00 |
|
Matthieu Haineault
|
5b1746da9d
|
fix(prisma): minor fix
|
2025-08-13 15:51:46 -04:00 |
|
Matthieu Haineault
|
24779b67f6
|
fix(controller): small fix
|
2025-08-13 15:08:13 -04:00 |
|
Matthieu Haineault
|
41c5421cba
|
feat(module): added fonction to fetch a scoped list of employee
|
2025-08-13 15:03:24 -04:00 |
|
Matthieu Haineault
|
eea4cc015a
|
feat(module):added dto for list of employees. added job_title to employees table
|
2025-08-13 14:26:19 -04:00 |
|
Matthieu Haineault
|
90dc38154d
|
feat(tests): setup e2e-spec files for route testing. shifts-approval, expenses-approval, timesheets-approval et pay-periods-approval
|
2025-08-13 10:41:25 -04:00 |
|
Matthieu Haineault
|
1949731773
|
feat(tests): setup e2e-spec files for route testing. shifts, expenses, timesheets
|
2025-08-13 09:57:05 -04:00 |
|
Matthieu Haineault
|
fd3b9334e3
|
feat(tests): setup e2e-spec files for route testing. bank_codes, customers, employees
|
2025-08-13 08:58:42 -04:00 |
|
Matthieu Haineault
|
22fb29b8fa
|
feat(pay-period): added comments to pay-periods-query.service.ts
|
2025-08-11 15:47:04 -04:00 |
|
Matthieu Haineault
|
4c880e47bf
|
refactor(module): rename and refactor services
|
2025-08-11 14:58:03 -04:00 |
|
Matthieu Haineault
|
6139d335c3
|
refactor(module): renamed services to match their uses
|
2025-08-11 14:12:42 -04:00 |
|
Matthieu Haineault
|
80ddc853a4
|
refactor(modules): removed swagger entities and added docs to dtos
|
2025-08-11 14:08:55 -04:00 |
|
Matthieu Haineault
|
a99f39bbf6
|
fix(pay-periods): added fallback for archive purposes. minor fix for findAll
|
2025-08-11 12:46:05 -04:00 |
|
Matthieu Haineault
|
242e3179f4
|
feat(pay-period): added a wrapper function to return 2 args, 1st is current pay-period and 2nd is all pay-periods
|
2025-08-11 09:45:10 -04:00 |
|
Matthieu Haineault
|
91b718237d
|
refactor(pay-period): refactor module to match required needs
|
2025-08-11 09:03:28 -04:00 |
|
Matthieu Haineault
|
91ef6685b4
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/setup/modules/MatthieuH
|
2025-08-08 14:48:44 -04:00 |
|
Matthieu Haineault
|
1e4ec836d3
|
fix(notify): fixes and setup notify for daily overtime
|
2025-08-08 14:47:47 -04:00 |
|
|
|
f4c69c4620
|
fix(merge): conflicts resolved
|
2025-08-08 13:44:24 -04:00 |
|
|
|
a27276f3ae
|
fix(guards)clean up superfluous files in auth module. Remove wrong guard from controllers in other modules. Needs to be role guard and not auth guard.
|
2025-08-08 13:40:12 -04:00 |
|
Matthieu Haineault
|
dc8c4d048c
|
feat(notify): base setup for notifications module
|
2025-08-08 13:30:32 -04:00 |
|
Matthieu Haineault
|
1a0f8f8b0a
|
feat(notify): setup notifications packages
|
2025-08-07 14:04:48 -04:00 |
|
Matthieu Haineault
|
13a3ccb292
|
fix(module): added approval services to providers of their respective modules
|
2025-08-07 09:20:22 -04:00 |
|
Matthieu Haineault
|
44da99e7c1
|
feat(module): search and filter querries for shifts, expenses, timesheets, leave-requests
|
2025-08-07 09:11:50 -04:00 |
|
Matthieu Haineault
|
c23da925e7
|
feat(approval): clean up Approval services. creation of a "shared" folder
|
2025-08-06 14:17:52 -04:00 |
|
Matthieu Haineault
|
ef5af80471
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/setup/modules/MatthieuH
|
2025-08-06 13:17:32 -04:00 |
|
Matthieu Haineault
|
cb6ec29992
|
refactor(validation): Partial modification of the file structure for validation process, added migration 20250806
|
2025-08-06 13:15:34 -04:00 |
|
Matthieu Haineault
|
50c3bca11b
|
feat(utils): added date-utils.ts and refactor services to use it
|
2025-08-05 11:39:34 -04:00 |
|
Matthieu Haineault
|
9914e07ff3
|
fix(app): minor fix
|
2025-08-05 09:51:26 -04:00 |
|
Matthieu Haineault
|
c5a8db698d
|
Merge branch 'dev/setup/modules/MatthieuH' of git.targo.ca:Targo/targo_backend
|
2025-08-05 09:45:37 -04:00 |
|
Matthieu Haineault
|
b0406b3a4c
|
refactor(Oauth-sessions): refactor OAuth-Access-Token to OAuth-sessions
|
2025-08-05 09:44:43 -04:00 |
|
Matthieu Haineault
|
5aac046356
|
feat(CSV): export to CSV modul fit filters
|
2025-08-05 09:17:39 -04:00 |
|
|
|
bd4fc5fd30
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend
|
2025-08-05 08:47:09 -04:00 |
|
|
|
28b2a7ccd8
|
fix(login): add CORS permissions to main.ts, modify login route to include versioning
|
2025-08-05 08:43:26 -04:00 |
|
Matthieu Haineault
|
5df657d773
|
fix(module): fix typos and added import to shifts.module.ts
|
2025-08-04 11:54:44 -04:00 |
|
Matthieu Haineault
|
ee059429f8
|
feat(module): added shifts-validation module. service to export to csv file
|
2025-08-04 11:25:45 -04:00 |
|
Matthieu Haineault
|
36be6fb2f1
|
fix(modules): small ajustment to the structure
|
2025-08-01 16:17:58 -04:00 |
|
Matthieu Haineault
|
2d69cfdb86
|
feat(business-logic): implementation of business-logics services into their respective modules.
|
2025-08-01 14:54:09 -04:00 |
|
Matthieu Haineault
|
5766715d77
|
feat(business-logic): implementation of vacation.service.ts, sick-leave.service.ts and update leave-requests. service
|
2025-07-31 16:37:57 -04:00 |
|
Matthieu Haineault
|
2e6bafeb18
|
feat(business-logic): holiday implementation for leave Requests
|
2025-07-31 13:09:19 -04:00 |
|
Matthieu Haineault
|
c6ff3139f2
|
fix(import): small fix to timesheets.module
|
2025-07-31 10:41:15 -04:00 |
|
Matthieu Haineault
|
75615f7c33
|
feat(business-logic): base setup for business logic implementation, overtime.service and updated timesheets.service to returned overtime infos.
|
2025-07-31 10:16:25 -04:00 |
|
Matthieu Haineault
|
e91fad5105
|
fix(module): small fix to include bank_code in find methods of leave-requests service and a small typo
|
2025-07-30 14:49:31 -04:00 |
|
Matthieu Haineault
|
cbb863ac27
|
fix(dto): small fix to leave-request dto to inlcude bank_code_id
|
2025-07-30 14:44:58 -04:00 |
|
Matthieu Haineault
|
f874d2c5c6
|
BREAKING CHANGE(bank_codes): shift-codes table and expenses-codes table deleted and refactoring of modules calling "x-codes" to use bank-codes
|
2025-07-30 14:39:43 -04:00 |
|
Matthieu Haineault
|
106454bede
|
fix(imports): small import fix to archival.module.ts
|
2025-07-30 10:24:53 -04:00 |
|
Matthieu Haineault
|
09a213d5dd
|
feat(archival): added controllers to add a search option for archive tables for admin, hr and supervisors
|
2025-07-30 10:07:24 -04:00 |
|
Matthieu Haineault
|
b7bae49ce7
|
fix(cron): updated dependencies, run npm install
|
2025-07-29 16:36:47 -04:00 |
|
Matthieu Haineault
|
9762790fbc
|
feat(swagger): swagger docs for update function from employees.controller.ts and update.dto. small fixes to archival.service.ts
|
2025-07-29 16:21:37 -04:00 |
|
Matthieu Haineault
|
5274bf41c1
|
feat(archival): setup services and modules for archivation options via Cron job. small fixes to schema.prisma
|
2025-07-29 14:54:19 -04:00 |
|
Matthieu Haineault
|
a7c8b62012
|
feat(cron): added schedule dependencie and base setup for CRON jobs.
|
2025-07-29 10:43:58 -04:00 |
|
Matthieu Haineault
|
32201f0dba
|
fix(imports): added pay-periods-overview-service to module
|
2025-07-28 15:10:44 -04:00 |
|
Matthieu Haineault
|
b8e5947cfc
|
feat(module): fixes and swagger docs for pay-periods module
|
2025-07-28 08:46:43 -04:00 |
|
Matthieu Haineault
|
4d538fc78a
|
feat(modules): added pay-periods view module with functions to navigate and search by date
|
2025-07-25 15:33:39 -04:00 |
|
|
|
9c84d14d98
|
Merge branch 'origin/dev/setup/AuthMiddleware/NicolasD' of git.targo.ca:Targo/targo_backend
Oauth2 authentication implemented.
|
2025-07-24 16:27:08 -04:00 |
|
|
|
75910e377d
|
feat(Oauth2): implement full Oauth2 authentication handshake with Authentik IdP. Authorization (authentik-auth.service) is disconnected for now.
|
2025-07-24 16:22:26 -04:00 |
|
Matthieu Haineault
|
edddb8423d
|
fix(import): added imports for expenses and expense-codes modules to app.module
|
2025-07-24 10:27:07 -04:00 |
|
Matthieu Haineault
|
1987ed968c
|
fix(typo): small typo fix
|
2025-07-24 10:05:36 -04:00 |
|
Matthieu Haineault
|
1ee7ec9052
|
feat(module): expense et expense_codes modules
|
2025-07-24 09:55:29 -04:00 |
|
|
|
2feac880e3
|
fix(auth+): fix certain imports and exports issues, fix variable inconsistencies in auth guard
|
2025-07-22 16:55:03 -04:00 |
|
|
|
615f0848e5
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend into origin/dev/setup/AuthMiddleware/NicolasD
|
2025-07-22 16:45:40 -04:00 |
|
|
|
5e644b6a6c
|
refactor(auth): add auth controller, but almost certain that implementation is shaky at best. Will rework structure after further learning NestJS architecture
|
2025-07-22 16:41:13 -04:00 |
|
Matthieu Haineault
|
7b7b42780f
|
fix(swagger): typos and fixes
|
2025-07-22 15:56:01 -04:00 |
|
Matthieu Haineault
|
bd954b5c87
|
feat(swagger): swagger tags and docs generation
|
2025-07-22 14:33:21 -04:00 |
|
Matthieu Haineault
|
affed3ce56
|
fix(module): small fixes to module customers
|
2025-07-22 08:11:08 -04:00 |
|
Matthieu Haineault
|
814b25742b
|
fix(guard): small fix
|
2025-07-21 16:03:38 -04:00 |
|
|
|
ab8587e769
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend into origin/dev/setup/AuthMiddleware/NicolasD
pulling updated backend additions from MatthieuH
|
2025-07-18 15:09:35 -04:00 |
|
Matthieu Haineault
|
594d5af0cd
|
fix(module): minor typo fix leave-requests
|
2025-07-18 11:13:41 -04:00 |
|
Matthieu Haineault
|
cc567b2b26
|
feat(Roles): role guards et setup ownship(not implemented, yet)
|
2025-07-18 10:20:52 -04:00 |
|
|
|
11cdd8337d
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend into origin/dev/setup/AuthMiddleware/NicolasD
pulling main changes for up-to-date CRUD
|
2025-07-17 17:07:07 -04:00 |
|
|
|
58287dcac3
|
build(authentication): Add Authentik strategy, import new passport oidc module, add swagger desc for roles guard, remove index for auth modules
|
2025-07-17 17:06:43 -04:00 |
|
Matthieu Haineault
|
e53f646659
|
feat(module): oauth-access-tokens module et update app.module
|
2025-07-17 16:47:02 -04:00 |
|
Matthieu Haineault
|
d70bdab1e9
|
feat(module): leave-requests module with shifts minor fixes
|
2025-07-17 15:25:40 -04:00 |
|
Matthieu Haineault
|
012fd83517
|
fix(model):users-management fix
|
2025-07-17 13:36:18 -04:00 |
|
Matthieu Haineault
|
5996e0c389
|
feat(modules): timesheets, shifts, shift-codes and minor fix in employees
|
2025-07-17 13:14:33 -04:00 |
|
Matthieu Haineault
|
fcf9635d53
|
feat(modules): CRUD for all modules
|
2025-07-17 09:48:42 -04:00 |
|
Matthieu Haineault
|
3d6bde36ae
|
fix(employee): minor fix for preps setup oauth
|
2025-07-16 14:01:26 -04:00 |
|
Matthieu Haineault
|
5e35637e0b
|
feat(modules): setup modules shifts, timesheets, shift-codes and leave-requests
|
2025-07-16 12:51:00 -04:00 |
|
Matthieu Haineault
|
4f91412404
|
fix(setup): fix
|
2025-07-16 09:05:49 -04:00 |
|
Matthieu Haineault
|
bff8fdf178
|
feat(jwt): roleguards et jwt auth
|
2025-07-16 08:00:41 -04:00 |
|
Matthieu Haineault
|
00d845294d
|
feat(employees): CRUD employees et refactor users unto abstract class
|
2025-07-15 16:26:42 -04:00 |
|
Matthieu Haineault
|
dc3fac76c1
|
feat(users): CRUD module users
|
2025-07-15 13:36:04 -04:00 |
|
Matthieu Haineault
|
f9d77408f0
|
feat(prisma): setup prisma and route tests
|
2025-07-15 11:46:12 -04:00 |
|
Matthieu Haineault
|
e22c33b29e
|
first commit
|
2025-07-15 10:41:53 -04:00 |
|