Commit Graph
313 Commits
Author SHA1 Message Date
imperosolandBartuccio Antoine 486047b929 remove the honeypot from the login page
Des utilisateurs humains se font régulièrement "éclairer" par le honeypot. Les mesures anti-bot ne devraient pas bloquer des humains.
2024-11-11 00:22:07 +01:00
klmp200 a6b32fcad1 Fix readability and avoid instantiating too many TypeAdapter 2024-10-28 18:08:13 +01:00
klmp200 e583e78a4e Convert the whole request to json at once on select widget 2024-10-21 17:11:07 +02:00
klmp200 3eb3feea49 Fix deprecated usage of schema json method and avoid multiple inheritance on select widgets 2024-10-21 16:14:00 +02:00
klmp200 8b419dcee6 Remove ajax_select from core 2024-10-20 23:25:56 +02:00
klmp200 e7181257e3 Remove ajax_select from core/views/forms.py 2024-10-20 23:04:54 +02:00
klmp200 8e7c09332f Remove ajax_select from core/views/group.py 2024-10-20 22:58:39 +02:00
klmp200 7f8a2c1eaf Remove ajax_select from counters 2024-10-20 20:55:05 +02:00
klmp200 45441c351d Improve ajax-select style 2024-10-20 17:37:51 +02:00
klmp200 bb3f277ba5 Extract js and css from select widgets to editable class attributes 2024-10-20 13:40:59 +02:00
klmp200 8bbebfdb13 Add AutoCompleteSelectGroup 2024-10-20 13:33:44 +02:00
klmp200 f78b968075 Move markdown input and select widgets to a widget folder 2024-10-20 01:05:34 +02:00
klmp200 ce4f57bd8f Add ajax user widget and remove ajax_select from elections 2024-10-19 22:06:34 +02:00
klmp200 8be8328830 Create select widget based on tomselect on django backend
Replace make_ajax in elections by the new widget
2024-10-19 21:32:58 +02:00
thomas girodandGitHub d16a207a83 Add more Ruff rules (#891)
* ruff: apply rule F

* ruff: apply rule E

* ruff: apply rule SIM

* ruff: apply rule TCH

* ruff: apply rule ERA

* ruff: apply rule PLW

* ruff: apply rule FLY

* ruff: apply rule PERF

* ruff: apply rules FURB & RUF
2024-10-15 11:36:26 +02:00
klmp200andBartuccio Antoine dee54c3b41 Use manifest storage and correct webpack conversion on easymde form 2024-10-15 00:28:43 +02:00
imperosol e4845b580b fix: invoices month grouping 2024-10-13 11:47:22 +02:00
klmp200 a98c924b24 Use auto generated api for markdown input 2024-10-09 16:56:53 +02:00
thomas girodandGitHub 2111a2c67e Merge pull request #859 from ae-utbm/account-pages
Optimize user account pages
2024-10-08 19:55:45 +02:00
imperosol b0884c6b04 return 404 when accessing not existing account 2024-10-08 15:30:35 +02:00
klmp200andBartuccio Antoine e5aa7aa866 Move easymde widget to easymde-index.js 2024-10-07 00:04:05 +02:00
imperosol 58d3a7ee2c Optimize user account pages 2024-10-04 13:41:39 +02:00
thomas girodandGitHub a4fe4996aa Merge pull request #834 from ae-utbm/real-name
Restore real name
2024-10-03 10:12:23 +02:00
klmp200andBartuccio Antoine 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
thomas girod c5f5ad3f75 fix 500 when searching users 2024-09-29 23:01:55 +02:00
thomas girod f182de5929 restore user ordering 2024-09-24 12:52:40 +02:00
thomas girodandBartuccio Antoine c6657bffd2 fix: profile picture deletion by board members 2024-09-23 23:35:14 +02:00
klmp200 9c93162741 Add missing files 2024-09-23 10:25:27 +02:00
klmp200 6068c6048a Use real name of the website once again 2024-09-23 01:37:25 +02:00
Bartuccio AntoineandGitHub f624b7c66d Graph de famille en frontend (#820)
* Remove graphviz and use cytoscape.js instead

* Frontend generated graphs
* Make installation easier and faster
* Better user experience
* Family api and improved interface
* Fix url history when using 0, improve button selection and reset reverse with reset button
* Use klay layout
* Add js translations and apply review comments
2024-09-17 12:10:06 +02:00
thomas girod 55ad1f99fd fix undeletable SAS pictures 2024-09-10 21:38:13 +02:00
thomas girod dd07c374d7 convert uploaded images to webp 2024-09-01 19:05:54 +02:00
thomas girod b3e59b3829 remove unused view GET user/<user_id>/profile_upload 2024-09-01 18:49:50 +02:00
thomas girodandGitHub a4d801bed4 Merge pull request #798 from ae-utbm/fix-content-disposition
repair name of protected files
2024-08-30 10:44:49 +02:00
thomas girod fbff38c5c3 repair name of protected files
Depuis l'implémentation de l'envoi des fichiers par le reverse-proxy, le nom des fichiers n'était plus envoyé.
2024-08-30 10:27:03 +02:00
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
thomas girod d295cc5223 move vendored files into their own folder 2024-08-26 22:34:32 +02:00
thomas girodandGitHub 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
thomas girod 7a0fa9f1a0 remove doku/bbcode to markdown 2024-08-10 14:23:01 +02:00
klmp200 0eeaf1ce21 Render user picture page with ajax to improve performances 2024-08-09 18:09:58 +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 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
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
thomas girodandGitHub e5434961de Merge pull request #736 from ae-utbm/better-scss
Better scss
2024-07-28 16:35:12 +02:00
thomas girod 2737cae4ab update django-phonenumber-field 2024-07-26 21:45:18 +02:00
thomas girod 63b6b262c6 repair BASE_DIR 2024-07-26 18:21:57 +02:00
thomas girod 424639ea80 better scss 2024-07-26 15:55:15 +02:00