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
Théo DURR
21fc85670e
hot fix: Updated variable names & comments ( #461 )
...
- Fixed a wrong condition on the users subscribing history `read` permission.
- The comments are clearer and mentions how to specify clubs by their id.
2022-08-31 20:53:08 +02:00
Théo DURR
71c5456225
Selected club members can now see subscriptions
2022-08-31 18:39:49 +02:00
Théo DURR
820bf6279b
Modal window is now autocompleted if user is logged in
2022-08-27 20:14:31 +02:00
Théo DURR
4f9c2724f5
Updated sentry modal SDK
...
Specified default environment for issues
2022-08-27 18:46:22 +02:00
7c4c1bc387
Fix permissions on download pictures feature
2022-08-09 18:11:20 +02:00
Julien Constant
6e77edcf67
Fix 'download all my picture button' being displayed in all albums sections
2022-08-09 17:57:02 +02:00
0e5c8b53b0
Add missing translations and update doc
2022-08-07 16:45:18 +02:00
47a332445c
Add feature to download all of your pictures as a user
2022-08-07 16:08:56 +02:00
f56263d6bd
Fix broken forms
2022-08-06 14:28:35 +02:00
Maréchal | Thomas
b5241ec75e
Defer des balises script. Ajout de preload sur fa.
2022-08-05 13:22:09 +00:00
Ailé
d8b69e9b45
Updated text and translations to be more inclusive
2021-11-18 16:24:14 +01:00
Ailé
b8aabc466c
Fixed locales
...
+Pronoun description on the user's profile
Signed-off-by: Ailé <03ht@theodurr.fr>
2021-11-05 20:28:37 +01:00
Celeste
4fbee9c3de
Make pronouns visible on profile and miniprofile
2021-10-13 08:59:40 +02:00
Skia
1b688a8aa5
Add a first version of a mobile friendly UI
...
Although not perfect and with many flaws, this should still allow far
easier navigation on mobile devices.
2021-10-01 18:44:14 +02:00
tleb
6382e631b6
search: reduce user index size
2021-09-28 01:44:15 +02:00
tleb
30091ef69c
search: ascii everywhere and unformalized whitespace
2021-09-28 01:44:15 +02:00
Skia
64d0cc2fa8
counter: don't display info boxes and navigation menu
...
This will lighten the pages and make the functionality directly
accessible without ever scrolling the header garbage that is never
needed on those pages.
2021-09-26 13:58:39 +02:00
94b029dc9c
cache: fix error 500 with new django version
2020-06-12 20:44:37 +02:00
Skia
6eabbaf209
core: add lazy loading in user pictures page
2020-05-15 12:14:14 +02:00
tleb
5accdbccbb
Front: use Webcam.on() for error handling
2020-03-04 07:13:16 +01:00
tleb
7fb26f9e45
Front: turn Webcam.js error from an alert to a console log
2020-03-03 09:01:20 +01:00
274a7b7137
core/club: allow adding custom js action to pagination link, useful for FormDetailView with pagination
2019-11-28 01:46:41 +01:00
5c8fa1b9e7
core: add UserIsRootMixin and an admin delete view for memberships
2019-11-24 19:23:43 +01:00
e634cda318
core/counter: add generic operation logs and implements it for Sellings and Refilling deletions
2019-11-14 01:14:44 +01:00
6d0eba6bcf
Merge branch 'rework-front' into 'master'
...
Markdown widget follows the required attribute
See merge request ae/Sith!249
2019-10-17 14:47:56 +02:00
tleb
ad3f003fbb
Remove unused multiple-select library
2019-10-16 14:28:53 +02:00
tleb
7ecb057b68
Isolate easymde instances so that they can be referenced
2019-10-16 12:18:23 +02:00
tleb
e932abfa74
Prevent pressing submit if the Markdown widget is empty
2019-10-15 10:41:10 +02:00
tleb
0011f4c7b0
Only register onchange once the submit button has been pressed
2019-10-15 10:23:15 +02:00
tleb
13312e9879
Highlight a markdown input in red if required and submit is pressed
...
Kind of copy the behaviour of a Firefox input
Once the submit button has been pressed, highlight in red the text
input if it's required but empty
2019-10-15 09:54:10 +02:00
tleb
ced90c23db
More JS-like, callback as last argument
2019-10-15 09:53:44 +02:00
42f5773f51
Merge branch 'fix-guy-feature' into 'master'
...
Fix the guyguy "feature" on the profile page
See merge request ae/Sith!248
2019-10-15 00:26:04 +02:00
tleb
34df825718
Fix the guyguy "feature" on the profile page
2019-10-14 23:49:32 +03:00
Robin Trioux
65c3483c1f
core:login allow the user to create an account when not logged
2019-10-13 18:43:30 +02:00
97c316b62e
django2.2: replace removed is_anonymous() and is_authenticated to their now used counterparts
2019-10-08 22:46:03 +02:00
b8ad2d4835
sas: add pagination on AlbumView
2019-09-16 01:26:20 +02:00
5a3f90fd28
core: fix error 500 with expired reset password links
2019-09-10 16:56:58 +02:00
9181e77d55
core: add some cache on birthdays and counters_activity
2019-09-09 01:20:15 +02:00
3fc8688941
com/core: remove links to index edition that caused error 500
2019-08-29 17:23:27 +02:00
Cyl
9e0c4e70d4
[COM] Make the news visible for non-authenticated user and birthday visible for subriber only
2019-08-28 20:40:31 +02:00
f118040432
pedagogy: add pedagogy in user tools
2019-07-08 00:01:38 +02:00
ec33311715
pedagogy: basic display list of UV
2019-06-15 23:31:31 +02:00
616b7ccfc8
Nice user interface and permission rework
2019-05-20 17:52:39 +02:00
e8f742b9f9
core: remove external resources once for all
2019-05-18 03:00:19 +02:00
Cyl
a4ed535b34
core: optimisation and take off the auto-download of Font Awesome
2019-05-10 15:49:20 +02:00
Cyl
3548c3e7c4
change fontAwesome from extra to intra reading
2019-05-09 19:06:35 +02:00
Cyl
ad6f17d309
core: replace simplemde with easymde
2019-05-06 20:42:35 +02:00
9e8f633037
core: fix footer block
2019-04-30 18:47:59 +02:00
7bd44159de
core: update navbar and fix some translations
2019-04-28 16:21:00 +02:00
2ae10ee2fb
core: add macro that selects/unselect all checkbox
2019-04-22 22:55:55 +02:00
96e33815f5
Group: simplify GroupTemplateView and better group display
2019-04-22 22:55:55 +02:00
3d344b483d
Group: improve group list display
2019-04-22 22:55:55 +02:00
b693ee32f2
Group: add a label on users to delete
2019-04-22 22:55:54 +02:00
08d03087a4
core: create a DetailFormView
2019-04-22 22:55:54 +02:00
34459f83ec
Group: Groups: allow bulk removing of users from a group
2019-04-22 22:55:54 +02:00
5cc0760e2c
Groups: allow bulk import of users on a group
2019-04-22 22:55:54 +02:00
f6553a8f52
Group management enhacement
2019-04-22 22:55:53 +02:00
2ee50c0fbd
rootplace: add tool to delete all forum messages from a specified user
2019-03-17 18:07:57 +01:00
d2c5908c89
core: workaround for crsf token in production for MarkdownInput
...
See https://docs.djangoproject.com/en/2.0/ref/csrf/#acquiring-the-token-if-csrf-use-sessions-is-true
2018-12-20 18:19:50 +01:00
d53d725415
core: fix validation error on generic create view with MarkdownInput
2018-12-20 15:03:41 +01:00
f6ab993b8d
wiki: remove old markdown preview
2018-12-20 14:32:52 +01:00
fdfe33dedc
core: remove old markdown editor
2018-12-20 14:20:58 +01:00
8111ae107a
core: move centralized custom scripts on top of base.jinja and move getCookie inside
2018-12-20 14:15:57 +01:00
97b06b160b
core: add delay on live preview for MarkdownInput to avoid making too much request to the API
2018-12-20 14:06:30 +01:00
19c1361e47
core: fix heading in MarkdownInput
2018-12-19 14:10:39 +01:00
542a2ede32
core: translations for MarkdownInupt
2018-12-19 14:02:45 +01:00
ea538dbab3
core: handle all basic editing actions in MarkdownInput
2018-12-19 12:25:59 +01:00
55ff492ec8
core: edit buttons on MarkdownInupt
2018-12-18 14:39:05 +01:00
3b08603635
core: avoid inserting automatic whitespace in MarkdownInput
2018-12-18 14:13:15 +01:00
4d866843e1
core: move jquery to header section
2018-12-18 13:54:53 +01:00
4afd7a0023
core: avoid blinking in MarkdownInput preview
2018-12-14 18:02:01 +01:00
d6f08d3706
core: use pure js to get cookie in markdown input
2018-12-14 17:53:25 +01:00
775f456c40
core: introduce new markdown input
...
To fix
* Avoid blinking in preview
* Don't insert stupid space on empty textarea
2018-12-14 16:24:11 +01:00
404b825de4
forum: make search fuzzy
2018-12-13 20:33:34 +01:00
286ba91c75
Adapt forum search to xapian and improve query
2018-12-13 20:33:34 +01:00
Grégoire Duvauchelle
9b8a881914
Add haystack index, and a view for forum search (WIP)
2018-12-13 20:33:34 +01:00
Skia
aba4207423
core: improve search index with 'autocomplete'
2018-12-05 14:59:14 +01:00
2c61e797c6
Navbar translation improvements
2018-11-08 00:27:50 +01:00
Soldat
2707b5b1f2
changed color adn local
2018-11-06 00:56:16 +01:00
Soldat
b5b36e5d1c
Changed local
2018-11-06 00:14:40 +01:00
Soldat
49d3123ad8
Changed tab v2
2018-11-05 23:57:37 +01:00
Soldat
29935cb5a8
Add dropdown in navtab
2018-11-05 23:57:37 +01:00
Soldat
3dc73ebb9a
Change nav tab
2018-11-05 23:57:37 +01:00
4d3ff3e9dc
user: allow subscription history to be visible when subscription is expired
2018-10-16 15:28:45 +02:00
f6968facbe
user: add subscription history
2018-10-16 00:17:19 +02:00
f91ba25b25
senrty: fix SENTRY_DSN in error page
2018-10-10 16:33:12 +02:00
f4122bbc37
sentry: deal with sentry's js as external resource
2018-10-10 15:27:21 +02:00
bdd8427758
sentry: integration with error 500 page
2018-10-10 02:18:19 +02:00
Soldat
a78f1101c3
Changed site design v1
2018-10-07 21:48:03 +02:00
a0a86ef8e1
Allow BDF's members to see subscriptions on users
2018-06-10 16:09:21 +02:00
Skia
61d34b3a09
core, matmat: fix search form
2018-06-06 00:25:27 +02:00
Skia
be1dc62848
core: make a nice user profile
2018-06-05 00:28:43 +02:00
cc99cecaa0
Fix tab mixin on clubs
2017-12-05 15:53:36 +01:00
gnikwo
91d3e9e4dc
Delete function + club tabs
2017-12-05 15:24:46 +01:00
gnikwo
5cd031f579
Ready for review
2017-11-28 15:12:25 +01:00
gnikwo
21b24f2891
Club views and discussions fixes
2017-11-28 15:12:04 +01:00
e3fd3b81ab
Add gift function
2017-11-06 00:30:37 +01:00
f1a9344524
Fix external ressources
2017-11-05 13:27:58 +01:00
2bb510932b
Fix date displaying in user_detail
2017-10-24 13:08:18 +02:00
6c957e3ce4
Integrate external_res variable
2017-10-18 14:44:47 +02:00
Skia
7879b6dd6b
core: add family graphs
...
Signed-off-by: Skia <skia@libskia.so>
2017-10-11 12:30:33 +02:00
baa7be69e4
Better integration of wiki pages on clubs
2017-10-06 11:09:31 +02:00
2c1cf2d7af
Fix for club tools
2017-10-06 11:09:31 +02:00
db509bf060
Nice club presentation
2017-10-06 11:09:30 +02:00