Commit Graph

  • 4f0f5ae30f feat(presets): added a route to apply a preset to a single day Matthieu Haineault 2025-12-17 11:28:35 -0500
  • 21dfe60548 fix(timesheet): minor fix to apply preset logic, less iteration Nicolas Drolet 2025-12-17 10:50:49 -0500
  • 08679b7db3 feat(help): set-up function to build personnalized help in the help section Matthieu Haineault 2025-12-17 08:42:32 -0500
  • b9c838d3e5 fix(access): fix module access create Matthieu Haineault 2025-12-15 09:26:59 -0500
  • 4b0a45adcc fix(access): fix module access update Matthieu Haineault 2025-12-15 09:26:17 -0500
  • 049571c08d Merge branch 'main' of git.targo.ca:Targo/targo_backend Nicolas Drolet 2025-12-15 09:02:13 -0500
  • 0c77df41c6 fix(pay-period): minor fix to pay period handling, was returning pay-year of date from request rather than pay-year from pay period in db Nicolas Drolet 2025-12-15 09:01:37 -0500
  • 3c773df376 fix(module_access): fix module access validation Matthieu Haineault 2025-12-15 09:00:27 -0500
  • b01506f013 fix(schedule_preset): added a param to orderBy to sort shifts by start_date as well as week_day Matthieu Haineault 2025-12-12 14:53:56 -0500
  • 6f3acde71b fix(preset): added order by start_time Matthieu Haineault 2025-12-12 14:31:01 -0500
  • e96cb91304 clean(comments): removed debug comment Matthieu Haineault 2025-12-12 13:59:23 -0500
  • 9a8dcbccc3 Merge branch 'main' of git.targo.ca:Targo/targo_backend Matthieu Haineault 2025-12-12 13:35:39 -0500
  • 762677b7b1 clean(comments): removed debugg comments Matthieu Haineault 2025-12-12 13:35:36 -0500
  • 01e407f803 Merge branch 'main' of git.targo.ca:Targo/targo_backend Nicolas Drolet 2025-12-12 13:33:31 -0500
  • 93b974c160 fix(presets): simplify process of updating employee profiles with deleted preset. Nicolas Drolet 2025-12-12 13:33:27 -0500
  • f9a247d9f1 feat(csv): ajusted csv logics and minor fixes to employees Matthieu Haineault 2025-12-12 13:26:09 -0500
  • a2fc68e9c0 fix(prisma): fix an error from a db pull that changed an Int into a BigInt Matthieu Haineault 2025-12-12 08:42:31 -0500
  • 313a1e5fb6 Merge branch 'main' of git.targo.ca:Targo/targo_backend Matthieu Haineault 2025-12-12 08:25:35 -0500
  • 157a7908be refactor(csv): ajusted extract logics Matthieu Haineault 2025-12-12 08:25:31 -0500
  • 16a8ed41c4 Merge branch 'main' of https://git.targo.ca/Targo/targo_backend Nic D. 2025-12-11 17:00:39 -0500
  • 3b01aa3748 fix(create-employee): date was passed directly as string, fixed to pass date object. Nic D. 2025-12-11 17:00:20 -0500
  • be957d8180 fix(schedule_preset) : added a check to remove preset_id for employees using the newly deleted preset Matthieu Haineault 2025-12-11 12:02:34 -0500
  • acc128e5ea fix(presets): removed name from where clause to find the preset Matthieu Haineault 2025-12-11 10:11:33 -0500
  • 71aeeb7133 refactor(employees): added preset_id to dto Matthieu Haineault 2025-12-11 09:26:58 -0500
  • cb52089db8 fix(schedule-preset): adjust services to use consistent dto and field names (mix of shifts and preset_shifts) Nic D. 2025-12-10 16:51:38 -0500
  • b6132c8b35 feat(schedule-presets): added a service that applies a preset to an existing timesheet. did some cleaning in utils and dtos Matthieu Haineault 2025-12-09 13:02:10 -0500
  • 74e16d7960 feat(migration): created a script to initialize preferences and modules access Matthieu Haineault 2025-12-05 15:43:32 -0500
  • 491bd7022c feat(auth): add session table to prisma that will be used by express-session to store user session data Nicolas Drolet 2025-12-05 11:33:10 -0500
  • b18ce4972c fix(employees): added 1st and last work day to employee list return Matthieu Haineault 2025-12-04 17:09:38 -0500
  • 2faecf8e30 fix(swagger): moved swagger-spec.json Matthieu Haineault 2025-12-04 17:04:10 -0500
  • a5917cbe9d clean(modules): modules file cleaning Matthieu Haineault 2025-12-04 17:01:28 -0500
  • 8fdbdafd91 clean(modules): modules file cleaning Matthieu Haineault 2025-12-04 15:19:19 -0500
  • e4447a138c fix(modules): file imports fixes Matthieu Haineault 2025-12-04 15:02:54 -0500
  • d81186ba2b clean(modules): modules file cleaning Matthieu Haineault 2025-12-04 15:00:36 -0500
  • 6d3ff46c35 clean(modules): modules file cleaning Matthieu Haineault 2025-12-04 14:50:48 -0500
  • 13962a8496 clean(modules): modules file cleaning Matthieu Haineault 2025-12-04 14:50:23 -0500
  • 0c81f21f1b refactor(employees): added is_supervisor so the frontend can filter employees and use it in a select Matthieu Haineault 2025-12-04 13:57:52 -0500
  • 9b4517a26d clean(shifts): did some cleaning Matthieu Haineault 2025-12-04 11:05:38 -0500
  • 4c933d3564 fix(shifts): small return fixes Matthieu Haineault 2025-12-04 10:46:48 -0500
  • 245d671f0b fix(shifts): small return fixes Matthieu Haineault 2025-12-04 10:45:47 -0500
  • d913f59eb5 refactor(schedules_employees): refactor schema relations between employees and presets Matthieu Haineault 2025-12-04 10:42:54 -0500
  • 3e0e835cd8 merge Nicolas Drolet 2025-12-03 17:01:34 -0500
  • 7ee6773235 Merge branch 'main' of git.targo.ca:Targo/targo_backend Nicolas Drolet 2025-12-03 17:00:42 -0500
  • 838189ae1f fix(employee) change dto so that module access is typesafe, modify update route to exclude session email Nicolas Drolet 2025-12-03 16:59:03 -0500
  • b40e0ad16e fix(employees): fix create employees Matthieu Haineault 2025-12-03 16:06:53 -0500
  • b44577c595 fix(employees): fix create employees Matthieu Haineault 2025-12-03 15:57:30 -0500
  • f8a70deed2 fix(employees): fix update employees Matthieu Haineault 2025-12-03 15:43:03 -0500
  • f19f981b43 fix(employees): changed email target to use dtos. Matthieu Haineault 2025-12-03 15:25:25 -0500
  • 5b0e0ce869 fix(preferences): ran a migration command so is_dark_mode = null is accepted in DB Matthieu Haineault 2025-12-03 14:23:59 -0500
  • 35a71d217a Merge branch 'main' of git.targo.ca:Targo/targo_backend Nicolas Drolet 2025-12-03 14:10:23 -0500
  • 5dafef82f2 refactor(auth): make validate method of strategy use parsed idToken to work with Authentik JWT payload instead of profile Nicolas Drolet 2025-12-03 14:10:17 -0500
  • e4a4e317bc fix(preferences): ajusted schema so is_dark_mode accepts null Matthieu Haineault 2025-12-03 14:06:25 -0500
  • 4b0189ed48 feat(attachments): cleaning and setting up module for app integration Matthieu Haineault 2025-12-03 08:21:17 -0500
  • fb0187c117 feat(employees): ajusted employees module, added an update method and route Matthieu Haineault 2025-12-02 12:57:49 -0500
  • 0180fa3fdd Merge branch 'main' of git.targo.ca:Targo/targo_backend Matthieu Haineault 2025-12-02 09:17:30 -0500
  • 68477c17b7 fix(controller): added ModuleAccess tag Matthieu Haineault 2025-12-02 09:17:25 -0500
  • e6c949e40b fix(modules): moduleguards properly compare user_module_access to module_list, rather than user_roles to module_list Nicolas Drolet 2025-12-02 09:06:08 -0500
  • ebc1cd77d8 refactor(controllers): added ModuleAccessAllowed and Access decorators Matthieu Haineault 2025-12-01 16:03:48 -0500
  • 0f509a920f fix(employees): added optional employee_email to findDetailedProfile Matthieu Haineault 2025-12-01 15:17:19 -0500
  • 6b0763f277 refactor(module_access): changed the dto to use string instead of boolean for module_access and made a mapper to switch between boolean and string. Matthieu Haineault 2025-12-01 14:44:25 -0500
  • 1afd74b0e5 fix(employees): small return fix Matthieu Haineault 2025-12-01 12:37:46 -0500
  • f12950757c Merge branch 'main' of git.targo.ca:Targo/targo_backend Matthieu Haineault 2025-12-01 11:39:31 -0500
  • c155df14da fix(employees): added phone, adress and 1st work day to findOwnProfil function Matthieu Haineault 2025-12-01 11:39:27 -0500
  • c7f92ed46c Merge branch 'main' of git.targo.ca:Targo/targo_backend Nicolas Drolet 2025-12-01 11:31:36 -0500
  • 57dc4eeb66 refactor(preferences): add id to response for easier frontend state management Nicolas Drolet 2025-12-01 11:30:23 -0500
  • 50ecd12aa8 feat(migration): autoincrement to external payroll ids Matthieu Haineault 2025-12-01 11:30:06 -0500
  • 98180dd16b refactor(employees): adapted logics to match new userModuleAccess and cleaned module of unused methods Matthieu Haineault 2025-12-01 11:28:42 -0500
  • ddb469cd8e feat(decorator): create a new Access decorator and added external_payroll_id to findEmployee Matthieu Haineault 2025-12-01 08:34:08 -0500
  • f499abbb78 fix(userModuleAccess): small return fixes Matthieu Haineault 2025-11-28 10:01:59 -0500
  • 42060ad9b4 fix(prefs): small fix Matthieu Haineault 2025-11-27 15:24:03 -0500
  • 822763db2b fix(prefs): small fix Matthieu Haineault 2025-11-27 15:23:19 -0500
  • 83804b4008 fix(preferences): modified returns to match needs Matthieu Haineault 2025-11-27 15:22:01 -0500
  • 7cddd84e23 fix(preferences): removed user data from update return Matthieu Haineault 2025-11-27 15:13:02 -0500
  • b714a460f0 feat(migration): reset DB to match new schema Matthieu Haineault 2025-11-27 12:24:47 -0500
  • eeaf8daf4a fix(schema): small fix to userModuleAccess model Matthieu Haineault 2025-11-27 09:28:11 -0500
  • 58c550103f Merge branch 'main' of git.targo.ca:Targo/targo_backend Matthieu Haineault 2025-11-27 08:47:51 -0500
  • e76f2a9a72 feat(preferences): added validation pipes to DTO, commented migration scripts Matthieu Haineault 2025-11-27 08:47:47 -0500
  • e7213c62ed Merge branch 'main' of git.targo.ca:Targo/targo_backend Nicolas Drolet 2025-11-27 08:40:47 -0500
  • 5a28630c21 refactor(employees): added functionality to take an optional employee email to retrieve profile data Nicolas Drolet 2025-11-27 08:40:41 -0500
  • 7c9f3cda65 feat(preferences): small update on prefrences table Matthieu Haineault 2025-11-26 16:32:56 -0500
  • d7b1bab68f fix(preferences): minor type fix to dto Matthieu Haineault 2025-11-26 15:33:10 -0500
  • 5f7f639c62 feat(preferences): added a getter function and modified schema to use boolean Matthieu Haineault 2025-11-26 15:31:50 -0500
  • 439e005936 fix(user_module_access): fix imports and file naming Matthieu Haineault 2025-11-26 15:10:02 -0500
  • 26ea84cf1a feat(user_module_access): created user_module_access model and module. implemented update, revoke and get methods. Matthieu Haineault 2025-11-26 15:05:22 -0500
  • c5c96cce22 feat(schedulePresets): ajusted the create function. added validation of the name and overlaps checking Matthieu Haineault 2025-11-25 16:32:20 -0500
  • 35665d49dd fix(migration): commented extractionOldExpenses from main.ts Matthieu Haineault 2025-11-24 16:42:27 -0500
  • 58c4b22f0f fix(migration): minor fixes and modifications to DB scripts Matthieu Haineault 2025-11-24 16:36:30 -0500
  • cdf7dac6a3 Merge branch 'main' of git.targo.ca:Targo/targo_backend Matthieu Haineault 2025-11-24 14:59:24 -0500
  • 5452641f19 feat(migration): added a split prismaModule to manage legacy DB, created scripts to fetch old data, transform to match the new structure and creates new items in the new DB Matthieu Haineault 2025-11-24 14:59:16 -0500
  • fc323a393b merge Nicolas Drolet 2025-11-24 09:14:06 -0500
  • 6d1ac6c634 Merge branch 'main' of git.targo.ca:Targo/targo_backend Nicolas Drolet 2025-11-24 09:12:55 -0500
  • 7912695b8f fix(payperiods): refactor general overview method to return all employee overviews. Nicolas Drolet 2025-11-24 09:02:31 -0500
  • ddb6fa2ada feat(pay_periods): added Result Pattern to pay-period module Matthieu Haineault 2025-11-19 10:41:49 -0500
  • 48f1220a4e clean(modules): cleaned unused dto files and added validation. Changed error messages to match i18n Matthieu Haineault 2025-11-18 14:55:42 -0500
  • 3ceb2e0955 refactor(presets): refactor module to use Result Pattern commented to work on plugging error names Matthieu Haineault 2025-11-18 13:49:18 -0500
  • 5bfeaaf4de fix(expenses): small fix update Matthieu Haineault 2025-11-18 08:56:40 -0500
  • 2958403f08 fix(expenses): fix date update and make sure the timesheet_id is updated when the date changes week Matthieu Haineault 2025-11-18 08:46:39 -0500
  • 194a12d7ab fix(expenses): fix Prisma query select Matthieu Haineault 2025-11-18 08:24:51 -0500
  • 7863a15562 fix(expenses): fixes to prisma create request Matthieu Haineault 2025-11-17 16:04:36 -0500
  • fc88b3a032 fix(expenses): fixes to prisma create request Matthieu Haineault 2025-11-17 15:45:49 -0500