imperosol
d0b1a49300
deprecate CanCreateMixin
...
Les motifs de cette déprécation sont indiqués dans la documentation.
Le mixin a été remplacé par `PermissionRequiredMixin` dans les endroits où ce remplacement était aisé.
2025-01-13 18:20:29 +01:00
imperosol
551091f650
add PermissionOrAuthorRequiredMixin
2025-01-13 15:45:58 +01:00
imperosol
0c01ad1770
Move core auth mixins to their own file
2025-01-13 15:45:55 +01:00
imperosol
cba915c34d
Move core views mixins to their own file
2025-01-13 15:45:27 +01:00
imperosol
9f35f5356b
fix NewsQuerySet.viewable_by
2025-01-10 22:08:28 +01:00
imperosol
8d73ec797b
remove unwanted translation
...
Django ne traduit pas ses permissions. Si on traduit les nôtres, ça devient inconsistant
2025-01-10 22:08:28 +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
imperosol
895d51586e
put com forms in their own file
2025-01-10 22:08:10 +01:00
29e875bcde
Fix election display on mobile and add missing signal for news deletion
2025-01-08 09:32:24 +01:00
25298518bc
fix: wrong link for ae dev discord
2025-01-05 17:25:23 +01:00
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
imperosol
348ab19ac6
small form fixes
...
le `display:block` avait disparu des helptext, ce qui rendait leur affichage bizarre. Et il manquait quelques détails sur le `ProductForm`
2025-01-05 15:40:41 +01:00
2749a88704
Basic test for internal calendar
2025-01-05 01:36:41 +01:00
eb3db134f8
Test external calendar caching
2025-01-05 01:32:54 +01:00
fa7f5d24b0
Test external calendar api
2025-01-05 01:04:11 +01:00
ba76015c71
Use a newer ical library
2025-01-04 23:12:34 +01:00
1887a2790f
Move IcsCalendar to it's own file
2025-01-04 23:08:09 +01:00
5d0fc38107
Make social icons links pretty
2025-01-04 23:08:09 +01:00
65df55a635
Use signals to update internal ics
2025-01-04 23:08:09 +01:00
a60e1f1fdc
Create dedicated class to manage ics calendar files
2025-01-04 23:08:09 +01:00
0a0f44607e
Return calendars as real files
2025-01-04 23:08:09 +01:00
a13e3e95b7
Harmonize titles on front page
2025-01-04 23:08:09 +01:00
169938e1da
Replace old agenda of event with links to services and change permission to see birthdays
2025-01-04 23:08:09 +01:00
e5fb875968
Add support for event location and more detail link
2025-01-04 22:52:17 +01:00
9bd14f1b4e
Refactor popup creation
2025-01-04 22:51:45 +01:00
fd2295119d
nice looking popup with well aligned icon
2025-01-04 22:51:45 +01:00
eac2709e86
Create basic (ugly) event detail popup
2025-01-04 22:51:45 +01:00
48f6d134bf
Fix news page layout
2025-01-04 22:51:45 +01:00
6d7467e746
Make new calendar look like the iframe one
2025-01-04 22:51:44 +01:00
0d1629495b
Refactor com scss and add basic unified event calendar
2025-01-04 22:51:44 +01:00
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
8c660e9856
Make core.User
inherit from AbstractUser
instead of AbstractBaseUser
2024-12-19 10:39:04 +01:00
imperosol
17e4c63737
refactor news model and creation form
2024-12-18 15:54:10 +01:00
8a8851847c
Passage de webpack à vite.dev
2024-11-19 21:22:14 +01:00
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
f78b968075
Move markdown input and select widgets to a widget folder
2024-10-20 01:05:34 +02:00
thomas girod
d16a207a83
Add more Ruff rules ( #891 )
...
* ruff: apply rule F
* ruff: apply rule E
* ruff: apply rule SIM
* ruff: apply rule TCH
* ruff: apply rule ERA
* ruff: apply rule PLW
* ruff: apply rule FLY
* ruff: apply rule PERF
* ruff: apply rules FURB & RUF
2024-10-15 11:36:26 +02:00
7405241b82
Apply all biomejs fixes
2024-10-08 17:14:22 +02:00
imperosol
20bea62542
use spaces for indentation
2024-10-08 13:54:44 +02:00
d0c18d4538
Format with biome instead of standard
2024-10-08 01:49:15 +02:00
c57d2ece9c
Apply standard formater and linter on js files
2024-10-07 00:04:48 +02:00
thomas girod
f6be360eab
Merge pull request #857 from ae-utbm/fix-slideshow
...
Fix slideshow
2024-10-03 22:51:25 +02:00
thomas girod
a4fe4996aa
Merge pull request #834 from ae-utbm/real-name
...
Restore real name
2024-10-03 10:12:23 +02:00
fbcacb24f8
Fix broken screen slideshow
2024-10-03 01:05:56 +02:00
thomas girod
0eaa20e09d
fix localdate issues
2024-10-03 00:25:22 +02:00
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
9c93162741
Add missing files
2024-09-23 10:25:27 +02:00
6068c6048a
Use real name of the website once again
2024-09-23 01:37:25 +02:00