Commit Graph
100 Commits
Author SHA1 Message Date
klmp200 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
klmp200 d95d4901d2 Use reduce instead of groupBy for user picture sorting to support more browsers 2024-08-27 10:35:38 +02:00
klmp200andBartuccio Antoine a422e8d39a Improve rendering of file input 2024-08-26 22:21:16 +02:00
klmp200andBartuccio Antoine ef80c1be61 Make camera error gray to be less aggressive on the eyes 2024-08-26 22:21:16 +02:00
klmp200andBartuccio Antoine 85d9816aaa Improve delete button behavior 2024-08-26 22:21:16 +02:00
klmp200andBartuccio Antoine 93b66d980d Directly display selected img of form on screen and convert to webp 2024-08-26 22:21:16 +02:00
klmp200andBartuccio Antoine 07d617da91 Get video resolution from the camera settings for a better image quality 2024-08-26 22:21:16 +02:00
klmp200andBartuccio Antoine 34aac40e65 Add translations 2024-08-26 22:21:16 +02:00
klmp200andBartuccio Antoine f54bf2b8af Adjust css 2024-08-26 22:21:16 +02:00
klmp200andBartuccio Antoine e7d04d9817 Unify user profile display with a nice macro and handle camera errors 2024-08-26 22:21:16 +02:00
klmp200andBartuccio Antoine ef1537ac2c Basic webcam setup with modern web api 2024-08-26 22:21:16 +02:00
klmp200 d13b79552b Remove to_markdown.jinja forgotten during bbcode convertion removal 2024-08-21 15:35:43 +02:00
klmp200 759e360a1d Don't use unnecessary promises 2024-08-17 10:15:13 +02:00
klmp200 8865529b39 Use native alpine debounce 2024-08-17 02:58:53 +02:00
klmp200 cdb73ee49c Don't rely on waiting for pedagogy history 2024-08-17 02:57:00 +02:00
klmp200 9188c28ee7 Remove intersect 2024-08-16 22:52:20 +02:00
klmp200 2a6c1f050d Create a paginate_alpine macro 2024-08-11 15:11:51 +02:00
klmp200 2ec1f8cdc0 Fix back action in uv guide 2024-08-11 14:58:05 +02:00
klmp200 589119c9ee Improve update_query_string with enum action 2024-08-10 23:32:50 +02:00
klmp200 b35e1a476e Fix back function in album pagination 2024-08-10 18:38:04 +02:00
klmp200 a75730d91f Fix unbalanced html 2024-08-10 15:16:37 +02:00
klmp200 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
klmp200 bf5f72fd9d Fix user search displaying results that shouldn't be viewed 2024-08-10 00:43:03 +02:00
klmp200 0eeaf1ce21 Render user picture page with ajax to improve performances 2024-08-09 18:09:58 +02:00
klmp200 20e8854467 Fix operation logs 2024-08-09 17:35:26 +02:00
klmp200 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
klmp200andBartuccio Antoine f265346a10 Sort pictures by album in zip file 2024-07-31 12:01:08 +02:00
klmp200 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
klmp200 1bd887567e Use full text search in pedagogy uv search api 2024-07-29 13:01:20 +02:00
klmp200 3304f32ef0 Add image download progress bar and fix output name of pictures 2024-07-28 23:53:18 +02:00
klmp200 15f51fb03f Create an NFC button for browser supporting NFC API 2024-07-25 07:18:39 +02:00
klmp200 41b9318028 Download user pictures as a zip 2024-07-24 23:51:15 +02:00
klmp200 fee7ade1a5 Harmonize test names 2024-07-24 00:50:48 +02:00
klmp200 0c566cfbde Add picture size in sas api 2024-07-24 00:44:09 +02:00
klmp200andthomas girod b9d19be183 Fix markdown api and add test for user picture page 2024-07-23 20:36:46 +02:00
klmp200andthomas girod 293369f165 Pagination on UV guide 2024-07-23 19:58:11 +02:00
klmp200 2c8f18d7fc Add honeypot on forum 2024-07-22 11:40:11 +02:00
klmp200 c7f8cdd098 Support field_name argument in honeypot jinja extension 2024-07-22 11:34:22 +02:00
klmp200 58ff5b934a add get_client_ip util function 2024-07-22 09:49:08 +02:00
klmp200andthomas girod c7b5c77395 Improve perms doc 2024-07-21 01:01:49 +02:00
klmp200andthomas girod 223aa37161 move old pdf to the repo github wiki 2024-07-21 01:00:37 +02:00
klmp200andthomas girod 54af894b82 Improve documentation 2024-07-21 00:57:12 +02:00
klmp200andthomas girod e1ac75f394 Rework readme and remove readthedocs config 2024-07-21 00:57:06 +02:00
klmp200 bad67a8b65 Add promo 24 logo 2024-07-16 00:25:50 +02:00
klmp200andBartuccio Antoine 7e98e184a0 Improve tests 2024-07-11 13:23:24 +02:00
klmp200andBartuccio Antoine 6240eff160 Apply review suggestions 2024-07-11 13:23:24 +02:00
klmp200andBartuccio Antoine a8918ebe86 Fix forum topic creation 2024-07-11 13:23:24 +02:00
klmp200 0fb61938ce Reorganize honeypot settings 2024-07-11 10:49:08 +02:00
klmp200 d6b27f2f21 Make honeypot errors less suspicious 2024-07-10 19:30:01 +02:00
klmp200 72cf5a3d5e Introduce honeypot for login/registering/password changing 2024-07-10 14:51:39 +02:00
klmp200 e1cf1c786d Fix missing xapian install step in deploy workflows 2024-07-04 19:44:22 +02:00
klmp200 99605b98d4 Two steps pre-commit and better workflow output 2024-07-02 20:16:02 +02:00
klmp200 c7135875b8 Use pre-commits hooks instead of ruff directly 2024-07-01 17:36:19 +02:00
klmp200 ca27b89a8b Apply shellcheck on install_xapian.sh 2024-06-26 11:31:39 +02:00
klmp200 e1bf7caa9a Fix CVE-2023-31047 2024-06-24 13:27:22 +02:00
klmp200 e681c17a0f Adapt CI to new xapian install process 2024-06-24 13:26:58 +02:00
klmp200 5416d88c97 Upgrade dependencies and install xapian from sources 2024-06-24 13:26:58 +02:00
klmp200 7c4c1bc387 Fix permissions on download pictures feature 2022-08-09 18:11:20 +02:00
klmp200 0e5c8b53b0 Add missing translations and update doc 2022-08-07 16:45:18 +02:00
klmp200 47a332445c Add feature to download all of your pictures as a user 2022-08-07 16:08:56 +02:00
klmp200 f56263d6bd Fix broken forms 2022-08-06 14:28:35 +02:00
klmp200 4f00224f0d Update dependencies, apply black and fix wrong default SITH_COUNTER_OFFICES values 2022-08-04 18:42:29 +02:00
klmp200 320a896610 Fix tests and broken forms 2022-08-04 17:20:21 +02:00
klmp200 08924c5e05 Fix wrong url and set default auto field 2022-08-04 00:38:50 +02:00
klmp200 98bfc308a7 Minimal working version
* Upgrade dependencies
* Fix ugettext
* Fix bad urls
2022-08-04 00:28:09 +02:00
klmp200 dee24fbc9c Fix deprecation warnings 2022-08-03 21:48:37 +02:00
klmp200 48ae1f7c1c Merge branch 'och' into 'master'
Edited subscriptions

See merge request ae/Sith!275
2020-09-01 00:21:48 +02:00
klmp200 f34f5fe693 Upgrade black and format accordingly 2020-08-27 15:59:42 +02:00
klmp200 f485178422 Merge branch 'och' into 'master'
settings: Added a new subscription

See merge request ae/Sith!274
2020-06-18 00:23:51 +02:00
klmp200 390a4b0064 Merge branch 'bugfix' into 'master'
cache: fix error 500 with new django version

See merge request ae/Sith!273
2020-06-16 19:11:49 +02:00
klmp200 94b029dc9c cache: fix error 500 with new django version 2020-06-12 20:44:37 +02:00
klmp200 45d5728c3e Merge branch 'skia/lazy_load_user_pictures' into 'master'
core: add lazy loading in user pictures page

See merge request ae/Sith!272
2020-06-12 20:19:34 +02:00
klmp200 03fdd0b947 Merge branch 'trombi' into 'master'
trombi: raw tool for trombi admins to add a club membership to a trombi member

See merge request ae/Sith!266
2020-03-23 21:12:58 +01:00
klmp200 fb8faacddc trombi: raw tool for trombi admins to add a club membership to a trombi member 2020-03-22 16:14:37 +01:00
klmp200 7ee4557ab5 Merge branch 'fix-webcam-error' into 'master'
Front: turn Webcam.js error from an alert to a console log

See merge request ae/Sith!265
2020-03-05 19:20:22 +01:00
klmp200 9176a03a8a Merge branch 'bugfix' into 'master'
Fix some SAS and forum errors

Closes #89

See merge request ae/Sith!263
2019-12-17 12:03:28 +01:00
klmp200 4a1bfc366d sas: fix 500 error when tagging the same user twice or adding a non existing user 2019-12-17 11:25:17 +01:00
klmp200 ebee8c34e1 forum: fix ForumTopicSubscribeView error 500 with anonymous user 2019-12-16 15:00:33 +01:00
klmp200 4ecad1c73b Revert "PÈRE 200 !!!!!!!!!!! PÈRE 200 !!!!!!!! TRALALALALÈREEEEUUUU !!!!"
This reverts commit d1b3a4d3f6.
2019-12-10 15:31:37 +01:00
klmp200 d1b3a4d3f6 PÈRE 200 !!!!!!!!!!! PÈRE 200 !!!!!!!! TRALALALALÈREEEEUUUU !!!! 2019-12-09 03:16:57 +01:00
klmp200 40832bb3bf Merge branch 'clubs' into 'master'
Improve Sellings view for clubs

See merge request ae/Sith!262
2019-11-29 16:32:18 +01:00
klmp200 4a78157f9a club: fix typo on ClubSellingView 2019-11-28 15:14:51 +01:00
klmp200 bf5fc8750d club: steam CSV download for SellingView 2019-11-28 14:52:33 +01:00
klmp200 274a7b7137 core/club: allow adding custom js action to pagination link, useful for FormDetailView with pagination 2019-11-28 01:46:41 +01:00
klmp200 8dd2c02d3e club: add pagination for ClubSellingView 2019-11-28 00:30:51 +01:00
klmp200 a73f5cb270 club: use sums in bdd for ClubSellingView 2019-11-27 21:37:59 +01:00
klmp200 7d40e11144 club: ClubSellingView way faster and with multiple selections everywhere 2019-11-27 20:59:32 +01:00
klmp200 af48553e35 club: separation between archived products and non archived ones 2019-11-27 16:23:14 +01:00
klmp200 ad8bcc7282 Merge branch 'bugfix' into 'master'
com: fix 500 error when utbm mail server refuse weekmail

See merge request ae/Sith!260
2019-11-25 14:18:22 +01:00
klmp200 22a44415e4 Merge branch 'sli' into 'master'
core: add UserIsRootMixin and an admin delete view for memberships

See merge request ae/Sith!261
2019-11-25 13:32:46 +01:00
klmp200 6a153719f9 com: fix 500 error when utbm mail server refuse weekmail 2019-11-25 13:30:47 +01:00
klmp200 5c8fa1b9e7 core: add UserIsRootMixin and an admin delete view for memberships 2019-11-24 19:23:43 +01:00
klmp200 d82679e3d7 Merge branch 'documentation' into 'master'
add autoreload/build to documentation server and enhace documentation

See merge request ae/Sith!246
2019-11-21 15:06:13 +01:00
klmp200 9cb432a082 doc: correct documentation for groups 2019-11-21 11:11:25 +01:00
klmp200 869d29d4a4 doc: corrections for populate documentation 2019-11-21 11:10:31 +01:00
klmp200 c3d2e64a43 doc: add infos on populate command with group and users available 2019-11-20 18:51:13 +01:00
klmp200 e1770ec52c doc: add documentation for groups 2019-11-20 17:55:00 +01:00
klmp200 1256744f1b documentation: add autoreload and build for documentation server 2019-11-20 17:03:18 +01:00
klmp200 77dddbc581 documentation: add help ressources and update installation instructions 2019-11-20 17:03:18 +01:00
klmp200 bfa4000365 Merge branch 'eboutic' into 'master'
eboutic: don't display future account balance if contains refilling item

See merge request ae/Sith!258
2019-11-14 19:31:19 +01:00