Commit graph

28 commits

Author SHA1 Message Date
Víðir Valberg Guðmundsson ca8987ba3b Use mail_admins instead of send_mail. 2024-08-03 20:53:18 +02:00
Benjamin Bach 4254baf09d Changes to payment models (#32)
Flagging incoming changes, no actions required.

This is stuff I consider "MVP", as in what we need urgently to send out payment links to members and receive payments via Stripe.

- [x] Allow products, orders etc
- [x] Define several products per membership type
- [x] Possibility to create a membership BEFORE it's paid
- [x] Mark memberships active when payments are received
- [x] Create membership history for each member (via Django admin)
- [x] Efficiently mark members in a list and choose "create <membership type> for current year with an unpaid order" (Django Admin actions)
- [x] Order payment page w/ Stripe integration
- [ ] Send email with order payment link
- [ ] Send payment confirmation emails
- [x] Re-generate migrations

Co-authored-by: valberg <valberg@orn.li>
Reviewed-on: data.coop/membersystem#32
Reviewed-by: valberg <valberg@orn.li>
Co-authored-by: Benjamin Bach <benjamin@overtag.dk>
Co-committed-by: Benjamin Bach <benjamin@overtag.dk>
2024-08-03 17:55:32 +00:00
Víðir Valberg Guðmundsson f18469833a The ruffening. 2024-07-15 00:19:37 +02:00
Víðir Valberg Guðmundsson a098a0b032 Add logging. 2024-02-09 22:04:30 +01:00
Víðir Valberg Guðmundsson f31cd62351 Implement django-view-decorator 2024-01-14 12:27:36 +01:00
Víðir Valberg Guðmundsson 25445e59cf Add i18n to builtin template tags. 2023-10-02 21:19:25 +02:00
Víðir Valberg Guðmundsson d2e58d396f Small adjustments. 2023-09-30 08:14:02 +02:00
Víðir Valberg Guðmundsson f1c328a10c Upgrading stuff. 2023-09-18 20:58:30 +02:00
Víðir Valberg Guðmundsson b9f77251f1 Fix site context variable with a context processor. 2023-01-21 16:20:50 +01:00
Víðir Valberg Guðmundsson 26e06dfaea Upgrade to python 3.11. Update pre-commit. Small settings adjustments. 2023-01-11 21:55:58 +01:00
Víðir Valberg Guðmundsson e38bd56549 Pre-commit autoupdate and run on --all-files. 2023-01-03 21:39:40 +01:00
Víðir Valberg Guðmundsson bc00b32c46 Add the start for administration of memberships. 2023-01-02 23:06:00 +01:00
Víðir Valberg Guðmundsson 3dde14614f Fixes and cleanup. 2022-08-09 19:29:42 +02:00
Víðir Valberg Guðmundsson f8688de23a Debug toolbar is only available when DEBUG is True. 2022-08-09 16:33:56 +02:00
Víðir Valberg Guðmundsson 916e3694c6 Get CSRF_TRUSTED_ORIGINS from env. 2022-08-09 14:58:51 +02:00
Víðir Valberg Guðmundsson 0278b2b48e Upgrade django, python, etc. 2021-12-13 20:44:09 +01:00
Víðir Valberg Guðmundsson 141019ed75 Add DEFAULT_FROM_EMAIL. 2021-03-03 18:06:36 +01:00
Víðir Valberg Guðmundsson f585299388 It should be a touple. 2021-03-03 17:46:19 +01:00
Víðir Valberg Guðmundsson e725729bb3 Fix admins settings. 2021-03-03 17:32:34 +01:00
Víðir Valberg Guðmundsson ba7fabf5c7 Add ADMINS settings. 2021-03-03 15:18:57 +01:00
Víðir Valberg Guðmundsson 79f8903c2c Add email configuration. 2021-03-03 14:58:46 +01:00
Víðir Valberg Guðmundsson 72c4020d96 Add whitenoise. 2021-03-01 20:34:51 +01:00
Víðir Valberg Guðmundsson fb00df7274 Fix docker CMD. Add asgi.py. Fix static root. 2021-03-01 17:13:15 +01:00
Víðir Valberg Guðmundsson cf33b95201 Getting ready for some translations. 2021-02-28 23:55:01 +01:00
Víðir Valberg Guðmundsson 76478c5ae3 Ran pre-commit hooks. 2021-02-28 23:03:32 +01:00
Víðir Valberg Guðmundsson 85e2fd76c0 Some template work. 2021-02-28 12:41:10 +01:00
Víðir Valberg Guðmundsson aac3de1bb3 Starting allauth template work. 2021-02-27 23:18:27 +01:00
Víðir Valberg Guðmundsson 4c75991fcb Refactoring things and doing stuff WIP way. 2021-02-27 21:07:48 +01:00
Renamed from project/settings/base.py (Browse further)