Commit Graph

47 Commits

Author SHA1 Message Date
imperosol c588e5117d make Refilling.payment_method a SmallIntegerField 2025-11-19 21:03:55 +01:00
imperosol 2086d23b50 fix old subscribers group attribution
Si un utilisateur faisait sa première cotisation alors qu'il avait déjà un compte AE (par exemple, en effectuant un achat sur l'eboutic avant sa cotisation), alors il pouvait se retrouver hors du groupe Anciens cotisants.
2025-08-31 20:49:56 +02:00
imperosol 6bf02cecd9 Allow some customisation in core/edit.jinja 2025-02-15 12:05:54 +01:00
imperosol 05d4a09f8c Add a page to manage the groups that can create permissions 2025-02-15 12:05:54 +01:00
imperosol 294b59b4d6 use django auth for subscription creation page 2025-02-13 13:36:46 +01:00
klmp200 f63fb59cbf Allow filtering of refilling options
* Move settings.SITH_COUNTER_PAYMENT_METHOD to counter.apps.PAYMENT_METHOD
* Move student cards to an accordion on counter click
* Make cash default refilling option
* Disable bank selection option in refilling if CHECK are not allowed
* Disable refilling with CHECK from the frontend
2024-12-16 00:15:21 +01:00
imperosol fc0e689d4e add initial values to forms 2024-12-03 19:41:09 +01:00
imperosol d2d639e5f6 Split SubscriptionForm into SubscriptionNewUserForm and SubscriptionExistingUserForm 2024-12-03 19:41:09 +01:00
imperosol 70f5ae4f9c Move subscription forms to subscription/forms.py 2024-11-26 16:17:44 +01:00
imperosol 6853ec0b69 make random password generation safe 2024-11-19 13:21:08 +01:00
klmp200 a21460a1b8 Remove ajax_select from subscriptions 2024-10-20 22:36:55 +02:00
thomas girod 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
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
thomas girod 352b09d9cd fix subscription form translation 2024-09-01 15:20:07 +02:00
thomas girod 9295325d21 remove jquery datetime picker 2024-07-23 23:26:48 +02:00
thomas girod cfc19434d0 ruff rules UP008 and UP009 2024-07-08 15:37:09 +02:00
thomas girod 3143d3d91a reorganize imports with ruff 2024-06-26 12:35:38 +02:00
Julien Constant 8e7c025e47 [FIX] Broken link in readme and license fix (& update) (#591) 2023-04-04 18:39:45 +02:00
Théo DURR 142cb3316e Edited deprecated code
Fixes #449

See : https://docs.djangoproject.com/en/3.2/ref/forms/api/\#notes-on-field-ordering
2022-08-26 22:33:21 +02:00
klmp200 98bfc308a7 Minimal working version
* Upgrade dependencies
* Fix ugettext
* Fix bad urls
2022-08-04 00:28:09 +02:00
tleb 49a0ade315 core: create TzAwareDateTimeField to replace forms.DateTimeField 2021-09-29 15:24:06 +02:00
klmp200 12b6f0d488 django2.2: adapt DateTimeField in forms with the new API 2019-10-08 22:46:02 +02:00
klmp200 2616e8b24c django2.2: relpace django.core.urlresolvers by django.urls 2019-10-08 22:46:01 +02:00
klmp200 e24eb8ce37 subscriptions: add date_of_birth for new users created in subscription form 2018-10-16 00:44:32 +02:00
klmp200 cb58b00b6e All: Apply Black coding rules 2018-10-05 21:52:55 +02:00
krophil 2f912a197c Allow to subscribe before subscription end 2017-09-06 19:55:14 +02:00
klmp200 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
krophil 113c9e696b Format subscription 2017-06-13 10:07:57 +02:00
klmp200 88762c492f Subscriptions stats optimisations + form for start and end date 2017-06-06 23:27:57 +02:00
klmp200 e97135bf47 Add subscriptions stats 2017-06-06 22:03:56 +02:00
Skia 83deae5964 Apply GPLv3 to Sith, and add header to every concerned file 2017-04-24 17:51:12 +02:00
Skia 28431ec9be Big refactor: remove Subscriber class 2016-12-10 01:58:30 +01:00
Skia a0b1fa32e7 Fix subscription form 2016-09-02 12:29:50 +02:00
Skia 1f31d3b56f Send a mail when someone is subscribed 2016-08-31 18:40:17 +02:00
Skia fe2438ef0c Fix subscription right and typo 2016-08-29 19:48:29 +02:00
Skia 7797f87dd0 Clean up some useless prints 2016-08-20 22:15:54 +02:00
Skia 7e90e657a7 Add ajax-select app and improve some templates 2016-08-19 23:24:23 +02:00
Skia 66fdf6cbf7 Migrate and improve subscriptions 2016-08-14 19:28:14 +02:00
Skia aa17c44bcc Add location when subscribing 2016-08-05 00:51:04 +02:00
Skia e3705f9fe2 Make sliding subscriptions for 1 or 2 semesters 2016-07-28 12:41:29 +02:00
Skia 0248bdf6d1 Update SubscriptionForm to allow creating user on the fly 2016-07-07 00:52:30 +02:00
Skia bab3a38a2e Small subscription fix 2016-07-06 01:32:41 +02:00
Skia 2e84ee7d4f Fix subscription and improve views 2016-03-22 11:42:00 +01:00
Skia a14d940db2 Some refactoring and misc improvements 2016-02-05 16:59:42 +01:00
Skia 4322318c31 Club model implementation, various other changes 2016-01-29 15:20:00 +01:00
Skia 8fc360a977 Improve subscription and add it to admin app 2016-01-28 17:42:22 +01:00