Commit Graph

29 Commits

Author SHA1 Message Date
Kroonk
d47e87ef82 feat: implement Keycloak SSO integration with JIT provisioning and Next.js login button
All checks were successful
Build & Push Docker Image to Gitea Registry / build-and-push (push) Successful in 2m31s
2026-05-21 10:45:30 +02:00
Michess
536160bba6 feat(elo): add ELO rating system
- DB: elo column on user table (default 1200, added via ALTER TABLE IF NOT EXISTS)
- ELO calculated after every game save (K=32, min 100)
- Bots use their fixed ELO values; only human players' ELO changes
- AI page games save with bot name (e.g. 'Holzpferd Heinz') instead of 'Stockfish'
- User profile shows ELO badge below name
- Header shows current ELO for logged-in users (links to profile)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 07:32:57 +02:00
Michess
4825a57a54 feat: add real-time notification system and fix admin login bug
- Fix login: role field was missing from session (admin page inaccessible)
- Add onlineUsers map in socket/state.ts to track connected users
- Join personal user:${id} socket room on connect for targeted notifications
- Emit friendRequestReceived/friendRequestAccepted socket events from friends controller
- Add sendGameInvite socket event handler on server
- New NotificationContext: global socket provider for registered users
- New NotificationPanel: bell icon with unread badge and dropdown in header
- Friends page: inline game invite input per friend with sendGameInvite

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-14 12:35:09 +02:00
Michess
694177c108 feat: Vollständiges Rebranding zu MiChess, Copyright Tom Misch
- Alle @chessu/ → @michess/ (Package-Namen und Imports)
- Theme-Namen chessuDark/Light → michessDark/Light
- Alle Display-Texte: chessu/Michess → MiChess
- Autor: dotnize → Tom Misch
- Copyright: Nathaniel Tampus → Tom Misch
- README komplett neu (Deutsch, MiChess-spezifisch)
- CONTRIBUTING.md neu
- FUNDING.yml + CODE_OF_CONDUCT.md entfernt
- Fork-Hinweis auf chessu bleibt im README erhalten (MIT-Pflicht)
- pnpm-lock.yaml entfernt (wird beim Build neu generiert)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-13 10:47:16 +02:00
Nathaniel Tampus
c591415e3d fix registration for empty email 2023-08-11 20:46:02 +08:00
Nathaniel Tampus
cf63f73280 fix registration for empty email 2023-06-19 21:57:03 +08:00
Nathaniel Tampus
da7b4c40a3 organize imports 2023-05-01 15:15:49 +08:00
Nathaniel Tampus
2fadce8ae1 improve checks for update user api 2023-04-05 21:02:49 +08:00
Nathaniel Tampus
577cba6ff4 count game history stats for users 2023-04-02 18:24:21 +08:00
Nathaniel Tampus
af25b4ff20 update db models 2023-04-01 23:15:54 +08:00
Nathaniel Tampus
ee8f9a58fd use default import for user model 2023-03-25 19:13:00 +08:00
Nathaniel Tampus
86f4f9d42f Merge branch 'main' into auth 2023-03-20 18:53:35 +08:00
Nathaniel Tampus
17a0befae3 use 204 status to avoid logging 404 to console 2023-03-20 18:22:26 +08:00
Nathaniel Tampus
8a80d6e9fd remove extra imports (finallyyyy)
just went crazy fixing merge conflicts lol
2023-03-19 21:53:08 +08:00
Nathaniel Tampus
6250d90192 Merge branch 'main' into auth 2023-03-19 21:51:22 +08:00
Nathaniel Tampus
9d4198d918 remove extra imports 2023-03-19 21:50:21 +08:00
Nathaniel Tampus
c6bd485d61 update game data on when updating guest names 2023-03-19 21:49:48 +08:00
Nathaniel Tampus
a76f5b3839 remove extra imports 2023-03-19 21:45:43 +08:00
Nathaniel Tampus
496914e14e update game data on when updating guest names 2023-03-19 21:45:15 +08:00
Nathaniel Tampus
2990388247 update deps 2023-03-19 21:45:15 +08:00
Nathaniel Tampus
2921bce6f8 update game data on when updating guest names 2023-03-19 21:43:22 +08:00
Nathaniel Tampus
59dba43257 remove extra imports 2023-03-19 21:41:19 +08:00
Nathaniel Tampus
fcb0fd26fd update game data on when updating guest names 2023-03-19 21:39:51 +08:00
Nathaniel Tampus
dc2f218115 disallow underscores for names 2023-03-19 21:24:41 +08:00
Nathaniel Tampus
9ae628c592 update game data on when updating guest names 2023-03-19 21:23:15 +08:00
Nathaniel Tampus
1fab992f53 add auth controllers & validation improvements 2023-03-19 20:52:58 +08:00
Nathaniel Tampus
caa12fd5ce check pattern in backend as well 2023-03-06 18:59:35 +08:00
Nathaniel Tampus
bd39cf8c46 npm workspaces, NodeNext for server 2023-02-05 13:49:40 +08:00
Nathaniel Tampus
17ce3cf4c4 move to public repo 2023-01-03 15:47:30 +08:00