Commit Graph

565 Commits

Author SHA1 Message Date
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