Commit Graph

426 Commits

Author SHA1 Message Date
bc77e6a445 Site
- Add multi online game
Django
    - add somes paths
2024-09-15 15:57:40 +02:00
448b377012 Site
- Add multi online game
Django
    - add somes paths
2024-09-15 15:57:40 +02:00
b932032f34 Site
- Add function for request game
2024-09-15 14:02:05 +02:00
e1b8275c16 Site
- Add function for request game
2024-09-15 14:02:05 +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
1d9db521d3 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
d785c6f006 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
53ec541fbf 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
88e3fa3d97 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
c8c88a237a 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
c9cb82c91f 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
92ff0e9e8d 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
906a713e8d 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
c332be46c0 Site
- Add variable for disable 3d in homePage
    - add 3d on lobby page
2024-09-13 16:44:08 +02:00
15de6df24e Site
- Add variable for disable 3d in homePage
    - add 3d on lobby page
2024-09-13 16:44:08 +02:00
422ffcb440 Site
- Fix bug single page with back arrow
    - add animation when clock on tv
    - fix bug when return on home page for login button
2024-09-13 11:17:47 +02:00
2e002057d4 Site
- Fix bug single page with back arrow
    - add animation when clock on tv
    - fix bug when return on home page for login button
2024-09-13 11:17:47 +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
9a589d80f5 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
90e9de59bc 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
17487197ac 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
3469b74c05 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
9d62f0bede 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
11f65d608b 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
3ce614625b 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
00e50bdefb 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
32306787e4 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
f5cf64f8a7 change loading of variables on django server and add server_url to env 2024-09-11 13:05:07 +02:00
20c9c72fba Site :
- Single page working
2024-09-10 17:34:08 +02:00
8b3e5bfea1 Site :
- Single page working
2024-09-10 17:34:08 +02:00
049909e280 Site
- Add notif when account not valid
    - Add notif when account is create
2024-09-10 15:25:29 +02:00
0c0a171309 Site
- Add notif when account not valid
    - Add notif when account is create
2024-09-10 15:25:29 +02:00
d6951de8ba Django
- Add function for send mail when user create an account
2024-09-10 14:17:20 +02:00
f5857ce771 Django
- Add function for send mail when user create an account
2024-09-10 14:17:20 +02:00