Commit Graph

98 Commits

Author SHA1 Message Date
8c660e9856 Make core.User inherit from AbstractUser instead of AbstractBaseUser 2024-12-19 10:39:04 +01:00
6a64e05247 select inactive users 2024-10-11 09:45:54 +02:00
2ac578c3ad ruff rule DJ
Co-authored-by: Bartuccio Antoine <klmp200@users.noreply.github.com>
2024-07-08 15:37:10 +02:00
f941435232 ruff rule C4 2024-07-08 15:37:10 +02:00
cfc19434d0 ruff rules UP008 and UP009 2024-07-08 15:37:09 +02:00
bf18284450 apply forgotten migrations 2024-07-04 11:31:36 +02:00
3143d3d91a reorganize imports with ruff 2024-06-26 12:35:38 +02:00
b5a40cfda9 Mise à jour de Black vers la version 23.3 (#629) 2023-04-22 15:32:31 +02:00
28f397574f Amélioration des pages utilisateurs pour les petits écrans (#578, #520)
- Refonte de l'organisation des pages utilisateurs (principalement du front)
  - Page des parrains/fillots
  - Page d'édition du profil
  - Page du profil
  - Page des outils
  - Page des préférences
  - Page des stats utilisateurs

- Refonte du CSS / organisation de la navbar principale (en haut de l'écran)
- Refonte du CSS de la navbar bleu clair (le menu)
- Refonte du CSS du SAS :
  - Page de photo
  - Page d'albums
2023-03-30 14:38:40 +02:00
Cel
f66db0859e Fix pronouns field being mandatory 2021-11-18 09:07:19 +00:00
6390c3320e Applied black on migration 2021-11-05 20:40:20 +01:00
b8aabc466c Fixed locales
+Pronoun description on the user's profile

Signed-off-by: Ailé <03ht@theodurr.fr>
2021-11-05 20:28:37 +01:00
4fbee9c3de Make pronouns visible on profile and miniprofile 2021-10-13 08:59:40 +02:00
1f7752d457 Add pronouns to profile ; Update gender settings
Add pronouns to option list in profile
Modify "Sex" translation to "Genre"
Added "Other" to sex option list (alongside Man and Woman)

update DB,add default value to Pronouns field

Update views.py
2021-10-06 14:12:34 +02:00
26a07f722d Remove gender option of matmatronche & update gender settings 2020-02-16 17:51:51 +01:00
1c03ce621f core: remove default value for OperationLog 2019-11-14 16:11:20 +01:00
e634cda318 core/counter: add generic operation logs and implements it for Sellings and Refilling deletions 2019-11-14 01:14:44 +01:00
90921fd4cd django2.2: some migrations to make django happy 2019-10-08 22:46:03 +02:00
f7548ab8d1 django2.2: add on_delete on migrations for OneToOneField 2019-10-08 22:46:03 +02:00
3cb306bc91 django2.2: add on_delete on migrations for ForeignKey 2019-10-08 22:46:03 +02:00
f1b3a174b6 core: improve performances on notification reads and display 2019-09-09 00:45:08 +02:00
83e225a744 core: add index on folder and sas properties of SithFile to speed up SAS 2019-09-06 16:16:03 +02:00
6e7d351e8e pedagogy: send notification to pedagogy admins at comment report 2019-07-04 15:32:00 +02:00
cb58b00b6e All: Apply Black coding rules 2018-10-05 21:52:55 +02:00
9146251642 Prevent generation of useless migrations upon settings change 2018-05-08 18:51:29 +02:00
72d2862e3e Posters now working + notifications for com admin 2017-12-16 20:48:36 +01:00
e3fd3b81ab Add gift function 2017-11-06 00:30:37 +01:00
4026d076b3 Forgoten migration from skia and fixed migration 2017-10-06 11:09:30 +02:00
db509bf060 Nice club presentation 2017-10-06 11:09:30 +02:00
0184b9c29b core, com: make permanent notifications for news to moderate
This needs to be made for other stuff, like the SAS or the files...

Signed-off-by: Skia <skia@libskia.so>
2017-09-06 13:17:23 +02:00
9f259b35bd core, counter: add preferences for counter notifications
Signed-off-by: Skia <skia@libskia.so>
2017-09-02 12:42:07 +02:00
4f6109e27c Refactor mailings email 2017-08-22 22:39:12 +02:00
d179a0a6d0 Fix typo and merge migrations 2017-08-22 15:36:39 +02:00
39b32d456c Some com templates improvments and reordering some models 2017-03-24 09:19:15 +01:00
ae0b7699f3 Finish weekmail, and fix preferences page 2017-01-15 23:02:03 +01:00
83555a3640 Add preferences and improve weekmail 2017-01-15 22:58:38 +01:00
df7b0a5ffe Clean migrations for news system 2016-12-24 02:12:46 +01:00
4edd535460 Change DateField to DateTimeField to improve indexing efficency 2016-12-20 16:28:30 +01:00
0859648bd4 Add cut/paste function in files 2016-12-13 00:45:38 +01:00
8b63fa9aea Store file moderator 2016-12-12 17:23:06 +01:00
1649d14518 Fix migration scripts 2016-12-10 00:30:52 +01:00
d92a706920 Refactor notifications 2016-12-10 00:06:17 +01:00
80fa99d2ac Add notification 2016-12-08 19:47:28 +01:00
cfbb6f4e1f Lot of small improvement in SAS 2016-11-25 13:47:09 +01:00
0b23d39e15 Fix migrations after rebase 2016-11-23 11:55:10 +01:00
da35292cd5 Add is_in_sas field, to perform queries on it 2016-11-23 11:46:45 +01:00
869634d6e1 Add thumbnail generation 2016-11-23 11:46:45 +01:00
22ab21e4e1 Add picture-people relation and ask for removal thing 2016-11-23 11:46:45 +01:00
157b1e4c78 Add file moderation tool 2016-11-23 11:46:45 +01:00
9e32840549 Add file moderation tool 2016-11-23 00:51:20 +01:00