Commit Graph

219 Commits

Author SHA1 Message Date
simplonco
61191d23b4 direct message cannot leave client side 2023-01-12 11:27:42 +01:00
simplonco
6be1f32fa8 directs have good names and cannot leave server side 2023-01-12 11:25:14 +01:00
simplonco
8e99a764f7 Merge branch 'master' into hugo 2023-01-12 00:52:59 +01:00
simplonco
ff90c9d1fb pull fixed conflicts 2023-01-12 00:52:43 +01:00
simplonco
b27e9b1cc9 wip gitignore 2023-01-12 00:50:55 +01:00
simplonco
c737435579 wip gitignore 2023-01-12 00:49:41 +01:00
simplonco
b851613f0f creation of directs messages
+ can choose myrooms fields
+ trying to make type validation without success
2023-01-12 00:36:38 +01:00
LuckyLaszlo
20905b88de GenerateUserDisplay primary fix 2023-01-11 21:05:16 +01:00
LuckyLaszlo
8856c46fb6 fetchAvatar() generic function 2023-01-11 20:52:15 +01:00
simplonco
aa86299e73 wip direct messages 2023-01-11 18:20:48 +01:00
LuckyLaszlo
7c038f90d2 Merge branch 'master' into luke 2023-01-11 13:14:25 +01:00
simplonco
dcf129b4f1 fixed pbm if messages return null 2023-01-11 12:42:38 +01:00
LuckyLaszlo
de26c3c89c avatar display on game pages
+ multiples user.status bug unresolved, temp rollback in generateToken()
+ STATUS enum fix game.service.ts
+ multiples smalls refactoring
2023-01-11 12:00:03 +01:00
simplonco
e97de4f137 wip directs 2023-01-11 10:07:38 +01:00
Me
9e53ed140a minor modifications, header now tells you which page you are on, slightly fewer comments 2023-01-11 00:47:05 +01:00
simplonco
8f07be709e store sockets in a map so controller can access them 2023-01-10 16:45:16 +01:00
simplonco
223599542b fixed pbm in room name check 2023-01-10 10:32:46 +01:00
hugogogo
316d4c6fa9 protected agains bad room names 2023-01-09 22:49:08 +01:00
Me
f44170338a scrapping my attempt at a new version of the SplashPage, we'll just use Cherif's, it's way better 2023-01-09 21:27:28 +01:00
hugogogo
5d20e1614c leave room 2023-01-09 21:26:49 +01:00
Me
9eececb045 Merge remote-tracking branch 'origin/master' into eric_front_and_back 2023-01-09 21:17:01 +01:00
Me
9b8e0e8890 attempts at a better splash page, not the best results 2023-01-09 21:14:10 +01:00
hugogogo
eea631b18a list of room users 2023-01-09 20:52:59 +01:00
hugogogo
5184097765 changed services to add join message 2023-01-09 20:02:35 +01:00
hugogogo
8c9c260fc7 merge hugo now have a basic functional chat with rooms 2023-01-09 18:25:11 +01:00
hugogogo
3eb338d822 socket are working but it's not the right way 2023-01-09 16:47:30 +01:00
hugogogo
e23699dd51 rooms have name 2023-01-09 16:29:27 +01:00
hugogogo
e71e555ea4 rooms now change properly in home 2023-01-09 16:10:37 +01:00
hugogogo
94ec37b847 changed layout for a store variable 2023-01-09 14:44:01 +01:00
hugogogo
45edd2f25f wip multiple rooms 2023-01-09 12:23:41 +01:00
batche
0f60b83121 remise du css pour game et game spectator 2023-01-09 11:13:41 +01:00
batche
a346b7d5a2 remise du tableau de score 2023-01-09 11:09:33 +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
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
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