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
Julien Constant
8e7c025e47
[FIX] Broken link in readme and license fix (& update) ( #591 )
2023-04-04 18:39:45 +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
773808fa59
Disabled Galaxy button & Removed 404 exception display
2023-03-08 12:50:52 +01:00
Skia
b7f20fed6c
Galaxy ( #575 )
...
Co-authored-by: Skia <florent.jacquet@eshard.com>
2023-03-02 15:11:23 +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
Théo DURR
6a0a8e8ab4
Edited bar manager club to pdf (pdfesti) ( #503 )
...
* Edited bar manager club to pdf (pdfesti)
* Fixed unit tests
2022-12-08 18:26:41 +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
e0ad288cf4
Suppression des appels à la db de l'ancien site ( #483 )
2022-10-19 16:26:30 +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
b45673f04a
Update settings.py
2022-08-27 21:54:20 +02:00
Théo DURR
cb6e037f5e
Fixed some mess done on settings.py
2022-08-27 21:52:16 +02:00
Théo DURR
64f8d9bad3
Function name refactor
...
So the name is clearer
2022-08-27 21:36:45 +02:00
Théo DURR
05b86e1f7a
Black again
2022-08-27 21:23:49 +02:00
Théo DURR
700fed860d
Code refactor and comments
2022-08-27 21:22:31 +02:00
Théo DURR
b97ce81dd2
Fixed black lint
2022-08-27 19:48:23 +02:00
Théo DURR
f4dfd8f99c
settings.DEBUG variable sets the sentry env to development
...
DSN still needs to be specified manually
2022-08-27 19:46:26 +02:00
Théo DURR
29139bf360
SENTRY_ENV can now be overriden in settings.py
2022-08-27 18:58:12 +02:00
Théo DURR
4f9c2724f5
Updated sentry modal SDK
...
Specified default environment for issues
2022-08-27 18:46:22 +02:00
4f00224f0d
Update dependencies, apply black and fix wrong default SITH_COUNTER_OFFICES values
2022-08-04 18:42:29 +02:00
08924c5e05
Fix wrong url and set default auto field
2022-08-04 00:38:50 +02:00
98bfc308a7
Minimal working version
...
* Upgrade dependencies
* Fix ugettext
* Fix bad urls
2022-08-04 00:28:09 +02:00
Alexandre | L'Sacienne
454ae5f9e3
Add authorization to refill to the counters AE & BdF
2022-05-22 09:56:53 +00:00
Skia
e8978cc065
sith/toolbar_debug: don't fail when there is no template
2021-10-01 14:08:57 +02:00
Francesco
1a091951e8
Added new subscription for the new CA offer
2021-09-28 01:11:23 +02:00
tleb
be26e3df7f
core: add ./manage.py check_front command and call it on runserver
2021-09-27 22:00:36 +02:00
Francesco Witz
aaf1adaaa1
sith: Added a new subscription
2020-08-30 23:53:19 +02:00
Och
797ca0f926
settings: Added a new subscription
2020-06-18 00:23:51 +02:00
5c30de5f22
core: redesign request middleware with django latest design and better use of threading
2019-11-14 16:32:29 +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
209867b3a8
black: makes new version happy
2019-11-04 13:46:09 +01:00
tleb
5cc7eff94f
pedagogy: uv autofill finishing touches
2019-10-24 14:18:29 +02:00
tleb
1c0d15ba2a
settings: fix black report
2019-10-21 21:17:11 +02:00
tleb
419a48ac3a
/pedagogy/uv/create put urls in settings
2019-10-21 17:01:21 +02:00
tleb
86bc491df4
Fix UV_endpoint auth
2019-10-20 18:26:11 +02:00
296cc4144c
django2.2: remove SessionAuthenticationMiddleware
...
See https://docs.djangoproject.com/en/2.2/releases/2.0/ for more details
2019-10-08 22:46:03 +02:00
df531198c9
django2.2: fix urls and adapt them to new format
2019-10-08 22:46:02 +02:00
be855c6c90
django2.2: migrate url to re_path
2019-10-08 22:46:01 +02:00
05e5008305
documentation: base structure for new documentation
2019-10-07 23:51:35 +02:00
b8ad2d4835
sas: add pagination on AlbumView
2019-09-16 01:26:20 +02:00
Zar
dc9111dbcd
SUBSCRIPTIONS: 5 new discounted subscriptions for integration
2019-08-29 19:06:58 +02:00
a2b431b1ab
Merge branch 'pedagogy_v2' into 'master'
...
New version of the pedagogy
See merge request ae/Sith!212
2019-07-11 00:05:27 +02:00
f500dec1f1
core: rename MIDDLEWARE_CLASSES into MIDDLEWARE
...
MIDDLEWARE_CLASSES is deprecated since django 1.11 and with last version of django-debug-toolbar it broke the dev server
See here for more details https://docs.djangoproject.com/fr/2.2/topics/http/middleware/#upgrading-pre-django-1-10-style-middleware
2019-07-05 22:01:30 +02:00
3376f4dfb4
pedagogy: fix typo for AUTUMN_AND_SPRING
2019-07-05 16:40:02 +02:00
6e7d351e8e
pedagogy: send notification to pedagogy admins at comment report
2019-07-04 15:32:00 +02:00
b7c2da53fe
pedagogy: models for UVComment and UVResult
2019-06-16 16:02:27 +02:00
5bf5d0277c
pedagogy: create view and form for UV
...
WARNING: A new group has been created, to be set by the infra team at deployment !!!
2019-06-15 17:01:25 +02:00
31f6ee9ca4
pedagogy: create first iteration of UV model
2019-06-15 14:17:49 +02:00
17a375f89c
pedagogy: structure of the app
2019-06-15 12:49:13 +02:00
e8f742b9f9
core: remove external resources once for all
2019-05-18 03:00:19 +02:00
641d564ec6
forum: add trigger to update index on ForumMessage update
2018-12-13 20:33:34 +01:00
Skia
65e0b15b31
Update Haystack indexer to use Xapian
2018-11-26 21:25:02 +01:00
bdd8427758
sentry: integration with error 500 page
2018-10-10 02:18:19 +02:00
b2d44e83b4
debug: add sentry support
2018-10-06 03:37:36 +02:00
cb58b00b6e
All: Apply Black coding rules
2018-10-05 21:52:55 +02:00
Soldat
cd7672f08c
Change local for one day cotiz
2018-09-20 14:48:40 +02:00
Soldat
2fca548e15
Add 1 day cotiz
2018-09-20 14:30:35 +02:00
Soldat
7a1b9bd412
compute_end count day by day now (not month by month like before) to allow 6 weeks cotiz
2018-09-01 17:45:13 +02:00
Soldat
f78d8e1d95
change sub 2 month free to 6 weeks free
2018-08-31 18:41:06 +02:00
e3cb6d41f9
Add subscription for 2018 Euroks
2018-07-07 00:13:31 +02:00
Grégoire Duvauchelle
afe78ea634
Add captcha to registration form
2018-07-06 11:35:02 +02:00
a0a86ef8e1
Allow BDF's members to see subscriptions on users
2018-06-10 16:09:21 +02:00
72d2862e3e
Posters now working + notifications for com admin
2017-12-16 20:48:36 +01:00
e3fd3b81ab
Add gift function
2017-11-06 00:30:37 +01:00
6c957e3ce4
Integrate external_res variable
2017-10-18 14:44:47 +02:00
Skia
a09c634ac6
core: add phonenumber template filter
...
Signed-off-by: Skia <skia@libskia.so>
2017-10-06 17:28:51 +02:00
fe69cbcee1
Add page for clubs and inactive clubs
2017-10-06 11:09:29 +02:00
3089b484d3
Enhanced news
2017-10-02 14:29:36 +02:00
Skia
f0c34fe70c
sas: add permanent notification for SAS moderation
...
Signed-off-by: Skia <skia@libskia.so>
2017-09-25 12:35:56 +02:00
2f912a197c
Allow to subscribe before subscription end
2017-09-06 19:55:14 +02:00
Skia
0184b9c29b
core, com: make permanent notifications for news to moderate
...
This needs to be made for other stuff, like the SAS or the files...
Signed-off-by: Skia <skia@libskia.so>
2017-09-06 13:17:23 +02:00
3be64d6a8f
New subscription type for jewels
...
New condition to consider floats in subscriptions
2017-08-31 16:37:03 +02:00
94582a2d96
Free subscription for jewels
2017-08-31 16:18:28 +02:00
Skia
0d5595c683
core: add test for Markdown syntax
...
Signed-off-by: Skia <skia@libskia.so>
2017-08-24 16:30:46 +02:00
6f6ad123af
Allow disabling CB in crisis time
2017-08-24 00:14:36 +02:00
d179a0a6d0
Fix typo and merge migrations
2017-08-22 15:36:39 +02:00
470680e760
Add moderation for mailing lists
2017-08-22 15:36:39 +02:00
fe187dae38
Only begining of the mail is now needed
2017-08-22 15:36:39 +02:00
69e997d587
Refactoring mailings
2017-08-22 15:36:39 +02:00
e82e338e76
Fix mailing settings position
2017-08-22 15:36:39 +02:00
8c9f02a142
Add fetch function for DSI
2017-08-22 15:36:39 +02:00
e785ad985f
Add a new subscription for the Welcome Week
2017-08-21 21:06:05 +02:00
b7c382a1a8
Basic search structure
2017-08-15 18:05:07 +02:00
de4521c192
Ecocup limit comments
2017-08-15 14:03:56 +02:00
748e3ae326
Refactor and migration corrections
2017-08-15 13:57:49 +02:00
7588cc8f73
Hardcoding ecocup values
2017-08-15 13:57:49 +02:00
40927fa13d
Add limit for ecocup recording
2017-08-15 13:57:49 +02:00
c56094eaaf
Some selected club members can now make people subscribe and fix major security hole in board_member verification
2017-07-26 20:31:29 +02:00
cd46e099b6
Format sith
2017-06-13 10:04:13 +02:00
b3466237ca
Format settings
2017-06-13 10:04:13 +02:00
Skia
457fc36e16
Fix markdown rendering on some pages, and add a link to the syntax help
...
Signed-off-by: Skia <skia@libskia.so>
2017-06-10 16:54:19 +02:00
Skia
f2b2ff533d
Rename Matmat to Trombi
2017-05-10 22:17:05 +02:00
Skia
b3bc33a319
Add first Matmat' app
2017-05-10 19:19:33 +02:00
200af57971
Put scss in renderer
2017-05-10 10:49:34 +02:00
acef5be8b3
New lite home made scss processor
2017-05-10 10:49:34 +02:00
630fdf93a4
Refactoring for compilestatic
2017-05-10 10:49:34 +02:00