thomas girod
c42aea26d7
Merge pull request #1229 from ae-utbm/update-deps
...
Update dependencies
2025-11-07 19:15:44 +01:00
imperosol
7665d7efb4
update subscription price
2025-11-07 18:46:41 +01:00
imperosol
f027464d0e
apply new ruff rules
2025-11-07 16:24:28 +01:00
imperosol
854dd2d9e7
add disclaimer for subscription purchase with AE account
2025-09-22 13:28:42 +02:00
imperosol
3ad40b7383
change birthdate only if user didn't have it previously
2025-09-04 11:03:02 +02:00
imperosol
3709b5c221
require birthday when creating subscriptions for users that didn't give it previously
2025-09-04 11:02:59 +02:00
imperosol
84e2f1b45a
fix: subscription form alignment
2025-09-04 11:02:48 +02:00
imperosol
8524996f06
simplify Subscription.save()
2025-09-01 15:30:39 +02: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
c904e41ea3
Replace tab macro with new tab web component
2025-06-16 09:05:19 +02:00
imperosol
8a38ebb09d
skip useless checks when creating a subscription for a new member
2025-03-13 18:49:42 +01:00
imperosol
7c3186da79
apply ruff rule A005
2025-03-10 10:33:05 +01:00
imperosol
9c0d89de83
Give the student role when creating a new user subscription
2025-02-24 07:13:19 +01: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
imperosol
b7bf3fd375
Give the old_subscribers group when subscribing
2025-01-10 02:12:17 +01:00
imperosol
be6a077c8e
fix access to the subscription page
2024-12-18 14:13:39 +01:00
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
f0bc502ec9
fix translation in subscription creation success fragment
2024-12-09 12:31:58 +01:00
imperosol
9667c79162
remove htmx-ext-response-targets
2024-12-03 19:41:10 +01:00
imperosol
04b4b34bfe
add back user profiles on subscription form
2024-12-03 19:41:09 +01:00
imperosol
fc0e689d4e
add initial values to forms
2024-12-03 19:41:09 +01:00
imperosol
8dcfc604a0
write tests
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
0485ab1120
Remove defer from script where type=module is used
2024-11-19 21:22:14 +01:00
8a8851847c
Passage de webpack à vite.dev
2024-11-19 21:22:14 +01:00
7b41051d0d
Go for a more generic js bundling architecture
...
* Don't tie the output name to webpack itself
* Don't call js bundling webpack in python code
* Make the doc more generic about js bundling
2024-11-19 21:22:14 +01:00
imperosol
6853ec0b69
make random password generation safe
2024-11-19 13:21:08 +01:00
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
7e1734aed5
Migrate chartjs to npm
2024-10-14 00:55:48 +02:00
thomas girod
a4fe4996aa
Merge pull request #834 from ae-utbm/real-name
...
Restore real name
2024-10-03 10:12:23 +02:00
thomas girod
0eaa20e09d
fix localdate issues
2024-10-03 00:25:22 +02:00
9c93162741
Add missing files
2024-09-23 10:25:27 +02:00
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
d295cc5223
move vendored files into their own folder
2024-08-26 22:34:32 +02:00
thomas girod
eef15e05f4
use autocomplete_fields in admin
2024-08-01 11:27:54 +02:00
thomas girod
b25805e0a1
introduce djhtml as jinja+scss formater
2024-07-25 16:46:45 +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
fee7ade1a5
Harmonize test names
2024-07-24 00:50:48 +02:00
thomas girod
9295325d21
remove jquery datetime picker
2024-07-23 23:26:48 +02:00
thomas girod
3046438cb1
replace drf by django-ninja
2024-07-23 19:57:33 +02:00
thomas girod
8c69a94488
use google convention for docstrings
2024-07-21 00:57:04 +02:00
thomas girod
2ac578c3ad
ruff rule DJ
...
Co-authored-by: Bartuccio Antoine <klmp200@users.noreply.github.com >
2024-07-08 15:37:10 +02:00
thomas girod
cfc19434d0
ruff rules UP008 and UP009
2024-07-08 15:37:09 +02:00
thomas girod
d97602e60b
Use pytest for tests ( #681 )
...
* use pytest for tests
Eh ouais, il y a que la config qui change. Pytest est implémentable par étapes. Et ça c'est beau.
* rework tests with pytest
* remove unittest custom TestRunner
* Edit doc and CI
2024-06-26 19:10:24 +02:00
thomas girod
3143d3d91a
reorganize imports with ruff
2024-06-26 12:35:38 +02:00