Julien Constant
e9f3d2b377
Fix keyboard navigation not working properly
2023-05-02 12:53:26 +02:00
Julien Constant
1e7b8fadc5
Should fix #607
2023-05-02 12:53:26 +02:00
Julien Constant
6279135709
Extended profiles picture access to board members
2023-05-02 12:53:26 +02:00
Julien Constant
a67787e56d
Fix typo
2023-05-02 12:53:26 +02:00
Julien Constant
389549904a
Should fix duplicated albums in user profile (wtf)
2023-05-02 12:53:26 +02:00
Julien Constant
3e661826a5
Remove overwritten code
2023-05-02 12:53:26 +02:00
Julien Constant
b5bccc35dd
Fix root dir of SAS being unnaccessible for sas admins
...
⚠️ need to edit the SAS directory & save it (no changes required in sas directory properties)
2023-05-02 12:53:26 +02:00
Julien Constant
b8a55e95ab
Should fix #109
...
Block les URLs suivantes lorsque le fichier se trouve dans le dir `profiles` ou `SAS` :
- `/file/<id>/`
- `/file/<id>/[delete|prop|edit]`
> Les urls du SAS restent accessiblent pour les roots & les admins SAS
> Les urls de profiles sont uniquement accessiblent aux roots
2023-05-02 12:53:26 +02:00
Julien Constant
468ecdd789
Should fix #627
2023-05-02 12:53:26 +02:00
Julien Constant
7a9d3012b7
Should fix #610
2023-05-02 12:52:58 +02:00
Julien Constant
62054ab7c0
Fix failing test when 2 user are merged
2023-05-02 12:52:58 +02:00
Julien Constant
da5a4a4a53
Should fix #609
2023-05-02 12:52:58 +02:00
Julien Constant
76f9f1b102
Added back the permission denied
2023-05-02 12:52:58 +02:00
Julien Constant
d347b95153
Update core/views/site.py
...
Co-Authored-By: thomas girod <56346771+imperosol@users.noreply.github.com>
2023-05-02 12:52:26 +02:00
Julien Constant
f52ec66946
Fix #608
2023-05-02 12:52:26 +02:00
Julien Constant
dfe892d418
should fix #605
2023-05-02 12:52:26 +02:00
Julien Constant
fa4ab9f54a
Fix #604
2023-05-02 12:52:26 +02:00
Julien Constant
79a8fb0654
Fixes & améliorations du nouveau CSS ( #616 )
2023-05-02 12:52:26 +02:00
Julien Constant
7379a44b8c
Fix #602
2023-05-02 12:52:26 +02:00
Julien Constant
e4894d27ad
Fix #600
2023-05-02 12:44:56 +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
thomas girod
96dede5077
Speed up tests ( #638 )
2023-05-02 11:00:23 +02:00
thomas girod
66fcb76cb5
Merge pull request #635 from ae-utbm/dependabot/pip/taiste/sentry-sdk-1.21.0
...
[UPDATE] Bump sentry-sdk from 1.19.1 to 1.21.0
2023-04-26 22:17:13 +02:00
dependabot[bot]
63c8e51137
[UPDATE] Bump sentry-sdk from 1.19.1 to 1.21.0
...
Bumps [sentry-sdk](https://github.com/getsentry/sentry-python ) from 1.19.1 to 1.21.0.
- [Release notes](https://github.com/getsentry/sentry-python/releases )
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-python/compare/1.19.1...1.21.0 )
---
updated-dependencies:
- dependency-name: sentry-sdk
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-26 09:08:06 +00:00
dependabot[bot]
12bec5c553
[UPDATE] Bump django-countries from 7.5 to 7.5.1 ( #624 )
...
Bumps [django-countries](https://github.com/SmileyChris/django-countries ) from 7.5 to 7.5.1.
- [Release notes](https://github.com/SmileyChris/django-countries/releases )
- [Changelog](https://github.com/SmileyChris/django-countries/blob/main/CHANGES.rst )
- [Commits](https://github.com/SmileyChris/django-countries/compare/v7.5...v7.5.1 )
---
updated-dependencies:
- dependency-name: django-countries
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-26 02:48:04 +02:00
thomas girod
08460a6964
update link for poetry install
2023-04-22 22:29:43 +02:00
thomas girod
b5a40cfda9
Mise à jour de Black vers la version 23.3 ( #629 )
2023-04-22 15:32:31 +02:00
dependabot[bot]
c78953b036
[UPDATE] Bump cryptography from 37.0.4 to 40.0.1 ( #594 )
...
* [UPDATE] Bump cryptography from 37.0.4 to 40.0.1
Bumps [cryptography](https://github.com/pyca/cryptography ) from 37.0.4 to 40.0.1.
- [Release notes](https://github.com/pyca/cryptography/releases )
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst )
- [Commits](https://github.com/pyca/cryptography/compare/37.0.4...40.0.1 )
---
updated-dependencies:
- dependency-name: cryptography
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Updated pyOpenSSL to match cryptography requirements
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Julien Constant <julienconstant190@gmail.com>
2023-04-20 14:43:46 +02:00
dependabot[bot]
427f7ceaff
[UPDATE] Bump django-debug-toolbar from 3.8.1 to 4.0.0 ( #593 )
...
Bumps [django-debug-toolbar](https://github.com/jazzband/django-debug-toolbar ) from 3.8.1 to 4.0.0.
- [Release notes](https://github.com/jazzband/django-debug-toolbar/releases )
- [Changelog](https://github.com/jazzband/django-debug-toolbar/blob/main/docs/changes.rst )
- [Commits](https://github.com/jazzband/django-debug-toolbar/compare/3.8.1...4.0.0 )
---
updated-dependencies:
- dependency-name: django-debug-toolbar
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-09 21:37:48 +02:00
dependabot[bot]
1055385bcc
[UPDATE] Bump dict2xml from 1.7.2 to 1.7.3 ( #592 )
...
Bumps [dict2xml](https://github.com/delfick/python-dict2xml) from 1.7.2 to 1.7.3.
- [Release notes](https://github.com/delfick/python-dict2xml/releases)
- [Commits](https://github.com/delfick/python-dict2xml/compare/release-1.7.2...release-1.7.3)
---
updated-dependencies:
- dependency-name: dict2xml
dependency-type: direct:production
update-type: version-update:semver-patch
...
2023-04-09 11:38:58 +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
dependabot[bot]
06253f029c
[UPDATE] Bump sentry-sdk from 1.12.1 to 1.19.1 ( #620 )
2023-04-08 18:50:31 +00: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
d83842af27
Fix problème de cache dans le SAS & améliore le CSS du SAS
...
Co-authored-by: Bartuccio Antoine <klmp200@users.noreply.github.com>
2023-04-05 14:32:32 +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
8e7c025e47
[FIX] Broken link in readme and license fix (& update) ( #591 )
2023-04-04 18:39:45 +02:00
Julien Constant
1bfe929ab3
[CSS] Follow up of #578 ( #589 )
2023-04-04 15:21:09 +02:00
dependabot[bot]
93cc2c883e
Bump django from 3.2.16 to 3.2.18 ( #574 )
2023-04-04 10:16:55 +02:00
Julien Constant
44290a20a6
Create dependabot.yml ( #587 )
2023-04-03 17:18:16 +02:00
Julien Constant
1f10a284f2
Added GA/Clubs Google Calendar to main page ( #585 )
...
* Added GA/Clubs google calendar to main page
* Made tables full width
2023-04-03 15:54:12 +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
f0a08afd31
Merge branch 'repair_NaN_bug_on_click' into taiste
2023-03-10 10:50:26 +01:00
thomas girod
982fc09908
Repair NaN bug for autocomplete on counter click ( #583 )
...
* Repair NaN bug for autocomplete on counter click
2023-03-10 10:49:14 +01:00
Théo DURR
9e0b5b0b82
Merge branch 'partenariat-eurocks' into taiste
2023-03-09 17:14:34 +01:00
Julien Constant
b12e8dc147
[PARTENARIAT] Ajout vitrine d'achat billets eurockéennes 2023 ( #582 )
...
* Added eurocks links to eboutic
2023-03-09 17:13:45 +01:00
Thomas Girod
25c5a3297c
Repair NaN bug for autocomplete on counter click
2023-03-09 14:21:12 +01:00