40 Commits

Author SHA1 Message Date
Kenneth SOARES
5ca1f03d9d ics help button 2025-05-11 15:23:11 +02:00
Sli
a01ea13f5b Fix crash when no news is available 2025-02-25 18:09:11 +01:00
Sli
10701ccdfa Synchronize calendar moderation and news list moderation 2025-02-25 18:09:11 +01:00
Sli
07028c8dd8 Harmonize news date display 2025-02-25 18:09:11 +01:00
Sli
4890fcf0e1 Rename news moderate to publish 2025-02-25 18:09:08 +01:00
Sli
2e71275f5b Connect calendar moderation with outside moderation 2025-02-25 15:35:01 +01:00
Sli
a1bf86dabf Add moderation through calendar widget 2025-02-25 14:37:18 +01:00
imperosol
71b3588577 Add a "see more" button on news dates list 2025-02-25 08:56:45 +01:00
imperosol
fc3b82c35c Make upcoming nws scrollable on y-overflow 2025-02-25 08:55:35 +01:00
imperosol
5252d450a9 remove alpine instructions for moderated news 2025-02-15 14:04:57 +01:00
imperosol
6627ea417c News moderation buttons directly on the home page 2025-02-15 14:04:43 +01:00
imperosol
92b2befd55 Improve news list display 2025-02-15 14:04:32 +01:00
Sli
dd2cd0a18d Add atom/rss news feed 2025-01-19 18:22:02 +01:00
imperosol
c3fc8538cc rework news form 2025-01-10 22:08:24 +01:00
Sli
29e875bcde Fix election display on mobile and add missing signal for news deletion 2025-01-08 09:32:24 +01:00
Sli
25298518bc fix: wrong link for ae dev discord 2025-01-05 17:25:23 +01:00
Sli
a8702d4f5e Improve welcome page
* Improve code readability of calendar details
* Add link to AE Dev discord in useful links
* Add link to github at the bottom
2025-01-05 16:42:26 +01:00
Sli
5d0fc38107 Make social icons links pretty 2025-01-04 23:08:09 +01:00
Sli
169938e1da Replace old agenda of event with links to services and change permission to see birthdays 2025-01-04 23:08:09 +01:00
Sli
48f6d134bf Fix news page layout 2025-01-04 22:51:45 +01:00
Sli
0d1629495b Refactor com scss and add basic unified event calendar 2025-01-04 22:51:44 +01:00
imperosol
fa66851889 fix n+1 queries on birthdays 2024-12-21 21:09:08 +01: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
Julien Constant
1f10a284f2
Added GA/Clubs Google Calendar to main page (#585)
* Added GA/Clubs google calendar to main page

* Made tables full width
2023-04-03 15:54:12 +02:00
Skia
89979dbf61 com: news list: fix UI for admins 2021-10-03 19:08:14 +02:00
Skia
1b688a8aa5 Add a first version of a mobile friendly UI
Although not perfect and with many flaws, this should still allow far
easier navigation on mobile devices.
2021-10-01 18:44:14 +02:00
94b029dc9c
cache: fix error 500 with new django version 2020-06-12 20:44:37 +02:00
9181e77d55
core: add some cache on birthdays and counters_activity 2019-09-09 01:20:15 +02:00
Cyl
9e0c4e70d4 [COM] Make the news visible for non-authenticated user and birthday visible for subriber only 2019-08-28 20:40:31 +02:00
3089b484d3 Enhanced news 2017-10-02 14:29:36 +02:00
Skia
b87990e3db com: add birthdays block
Signed-off-by: Skia <skia@libskia.so>
2017-09-26 13:45:40 +02:00
Skia
cda89d66cd com: improve news page
Signed-off-by: Skia <skia@libskia.so>
2017-09-26 12:13:23 +02:00
Skia
6456d18fc4 core, com: tool bar and agenda design updates
Signed-off-by: Skia <skia@libskia.so>
2017-09-03 19:05:45 +02:00
Skia
4edb9a78c6 com: add agenda on news page
Signed-off-by: Skia <skia@libskia.so>
2017-09-01 12:22:38 +02:00
Skia
0a84ef8438 Allow to unmoderate news 2017-05-13 18:32:13 +02:00
Skia
6a815e5a21 Small news improvement and bug fixes 2017-04-12 21:08:51 +02:00
Skia
1dc1a0a42c Add news moderation tool 2016-12-23 18:40:37 +01:00
Skia
c95e7565e7 Make news translations 2016-12-23 03:17:38 +01:00
Skia
1ca6bf7c62 Add news system, still miss nices templates and moderation tools 2016-12-23 03:02:46 +01:00