Commit Graph

355 Commits

Author SHA1 Message Date
AdrienLSH
e9214d1e4c settings: accept all image filetype 2024-03-31 10:59:39 +02:00
fe6d5dfc93 clean: use camel case for class file 2024-03-31 10:59:39 +02:00
7705a2b817 clean: respect es11 2024-03-31 10:59:39 +02:00
a0e26cde05 clean: remove debug print 2024-03-31 10:59:39 +02:00
828e136bcc game: add: padding to collision 2024-03-31 10:59:39 +02:00
AdrienLSH
4a97df6f38 front: display given key as doc title if unknown 2024-03-31 10:59:39 +02:00
AdrienLSH
0397e191e0 authentication: refocus username input when toggling mode 2024-03-31 10:59:39 +02:00
AdrienLSH
0a28bb5271 lang: window title updated 2024-03-31 10:59:39 +02:00
7f22a5c40b fix: url redirection authenticated view 2024-03-31 10:59:39 +02:00
ebddae83f3 fix: accounts: when logout go back to last page 2024-03-31 10:59:39 +02:00
459cf11533 accounts: fix: redirect to last page before login work again 2024-03-31 10:59:39 +02:00
AdrienLSH
ca85e59488 fix(register): bozo 2024-03-31 10:59:39 +02:00
AdrienLSH
bc7504824a authentication: add focus + renamed function 2024-03-31 10:59:39 +02:00
AdrienLSH
604494cee9 lang: unit tests in django/await first loading of dict 2024-03-31 10:59:39 +02:00
5ba1dbc387 fix: history.pushState before router 2024-03-31 10:59:39 +02:00
0e4ce01e5b fix: typo isAuthenticate -> isAuthenticated 2024-03-31 10:59:39 +02:00
2e61fb3096 clean: fix typo 2024-03-31 10:59:39 +02:00
ed4cbd0aae fix: remove unused sylelink 2024-03-31 10:59:39 +02:00
047851ae75 clean: rename: authentification to authenticate 2024-03-31 10:59:39 +02:00
5155ecdd61 accounts: fix: rename func 2024-03-31 10:59:39 +02:00
d9235ed107 clean: I speak english very well 2024-03-31 10:59:39 +02:00
d78dad69f7 authentify: clear current_mode on leave 2024-03-31 10:59:39 +02:00
d21ec87b88 accounts: anthentifyView: add: enter button 2024-03-31 10:59:39 +02:00
cf9bd41dd0 fix: authentifyView do not use pushstate 2024-03-31 10:59:39 +02:00
AdrienLSH
08833f9c93 css: improved lang dropdown menu 2024-03-31 10:59:39 +02:00
4aecf2d9ab accounts: merge register and login #1 2024-03-31 10:59:39 +02:00
4778bf51d1 clean: rename view 2024-03-31 10:59:39 +02:00
AdrienLSH
a63ddad912 fix(avatar) 2024-03-31 10:59:39 +02:00
AdrienLSH
b6ebd9d326 pp upload: image verification using serializers 2024-03-31 10:59:39 +02:00
AdrienLSH
36aee6c881 profiles: avatar_url becomes avatar 2024-03-31 10:59:39 +02:00
AdrienLSH
613d74dd03 lang: replaced html code with emojis in html file 2024-03-31 10:59:39 +02:00
2b77932b93 add translations 2024-03-31 10:59:33 +02:00
c60d0ba08b game: add: goal work 2024-03-31 10:59:33 +02:00
AdrienLSH
ef9b918130 settings: refreh avatar on change + size limit in var 2024-03-31 10:59:33 +02:00
AdrienLSH
01cfe053a9 lang: display current language on dropdown link 2024-03-31 10:59:33 +02:00
AdrienLSH
a24451d140 ux: Me becomes Settings; backend: fix special usernames (me, block...) 2024-03-31 10:59:33 +02:00
AdrienLSH
0bb32c5449 game: fix: unregister_key now works 2024-03-31 10:59:33 +02:00
AdrienLSH
f0ee74115e offline game: fix: reset game doesnt duplicate scores display 2024-03-31 10:59:33 +02:00
AdrienLSH
f910dc5a5b pp upload: js verification 2024-03-31 10:59:33 +02:00
c7e7410baf game: fix: sync client and server 2024-03-31 10:59:33 +02:00
AdrienLSH
e3f97383f8 i forgor 2024-03-31 10:59:32 +02:00
AdrienLSH
027fd9f940 tro bo 2024-03-31 10:59:32 +02:00
AdrienLSH
7e5628344c lang: translation of profile page 2024-03-31 10:59:32 +02:00
AdrienLSH
4cff5eed37 lang: search window title 2024-03-31 10:59:32 +02:00
b44e3bac6f profile page 2024-03-31 10:59:28 +02:00
AdrienLSH
f61d59114e lang: translation of 404 window title 2024-03-31 10:59:28 +02:00
adrien-lsh
e8caf31c17 renamed 404 page title 2024-03-31 10:59:28 +02:00
76e6a11ad8 game: add: use straight line colision (Not finished) 2024-03-31 10:59:28 +02:00
AdrienLSH
3179c3c056 lang: register view 2024-03-31 10:59:28 +02:00
AdrienLSH
52fbd30757 lang: add locale in django and login view 2024-03-31 10:59:28 +02:00
4b092b31bb game: add: vector colision (Not work) 2024-03-31 10:59:23 +02:00
AdrienLSH
3e4d52c645 lang: translation of django's response 2024-03-31 10:59:23 +02:00
AdrienLSH
71970f5683 lang: window title translation 2024-03-31 10:59:23 +02:00
AdrienLSH
18c4ca719b lang: improved, Home view translation 2024-03-31 10:59:23 +02:00
AdrienLSH
a8f1cccae3 ; 2024-03-31 10:59:23 +02:00
AdrienLSH
50444af45c bozo move 2024-03-31 10:59:22 +02:00
AdrienLSH
3885348f97 improved login redirections 2024-03-31 10:59:22 +02:00
f8490da953 doc: fix: docstring: use Promise 2024-03-31 10:59:22 +02:00
22dd4a0299 profiles 2024-03-31 10:59:17 +02:00
910a8861e5 Merge with Xamora 2024-01-24 16:14:15 +01:00
0f7953b2f3 Chat finish; add invitation; friend; see online users if he is your friend 2024-01-24 16:03:50 +01:00
AdrienLSH
8eeb9ed4ab lang: navbar translation 2024-01-24 14:13:11 +01:00
AdrienLSH
40d61233e5 lang: navbar menu 2024-01-24 09:52:05 +01:00
6fd11d0028 game: add: docstring 2024-01-22 13:21:51 +01:00
8da7e09af7 game: add: class: point and segment, add: type docstring 2024-01-21 00:33:43 +01:00
0d69a63b62 Fix lag; Camille forgot usleep(500) 2024-01-19 17:00:30 +01:00
fe47a4d633 Block fixed, looking for invite in game 2024-01-19 16:48:20 +01:00
c6990ebb3e game: fix: my paddle is in right place now 2024-01-19 15:51:08 +01:00
7cf13640a1 game: core: change player to player.isconnected
befort: if a player is disconnected he doesn't have an object
after: he have un object with a socket == None
2024-01-19 15:38:04 +01:00
AdrienLSH
60a3e02420 front: redirect to last visited page after login 2024-01-19 10:54:14 +01:00
b0861b0ec0 game: add: pladdle can move online with ping 2024-01-18 14:44:28 +01:00
AdrienLSH
251e9b032a front: username displayed as dropdown button 2024-01-18 14:26:49 +01:00
AdrienLSH
ad6aa62ecd front: css: improved spacing of dropdown menu 2024-01-18 14:23:39 +01:00
1589763197 game: add: player can leave and join game 2024-01-18 13:59:19 +01:00
371aa85b4c game: fix: leave page do not cause error 2024-01-18 13:42:23 +01:00
AdrienLSH
b2ae3a1ded front: profile page title set to username 2024-01-18 13:41:02 +01:00
AdrienLSH
a7b0051d47 front: add link to user's profile 2024-01-18 13:36:13 +01:00
AdrienLSH
c831a019b2 fix: search redirection to user profile 2024-01-18 13:07:06 +01:00
AdrienLSH
dee71c7c8d access profiles with username instead of id 2024-01-18 10:31:56 +01:00
1af55795d9 game: core: recreate classes see other paddle 2024-01-17 19:06:36 +01:00
f5b2c01633 game: player control the right paddle 2024-01-17 14:52:39 +01:00
3dc07803eb game: paddle can move 2024-01-17 14:47:53 +01:00
2bd0624100 game: core: use server game calulation form 2024-01-17 14:23:23 +01:00
e0990db8d1 game: core: use draw method instead draw_CLASSNAME 2024-01-16 23:27:56 +01:00
7096989e9b game: opti: use time class 2024-01-16 17:51:47 +01:00
58c0df447c player pos is checked 2024-01-16 17:47:48 +01:00
AdrienLSH
a1e732f167 dropdown menu 2024-01-16 15:19:33 +01:00
AdrienLSH
ff574dc296 oopsies 2024-01-16 11:20:41 +01:00
AdrienLSH
d16169112e add bootstrap js file (dropdown menu) 2024-01-16 11:17:29 +01:00
AdrienLSH
7ff6571982 html/css: better readability for navbar account links 2024-01-16 10:14:25 +01:00
AdrienLSH
a0e58e7889 register page 2024-01-16 09:56:40 +01:00
AdrienLSH
0edb865ad8 login page 100% 2024-01-16 09:36:07 +01:00
ff85c1d30c game: fix: create my player only if game start 2024-01-15 18:15:59 +01:00
a30ec46685 game: add: PADDLE CAN MOVE 2024-01-15 17:55:12 +01:00
a2fbfa1937 merge with Xamora 2024-01-15 16:30:17 +01:00
cdb4dab47a Start invitation; notification; add profile avatar in me 2024-01-15 16:29:18 +01:00
AdrienLSH
359d78e4d8 fix: navbar links 2024-01-15 13:50:03 +01:00
fa97abb825 add my player class 2024-01-15 13:37:15 +01:00
87d87a62ab merge with Xamora 2024-01-14 17:53:01 +01:00
11392c22c4 remove error in console, and search work with unlog user 2024-01-14 17:50:34 +01:00
131e599d17 merge with main 2024-01-14 15:55:17 +01:00
a085fcd92b Starting popup notice 2024-01-14 15:40:20 +01:00
AdrienLSH
56edb7424c fix: my bad chef 2024-01-14 15:36:43 +01:00
a254e5a0c2 Move file tournament; chat can see who is online 2024-01-13 11:18:10 +01:00
09f3c92153 Oupsie 2024-01-11 17:34:44 +01:00
4c114a34df Add online/disconnect color on Search, not finish 2024-01-11 17:34:00 +01:00
134f1a8bd1 game: advent to online 2024-01-11 17:31:15 +01:00
AdrienLSH
ddc0698605 improved link highlighting 2024-01-11 14:05:21 +01:00
AdrienLSH
49c1288a0b improved register page 2024-01-11 13:03:43 +01:00
AdrienLSH
cd82162ebe improved login page 2024-01-11 09:56:38 +01:00
8c43864b26 game: add: game map 2024-01-10 17:55:16 +01:00
AdrienLSH
6a80cd4e35 add: navbar links change when logged 2024-01-10 13:33:40 +01:00
AdrienLSH
ad20d85470 fix: loging out redirects to login page 2024-01-10 13:21:03 +01:00
AdrienLSH
196729b153 css: bootstrap files 2024-01-10 13:04:11 +01:00
AdrienLSH
2878d80358 forgot to remove a log 2024-01-09 22:16:10 +01:00
AdrienLSH
8eb54d0f14 fix: redirect to home after login 2024-01-09 19:55:55 +01:00
56d352fead merge with Xamora 2024-01-09 18:48:10 +01:00
3f63e4a571 code more readable, and fix chat 2024-01-09 18:47:27 +01:00
AdrienLSH
23b7b640da css: accounts are not for communists 2024-01-09 17:35:26 +01:00
c51f8d3500 fix: change game offline url 2024-01-09 14:54:07 +01:00
5bc847ad88 chat: fix the core update 2024-01-09 13:17:55 +01:00
AdrienLSH
0c59dd4005 css 2024-01-09 12:34:12 +01:00
97f74335d7 Merge remote-tracking branch 'refs/remotes/origin/main' 2024-01-09 12:31:54 +01:00
35859db051 game: init 2024-01-09 12:31:13 +01:00
AdrienLSH
82bdb94946 more marging cuz monkeyboi said so 2024-01-09 10:56:28 +01:00
4432214d98 Merge remote-tracking branch 'refs/remotes/origin/main' 2024-01-08 21:00:27 +01:00
476ed0b833 core: use postinit status code 2024-01-08 20:57:43 +01:00
ad50d1a179 merge with Xamora 2024-01-08 20:39:06 +01:00
a7b5040ebc Add focus on chat input 2024-01-08 18:55:30 +01:00
478456a199 patch chat 2024-01-08 17:20:15 +01:00
AdrienLSH
c1957c7667 css: a lil' bit of marging cuz why not 2024-01-05 14:41:52 +01:00
AdrienLSH
3b28e4e594 fix: remove index.css link in html 2024-01-05 14:17:56 +01:00
AdrienLSH
01d50f1d8c fix: oopsies 2024-01-05 12:17:23 +01:00
AdrienLSH
57b318ea81 del: useless shit 2024-01-05 11:58:41 +01:00
AdrienLSH
7a595d37ec add: boostrap navbar 2024-01-05 11:40:22 +01:00
58d20920ea try restore 2024-01-02 15:23:29 +01:00
862b655dab serveur down, tentative de récup 2024-01-02 15:13:55 +01:00
de3349e1c3 tmp 2023-12-28 19:26:57 +01:00
9f7b813292 chat: fix and opti 2023-12-27 16:14:39 +01:00
cfb14be945 Merge branch 'Chatte' into server 2023-12-27 09:59:19 +01:00
9bb6a32c70 tournament: add: TOURNAMENT CAN START 2023-12-26 18:24:23 +01:00
44fa122585 clean: tournament: remove debug print 2023-12-26 14:35:45 +01:00
efbcd10fb0 fix: websocket url 2023-12-26 14:28:04 +01:00
AdrienLSH
52c7d9eafb add: websocket protocol now depends on http's 2023-12-26 01:03:09 +01:00
8ba55d5be2 tournament: add: player can join tournament now 2023-12-24 16:58:36 +01:00
397344ee45 matchmaking: add: clear message if normal closure 2023-12-23 18:47:16 +01:00
39ea33cc8e fix: go to url when game found 2023-12-23 16:56:04 +01:00
8529963f97 change matchmaking to authenfied view 2023-12-23 16:49:43 +01:00
c02c49215d fix: matchmaking support start stop, multi connection 2023-12-23 16:47:22 +01:00
6c39a13aca core: recreation of matchmaking, add: matchmaking support multiple modes 2023-12-23 12:54:33 +01:00