Commit Graph

52 Commits

Author SHA1 Message Date
Sli
271d57051e Upgrade to fontawesome 6
* Adapt fontawesome usage when needed
* Fix uv guide not importing css
* Remove utf8 usage for fontawesome
2024-10-03 00:06:03 +02:00
Sli
655d72a2b1 Completely integrate wepack in django
* Migrate alpine
* Migrate jquery and jquery-ui
* Migrate shorten
* Add babel for javascript
* Introduce staticfiles django app
* Only bundle -index.js files in static/webpack
* Unify scss and webpack generated files
* Convert scss calls to static
* Add --clear-generated option to collectstatic
* Fix docs warnings
2024-10-02 16:11:02 +02:00
29bb0f6712 promote AlpineJS to global dependency 2024-08-05 17:08:30 +02:00
b25805e0a1 introduce djhtml as jinja+scss formater 2024-07-25 16:46:45 +02:00
ea8247aa16 fix broken translations 2024-07-04 11:31:36 +02:00
ef968f3673 Better usage of cache for groups and clubs related operations (#634)
* Better usage of cache for group retrieval

* Cache clearing on object deletion or update

* replace signals by save and delete override

* add is_anonymous check in is_owned_by

Add in many is_owned_by(self, user) methods that user is not anonymous. Since many of those functions do db queries, this should reduce a little bit the load of the db.

* Stricter usage of User.is_in_group

Constrain the parameters that can be passed to the function to make sure only a str or an int can be used. Also force to explicitly specify if the group id or the group name is used.

* write test and correct bugs

* remove forgotten populate commands

* Correct test
2023-05-02 12:36:59 +02:00
c1022642a2 [FIX] Fixes supplémentaires pour la màj de mars (#622)
- Les photos de l'onglet de la page utilisateur utilise désormais leur version thumbnail au lieu de leur version HD
- Une des classes du CSS du SAS a été renommée car elle empiétait sur une class de la navbar
- Le profil utilisateur a été revu pour ajouter plus d'espacement entre le tableau des cotisations et le numéro de cotisants
- Les images de forum & blouse sont de nouveau cliquable pour les afficher en grands
- Sur mobile, lorsqu'on cliquait sur le premier élément de la navbar, ce dernier avait un overlay avec des angles arrondis
- Sur mobile, les utilisateurs avec des images de profils non carrées dépassait dans l'onglet Famille
2023-04-08 20:59:43 +02:00
f605f7dcc6 Fixes pour la mise à jour de mars (#598) 2023-04-04 22:55:26 +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
6c1fa6de0b remove-useless-queries-counter-stats (#519) 2023-03-24 15:32:05 +01:00
21fc85670e hot fix: Updated variable names & comments (#461)
- Fixed a wrong condition on the users subscribing history `read` permission.
- The comments are clearer and mentions how to specify clubs by their id.
2022-08-31 20:53:08 +02:00
71c5456225 Selected club members can now see subscriptions 2022-08-31 18:39:49 +02: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
34df825718 Fix the guyguy "feature" on the profile page 2019-10-14 23:49:32 +03:00
4d3ff3e9dc user: allow subscription history to be visible when subscription is expired 2018-10-16 15:28:45 +02:00
f6968facbe user: add subscription history 2018-10-16 00:17:19 +02:00
a0a86ef8e1 Allow BDF's members to see subscriptions on users 2018-06-10 16:09:21 +02:00
be1dc62848 core: make a nice user profile 2018-06-05 00:28:43 +02:00
e3fd3b81ab Add gift function 2017-11-06 00:30:37 +01:00
dea234f98a Change is_subscriber and was_subscriber to cached_properties 2017-02-24 02:59:59 +01:00
28431ec9be Big refactor: remove Subscriber class 2016-12-10 01:58:30 +01:00
d285fbe04a Add account number and suscription on counter 2016-10-08 23:07:10 +02:00
4749c45c97 Merge branch 'sli' into 'master'
Hided launderette slots and tokens for non authorized users and added is_office and is_launderette



See merge request !8
2016-09-26 09:23:35 +02:00
380f41445a Modify property names 2016-09-22 13:07:22 +02:00
9e4e9597d1 Add the merge user function 2016-09-21 14:09:26 +02:00
748ad1c5c2 Fixed some mistakes 2016-09-21 14:01:44 +02:00
2d16b9c296 Hided launderette slots and tokens for non authorized users and added is_office and is_launderette 2016-09-21 13:33:02 +02:00
584025acf0 Quick fix to hide account number in profile page when not owner user or root 2016-09-18 22:50:10 +02:00
6aaeb7cdc9 Rename membership to memberships 2016-09-15 11:06:51 +02:00
bca8dc039a Added macros for slots and tokens display 2016-09-07 23:06:38 +02:00
61c77a7877 Added address on profile 2016-09-07 02:07:01 +02:00
c0296b9ada Added slots on user profile 2016-09-07 01:51:34 +02:00
b1f6754e6e Refactor lots of tabed templates, and create TabedViewMixin 2016-09-04 19:25:03 +02:00
c5fd9d0076 Small template fixes 2016-09-02 19:31:47 +02:00
6af16cc893 Some basic templating 2016-08-31 17:18:21 +02:00
fe2438ef0c Fix subscription right and typo 2016-08-29 19:48:29 +02:00
325da79e45 Add support for subscription typed products in eboutic 2016-08-29 03:02:13 +02:00
dbf0653baf Add support for product buying groups + many cosmetics and form pimping 2016-08-20 22:12:46 +02:00
62745e89fa User profile template fix 2016-08-20 13:57:27 +02:00
7e90e657a7 Add ajax-select app and improve some templates 2016-08-19 23:24:23 +02:00
5113d8fda5 Small user profile fix 2016-08-11 04:57:07 +02:00
43b709bfd5 Make file modale chooser and complete user profile 2016-08-11 04:30:24 +02:00
db712c86b8 Fix tests 2016-08-02 22:20:06 +02:00
7002139176 Finish the launderette click view 2016-08-02 00:32:55 +02:00
97ff4341a7 Translate most of the Sith 2016-07-19 19:03:16 +02:00
e92a73dfb1 Add basic account view for user and refactor user tool bar 2016-07-17 12:38:02 +02:00
f600e174b1 CSS and templating, Sith begins to look nice 2016-07-16 16:35:45 +02:00
6ef39257ee Fix user template 2016-05-03 09:01:54 +02:00
c3fb581f97 Refactor a bit right handling 2016-03-22 17:46:26 +01:00