Commit Graph

104 Commits

Author SHA1 Message Date
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
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
c58e8db59f fix(timesheets: minor fix 2025-10-07 10:07:47 -04:00
Matthieu Haineault
79c5bec0ee fix(controller): commented deprecated or unsued methods of controllers 2025-10-06 15:44:07 -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
3984540edb fix(leaves and expenses): import name fixes 2025-10-03 10:22:27 -04:00
Matthieu Haineault
3b4dd9ddb5 fix(mock): small typo in mock datas 2025-09-30 11:12:46 -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
6e1f5ce9a2 refactor(shifts_expenses): refactor description to comment to match frontend 2025-09-09 09:24:54 -04:00
Matthieu Haineault
a73ed4b620 refactor(seeders): added complexity to shifts and expenses seeders 2025-09-08 09:43:46 -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
93cf2d571b feat(timesheet): added getTimesheetByEmail 2025-09-02 14:29:00 -04:00
Matthieu Haineault
c52de6ecb8 fix(seeds): fix timesheet seeds 2025-08-29 11:44:04 -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
13bc09c77e fix(customer): phone_number type fix 2025-08-26 13:23:54 -04:00
Matthieu Haineault
72f6cc8a9e refactor(routes): ajusted routes on Patch functions 2025-08-25 13:14:19 -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
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
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
ee90bde58c fix(employees): fix profile route to actually include email in route as param 2025-08-15 17:02:35 -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
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
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
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
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
13a3ccb292 fix(module): added approval services to providers of their respective modules 2025-08-07 09:20:22 -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
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
ee059429f8 feat(module): added shifts-validation module. service to export to csv file 2025-08-04 11:25:45 -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
106454bede fix(imports): small import fix to archival.module.ts 2025-07-30 10:24:53 -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
32201f0dba fix(imports): added pay-periods-overview-service to module 2025-07-28 15:10:44 -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
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