Commit Graph

983 Commits

Author SHA1 Message Date
Sli
cc5df9b171 Better form for user submiting images, fix potential attack vector on bad file being resized and treated as an image 2024-08-27 17:05:37 +02:00
thomas girod
e564c6604c
Merge pull request #788 from ae-utbm/manifest-static-files
Manifest static files
2024-08-27 11:08:49 +02:00
Sli
d95d4901d2 Use reduce instead of groupBy for user picture sorting to support more browsers 2024-08-27 10:35:38 +02:00
thomas girod
b7261ec629 custom manifest static files storage that also minify scss and js files 2024-08-26 22:34:32 +02:00
thomas girod
2e1f16fa04 slim jquery-ui 2024-08-26 22:34:32 +02:00
thomas girod
d295cc5223 move vendored files into their own folder 2024-08-26 22:34:32 +02:00
thomas girod
ff088009d9 move static files in their respective application 2024-08-26 22:34:31 +02:00
thomas girod
52c19e9962 simplify scss management 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
Sli
a422e8d39a Improve rendering of file input 2024-08-26 22:21:16 +02:00
Sli
ef80c1be61 Make camera error gray to be less aggressive on the eyes 2024-08-26 22:21:16 +02:00
Sli
85d9816aaa Improve delete button behavior 2024-08-26 22:21:16 +02:00
Sli
93b66d980d Directly display selected img of form on screen and convert to webp 2024-08-26 22:21:16 +02:00
Sli
07d617da91 Get video resolution from the camera settings for a better image quality 2024-08-26 22:21:16 +02:00
Sli
f54bf2b8af Adjust css 2024-08-26 22:21:16 +02:00
Sli
e7d04d9817 Unify user profile display with a nice macro and handle camera errors 2024-08-26 22:21:16 +02:00
Sli
ef1537ac2c Basic webcam setup with modern web api 2024-08-26 22:21:16 +02:00
Sli
d13b79552b Remove to_markdown.jinja forgotten during bbcode convertion removal 2024-08-21 15:35:43 +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
cdb73ee49c Don't rely on waiting for pedagogy history 2024-08-17 02:57:00 +02:00
Sli
9188c28ee7 Remove intersect 2024-08-16 22:52:20 +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
Sli
a75730d91f Fix unbalanced html 2024-08-10 15:16:37 +02:00
Sli
a2b5f929dd Apply review comments
* Add alpine intersect
* Move alpine and it's plugins to a folder
* Fix spinning wheel position
* Improve album title position
2024-08-10 14:49:02 +02:00
thomas girod
7a0fa9f1a0 remove doku/bbcode to markdown 2024-08-10 14:23:01 +02:00
thomas girod
28ff7f24c5
Merge pull request #774 from ae-utbm/fix-operation-logs
Fix operation logs
2024-08-10 10:33:39 +02:00
Sli
bf5f72fd9d Fix user search displaying results that shouldn't be viewed 2024-08-10 00:43:03 +02:00
Sli
0eeaf1ce21 Render user picture page with ajax to improve performances 2024-08-09 18:09:58 +02:00
thomas girod
c56d6e3f6b fix wrong page size when fetching pictures. 2024-08-09 17:35:33 +02:00
Sli
20e8854467 Fix operation logs 2024-08-09 17:35:26 +02:00
thomas girod
7ea9a5ca2d improved feedback when loading ajax content 2024-08-09 11:58:26 +02:00
thomas girod
ecb48ce663 fix error when uploading image with an alpha channel 2024-08-09 11:58:26 +02:00
thomas girod
d3b203a4a1 change cache on picture download 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
62bb15317c T2 ruff rule 2024-08-06 11:42:10 +02:00
thomas girod
996dadf6f5 update alpineJS to 3.14 2024-08-05 17:16:24 +02:00
thomas girod
29bb0f6712 promote AlpineJS to global dependency 2024-08-05 17:08:30 +02:00
thomas girod
a637742bb0 apply review comment 2024-08-05 10:52:15 +02:00
thomas girod
a5e4db99fb Use X-Accel-Redirect to send files in prod 2024-08-05 10:52:15 +02:00
thomas girod
a9f66e2cd9 extract sent_from_logged_counter(request) 2024-08-05 10:52:15 +02:00
Sli
181e74b1d1 Add antispam app
* update_spam_database command to update suspicious domains from an
   external provider
* Add a AntiSpamEmailField that deny emails from suspicious domains
* Update documentation
2024-08-04 22:34:40 +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
819e2b5f9f better download button style 2024-07-30 19:58:58 +02:00
thomas girod
91344741a5 add some alpine to picture download 2024-07-30 19:23:48 +02:00
Sli
ffa3936878 Improve zip download
* Remove jszip for zip.js which is better maintained
* Pictures keep their creation date
2024-07-30 11:11:31 +02:00