djalim
0f7282ba87
chore(compose.yml): update Docker Compose for production deployment
...
Add postgres service with environment variable for password.
Change app image to registry and adjust ports.
Update volume mount to production path.
Add deploy constraints for manager nodes.
2026-04-03 10:50:53 +02:00
djalim
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
refactor(students): migrate to Drizzle ORM and async queries
Replace raw sqlite queries with Drizzle ORM. Remove the connect helper and use the
shared db instance and schema definitions. Convert getItself, getAll and
addStudents to async functions, use eq and lt helpers, and simplify promotion
handling. This improves type safety, maintainability, and allows non‑blocking
database access.
2026-04-03 10:43:29 +02:00
djalim
4949bdce5d
chore(drizzle): add config for drizzle-kit migrations
2026-04-03 10:41:52 +02:00
djalim
33b8c178f2
feat(db): add PostgreSQL connection and schema definitions
2026-04-03 10:41:11 +02:00
djalim
4a2a0a3681
chore: add dependencies for dotenv, drizzle-orm, pg and dev deps
...
Set up environment config and database ORM
2026-04-03 10:33:38 +02:00
djalim
5932b8c2cd
docs(env): add postgres env variables
2026-04-03 10:30:48 +02:00
djalim
e111d5be28
Merge pull request ' 🐛 (Dockerfile): remove stray 'flag' argument from deno cache command' ( #6 ) from feature/deploy into main
...
Build and push image / Build Docker image (push) Successful in 20s
Reviewed-on: https://git.polytech.djalim.fr/admin/PolyMPR/pulls/6
2026-01-13 08:08:24 +00:00
djalim
c70d4a5f11
🐛 (Dockerfile): remove stray 'flag' argument from deno cache command
Check Deno code / Check Deno code (pull_request) Successful in 14s
2026-01-13 09:07:01 +01:00
djalim
ad5c271b05
Merge pull request 'feature/deploy : Added deploy ci tu automaticaly push image to registry' ( #5 ) from feature/deploy into main
...
Build and push image / Build Docker image (push) Failing after 1m35s
Reviewed-on: https://git.polytech.djalim.fr/admin/PolyMPR/pulls/5
2026-01-13 07:47:18 +00:00
djalim
19a588ac25
🚀 ci: add Docker build and push workflow, remove old Deno check workflow
Check Deno code / Check Deno code (pull_request) Successful in 16s
2026-01-13 08:45:23 +01:00
djalim
ad524978df
🔧 (ci.yml): renamed Deno lint workflow for pull requests
2026-01-09 12:57:51 +01:00
djalim
2ce78547b7
Merge pull request ' 🔧 chore(ci): removed old github workflow folder' ( #4 ) from fix/action into main
...
Reviewed-on: https://git.polytech.djalim.fr/admin/PolyMPR/pulls/4
2026-01-09 11:52:25 +00:00
djalim
81a3fc0e03
🔧 chore(ci): removed old github workflow folder
Check Deno code / Check Deno code (pull_request) Successful in 13s
2026-01-09 12:50:46 +01:00
djalim
2615961bf1
Merge pull request ' 🔧 ci: add Deno lint and format check workflow' ( #1 ) from feature/actions into main
...
Reviewed-on: https://git.polytech.djalim.fr/admin/PolyMPR/pulls/1
2026-01-09 11:48:18 +00:00
djalim
fb967e3af3
Merge pull request ' 🔧 chore: add env.template and load .env instead of .env.development.local' ( #2 ) from feature/dotenv into main
...
Reviewed-on: https://git.polytech.djalim.fr/admin/PolyMPR/pulls/2
2026-01-09 11:48:05 +00:00
djalim
c283a34784
🔧 ci: add Deno lint and format check workflow
Check Deno code / Check Deno code (pull_request) Successful in 5s
2026-01-09 12:47:36 +01:00
djalim
a48c616ecc
🔧 chore: add env.template and load .env instead of .env.development.local
Check Deno code / Check Deno code (pull_request) Successful in 5s
2026-01-09 12:47:11 +01:00
djalim
cd1149a23a
Merge pull request ' 🐛 (components): add missing button types and keys' ( #3 ) from fix/actions into main
...
Reviewed-on: https://git.polytech.djalim.fr/admin/PolyMPR/pulls/3
2026-01-09 11:44:17 +00:00
djalim
58c8ff56ba
🐛 (components): add missing button types and keys
...
Check Deno code / Check Deno code (pull_request) Successful in 40s
Add type="button" to the EditMobility and UploadStudents buttons
to prevent default form submission behavior.
Include a key prop on Student components in Promotion for stable list rendering.
2026-01-09 12:41:51 +01:00
Kevin FEDYNA
91f7b6c022
Merge pull request #39 from fedyna-k/PMPR-38
...
Added all files
2025-01-28 23:44:06 +01:00
Kevin FEDYNA
8f1088a0f8
Deno police
2025-01-28 23:43:36 +01:00
Kevin FEDYNA
ccbec884e8
Added all files
2025-01-28 23:41:10 +01:00
Kevin FEDYNA
a9a2f6f390
Merge pull request #36 from fedyna-k/PMPR-35
...
Pmpr 35
2025-01-28 18:38:17 +01:00
Kevin FEDYNA
4c54283bfd
Finalized students app
2025-01-28 10:03:20 +01:00
Kevin FEDYNA
e88045c952
Refactored students
2025-01-27 13:11:13 +01:00
Kevin FEDYNA
4ff76fdf6f
Added hidden admin only page prop effect
2025-01-27 10:39:42 +01:00
Kevin FEDYNA
1a784f8622
Merge pull request #32 from fedyna-k/PMPR-27
...
Pmpr 27
2025-01-25 10:49:09 +01:00
Kevin FEDYNA
1f3a723dbe
Merge branch 'main' into PMPR-27
2025-01-25 10:48:41 +01:00
Kevin FEDYNA
6d4d36e089
Fixed linting and formatting errors
2025-01-25 10:48:04 +01:00
Clayzxr
16b7579e10
Trying to make EditStudents works
2025-01-24 21:38:53 +01:00
Clayzxr
fcc0a4413c
Update student to have an ID
2025-01-24 20:48:33 +01:00
Clayzxr
c3d3354537
Trying to make EditMobility works
2025-01-24 19:46:53 +01:00
Clayzxr
f07b4dc616
Consult mobility working
2025-01-24 17:09:51 +01:00
Clayzxr
575f0df4bc
Fixing bugs
2025-01-24 16:23:47 +01:00
Clayzxr
a867f67fd9
Trying to fix DB mobility
2025-01-24 16:17:51 +01:00
Clayzxr
cc26ec9445
Trying to make mobility works
2025-01-22 22:45:34 +01:00
Clayzxr
b835495e15
Consult mobility (not working yet)
2025-01-22 17:06:42 +01:00
Clayzxr
4abf540558
Init mobility DB
2025-01-22 15:09:22 +01:00
Kevin FEDYNA
db3267667f
Merge pull request #31 from fedyna-k/PMPR-29
...
Pmpr 29
2025-01-22 14:51:35 +01:00
Kevin FEDYNA
6456529b7f
Added documentation for connect file
2025-01-22 14:48:00 +01:00
Kevin FEDYNA
5464077deb
Added compile task
2025-01-22 14:32:51 +01:00
Kevin FEDYNA
75a9591f6a
Added documentation on cli
2025-01-22 14:24:55 +01:00
Clayzxr
36c5c9cf39
Test to access student DB in other apps (working)
2025-01-22 11:35:47 +01:00
Kevin FEDYNA
8a5461827e
Optimized code and wrote documentation
2025-01-22 11:15:43 +01:00
Clayzxr
d767cb0898
Minor fix for DB (working)
2025-01-22 11:00:18 +01:00
Kevin FEDYNA
3ce1273455
Started documenting code
2025-01-22 00:54:43 +01:00
Kevin FEDYNA
54f4a83590
Merge pull request #30 from fedyna-k/PMPR-28
...
changed login and logout to adapt to domain and added ToU
2025-01-21 23:54:14 +01:00
Kevin FEDYNA
596ee0536a
formatted code
2025-01-21 23:53:43 +01:00
Kevin FEDYNA
5e75c688c8
Added layer of abstraction for database connection
2025-01-21 23:49:52 +01:00
Kevin FEDYNA
85766ffeed
changed login and logout to adapt to domain and added ToU
2025-01-21 22:31:36 +01:00