Commit Graph

139 Commits

Author SHA1 Message Date
thomas girod
813bbbb94a preload images and identifications 2024-09-17 12:23:13 +02:00
thomas girod
a2a858262a apply review comments 2024-09-17 12:23:13 +02:00
Sli
727e5cb199 Dummy data on default current_picture to avoid javascript errors 2024-09-17 12:23:13 +02:00
Sli
71602b43bd implement back feature on sas ajax view 2024-09-17 12:23:13 +02:00
thomas girod
bc40b92744 completely ajaxify the picture page 2024-09-17 12:23:13 +02:00
thomas girod
d545becf24 add spinner during loading 2024-09-17 12:17:21 +02:00
thomas girod
48f605dbe0 Use select2 for user picture identification 2024-09-17 12:17:17 +02:00
thomas girod
ed4c65600c fix image extension 2024-09-14 18:45:12 +02:00
thomas girod
e2b42145e1
Merge pull request #819 from ae-utbm/fix-delete-picture
fix undeletable SAS pictures
2024-09-10 23:12:59 +02:00
thomas girod
55ad1f99fd fix undeletable SAS pictures 2024-09-10 21:38:13 +02:00
thomas girod
d148d6b3a5 unify album name length 2024-09-08 13:30:23 +02:00
thomas girod
6962b39fc9 use typing.Self for custom queryset methods 2024-09-02 01:03:46 +02:00
thomas girod
dd07c374d7 convert uploaded images to webp 2024-09-01 19:05:54 +02:00
thomas girod
cc1d700f7d add forgotten migration 2024-08-29 11:57:09 +02:00
thomas girod
ff088009d9 move static files in their respective application 2024-08-26 22:34:31 +02:00
thomas girod
68d0a16d1c
Merge pull request #782 from ae-utbm/ajax-navigation-history
Ajax navigation history in uv guide
2024-08-26 22:29:19 +02:00
thomas girod
4036bfd703
Merge pull request #775 from ae-utbm/user-pictures-ajax
Render user picture page with ajax to improve performances
2024-08-18 12:40:07 +02:00
Sli
2a6c1f050d Create a paginate_alpine macro 2024-08-11 15:11:51 +02:00
Sli
589119c9ee Improve update_query_string with enum action 2024-08-10 23:32:50 +02:00
Sli
b35e1a476e Fix back function in album pagination 2024-08-10 18:38:04 +02:00
thomas girod
72ea6b6fdd fix crash on album fetch & test 2024-08-10 00:46:40 +02:00
Sli
0eeaf1ce21 Render user picture page with ajax to improve performances 2024-08-09 18:09:58 +02:00
thomas girod
9163e4dee6 fix SAS album display 2024-08-09 18:08:36 +02:00
thomas girod
3ef38fabdb fix picture navigation 2024-08-09 17:34:35 +02:00
thomas girod
7ea9a5ca2d improved feedback when loading ajax content 2024-08-09 11:58:26 +02:00
thomas girod
20c015c312 improved UX 2024-08-09 11:58:26 +02:00
thomas girod
00dc03a235 fix rights on albums and next/previous pictures 2024-08-08 13:35:48 +02:00
thomas girod
d3b203a4a1 change cache on picture download 2024-08-08 11:50:45 +02:00
thomas girod
4506440a62 add PictureQuerySet.viewable_by(user) method 2024-08-08 11:50:45 +02:00
thomas girod
da6bd84cdf restify album view 2024-08-08 11:50:45 +02:00
thomas girod
0b9ccf6a57 paginate GET /api/sas/picture 2024-08-08 11:50:45 +02:00
thomas girod
29bb0f6712 promote AlpineJS to global dependency 2024-08-05 17:08:30 +02:00
thomas girod
946f35c601
Merge pull request #752 from ae-utbm/autocomplete-admin
use autocomplete_fields in admin
2024-08-01 13:01:27 +02:00
thomas girod
eef15e05f4 use autocomplete_fields in admin 2024-08-01 11:27:54 +02:00
Sli
f265346a10 Sort pictures by album in zip file 2024-07-31 12:01:08 +02:00
thomas girod
424639ea80 better scss 2024-07-26 15:55:15 +02:00
thomas girod
043dcfb283 add tests 2024-07-26 14:25:26 +02:00
thomas girod
191b05c305 Fix button to remove a user from picture 2024-07-25 23:31:54 +02:00
thomas girod
215fdce411 Fix button to remove a user from picture 2024-07-25 23:29:12 +02:00
thomas girod
b25805e0a1 introduce djhtml as jinja+scss formater 2024-07-25 16:46:45 +02:00
Sli
fee7ade1a5 Harmonize test names 2024-07-24 00:50:48 +02:00
Sli
0c566cfbde Add picture size in sas api 2024-07-24 00:44:09 +02:00
thomas girod
cb1aa8bef0 add tests 2024-07-23 20:36:57 +02:00
thomas girod
3046438cb1 replace drf by django-ninja 2024-07-23 19:57:33 +02:00
thomas girod
8c69a94488 use google convention for docstrings 2024-07-21 00:57:04 +02:00
thomas girod
f941435232 ruff rule C4 2024-07-08 15:37:10 +02:00
thomas girod
171a1cb876 ruff rule FBT 2024-07-08 15:37:09 +02:00
thomas girod
cfc19434d0 ruff rules UP008 and UP009 2024-07-08 15:37:09 +02:00
thomas girod
3143d3d91a reorganize imports with ruff 2024-06-26 12:35:38 +02:00
Sli
e1bf7caa9a Fix CVE-2023-31047 2024-06-24 13:27:22 +02:00