a103f09da7
fix syntax Game.py
2024-09-17 15:16:45 +02:00
2a42646b82
add ball move request to client
2024-09-17 14:45:03 +02:00
522f4f602a
Site :
...
- Fix "REGISTER" to "Register"
- Fix "NEWS" to "AUTHORS"
- Fix Chat Button to icon (No notifications)
- Fix not center title on login and register screen
2024-09-17 14:28:57 +02:00
e4cebd99df
add leave request when the opponent leaves the game
2024-09-17 12:55:01 +02:00
c199812a5d
Site
...
- Add smoothing movement for opponent
Django
- invert pos in move request
2024-09-17 00:25:36 +02:00
ed8d211050
add is_opponent to move request
2024-09-16 14:31:01 +02:00
ea9bff1382
fix small errors in move requests
2024-09-16 14:21:49 +02:00
52faeaf81c
add movement request
2024-09-16 14:04:20 +02:00
bc77e6a445
Site
...
- Add multi online game
Django
- add somes paths
2024-09-15 15:57:40 +02:00
2375aec456
add protection, can't start a game if another is already started and can't do game actions if not in a game
2024-09-15 13:40:03 +02:00
b4ead282ba
fix async function not executing when in a sync function (python is wierd)
2024-09-15 11:16:07 +02:00
98ddde7233
switch login method to async to work with the login request
2024-09-15 00:49:53 +02:00
55cc50995d
Site
...
- Started multi online game
Django
- Add some path
2024-09-15 00:06:51 +02:00
375e9316f7
websocket consumer to async for game infinite loop. game requests now work like stated in comment
2024-09-14 21:41:29 +02:00
fc4ca26b15
fix typo variable name. change game requests comment
2024-09-14 12:44:34 +02:00
118a4a92d6
Site
...
- Add multi local game
- Some minor changes in html/css
Django
- add path for /game and /multiLocalGamePage
- add template for multiLocalGame
2024-09-14 02:06:20 +02:00
74ada2bc57
add Game class, users can now create and join games. remove bcypt from dockerfile pip install. remove rm ~/PTME_Data in make fclean
2024-09-14 00:43:04 +02:00
5927c36e54
Site
...
- Add button for logout
- somes change for websocket
- back to login page when account created successfully
2024-09-12 18:23:40 +02:00
90b9e7bc91
Site
...
- fix login with 42
2024-09-12 16:28:22 +02:00
ed33961ffc
Site :
...
- Add menu under login button when user connected
2024-09-12 01:37:52 +02:00
ac54724e2e
fix error in variable name (ICLOUD_MAIL -> ICLOUD_USER)
2024-09-12 01:06:42 +02:00
9920af659e
Site/Django :
...
- Add 404 error
- change request method to post for load page
2024-09-11 17:27:23 +02:00
88f706698e
check if requeset to page is POST
2024-09-11 17:03:10 +02:00
0eec0d3b3b
add err404 page (on /404) (not working, template file missing)
2024-09-11 16:41:11 +02:00
31143a2571
check if user is logged in to show page lobby
2024-09-11 16:30:28 +02:00
45002ad341
404 page renders index page
2024-09-11 16:19:36 +02:00
ec0fb00167
change loading of variables on django server and add server_url to env
2024-09-11 13:05:07 +02:00
d6951de8ba
Django
...
- Add function for send mail when user create an account
2024-09-10 14:17:20 +02:00
45e1943c74
add mail verification on server side (does not send the mail for now)
2024-09-09 21:48:08 +02:00
50e5d7b964
fix delete last message in conversation if over 100
2024-09-09 14:16:40 +02:00
6c6ad4e395
fix password rules on server side
2024-09-06 18:54:55 +02:00
820715f920
Django
...
- Fix live chat resquest
2024-08-30 16:43:24 +02:00
4140a93677
Site
...
- Fix bug with 42 loggin button
2024-08-30 12:03:39 +02:00
bdbaa99597
prevent two different socket for same user and remove ws from server folder
2024-08-29 21:44:20 +02:00
3b93294839
add login with 42 link href (can't click, i hate html)
2024-08-29 20:28:03 +02:00
ce5fc3221e
login with 42 works, fix crash when session is deleted from database
2024-08-28 18:35:45 +02:00
3233191020
add players status and send message to both users when a message is sent
2024-08-28 00:23:20 +02:00
9069104ca4
remove .DS_Store
2024-08-27 17:27:45 +02:00
fb725b2c18
Django
...
- Fix problem with default pfp
2024-08-27 11:50:25 +02:00
0475adbb9b
change sql request for getPrivateMessageUser and add default profile picture for users
2024-08-26 20:57:48 +02:00
40c70bcac5
Site :
...
- Add register page, button for comeback to login page doesnt work.
2024-08-26 18:22:03 +02:00
054b044d7c
Site
...
- Show list user when click on livechat new conversation
2024-08-26 17:11:28 +02:00
42a1d7be1b
add getAllListUser request to websocket
2024-08-26 12:44:24 +02:00
1efe517796
Site
...
- new file pour handler request allListUser
- add function on button new conversation in chat
- remove cookies from js
Django
- fix new_msg.sender.id
2024-08-26 01:27:32 +02:00
32f19b9728
messages work with database
2024-08-25 21:53:40 +02:00
fd781e2e0c
Site
...
- remove time and from in message request
- add page lobby when click on tv (only when we are connected)
2024-08-25 21:27:29 +02:00
26f3e33d4f
fix session and add id to logged_in
2024-08-25 17:40:05 +02:00
9cf87cc69a
Site
...
- login now working (but not if refresh page
- Starting singlepage
Django
- Added path
2024-08-25 17:21:05 +02:00
862ab1df4e
login and account creation now works using database
2024-08-25 15:22:37 +02:00
4d2362c203
Docker
...
- Updated all path import
2024-08-24 23:53:11 +02:00