Matthieu Haineault
|
368c5b1a2a
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/matthieu/tickets
|
2026-02-27 10:13:19 -05:00 |
|
Nic D
|
c75bbb445e
|
feat(notifications): add notifications to schema
|
2026-02-25 11:05:55 -05:00 |
|
Matthieu Haineault
|
f3753ec53e
|
feat(tickets): implemented a function to GET the list of tickets according to sorting and filter args
|
2026-02-23 15:27:30 -05:00 |
|
Matthieu Haineault
|
a5fc7b1de9
|
feat(ticket): added a route to get tickets using the email of the assigned employee or the ticket status
|
2026-02-19 08:18:43 -05:00 |
|
Matthieu Haineault
|
dccb249b15
|
feat(Tickets): created helpers for boolean manipulations and basic setup for ticketing module
|
2026-02-11 08:45:26 -05:00 |
|
Matthieu Haineault
|
c3698d4a36
|
fix(imports): switched deprecated imports for new version of Prisma
|
2026-02-06 15:27:37 -05:00 |
|
Matthieu Haineault
|
0ce1b62d06
|
feat(schema prisma): dropped attachment related tables and added columns to expenses table to match new needs for garageHQ
|
2026-02-06 13:14:36 -05:00 |
|
Matthieu Haineault
|
b8157b78d1
|
fix(PrismaClient): fix a bug where transactionClients where instantiated with the wrong Prisma imports
|
2026-02-05 11:31:47 -05:00 |
|
Matthieu Haineault
|
d9f0362cb9
|
fix(PrismaClient): fix the client generation. was overwriting previous entries. now create multiple instances = db amount
|
2026-02-04 15:24:36 -05:00 |
|
Matthieu Haineault
|
b269062816
|
fix(Prisma): Fix prisma queries around the whole app to match new structure of many instance of clients/services files. added scripts to manage more than one schema at a time
|
2026-02-04 14:13:06 -05:00 |
|
Matthieu Haineault
|
f2ec4d9e82
|
feat(PrismaClient): generation of the 3 individual prisma clients for each database, removed unsupported modules file from the prisma schema folder
|
2026-02-04 08:57:47 -05:00 |
|
Matthieu Haineault
|
8b9c2f7a86
|
feat(mariaDB): clean prisma MariaDB folders. re-organized it and added scripts command for easier generation and migration
|
2026-02-03 15:52:02 -05:00 |
|
Matthieu Haineault
|
d7eacd127c
|
feat(prisma): setup for including MariaDB with the new Prisma version 7.3.0
|
2026-02-03 11:40:08 -05:00 |
|
Matthieu Haineault
|
c5a41b2bfb
|
fix(DB): fix env value calls for prod setup
|
2026-01-15 09:16:03 -05:00 |
|
Matthieu Haineault
|
7d8f9ee7fb
|
feat(migration): migration from old DB to the new one.
|
2026-01-15 08:47:34 -05:00 |
|
Matthieu Haineault
|
5805549058
|
fix(prisma): commented unused column
|
2026-01-14 15:31:50 -05:00 |
|
Matthieu Haineault
|
c294d491d1
|
feat(banking): added columns to table Employees and timesheets for future update on banking hour options
|
2026-01-14 14:44:41 -05:00 |
|
|
|
297f1241bd
|
feat(chatbot): add chatbot module for frontend deploy testing
|
2026-01-12 10:34:13 -05:00 |
|
|
|
7e9dbe5b3d
|
fix(employees): change DTOs to accomodate lack of last_update date
|
2026-01-09 12:54:57 -05:00 |
|
Matthieu Haineault
|
5b778943a1
|
feat(paid_time-off): worked on vacation service, implemented vacation business logic inside shifts creation and did a migration
|
2026-01-08 12:13:14 -05:00 |
|
Matthieu Haineault
|
70aefdab73
|
fix(migration): fix some migration problems from legacy db
|
2026-01-06 15:04:41 -05:00 |
|
Matthieu Haineault
|
0791f124a0
|
feat(schema): migration of the new table paid_time_off and added a column to employee table = daily_expected_hours
|
2026-01-06 09:13:36 -05:00 |
|
|
|
53ec64ba1e
|
refactor(sick-leave): remake methods to calculate and update sick leave available
|
2026-01-06 07:34:26 -05:00 |
|
Matthieu Haineault
|
a2fc68e9c0
|
fix(prisma): fix an error from a db pull that changed an Int into a BigInt
|
2025-12-12 08:42:31 -05:00 |
|
Matthieu Haineault
|
71aeeb7133
|
refactor(employees): added preset_id to dto
|
2025-12-11 09:26:58 -05:00 |
|
Nic D.
|
cb52089db8
|
fix(schedule-preset): adjust services to use consistent dto and field names (mix of shifts and preset_shifts)
|
2025-12-10 16:51:38 -05:00 |
|
Matthieu Haineault
|
b6132c8b35
|
feat(schedule-presets): added a service that applies a preset to an existing timesheet. did some cleaning in utils and dtos
|
2025-12-09 13:02:10 -05:00 |
|
Matthieu Haineault
|
74e16d7960
|
feat(migration): created a script to initialize preferences and modules access
|
2025-12-05 15:43:32 -05:00 |
|
|
|
491bd7022c
|
feat(auth): add session table to prisma that will be used by express-session to store user session data
|
2025-12-05 11:33:10 -05:00 |
|
Matthieu Haineault
|
8fdbdafd91
|
clean(modules): modules file cleaning
|
2025-12-04 15:19:19 -05:00 |
|
Matthieu Haineault
|
d913f59eb5
|
refactor(schedules_employees): refactor schema relations between employees and presets
|
2025-12-04 10:42:54 -05:00 |
|
Matthieu Haineault
|
b40e0ad16e
|
fix(employees): fix create employees
|
2025-12-03 16:06:53 -05:00 |
|
Matthieu Haineault
|
5b0e0ce869
|
fix(preferences): ran a migration command so is_dark_mode = null is accepted in DB
|
2025-12-03 14:23:59 -05:00 |
|
Matthieu Haineault
|
e4a4e317bc
|
fix(preferences): ajusted schema so is_dark_mode accepts null
|
2025-12-03 14:06:25 -05:00 |
|
Matthieu Haineault
|
ebc1cd77d8
|
refactor(controllers): added ModuleAccessAllowed and Access decorators
|
2025-12-01 16:03:48 -05:00 |
|
Matthieu Haineault
|
50ecd12aa8
|
feat(migration): autoincrement to external payroll ids
|
2025-12-01 11:30:06 -05:00 |
|
Matthieu Haineault
|
98180dd16b
|
refactor(employees): adapted logics to match new userModuleAccess and cleaned module of unused methods
|
2025-12-01 11:28:42 -05:00 |
|
Matthieu Haineault
|
b714a460f0
|
feat(migration): reset DB to match new schema
|
2025-11-27 12:24:47 -05:00 |
|
Matthieu Haineault
|
eeaf8daf4a
|
fix(schema): small fix to userModuleAccess model
|
2025-11-27 09:28:11 -05:00 |
|
Matthieu Haineault
|
7c9f3cda65
|
feat(preferences): small update on prefrences table
|
2025-11-26 16:32:56 -05:00 |
|
Matthieu Haineault
|
5f7f639c62
|
feat(preferences): added a getter function and modified schema to use boolean
|
2025-11-26 15:31:50 -05:00 |
|
Matthieu Haineault
|
26ea84cf1a
|
feat(user_module_access): created user_module_access model and module. implemented update, revoke and get methods.
|
2025-11-26 15:05:22 -05:00 |
|
Matthieu Haineault
|
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
|
2025-11-24 14:59:16 -05:00 |
|
Matthieu Haineault
|
6936ac39fa
|
refactor(leave-requests): refactor the logic of the module leave-requests and modified naming in timesheet GET function
|
2025-11-17 14:13:38 -05:00 |
|
|
|
750dd95071
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend
|
2025-11-11 12:56:16 -05:00 |
|
|
|
c8e3f66cf0
|
feat: updated prisma schema and npm packages.
|
2025-11-11 12:56:02 -05: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 |
|
Matthieu Haineault
|
ac1eaabb5d
|
fix(schema): remove commented lines
|
2025-10-27 10:20:56 -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 |
|
Matthieu Haineault
|
2712033451
|
refactor(cleaning): preparing other modules for refactoring
|
2025-10-24 16:47:30 -04:00 |
|