ceee393bd8
Move user_picture.js to webpack
...
* Fix relative path generation in webpack
* remove vendored/native-file-system-adapter
* remove vendored/zip.js
2024-10-09 12:14:10 +02:00
thomas girod
b969513d94
Merge pull request #858 from ae-utbm/jsstandard
...
Add biome to format js files
2024-10-08 23:45:20 +02:00
thomas girod
2111a2c67e
Merge pull request #859 from ae-utbm/account-pages
...
Optimize user account pages
2024-10-08 19:55:45 +02:00
7405241b82
Apply all biomejs fixes
2024-10-08 17:14:22 +02:00
a3cca056ae
Apply standard to easymde
2024-10-07 00:10:24 +02:00
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
fbcacb24f8
Fix broken screen slideshow
2024-10-03 01:05:56 +02:00
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
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
a00a85a56a
Fix recursive link history updates for picture viewer
2024-09-30 15:02:11 +02:00
thomas girod
f71518ed6f
Move deprecated paginate
macro to a lower scope
2024-09-27 11:21:33 +02:00
thomas girod
1800785b80
generalize usage of the paginate_jinja macro
2024-09-27 11:21:33 +02:00
thomas girod
6449724ed5
fix pagination macro and add ellision
2024-09-27 11:21:33 +02:00
thomas girod
6179c3e7d4
Better style for forum messages
2024-09-27 11:21:33 +02:00
thomas girod
c6657bffd2
fix: profile picture deletion by board members
2024-09-23 23:35:14 +02:00
thomas girod
3d138d404f
move webcam JS to its own file
2024-09-23 23:35:14 +02:00
thomas girod
a2a858262a
apply review comments
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
48f605dbe0
Use select2 for user picture identification
2024-09-17 12:17:17 +02:00
Bartuccio Antoine
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
cf46c3800f
remove sith version from the footer
2024-09-01 23:47:25 +02:00
thomas girod
dd07c374d7
convert uploaded images to webp
2024-09-01 19:05:54 +02:00
thomas girod
85a99fc8fa
fix promo img on clicks
2024-09-01 12:33:49 +02:00
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
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
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
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
85d9816aaa
Improve delete button behavior
2024-08-26 22:21:16 +02:00
93b66d980d
Directly display selected img of form on screen and convert to webp
2024-08-26 22:21:16 +02:00
07d617da91
Get video resolution from the camera settings for a better image quality
2024-08-26 22:21:16 +02:00
f54bf2b8af
Adjust css
2024-08-26 22:21:16 +02:00
e7d04d9817
Unify user profile display with a nice macro and handle camera errors
2024-08-26 22:21:16 +02:00
ef1537ac2c
Basic webcam setup with modern web api
2024-08-26 22:21:16 +02:00
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
9188c28ee7
Remove intersect
2024-08-16 22:52:20 +02:00
2a6c1f050d
Create a paginate_alpine macro
2024-08-11 15:11:51 +02:00
a75730d91f
Fix unbalanced html
2024-08-10 15:16:37 +02:00
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
bf5f72fd9d
Fix user search displaying results that shouldn't be viewed
2024-08-10 00:43:03 +02:00
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
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
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
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
3304f32ef0
Add image download progress bar and fix output name of pictures
2024-07-28 23:53:18 +02:00
thomas girod
3c76c5e0f1
fix grouping
2024-07-26 00:39:29 +02:00
thomas girod
b3fa6f352b
fix album order for user pictures
2024-07-26 00:39:29 +02:00
thomas girod
b25805e0a1
introduce djhtml as jinja+scss formater
2024-07-25 16:46:45 +02:00
15f51fb03f
Create an NFC button for browser supporting NFC API
2024-07-25 07:18:39 +02:00
thomas girod
a24b1f5c2a
Merge pull request #730 from ae-utbm/picture-zip
...
Téléchargement des images dans un zip
2024-07-25 01:21:02 +02:00
thomas girod
04e7f65e8e
Merge pull request #725 from ae-utbm/drop-jquery-calendar
...
Remove jquery datetimepicker
2024-07-25 01:20:41 +02:00
41b9318028
Download user pictures as a zip
2024-07-24 23:51:15 +02:00
thomas girod
d51dbf8a53
Merge pull request #724 from ae-utbm/ninja
...
Use django-ninja for the API
2024-07-24 00:48:08 +02:00
thomas girod
9295325d21
remove jquery datetime picker
2024-07-23 23:26:48 +02:00
b9d19be183
Fix markdown api and add test for user picture page
2024-07-23 20:36:46 +02:00
thomas girod
3046438cb1
replace drf by django-ninja
2024-07-23 19:57:33 +02:00
thomas girod
82d3791859
refactor counter
2024-07-21 10:51:08 +02:00
thomas girod
e15bcfae07
Send an email when creating an account via POST /register
2024-07-10 17:21:07 +02:00
72cf5a3d5e
Introduce honeypot for login/registering/password changing
2024-07-10 14:51:39 +02:00
thomas girod
7f6c4f6236
change sup and sub in mde editor
2024-07-08 17:04:18 +02:00
thomas girod
30948f1701
better style for rendered markdown
2024-07-08 15:56:38 +02:00
thomas girod
ea8247aa16
fix broken translations
2024-07-04 11:31:36 +02:00
Julien Constant
d16bf12611
Links update & translations typos fixes ( #671 )
...
* Remove BDF link (as BDF is now part of AE)
* Remove unused pages
* Fix typos
* Fix typo again
2023-10-10 15:29:02 +02:00
thomas girod
ef968f3673
Better usage of cache for groups and clubs related operations ( #634 )
...
* Better usage of cache for group retrieval
* Cache clearing on object deletion or update
* replace signals by save and delete override
* add is_anonymous check in is_owned_by
Add in many is_owned_by(self, user) methods that user is not anonymous. Since many of those functions do db queries, this should reduce a little bit the load of the db.
* Stricter usage of User.is_in_group
Constrain the parameters that can be passed to the function to make sure only a str or an int can be used. Also force to explicitly specify if the group id or the group name is used.
* write test and correct bugs
* remove forgotten populate commands
* Correct test
2023-05-02 12:36:59 +02:00
Julien Constant
c1022642a2
[FIX] Fixes supplémentaires pour la màj de mars ( #622 )
...
- Les photos de l'onglet de la page utilisateur utilise désormais leur version thumbnail au lieu de leur version HD
- Une des classes du CSS du SAS a été renommée car elle empiétait sur une class de la navbar
- Le profil utilisateur a été revu pour ajouter plus d'espacement entre le tableau des cotisations et le numéro de cotisants
- Les images de forum & blouse sont de nouveau cliquable pour les afficher en grands
- Sur mobile, lorsqu'on cliquait sur le premier élément de la navbar, ce dernier avait un overlay avec des angles arrondis
- Sur mobile, les utilisateurs avec des images de profils non carrées dépassait dans l'onglet Famille
2023-04-08 20:59:43 +02:00
Julien Constant
0501e6417a
Merge branch 'master' into taiste
2023-04-05 20:02:12 +02:00
Julien Constant
a198f5252d
Fixes & améliorations du nouveau CSS ( #616 )
2023-04-05 18:03:43 +02:00
Julien Constant
f605f7dcc6
Fixes pour la mise à jour de mars ( #598 )
2023-04-04 22:55:26 +02:00
Julien Constant
e638bc04ed
Fixes pour la mise à jour de mars ( #598 )
2023-04-04 22:50:19 +02:00
Julien Constant
4830c3ea2d
Mise à jour de mars ( #586 )
...
---------
Co-authored-by: Thomas Girod <thgirod@hotmail.com>
Co-authored-by: Théo DURR <git@theodurr.fr>
2023-04-04 19:17:44 +02:00
Julien Constant
1bfe929ab3
[CSS] Follow up of #578 ( #589 )
2023-04-04 15:21:09 +02:00
Julien Constant
28f397574f
Amélioration des pages utilisateurs pour les petits écrans ( #578 , #520 )
...
- Refonte de l'organisation des pages utilisateurs (principalement du front)
- Page des parrains/fillots
- Page d'édition du profil
- Page du profil
- Page des outils
- Page des préférences
- Page des stats utilisateurs
- Refonte du CSS / organisation de la navbar principale (en haut de l'écran)
- Refonte du CSS de la navbar bleu clair (le menu)
- Refonte du CSS du SAS :
- Page de photo
- Page d'albums
2023-03-30 14:38:40 +02:00
thomas girod
6c1fa6de0b
remove-useless-queries-counter-stats ( #519 )
2023-03-24 15:32:05 +01:00
Théo DURR
dd3ad42eb5
Mise à jour de février ( #581 )
...
Co-authored-by: Thomas Girod <thgirod@hotmail.com>
Co-authored-by: Julien Constant <julienconstant190@gmail.com>
Co-authored-by: Skia <skia@hya.sk>
2023-03-09 13:39:33 +01:00
Théo DURR
5ea181829e
Edited unit tests
...
This test caused a breach in security due to the alert block displaying sensitive data.
2023-03-08 20:47:59 +01:00
Théo DURR
16150905a0
Fixed broken test
2023-03-08 14:11:10 +01:00
Théo DURR
9a376887ac
Update 404.jinja
2023-03-08 13:08:23 +01:00
Théo DURR
773808fa59
Disabled Galaxy button & Removed 404 exception display
2023-03-08 12:50:52 +01:00
Théo DURR
05febc60bd
Merge branch 'master' into taiste
2023-03-04 16:35:41 +01:00
Skia
b7f20fed6c
Galaxy ( #575 )
...
Co-authored-by: Skia <florent.jacquet@eshard.com>
2023-03-02 15:11:23 +01:00
Thomas Girod
31e8ad8a3e
redirect directly on counter if user is barman
2023-01-10 17:37:26 +01:00
thomas girod
73305c0b28
Implémentation 3DSv2 + résolution bugs eboutic + amélioration pages admin ( #558 )
...
Eboutic :
- Implémentation de la norme 3DSecure v2 pour les paiement par carte bancaire
- Amélioration générale de l'interface utilisateur
- Résolution du problème avec les caractères spéciaux dans le panier sur Safari
- Réparation du cookie du panier de l'eboutic qui n'était pas fonctionnel
Autre :
- Mise à jour de la documentation
- Mise à jour des dépendances Javascript
- Suppression du code inutilisé dans `subscription/models.py`
- Amélioration des pages administrateur (back-office Django)
Co-authored-by: thomas girod <56346771+imperosol@users.noreply.github.com>
Co-authored-by: Théo DURR <git@theodurr.fr>
Co-authored-by: Julien Constant <julienconstant190@gmail.com>
2023-01-09 20:53:12 +01:00
thomas girod
639197f4c8
update some dependencies ( #523 )
2022-12-15 23:57:31 +01:00
Thomas Girod
60eff1000f
second patch on eboutic
2022-11-16 20:41:24 +01:00
thomas girod
1281104d96
Merge pull request #490 from ae-utbm/taiste
...
Eboutic
2022-11-16 17:04:13 +01:00
Yann LV
e76e2b1537
Removing pinktober for AE
2022-11-14 20:40:19 +01:00
thomas girod
d3c115e3f9
Merge pull request #477 from imperosol/eboutic
...
Refonte de la boutique en ligne
2022-10-31 16:28:56 +01:00
Thomas Girod
8b09ba2924
refonte de la boutique en ligne
2022-10-30 12:33:21 +01:00
thomas girod
8243dbcbef
mend pinktober logo ( #481 )
...
* mend pinktober logo
* Increased contrast for links
Co-authored-by: Théo DURR <git@theodurr.fr>
2022-10-12 08:47:06 +02:00
Théo DURR
c3a4071627
Edited navbar for pinktober ( #480 )
...
Design by @TheRolfFR
2022-10-11 21:55:19 +02:00
Julien Constant
3321669726
Switched Calendar link to Elections list link (as it was unused)
2022-09-02 19:34:16 +02:00