Commit Graph

512 Commits

Author SHA1 Message Date
LuckyLaszlo
3f9abea672 Merge branch 'luke' 2023-01-09 11:02:58 +01:00
LuckyLaszlo
d55f3eedf5 fix draw game
+ status update in generateToken()
2023-01-09 11:01:57 +01:00
hugogogo
258e7596fe can create and join rooms, but messages are all mixed up 2023-01-09 08:43:55 +01:00
LuckyLaszlo
0f30a3d8d4 audio changes 2023-01-09 07:46:31 +01:00
LuckyLaszlo
2ae0ee043a initGame() try catch 2023-01-09 07:17:16 +01:00
LuckyLaszlo
42e3e148b4 initGame() changes 2023-01-09 06:51:13 +01:00
LuckyLaszlo
12291d0835 Merge branch luke into 'master' 2023-01-09 06:41:49 +01:00
LuckyLaszlo
d53b0998f0 Merge branch 'master' into luke 2023-01-09 06:27:19 +01:00
simplonco
ebbd5ff530 wip db request with array not working 2023-01-08 20:21:19 +01:00
simplonco
f4dc5cde53 wip get all public rooms but no users 2023-01-08 17:49:36 +01:00
simplonco
b132c154e4 close and back is ok 2023-01-08 17:00:00 +01:00
simplonco
272221071d new svelte files organisation for sockets and store 2023-01-08 15:35:19 +01:00
simplonco
4c0256e7b3 pbm socket connection resolved 2023-01-08 14:53:09 +01:00
simplonco
c5ed704a62 room load old message but pbm to read them 2023-01-08 14:18:57 +01:00
simplonco
c41c7de745 wip load room messages, but i broke rooms list 2023-01-07 21:58:33 +01:00
simplonco
e4a3504564 home rooms are charging correctly 2023-01-07 19:36:07 +01:00
simplonco
d21c1d1e4e wip try to make chatrooms db remember users 2023-01-07 17:27:15 +01:00
Me
f7c728a009 So i added a check to make it so you can't change your username to someone else's, also turns out Cherif already has a check so that if you change your username to someone else's 42 username who isn't a user yet and then they try to become a user, their username will have a random string attached to the end so it is also unique, then fixed a few minor things, and made it so all UnauthorizedPages take you back to / as in the SplashPage rather than a special page from which you navigate to /, that said, i think feedback for the user is kinda nice, will decide with team eventually 2023-01-07 01:41:06 +01:00
LuckyLaszlo
711f971333 major rework in Game.svelte and GameSpectator.svelte
+ WIP match draw
2023-01-06 20:04:40 +01:00
hugogogo
41dbee1cc0 creation of table room is ok 2023-01-06 19:47:47 +01:00
hugogogo
8be84e8442 rooms creation ok in db 2023-01-06 17:13:59 +01:00
hugogogo
23105600a5 wip trying to create first instance of chatroom in db 2023-01-06 16:56:36 +01:00
hugogogo
89d25d15f5 wip create room now receive errors http status 2023-01-06 16:21:36 +01:00
Me
0470676c5d added the thing so you can see other people's avatars, fixed checks on frontend routes like game and such that other people created, need help understanding ValidationPipe() to make it so a user must have a unique username. TBH this shit is still being held together by Duct Tape and Holy Water 2023-01-05 22:37:56 +01:00
LuckyLaszlo
68ae8ac333 bugfix with countdown() on early pong.destroy call
+ svelte reactivity with forfeit button
+ little matchmaking changes
+ Wip audio rework
2023-01-05 20:18:59 +01:00
simplonco
d201060dcf join room dto 2023-01-05 19:48:38 +01:00
simplonco
26150f6761 fixed create form 2023-01-05 18:56:29 +01:00
simplonco
f0736ab20b wip entities 2023-01-05 14:39:52 +01:00
Me
b35082148c merge stuff 2023-01-05 12:33:51 +01:00
Me
730b8c4e4a sorting out merge stuff 2023-01-05 12:31:47 +01:00
Me
9889eae77f seems like the merge worked 2023-01-05 12:30:54 +01:00
Me
46090b1e33 ok the friendship and user refactor is done, there are still a lot of comments but that's fine, it's duct taped together, but it works, time to merge 2023-01-05 11:21:34 +01:00
simplonco
286d79ed06 small changes and clean comments 2023-01-05 10:26:09 +01:00
simplonco
e16dc56314 msgs are in a store 2023-01-05 09:21:06 +01:00
simplonco
a4a2b4bf76 wip chat in room, now broadcast with name 2023-01-04 21:57:01 +01:00
batche
eab2749c0e Clean de quelques trucs dans le front 2023-01-04 18:56:32 +01:00
simplonco
1c2d202ec1 chat svelte now have a global variable socket 2023-01-04 18:21:01 +01:00
Me
d3be6e5fe8 ok gotta test all the paths but we more or less have the friendships and users modules working the new way 2023-01-04 16:04:48 +01:00
simplonco
61bd289981 retrieve chat layout test 2023-01-03 20:06:41 +01:00
simplonco
30f4a68031 merge from master 2023-01-03 20:03:26 +01:00
simplonco
6dd18c6b06 merge with master 2023-01-03 19:54:53 +01:00
Me
000987fbde ok after talking with cherif we decided not to send things like the user.id so i need to recreate more or less what i had before, but i'm gonna keep using the user.id everywhere in the back and keep my better simpler friendship.entity, working on all that now, got a thing that compiles in the front and back, a few more things to fix and then test everything 2023-01-03 19:42:14 +01:00
batche
9bfb1a6ca3 yolo bis 2023-01-03 15:20:46 +01:00
batche
3844c4df53 yolo 2023-01-03 15:18:36 +01:00
simplonco
5bd099ad38 created chat service and module 2023-01-03 13:48:31 +01:00
batche
5150990d6f Changement de TOUTES les occurrences d'un host ou d'un port écrits en dur dans le projet. 2023-01-03 13:47:37 +01:00
simplonco
7d358167db Merge branch 'master' of bitbucket.org:LuckyLaszlo/ft_transcendence 2023-01-03 11:41:49 +01:00
simplonco
13ace6bc6a small changes in make_env 2023-01-03 11:41:34 +01:00
batche
387e2f60b6 suppression de l'option no-cache dans le fichier docker-compose. 2023-01-03 10:51:17 +01:00
simplonco
1676de3a49 remove temp layouts access 2023-01-03 10:31:29 +01:00