Commit graph

21 commits

Author SHA1 Message Date
Raphael
b56906b557
style(shared): auto-correction of the linter
- using pnpm eslint --fix ./src
2025-09-28 19:03:51 +02:00
Maieul BOYER
c4b1bb2f65 fix(auth): small issues with login process 2025-09-08 14:52:47 +02:00
Maix0
a6ce4630f5 feat(jwtPlugin): correctly check for multiple registration
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-01 15:47:07 +02:00
Maix0
fa3966729f feat(database): remove use of any
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-01 15:47:07 +02:00
Maieul BOYER
85cfea3cbf feat(database): removed debug logs 2025-09-01 15:47:07 +02:00
Maieul BOYER
a7c753f38b feat(auth): Added 2FA/OTP manage endpoints
- CodeWise: Changed everything to use undefined when not present
- CodeWise: checks for nonpresent value using `isNullish`
- enableOtp: enable Otp, return topt url. Does nothing when
  already enabled
- disableOtp: disable 2FA Totp for the user
- statusOtp: get the 2FA status for the user. return the Totp Url if
  enabled
- loginDemo: split into two files
- loginDemo: supports for 2FA
- loginDemo: better response box
2025-09-01 15:47:07 +02:00
Maieul BOYER
964fe908a6 feat(auth): Base auth with plugins
- Add fastify to protect routes plugins (requireAuth: true)
- Simple Demo to show regular password auth (no 2FA/OTP nor remote auth)
- Currently supports: login, logout, signin
- OTP workflow should work, not tested
- Fixed convention for docker volumes (now all placed in /volumes/<name>)
2025-09-01 15:47:07 +02:00
Maieul BOYER
ddde700494 feat(auth): working plugin 2025-09-01 15:47:07 +02:00
Maieul BOYER
c545499c73 feat(otp): yeah used packet............. 2025-09-01 15:47:07 +02:00
Maieul BOYER
a16852c1b9 feat(death): I want to die... 2025-09-01 15:47:07 +02:00
Maieul BOYER
33e893ec58 feat(wip): ... 2025-09-01 15:47:07 +02:00
Maieul BOYER
70d72f4419 feat(database): split stuff into multiple files 2025-09-01 15:47:07 +02:00
Maieul BOYER
baf9dc54c6 wip(auth): WIP 2025-09-01 15:47:07 +02:00
Maieul BOYER
c5dbfcad6e feat(auth): initialize service
- Make rule `sql`: convert .dbml file to .sql file
- Removed tests: not used...
- Added dbml_sqlite to flake.nix
2025-09-01 15:47:07 +02:00
Maieul BOYER
f62f21ee18 feat(infra): went back to alpine and removed package.json merging
- Actually using pnpm workspace...
- Use alpine on both runner and builder container
- runner using lockfile generated by builder container
2025-08-03 16:04:24 +02:00
Maieul BOYER
c633200e86 feat(infra): Removed alpine/jq dependencies
Changed from using `jq` to a nodejs script to merge package.json files
2025-08-03 15:10:13 +02:00
Maieul BOYER
5f9fd5629c feat(infra): reworked Dockerfile
- changed from npm to pnpm in Dockerfile => improved install time
    Fixed errors from change in .ts files.
2025-08-03 14:40:48 +02:00
Maieul BOYER
573af0bc4b feat(infra): singular dockerfile with vite bundling
Using Vite as a bundler to allow easier builds, with shared library

Moved to a single dockerfile that takes an argument to specify which
service to use

moved some file around to faciliate bundling with vite

cried a lot
2025-07-30 21:30:04 +02:00
Maieul BOYER
bdc4616106 feat(cleanup): removed built application 2025-07-30 14:07:44 +02:00
Maieul BOYER
68f8d87477 update(wip): I want to docker commit myself 2025-07-29 14:15:25 +02:00
maix0
37403d304a feat(shared): reworked shared library
Shared library is now access using `@shared/module`
2025-07-29 14:14:44 +02:00