Commit Graph

23 Commits

Author SHA1 Message Date
imperosol ffa4f82c7d UI/UX tweaks 2026-05-20 10:41:19 +02:00
imperosol a74f0dde39 add links to club edit page 2026-05-20 10:41:19 +02:00
imperosol fa190f6909 adapt club members pages to new club roles framework 2026-05-12 09:44:28 +02:00
klmp200 3bc4f1300e Fix link-once and script-once not triggering when another one disappears 2026-03-26 23:48:38 +01:00
imperosol eadf74604c Split ClubMemberForm into JoinClubForm and ClubAddMemberForm 2025-09-26 18:23:49 +02:00
imperosol cc58479a19 use new notifications system 2025-09-26 16:00:31 +02:00
imperosol 66cf2bd957 Better management of roles in ClubMemberForm 2025-09-26 15:49:33 +02:00
imperosol c7363de44f improve new member form style 2025-09-26 15:49:24 +02:00
imperosol fd0af3a804 HTMXify club members page 2025-09-26 15:49:24 +02:00
Thomas Girod ad4afce67f fix club members tests 2025-04-11 14:54:06 +02:00
thomas girod b25805e0a1 introduce djhtml as jinja+scss formater 2024-07-25 16:46:45 +02:00
thomas girod 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
klmp200 f72f0639ee clubs: display a message instead of a table when no member in a club 2019-04-25 17:38:17 +02:00
klmp200 68f61a432a clubs: adapt tests to new display and fix form validation issue for start_date 2019-04-25 17:31:42 +02:00
klmp200 3eb3565a63 clubs: nice display of bulk mark as old 2019-04-25 16:36:20 +02:00
klmp200 d5ad2c5141 clubs: Handle bulk add of users in clubs and refresh of the form handling 2019-04-24 03:10:42 +02:00
Skia b1f6754e6e Refactor lots of tabed templates, and create TabedViewMixin 2016-09-04 19:25:03 +02:00
Skia c62d3f4f4a Add old membership views 2016-09-02 21:21:57 +02:00
Skia 29f565f514 Improve club templates 2016-09-02 09:23:21 +02:00
Skia 6af16cc893 Some basic templating 2016-08-31 17:18:21 +02:00
Skia 97ff4341a7 Translate most of the Sith 2016-07-19 19:03:16 +02:00
Skia ed080b76a2 WIP: Club member form 2016-02-04 08:59:03 +01:00
Skia d51ab088d8 Add first club views, this still sucks, particularly on the right managment 2016-02-02 16:34:36 +01:00