Commit graph

52 commits

Author SHA1 Message Date
Maieul BOYER
ed2885f19d removed console.log 2026-01-12 17:10:34 +01:00
apetitco
6bd3a01f5f cleaning code 2026-01-09 17:55:44 +01:00
apetitco
92eb73c508 (tic-tac-toe): Erratum, it's the join/leave queue button 2026-01-09 17:55:44 +01:00
apetitco
ca9b2a7320 (tic-tac-toe): Starting work to implement "New Game" button 2026-01-09 17:55:44 +01:00
Maieul BOYER
43e6ec24f5 feat(ttt): added concede detection and move timeout 2026-01-07 21:10:31 +01:00
Maix0
f87a991441 feat(ttt): added draw status in ttt match history 2026-01-07 00:20:00 +01:00
Maix0
830f251537 chore(eslint): fixed eslint rules 2026-01-07 00:20:00 +01:00
Maix0
2bf5e6e700 feat(ttt): match history done 2026-01-07 00:20:00 +01:00
Maieul BOYER
d59e8f93c8 feat(ttt/database): prefixed TTT database thingy to avoid pong conflicts 2026-01-05 15:47:42 +01:00
Alessandro Petitcollin
d222dfd332 (tic-tac-toe): Fix indentation and formatting in state.ts. 2026-01-05 15:47:42 +01:00
Alessandro Petitcollin
f9801dafe7 (tic-tac-toe): game outcomes are now written to tictatoe database. :) 2026-01-05 15:47:42 +01:00
NigeParis
b69a452810 fastify.log.info done 2026-01-05 15:39:21 +01:00
NigeParis
6f89e4a3e1 Fixed winx and win0 in tictactoe 2026-01-04 13:43:40 +01:00
Maieul BOYER
b86d50f9f0 make requeuing and other stuff better 2026-01-04 13:43:40 +01:00
Maieul BOYER
972b78a1e2 feat(ttt): made proper queue and multi game handling 2026-01-04 13:43:40 +01:00
apetitco
ed2b610f26 (tic-tac-toe): Fixed the issue, game now correctly writes into database. Need to implement generation of random IDs for games and fetch users' UID 2026-01-04 13:43:40 +01:00
apetitco
39f71bb4d9 (dependencies): Updated socket.io and socket.io-client to 4.8.2, along with other dependency upgrades 2026-01-04 13:43:40 +01:00
apetitco
dc62f3a98e (tic-tac-toe): Updated setGameOutcome to accept outcome as a parameter and integrated it into game result handling 2026-01-04 13:43:40 +01:00
apetitco
e7bf718fa6 (database): Initial commit 2026-01-04 13:43:40 +01:00
Maieul BOYER
2ed524872b feat(docker): Multi stage docker now fetch deps once
Split dockerfile into three different dockerfiles such that dependencies
are only downloaded once

This allows the build to be a bit faster, since all deps are downloaded
once at the start.

This also makes it so the frontend container no longer needs to be ran,
as its files are directly embedded into the nginx container

This also remove the extra files, since bind mounts do work
it also remove the entrypoint.sh file, as you should prefer to not use
it
2025-12-30 19:02:07 +01:00
NigeParis
1ca84b30c6 clean up 2025-12-30 18:20:16 +01:00
NigeParis
266feb22f4 Merged with Maix Master 2025-12-30 18:20:16 +01:00
Maieul BOYER
11949bbdf0
chore(deps): removed unsued deps and fixed npm@update makefile rule
- Removed unused deps
- Changed `npm@update` rule to only update lockfile and nothing else
- Changed `npm@install` to also install in frontend directory
2025-12-30 14:54:38 +01:00
Maieul BOYER
156379ab54
feat(auth): close connection on unauthenticated socket connection 2025-12-23 15:22:26 +01:00
Maieul BOYER
782e13cd63
fixed small issues 2025-12-22 17:46:04 +01:00
apetitco
f5c79a2d3a (eslint): Fixed issues with eslint 2025-12-22 15:45:33 +01:00
Maieul BOYER
c71d332c39 update: added ttt to nginx configuration 2025-12-22 15:14:14 +01:00
apetitco
5a884ef4c5 (backend): trying to have a working backend.
Did I manage to achieve this task: NO.
2025-12-22 15:14:14 +01:00
apetitco
8debc57559 (backend): trying to have a working backend.
Did I manage to achieve this task: NO.
2025-12-22 15:14:14 +01:00
apetitco
b873ec390f (tic-tac-toe): Laid the foundations for tic tac toe/database interactions 2025-12-22 15:14:14 +01:00
apetitco
edeee0093b (tic-tac-toe): Laid the foundations for tic tac toe/database interactions 2025-12-22 15:14:14 +01:00
apetitco
fc5685fe39 (misc): Added tsconfig.json file 2025-12-22 15:14:14 +01:00
apetitco
2f34f71835 (misc): Bit of cleaning 2025-12-22 15:14:14 +01:00
apetitco
d736e0e3ee retrieved what Maieul had done with my app.ts 2025-12-22 15:14:14 +01:00
apetitco
db88bf368f fixing things 2025-12-22 15:14:12 +01:00
apetitco
1f4f62c00b fighting git conflicts 2025-12-22 15:14:04 +01:00
apetitco
a60569822b fighting git conflicts 2025-12-22 15:12:10 +01:00
apetitco
575464f65b fighting git conflicts 2025-12-22 15:12:10 +01:00
apetitco
e36d41a7c4 fighting git conflicts 2025-12-22 15:12:10 +01:00
Maieul BOYER
53a2c06d43 fixed things
# Conflicts:
#	src/pnpm-lock.yaml
2025-12-22 15:12:10 +01:00
apetitco
fb49ba4ee9 (schism): started separating backend from frontend 2025-12-22 15:12:10 +01:00
Nigel
85eca5d301
Nigel/block user (#60)
* WIP block users

* Add test to check if the person for user X is blocked or not

* Added function isBlocked return true if user x is blocked by user y

* Added block ans un block messages

* Route / broadcast added ny Maix

* notification block and un block with icon now works, started clean up

* cleaning up the code

* cleaning up the code - WIP

* cleaning up the code - WIP

* clean up code - WIP

* clean up code - WIP

* WIP block users

* Add test to check if the person for user X is blocked or not

* Added function isBlocked return true if user x is blocked by user y

* Added block ans un block messages

* REBASE -trying

* REBASE trying

* REBASE problems

* REBASE problems

* REBASE problems

* MERGE problems

* REBASE problem

* REBASE problem

* clean up code - WIP

* MERGED master into nigel/blockUser

* linter OK

* TTT problem with package

* Deletes tic tac and icons
2025-12-16 15:21:07 +01:00
Maieul BOYER
ea3e1d53a7
fixes(openapi): disable tic-tac-toe until it works again 2025-12-12 17:07:54 +01:00
apetitco
a41b8303b0
Update src/tic-tac-toe/vite.config.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-12-11 16:17:30 +01:00
apetitco
ea5f997fe0 (misc): entirely disabled backend 2025-12-11 13:53:48 +01:00
apetitco
56ad511ceb (punition): No more working on backend until Maieul says so :( 2025-12-04 17:53:32 +01:00
apetitco
8b91505894 (eslint): Removed empty line. 2025-12-04 15:25:31 +01:00
apetitco
69809e284e (eslint): Removed trailing space at end of line 2. 2025-12-04 15:22:42 +01:00
apetitco
8e3413fb95 (misc): Added configuration files. 2025-12-04 15:20:13 +01:00
apetitco
fe52fbbbd4 (misc): Started working on app.ts. 2025-12-04 15:17:24 +01:00