Commit Graph

107 Commits

Author SHA1 Message Date
batche
6ca35ccaa7 la galère continue 2022-12-13 16:57:00 +01:00
batche
a8743940a5 dockerfile 2022-12-12 15:13:59 +01:00
batche
b04cd0aa48 Implémentation du jeu dans svelte HOPE 2022-12-12 12:37:47 +01:00
batche
34bdcad3a2 pendant req 2022-12-11 16:46:13 +01:00
batche
a9460fb41c Changements amitiés 2022-12-11 15:30:30 +01:00
Me
db1e269e2e Stuggling a bit to get components to rerender when a prop updates in the Friendship page, will sort out tomorrow 2022-12-11 08:12:22 +01:00
Me
6eeb2b5474 ok so i fixed the get user by username issue, left all the comments in the back so Cherif and I can go over what i changed just to make sure i didn't break something else, but yea that and my front work just fine 2022-12-11 06:04:03 +01:00
Me
61828e5be7 much progress on layout the foundations of the Friendship page in the front, also refactored some code to reuse displaying a users profile info 2022-12-10 07:13:28 +01:00
Me
15ea27955b trying to push again 2022-12-09 16:53:00 +01:00
Me
b75bce4212 this merge with master should come with the right backend stuff to make friendship requests work 2022-12-09 15:46:40 +01:00
batche
87fe4bbbf4 correction mineure 2022-12-09 11:42:58 +01:00
batche
f2e57bef79 petite erreur 2022-12-09 11:35:17 +01:00
batche
86e007d6c0 Merge branch 'master' of bitbucket.org:LuckyLaszlo/ft_transcendence into inclusion_jeu_a_partir_de_master 2022-12-09 11:29:38 +01:00
batche
3802973dfa corrections mineures 2022-12-09 11:29:19 +01:00
Me
58234c8a6c ok so the problem seems to be that i was sending a username not an ID (which is unique), so i made a way to do that, bu t it's still a work in progress figuring out the restults 2022-12-09 05:33:32 +01:00
Me
302ebd674c working on friendships in teh frontend but having to do some debuging in the backend 2022-12-09 05:19:12 +01:00
Me
999b40430d was mucking about with trying to integerate the game but will leave that for some other time 2022-12-09 02:23:58 +01:00
batche
8d640ae4ab début de la mise en place du jeu (partie client uniquement). 2022-12-08 19:08:07 +01:00
batche
3afc0996ac début création du jeu 2022-12-08 17:56:46 +01:00
batche
58787215ad Merge branch 'master' of bitbucket.org:LuckyLaszlo/ft_transcendence 2022-12-08 17:13:29 +01:00
batche
8953a0c09b réforme de l'amitié 2022-12-08 17:13:12 +01:00
Me
c777fb3592 merged with master 2022-12-08 17:09:02 +01:00
Me
8688f3b48f pushing to master, only minor changes 2022-12-08 17:04:50 +01:00
batche
46fcb423e5 changements mineurs 2022-12-08 14:34:14 +01:00
batche
b00c9e1474 changements mineurs 2022-12-08 14:01:07 +01:00
batche
8c2df71cde les redirections fonctionnent 2022-12-08 13:51:56 +01:00
Me
d2f45ba86a Merge remote-tracking branch 'origin' into eric_front_and_back 2022-12-07 20:47:34 +01:00
batche
365bac36ef 2A la suite 2022-12-07 20:38:11 +01:00
batche
081a3c1dc2 Merge branch 'master' of bitbucket.org:LuckyLaszlo/ft_transcendence into inclusion_jeu_a_partir_de_master 2022-12-07 20:02:42 +01:00
batche
bccb342043 amélioration de la 2Fa 2022-12-07 19:59:05 +01:00
Me
3cdedc921c ok now it actually works, had a few imports left over that i needed to get rid of, also added extra protection in my ProfileSettings so you can not change the username and it's still ok 2022-12-07 19:20:55 +01:00
Me
59bc893173 removed the userStore, didn't make sense and now we don't even need to use local storage so no security vulnerability, cool, oh and everything still works 2022-12-07 18:49:31 +01:00
Me
6c3cad3b3d mucking about trying to solve the weird 2fa issues, putting a pin in it for now tho 2022-12-07 18:25:15 +01:00
Me
1a584483e7 trying to work out 2fa 2022-12-07 12:12:33 +01:00
Me
baa9465018 merging 2022-12-07 11:56:27 +01:00
batche
f835f74443 Ajout des fichiers de lucky + quelques corrections mineures sur l'auth (2FA) et le flow pour le user 2022-12-07 11:50:39 +01:00
Me
263d117d1a about to pull new updates from Cherif 2022-12-07 11:50:33 +01:00
Me
657460b8ae ok so i added the fetch(user) in the conditions of the routing, works just fine, but still need to add some stuff, like passing on params and special conditions for special pages 2022-12-06 16:56:35 +01:00
Me
c79d6f9b7d ok so trying to get the {wrap} to do what i want for the routing, but the store and local storage aren't complying, something about a Forbidden Resource, either way seems like i need to scrap the store entirely and go with the fetch(user) in the {wrap} each time anyway, for security, and also cuz that works 2022-12-05 05:55:43 +01:00
Me
450f6873a6 ok so it still works, the settings work more or less properly, and they look better, tho still kinda shit 2022-12-05 03:15:57 +01:00
Me
e9e4f564eb Ok about to do some clean up 2022-12-04 21:55:14 +01:00
Me
ce7d75a954 ok everything still works, now can see the avatar, working on better ProfileSettings 2022-12-01 22:46:34 +01:00
Me
042053ee2b great news, the new svelte store that is connected to the local storage works great, not only do i always know if a user is logged in but i have their user data too 2022-12-01 21:48:38 +01:00
Me
92acf36962 so far this works, in the middle of adding a new store that connects to local storage 2022-12-01 21:02:43 +01:00
Me
f8095c7ec6 oops i did some work directly on master, but it's still stable so should be fine 2022-12-01 16:27:56 +01:00
Me
4cff63e264 moved files around make more logical folders, got some 502 errors turns out VSCode isn't magic, you just need to go through all the files and make sure the import paths are right 2022-12-01 00:06:34 +01:00
Me
6f7361a5dd well i tried a bunch of things to fix the CSS, most did not work, will need some help 2022-11-30 23:32:11 +01:00
Me
fc9c72b6b3 well i finally got the glittery stars animation to work for the ProfileDisplay page, cool 2022-11-30 22:42:43 +01:00
Me
effb1740f5 everything still works, and i cleaned more stuff up, better flow, disabled features that i need imput to make work 2022-11-30 19:29:29 +01:00
Me
e7f0c08bb9 good progress, working on 2FA, adding conditions to limit access to certain Routes, need to find out more about the back to settle these things 2022-11-30 01:13:23 +01:00