Commit Graph

2845 Commits

Author SHA1 Message Date
Bartuccio Antoine
61170c0918
Merge pull request #1000 from ae-utbm/imghdr
Remove call to deprecated `imghdr` module
2025-01-14 18:00:19 +01:00
Bartuccio Antoine
80940765fe
Merge pull request #1002 from ae-utbm/perms
Permissions refactor
2025-01-14 17:58:22 +01:00
Bartuccio Antoine
9d98a20e40
Merge pull request #1004 from ae-utbm/js-upgrade
Upgrade js dependencies
2025-01-14 17:57:48 +01:00
Sli
6f9f1ac1e7 Upgrade js dependencies
* biomejs
 * hey-api
 * vite
 * threejs
 * other minor upgrades
2025-01-14 17:17:41 +01:00
imperosol
71b096f9ef Apply review comment 2025-01-14 17:17:31 +01:00
imperosol
9272f53bea fix doc display 2025-01-14 17:14:59 +01:00
imperosol
9b5f08e13c Improve permission documentation 2025-01-13 18:20:29 +01:00
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
e500cf92ee Remove SubscriberMixin 2025-01-13 15:57:01 +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
7ac41ac5cb remove UserIsRootMixin 2025-01-13 15:45:23 +01:00
imperosol
c6bb509fc3 remove call to deprecated imghdr module 2025-01-12 15:00:17 +01:00
thomas girod
4d0d7adce1
Merge pull request #998 from ae-utbm/simpler-com
Rework news creation form
2025-01-11 20:47:21 +01:00
thomas girod
6bcc420af1
Merge pull request #969 from ae-utbm/default-groups
Give default groups to users
2025-01-11 20:44:39 +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
600657b1a8 get_end_of_semester util function 2025-01-10 22:08:10 +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
Bartuccio Antoine
e200f28267
Merge pull request #1001 from ae-utbm/counter
Fix selling ordering bug that created "not enough money" errors
2025-01-10 16:39:44 +01:00
Sli
a4c6439981 Fix selling ordering bug that created "not enough money" errors
* Add tests
* Add tests for cons/dcons
2025-01-10 16:35:42 +01:00
Bartuccio Antoine
6ee2e8c5da
Merge pull request #996 from ae-utbm/elections
Remove shorten dependency and use clip instead
2025-01-10 15:41:31 +01:00
Sli
f4af29acb4 Fix missing translation 2025-01-10 15:34:46 +01:00
imperosol
a8810816f0 Give the public group to newly created users 2025-01-10 02:23:07 +01:00
imperosol
b7bf3fd375 Give the old_subscribers group when subscribing 2025-01-10 02:12:17 +01:00
thomas girod
b26e85ebb2
Merge pull request #999 from ae-utbm/fix-perms
fix ban page access
2025-01-10 01:41:19 +01:00
imperosol
8b8a295e16 fix ban page access 2025-01-10 01:29:24 +01:00
Bartuccio Antoine
894690a97f
Merge pull request #997 from ae-utbm/counter
Fix inconsistent search behavior on counter click codes
2025-01-09 22:32:59 +01:00
Bartuccio Antoine
843ce2e3a7
Merge pull request #990 from ae-utbm/jquery
Remove some jquery
2025-01-09 22:32:39 +01:00
Sli
9f33ddd883 Fix inconsistent search behavior on counter click codes 2025-01-09 01:04:11 +01:00
Sli
a2dc4f1964 Create a new better script for showing more/less 2025-01-08 14:51:14 +01:00
thomas girod
cca486f2b9
Merge pull request #995 from ae-utbm/elections
Fix election display on mobile and add missing signal for news deletion
2025-01-08 09:42:18 +01:00
thomas girod
b9e27ef191
Merge pull request #976 from ae-utbm/tom-select-style
make ajax select appearance consistant with other inputs
2025-01-08 09:40:31 +01:00
Sli
29e875bcde Fix election display on mobile and add missing signal for news deletion 2025-01-08 09:32:24 +01:00
thomas girod
4226ba88ae
Merge pull request #993 from ae-utbm/elections
Quick fix for election display
2025-01-08 08:55:22 +01:00
Sli
672bc91e36 Quick fix for election display 2025-01-08 03:17:18 +01:00
Bartuccio Antoine
bc9cb9b36c
Merge pull request #992 from ae-utbm/uv
Fix install documentation
2025-01-06 22:30:32 +01:00
Sli
edafc06c3f Fix install documentation 2025-01-06 22:26:46 +01:00
Bartuccio Antoine
134f8a7989
Merge pull request #991 from ae-utbm/uv
Switch from poetry to uv
2025-01-06 22:19:19 +01:00
Sli
771cbdbd77 More explicit uv install steps 2025-01-06 21:59:36 +01:00
Sli
a491baddb9 Apply review comments 2025-01-06 20:13:41 +01:00
Sli
8d10a5e0ab Update deploy scripts to uv 2025-01-06 16:17:56 +01:00
Sli
cbe42d3a60 Add caching for virtualenv 2025-01-06 16:17:56 +01:00
Sli
0c4d72e17a Switch from poetry to uv 2025-01-06 16:17:54 +01:00
Sli
2db3290bed Remove some jquery 2025-01-05 20:17:30 +01:00
Bartuccio Antoine
429df81ec9
Merge pull request #989 from ae-utbm/counter
Make code matching rank first in counter click
2025-01-05 19:05:10 +01:00
Sli
bb24516474 Make code matching rank first in counter click 2025-01-05 18:54:54 +01:00