Commit Graph

  • bbc9ea58e2 PMPR-37 : GET /ue-modules - liste les associations UE-Module feature/get-ue-modules-37 Clément Oudelet 2026-04-22 18:08:19 +02:00
  • 96b7edf77f PMPR-43 : POST /notes - créer une note feature/post-notes-43 Clément Oudelet 2026-04-22 18:01:35 +02:00
  • a19a1e6c13 test(api): remove enseignements unit tests feature/api-enseignements anys 2026-04-22 16:59:52 +02:00
  • 2739a01ab5 fix(api): align enseignements route with Fresh file routing anys 2026-04-22 15:34:09 +02:00
  • f3c1f10999 feat(api): implement enseignements CRUD endpoints anys 2026-04-22 15:05:40 +02:00
  • ac67593d5b PMPR-35 : PUT /ues/{idUE} - modifier une UE Clément Oudelet 2026-04-22 18:31:04 +02:00
  • 92182b952f feat(modules): add CRUD endpoints for module resource Implement GET, PUT, DELETE for /modules/{idModule} with 404 handling. feature/PMPR-25-26-27-api-modules-id djalim 2026-04-22 14:03:22 +02:00
  • cf3c7c0693 feat(admin/api): add modules endpoint with GET and POST handlers feature/PMPR-23-24-api-modules djalim 2026-04-22 14:02:17 +02:00
  • 5229453169 chore(drizzle.config.ts): import process for env variable support djalim 2026-04-22 14:38:20 +02:00
  • 6c18189d9f chore(deps): update drizzle-orm to 0.45.2 and pg to 8.20.0 djalim 2026-04-22 14:23:34 +02:00
  • 2c1fd7e5ad feat(promotions): add CRUD endpoints for promotion by id - GET /promotions/{idPromo} returns promotion or 404 - PUT /promotions/{idPromo} updates year or 404 - DELETE /promotions/{idPromo} deletes promotion or 404 - Only employees allowed, otherwise 403 djalim 2026-04-22 14:01:32 +02:00
  • 2f15efe21e PMPR-33 : POST /ues - créer une UE feature/post-ues-33 Clément Oudelet 2026-04-22 14:28:03 +02:00
  • b2847a4a7d PMPR-42 : GET /notes - récupère les notes Clément Oudelet 2026-04-22 14:16:31 +02:00
  • 373719ca29 PMPR-42 : GET /notes - récupère les notes feature/get-notes-42 Clément Oudelet 2026-04-22 14:16:31 +02:00
  • 3f0c8d079f feat(students): add promotions API for employees feature/PMPR-13-14-api-promotions djalim 2026-04-22 14:00:05 +02:00
  • 4eaea48ebd feat(students): add CRUD endpoints for student by numEtud feature/PMPR-10-11-12-api-students-id djalim 2026-04-22 13:58:59 +02:00
  • f959cf0d3a feat(students): add CSV import endpoint for student data feature/PMPR-9-api-students-import djalim 2026-04-22 13:57:10 +02:00
  • 0d45bd4c1c refactor(students): simplify API, remove unused imports and helpers refactor(students): add query param filtering, enforce employee role for POST refactor(students): return created student in POST response feature/PMPR-7-8-api-students djalim 2026-04-22 13:52:19 +02:00
  • b5f134d016 feat(roles): add CRUD endpoints for role by id feature/PMPR-67-68-69-api-roles-id djalim 2026-04-22 13:28:11 +02:00
  • 9a3f49ecfe feat(admin/api): add roles endpoint with GET and POST feature/PMPR-65-66-api-roles djalim 2026-04-22 13:26:55 +02:00
  • 5a86f69093 feat: add CRUD endpoints for users by id feature/PMPR-62-63-64-api-users-id djalim 2026-04-22 13:25:29 +02:00
  • 03b58e7b0a feat(admin/api/users): add GET and POST endpoints for users feature/PMPR-60-61-api-users djalim 2026-04-22 13:24:03 +02:00
  • 9168ca53da feat(admin): scaffold admin module and add GET /permissions endpoint feature/PMPR-70-get-permissions djalim 2026-04-22 13:30:19 +02:00
  • b8d359a507 feat(database): add roles, permissions, users, modules, and related tables feature/PMPR-schema-relationnel djalim 2026-04-22 13:13:33 +02:00
  • 32ffbb7cda PMPR-32 : GET /ues - liste toutes les UEs feature/get-ues-32 Clément Oudelet 2026-04-22 12:50:46 +02:00
  • 93aa2769dd added admin module et get enseignement feature/getEnseignements djalim 2026-04-21 16:03:40 +02:00
  • ce5acacca6 refactor(api_mock.ts): remove async from mockFetch to match signature djalim 2026-04-21 12:04:10 +02:00
  • 4211df32a8 style: format api mock return type and test imports/JSON body djalim 2026-04-21 12:02:55 +02:00
  • 50afe2ae66 test: add mock DB helper for unit tests djalim 2026-04-21 11:49:30 +02:00
  • 17c5b33a5b refactor(test): improve fetch mock and update fixture types djalim 2026-04-21 11:31:45 +02:00
  • 01fd6e9984 test: add e2e, integration, and unit tests for fixtures and mockFetch djalim 2026-04-21 11:24:02 +02:00
  • 332286c085 test: add API mock, fixtures, and DOM helpers for tests djalim 2026-04-21 11:23:21 +02:00
  • 612c41c099 ci: add test job to lint workflow and update deno.json djalim 2026-04-21 11:22:09 +02:00
  • 080f7606a7 refactor(api_mock.ts): remove async from mockFetch to match signature feature/unit-test djalim 2026-04-21 12:04:10 +02:00
  • 4e220f72d7 style: format api mock return type and test imports/JSON body djalim 2026-04-21 12:02:55 +02:00
  • 61207e4f21 test: add mock DB helper for unit tests djalim 2026-04-21 11:49:30 +02:00
  • 204a590b37 refactor(test): improve fetch mock and update fixture types djalim 2026-04-21 11:31:45 +02:00
  • edb20db2ef test: add e2e, integration, and unit tests for fixtures and mockFetch djalim 2026-04-21 11:24:02 +02:00
  • 56430f9991 test: add API mock, fixtures, and DOM helpers for tests djalim 2026-04-21 11:23:21 +02:00
  • 808bf8c9c7 ci: add test job to lint workflow and update deno.json djalim 2026-04-21 11:22:09 +02:00
  • 0f7282ba87 chore(compose.yml): update Docker Compose for production deployment djalim 2026-04-03 10:50:53 +02:00
  • 9636242b42 refactor(mobility): switch to Drizzle ORM and remove raw SQLite usage - replace Database with db instance - use schema imports for tables - use db.select, db.insert, onConflictDoUpdate - remove manual connection handling and console logs - improve type safety and maintainability djalim 2026-04-03 10:43:29 +02:00
  • 4949bdce5d chore(drizzle): add config for drizzle-kit migrations djalim 2026-04-03 10:41:52 +02:00
  • 33b8c178f2 feat(db): add PostgreSQL connection and schema definitions djalim 2026-04-03 10:41:11 +02:00
  • 4a2a0a3681 chore: add dependencies for dotenv, drizzle-orm, pg and dev deps Set up environment config and database ORM djalim 2026-04-03 10:33:38 +02:00
  • 5932b8c2cd docs(env): add postgres env variables djalim 2026-04-03 10:30:48 +02:00
  • b05fd91411 Commentaire pour moi le lendemain à 6h du matin (heure canadienne) feature/mobility ibra 2026-01-06 23:44:59 -05:00
  • aaa9d0812b Ultimate fix and tested ! You can download contract now. ibra 2026-01-06 23:43:09 -05:00
  • 7568afb888 Fix insert-mobility, the file was overwritten by null. Anys if you can test it, I can't add anything in database (idk why) ibra 2026-01-06 23:21:56 -05:00
  • 6371fca14a Fix Dockerfile ibra 2026-01-06 16:54:29 -05:00
  • e111d5be28 Merge pull request '🐛 (Dockerfile): remove stray 'flag' argument from deno cache command' (#6) from feature/deploy into main hotfixes djalim 2026-01-13 08:08:24 +00:00
  • c70d4a5f11 🐛 (Dockerfile): remove stray 'flag' argument from deno cache command djalim 2026-01-13 09:07:01 +01:00
  • ad5c271b05 Merge pull request 'feature/deploy : Added deploy ci tu automaticaly push image to registry' (#5) from feature/deploy into main djalim 2026-01-13 07:47:18 +00:00
  • 19a588ac25 🚀 ci: add Docker build and push workflow, remove old Deno check workflow djalim 2026-01-13 08:45:23 +01:00
  • ad524978df 🔧 (ci.yml): renamed Deno lint workflow for pull requests djalim 2026-01-09 12:57:51 +01:00
  • 2ce78547b7 Merge pull request '🔧 chore(ci): removed old github workflow folder' (#4) from fix/action into main djalim 2026-01-09 11:52:25 +00:00
  • 81a3fc0e03 🔧 chore(ci): removed old github workflow folder djalim 2026-01-09 12:50:46 +01:00
  • 2615961bf1 Merge pull request '🔧 ci: add Deno lint and format check workflow' (#1) from feature/actions into main djalim 2026-01-09 11:48:18 +00:00
  • fb967e3af3 Merge pull request '🔧 chore: add env.template and load .env instead of .env.development.local' (#2) from feature/dotenv into main djalim 2026-01-09 11:48:05 +00:00
  • c283a34784 🔧 ci: add Deno lint and format check workflow djalim 2026-01-08 17:31:45 +01:00
  • a48c616ecc 🔧 chore: add env.template and load .env instead of .env.development.local djalim 2026-01-08 18:33:26 +01:00
  • cd1149a23a Merge pull request '🐛(components): add missing button types and keys' (#3) from fix/actions into main djalim 2026-01-09 11:44:17 +00:00
  • 58c8ff56ba 🐛(components): add missing button types and keys djalim 2026-01-09 12:41:51 +01:00
  • dc0af96470 Refactor AuthenticatedState to store displayName and uid feature/authentication-verification anys 2026-01-08 20:04:17 +01:00
  • bda47fd88b Update role enum and access control Remove isRouteAnAPI(route: string): boolean anys 2026-01-07 22:56:06 +01:00
  • c0a335d33f - Add role detection - Restrict APIs to personnels - Show 403 for unauthorized access" anys 2026-01-06 19:05:59 +01:00
  • e818051621 Add 403 error page and Polytech access control. anys 2026-01-06 18:56:10 +01:00
  • 91f7b6c022 Merge pull request #39 from fedyna-k/PMPR-38 Kevin FEDYNA 2025-01-28 23:44:06 +01:00
  • 8f1088a0f8 Deno police Kevin FEDYNA 2025-01-28 23:43:36 +01:00
  • ccbec884e8 Added all files Kevin FEDYNA 2025-01-28 23:41:10 +01:00
  • a9a2f6f390 Merge pull request #36 from fedyna-k/PMPR-35 Kevin FEDYNA 2025-01-28 18:38:17 +01:00
  • 4c54283bfd Finalized students app Kevin FEDYNA 2025-01-28 10:03:20 +01:00
  • e88045c952 Refactored students Kevin FEDYNA 2025-01-27 13:11:13 +01:00
  • 4ff76fdf6f Added hidden admin only page prop effect Kevin FEDYNA 2025-01-27 10:39:42 +01:00
  • 1a784f8622 Merge pull request #32 from fedyna-k/PMPR-27 Kevin FEDYNA 2025-01-25 10:49:09 +01:00
  • 1f3a723dbe Merge branch 'main' into PMPR-27 Kevin FEDYNA 2025-01-25 10:48:41 +01:00
  • 6d4d36e089 Fixed linting and formatting errors Kevin FEDYNA 2025-01-25 10:48:04 +01:00
  • 16b7579e10 Trying to make EditStudents works Clayzxr 2025-01-24 21:38:53 +01:00
  • fcc0a4413c Update student to have an ID Clayzxr 2025-01-24 20:48:33 +01:00
  • c3d3354537 Trying to make EditMobility works Clayzxr 2025-01-24 19:46:53 +01:00
  • f07b4dc616 Consult mobility working Clayzxr 2025-01-24 17:09:51 +01:00
  • 575f0df4bc Fixing bugs Clayzxr 2025-01-24 16:23:47 +01:00
  • a867f67fd9 Trying to fix DB mobility Clayzxr 2025-01-24 16:17:51 +01:00
  • cc26ec9445 Trying to make mobility works Clayzxr 2025-01-22 22:45:34 +01:00
  • b835495e15 Consult mobility (not working yet) Clayzxr 2025-01-22 17:06:42 +01:00
  • 4abf540558 Init mobility DB Clayzxr 2025-01-22 15:09:22 +01:00
  • db3267667f Merge pull request #31 from fedyna-k/PMPR-29 Kevin FEDYNA 2025-01-22 14:51:35 +01:00
  • 6456529b7f Added documentation for connect file Kevin FEDYNA 2025-01-22 14:48:00 +01:00
  • 5464077deb Added compile task Kevin FEDYNA 2025-01-22 14:32:51 +01:00
  • 75a9591f6a Added documentation on cli Kevin FEDYNA 2025-01-22 14:24:55 +01:00
  • 36c5c9cf39 Test to access student DB in other apps (working) Clayzxr 2025-01-22 11:35:47 +01:00
  • 8a5461827e Optimized code and wrote documentation Kevin FEDYNA 2025-01-22 11:15:43 +01:00
  • d767cb0898 Minor fix for DB (working) Clayzxr 2025-01-22 11:00:18 +01:00
  • 3ce1273455 Started documenting code Kevin FEDYNA 2025-01-22 00:54:43 +01:00
  • 54f4a83590 Merge pull request #30 from fedyna-k/PMPR-28 Kevin FEDYNA 2025-01-21 23:54:14 +01:00
  • 596ee0536a formatted code Kevin FEDYNA 2025-01-21 23:53:43 +01:00
  • 5e75c688c8 Added layer of abstraction for database connection Kevin FEDYNA 2025-01-21 23:49:52 +01:00
  • 85766ffeed changed login and logout to adapt to domain and added ToU Kevin FEDYNA 2025-01-21 22:31:36 +01:00
  • b5fedbb425 Moved all student management tools into student app for global uses (working) Clayzxr 2025-01-21 17:29:59 +01:00
  • c04505e95d Working DB with table promotions Clayzxr 2025-01-21 16:46:19 +01:00