Commit Graph

94 Commits

Author SHA1 Message Date
Sli
e041da9cf4 Remove unnecessary complex anonymous callback on poster list 2025-09-25 22:07:29 +02:00
Sli
7eaf25a64f Remove QuikNotifMixin 2025-09-25 16:02:56 +02:00
Sli
d87b069769 Apply review comments 2025-09-23 10:28:05 +02:00
Sli
4701c0804b Fix slideshow transition 2025-09-22 23:06:18 +02:00
Sli
95e6fff98b Migrate poster view to alpine 2025-09-22 14:30:23 +02:00
Sli
dff23fae7f Migrate slideshow to alpine 2025-09-22 13:26:28 +02:00
imperosol
83c96884d8 add missing meta description tags 2025-09-01 18:20:27 +02:00
Sli
b19973ec9c Move ts files at the wrong place in com module 2025-06-16 09:05:19 +02:00
imperosol
c7e4de7df2 fix: datetime format in main page news list 2025-06-14 11:54:58 +02:00
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
01c92feb40 fix warning message display on subsequently loaded news 2025-02-25 11:53:02 +01:00
imperosol
94d2c5660a move hybrid translation to full front translation 2025-02-25 11:10:05 +01:00
imperosol
71b3588577 Add a "see more" button on news dates list 2025-02-25 08:56:45 +01:00
imperosol
2def57d82c Close alerts related to a moderated event 2025-02-25 08:55:35 +01:00
imperosol
fc3b82c35c Make upcoming nws scrollable on y-overflow 2025-02-25 08:55:35 +01:00
imperosol
b43b531c3b Add a disclaimer when moderating weekly news 2025-02-15 14:06:01 +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
imperosol
d3f21c8f16 remove news event type 2025-01-10 22:08:10 +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
Sli
63839dc22b Fix poster edition and display bug 2025-01-04 22:51:44 +01:00
imperosol
fa66851889 fix n+1 queries on birthdays 2024-12-21 21:09:08 +01:00
imperosol
17e4c63737 refactor news model and creation form 2024-12-18 15:54:10 +01:00
Sli
8a8851847c Passage de webpack à vite.dev 2024-11-19 21:22:14 +01:00
Sli
7b41051d0d Go for a more generic js bundling architecture
* Don't tie the output name to webpack itself
* Don't call js bundling webpack in python code
* Make the doc more generic about js bundling
2024-11-19 21:22:14 +01:00
Sli
7405241b82 Apply all biomejs fixes 2024-10-08 17:14:22 +02:00
Sli
fbcacb24f8 Fix broken screen slideshow 2024-10-03 01:05:56 +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
thomas girod
ff088009d9 move static files in their respective application 2024-08-26 22:34:31 +02:00
thomas girod
b25805e0a1 introduce djhtml as jinja+scss formater 2024-07-25 16:46:45 +02:00
Julien Constant
d16bf12611 Links update & translations typos fixes (#671)
* Remove BDF link (as BDF is now part of AE)

* Remove unused pages

* Fix typos

* Fix typo again
2023-10-10 15:29:02 +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
thomas girod
639197f4c8 update some dependencies (#523) 2022-12-15 23:57:31 +01:00
Skia
89979dbf61 com: news list: fix UI for admins 2021-10-03 19:08:14 +02:00