Commit Graph

70 Commits

Author SHA1 Message Date
AdrienLSH
17bcee764b profiles: online status and friend rework 2024-05-07 19:53:28 +02:00
AdrienLSH
73828bbd8e fix(profiles): cannot access profile if user is anonymous 2024-05-07 13:25:16 +02:00
AdrienLSH
737b6fc194 profiles: online fix status when requesting itself 2024-04-29 15:35:48 +02:00
AdrienLSH
4351c335cb fix(profiles): online null when not authenticated 2024-04-28 09:50:38 +02:00
AdrienLSH
743988c883 profiles: get online status if friend 2024-04-26 16:20:15 +02:00
AdrienLSH
5f58b65a34 notice but without the t 2024-04-25 15:45:32 +02:00
AdrienLSH
8c8847cdd8 profiles: friend and block through profile page :)) 2024-04-22 18:05:09 +02:00
AdrienLSH
9f61cda73f profiles: friend requests 2024-04-18 11:40:42 +02:00
AdrienLSH
5a2da91d6e profiles: use of OneToOneField to access profile through user 2024-04-18 09:29:36 +02:00
630ef709ab core: tournament 2024-04-16 19:13:18 +02:00
AdrienLSH
14886c8ac9 blocks: List comprehension for retrieving profiles 2024-04-16 14:30:00 +02:00
AdrienLSH
73ecea242e block: use of blocker instead of querying the db again 2024-04-16 14:01:13 +02:00
AdrienLSH
42917dfb9f fix: get blocks 2024-04-16 13:59:56 +02:00
AdrienLSH
0f9a4d1690 profiles: rearranged models 2024-04-16 13:24:34 +02:00
0127a22a46 fix: friend: cannot add yourself 2024-04-09 13:57:17 +02:00
b4dccfb83e add: test: friend 2024-04-09 13:56:56 +02:00
0a9820f762 fix: block 2024-04-09 13:26:29 +02:00
84833d5c9f add: block unit test 2024-04-09 13:26:20 +02:00
AdrienLSH
90d179eb72 profiles: friends reworked 2024-04-09 13:12:15 +02:00
c1624cce83 fix: profile: block: fix test and simplify code 2024-04-08 13:00:46 +02:00
AdrienLSH
9bbe5a4705 clean: project is healthy now :) 2024-04-07 18:48:36 +02:00
AdrienLSH
80e7335c8d profiles(block): get profiles of blocked users 2024-04-07 17:43:30 +02:00
AdrienLSH
8912e39fa4 profiles: block rework and tests 2024-04-07 16:58:29 +02:00
AdrienLSH
13a078eb82 profiles: serializers representation to parse avatar url 2024-04-07 15:50:36 +02:00
AdrienLSH
51f8dfcaa3 clean: profile viewsets 2024-04-07 14:27:07 +02:00
AdrienLSH
4238b3d2be settings: avatar & username (& little stuff too) 2024-03-11 15:47:36 +01:00
AdrienLSH
cf27f8b9a0 fix: profiles: avatar upload file extension 2024-03-06 12:53:22 +01:00
AdrienLSH
8f1979bd21 profiles: del profile picture on account deletion 2024-02-26 14:01:33 +01:00
AdrienLSH
b66088fe69 pp upload: image verification using serializers 2024-02-08 17:21:26 +01:00
AdrienLSH
68df50cbeb profiles: avatar_url becomes avatar 2024-02-08 15:58:13 +01:00
AdrienLSH
f6bb48e772 the tabulations must die 2024-02-08 12:48:25 +01:00
AdrienLSH
55d3ea40f6 ux: Me becomes Settings; backend: fix special usernames (me, block...) 2024-02-08 10:09:36 +01:00
AdrienLSH
9e86af9826 pp upload: size limit in django settings 2024-02-08 08:54:13 +01:00
AdrienLSH
a265c0bd19 fix: 2MB size limit on profile picture upload 2024-02-07 21:53:36 +01:00
8c7c5a3637 Sous une nuit étoilé, dans la capitale où les habitants font grèves en boucle, un jeune homme du nom d'Adrien, plein d'espoir espérant une douce nuit auprès de sa belle et tendre 'Princesse'. Acheta des capotes premier prix dans la pharmacie non loin de la gare. La suite au prochain commit... 2024-02-01 12:57:32 +01: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
fe47a4d633 Block fixed, looking for invite in game 2024-01-19 16:48:20 +01:00
13c49ed3c3 game: core: replace is_in_game to get_game 2024-01-19 13:32:21 +01:00
c0efa07144 games: add: is_in_game method 2024-01-19 13:30:15 +01:00
AdrienLSH
dee71c7c8d access profiles with username instead of id 2024-01-18 10:31:56 +01:00
ad50d1a179 merge with Xamora 2024-01-08 20:39:06 +01:00
478456a199 patch chat 2024-01-08 17:20:15 +01:00
4739afbaf0 block: fix: .exists() 2023-12-28 11:32:49 +01:00
cfb14be945 Merge branch 'Chatte' into server 2023-12-27 09:59:19 +01:00
4fd6616786 add block option 2023-12-20 23:48:52 +01:00
be43e45947 fix: profiles test 2023-12-20 22:37:44 +01:00
288252ab37 remove: useless function 2023-12-20 21:10:24 +01:00
acba77e228 Réarrangement du code; correction css; écriture uniquement du nouveau message 2023-12-19 11:27:18 +01:00
ceed7c2c4a fix: profile page 2 2023-12-17 20:29:04 +01:00