18 Commits

Author SHA1 Message Date
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
thomas girod
3f2b63aaa5 move forum style into its own file 2024-09-27 11:21:33 +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
fc7e45190d forum: use pure jinja for search bar 2018-12-13 20:33:34 +01:00
Soldat
a9bae46f45 changed design 2018-12-13 20:33:34 +01:00
525b047b4f forum: display search bar on every forum pages 2018-12-13 20:33:34 +01:00
Grégoire Duvauchelle
9b8a881914 Add haystack index, and a view for forum search (WIP) 2018-12-13 20:33:34 +01:00
Skia
606f1af4d5 forum: add favorite topics
Signed-off-by: Skia <skia@libskia.so>
2018-02-22 22:28:28 +01:00
Skia
f47f846d26 forum: add button CSS class
Signed-off-by: Skia <skia@libskia.so>
2018-02-22 22:15:10 +01:00
Skia
d7135e4d27 Make a lot of pimp in the Forum 2017-05-30 19:33:09 +02:00
Skia
f262014f9b Some various forum fixes and improvements 2017-02-24 04:37:01 +01:00
Skia
138711c70c Some tiny fixes in the forum 2017-02-24 01:50:00 +01:00
Skia
254126fd79 Add last unread function 2017-02-06 20:20:39 +01:00
Skia
4cc57c183e Add some better right management to forum 2017-01-28 20:58:54 +01:00
Skia
93f5096140 Improve forum style and templates 2017-01-21 12:28:32 +01:00
Skia
4dd6f01e60 Add Ariadne's thread 2017-01-21 04:19:15 +01:00
Skia
ea52462217 Add Forum 2017-01-21 03:42:06 +01:00