Commit Graph

110 Commits

Author SHA1 Message Date
imperosol 52117b5a24 add og tags to sas main page
Quand quelqu'un qui n'a pas le droit tente d'accéder au SAS, il reçoit un HTTP 200 au lieu d'un 403. C'est pas forcément le plus pertinent, mais autant en profiter pour mettre les tags og.
2026-04-22 15:02:03 +02:00
imperosol ae72a2e00f improve SAS picture tools style 2026-04-22 15:02:03 +02:00
imperosol 84ed180c1e refactor sas moderation view permission 2026-03-09 16:04:19 +01:00
imperosol 9a311d8cee fix: pictures download button
fix #1225
2025-11-07 14:30:11 +01:00
imperosol 2a30f30a31 feat: cache user pictures 2025-09-26 22:44:26 +02:00
imperosol 83c96884d8 add missing meta description tags 2025-09-01 18:20:27 +02:00
imperosol f38926c4a3 fix: user pictures ordering 2025-06-25 16:25:51 +02:00
imperosol 75b37cd6e3 fix album grouping on user pictures page 2025-06-16 18:36:08 +02:00
imperosol ccd4275b02 fix 500 on SAS main page for anonymous users 2025-04-17 09:00:22 +02:00
imperosol 13f417ba30 Use Alpine and the API for SAS picture upload 2025-04-08 15:59:30 +02:00
imperosol b83fbf91e1 extract album creation form into its own fragment 2025-04-08 15:59:30 +02:00
imperosol e1eb634c62 Make SAS pictures visible for their owner 2025-03-24 15:38:00 +01:00
imperosol 60db7e2516 ajaxify album loading in the SAS 2025-03-12 17:35:22 +01:00
imperosol 650227b6e2 typescriptify album-index.js 2025-03-12 17:35:22 +01:00
klmp200 2918048b16 Improve download user album button 2025-02-20 18:51:08 +01:00
klmp200 a87016a23f Apply some review comments 2025-02-20 18:13:40 +01:00
klmp200 f7ff77b88f Use real images with lazy loading in sas albums and user pictures 2025-02-19 00:12:30 +01:00
klmp200 e8db68b960 Add missing translations 2025-02-18 20:10:54 +01:00
klmp200 93a5c3a02a Separate album downloading logic from user display. Allow downloading individual user albums. 2025-02-18 20:10:54 +01:00
klmp200 e46cba7a06 Move all user picture logic to sas 2025-02-18 20:10:51 +01:00
Kenneth SOARES b1db52d2b6 clean typescript 2025-02-18 14:56:08 +01:00
Kenneth SOARES 2bed89aaba typescriptification de picture-index et bonne instantiation alpine-data 2025-02-18 14:56:08 +01:00
Kenneth SOARES 86c68eeb32 fix indenting 2025-02-18 14:56:08 +01:00
Kenneth SOARES 8cb53ceba2 download button for user pictures and albums 2025-02-18 14:56:08 +01:00
klmp200 ca8c1c9d92 Mirror -index.css generation with their import location in -index.js/ts files 2024-11-19 21:22:14 +01:00
klmp200 0485ab1120 Remove defer from script where type=module is used 2024-11-19 21:22:14 +01:00
klmp200 8a8851847c Passage de webpack à vite.dev 2024-11-19 21:22:14 +01:00
klmp200 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
klmp200 6b3012d21c Fix broken sas ui in webkit based browsers 2024-10-18 23:50:04 +02:00
klmp200 56cc4776a6 Create base class for ajax-select 2024-10-18 23:26:04 +02:00
klmp200 66dceefcf0 Fix bad constructor when adding attrs that are not part of the parent and fix tom-select on safari 2024-10-17 18:15:55 +02:00
klmp200 74a506c48b Add missing features
* Fix display
* Add internationalization
* Avoid querying under a certain amount of characters
* Update docs for translations with typescript
* Add interpolate to typescript globals
2024-10-17 18:15:55 +02:00
klmp200 deda2b4055 Replace selec2 with tom-select 2024-10-17 18:15:55 +02:00
imperosol 19cd51043a feat: display moderation requests to moderators 2024-10-14 00:47:07 +02:00
imperosol 5348a451e9 feat: picture moderation requests 2024-10-14 00:45:52 +02:00
klmp200 a5d8c96bab Remove select2 from vendored
* Make core/utils/select2.ts
* Convert viewer-index.js to typescript
2024-10-13 10:55:15 +02:00
klmp200 f07a855e7e Remove history management from script.js and migrate sas albums to webpack 2024-10-12 19:19:23 +02:00
klmp200 46e58bb49e Remove fetchPaginated and migrate viewer.js to viewer-index.js in webpack 2024-10-09 21:46:56 +02:00
klmp200 7405241b82 Apply all biomejs fixes 2024-10-08 17:14:22 +02:00
klmp200 271d57051e Upgrade to fontawesome 6
* Adapt fontawesome usage when needed
* Fix uv guide not importing css
* Remove utf8 usage for fontawesome
2024-10-03 00:06:03 +02:00
klmp200 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
klmp200 a00a85a56a Fix recursive link history updates for picture viewer 2024-09-30 15:02:11 +02:00
thomas girod 1800785b80 generalize usage of the paginate_jinja macro 2024-09-27 11:21:33 +02:00
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
klmp200 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 ff088009d9 move static files in their respective application 2024-08-26 22:34:31 +02:00