Commit graph

14 commits

Author SHA1 Message Date
Benjamin Bach 9e1cf5cf2a
Add django-ratelimit as dependency 2024-08-06 23:49:21 +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
Benjamin Bach 59620aa309 Switch to using uv instead of pip-tools (#39)
Seems to work!

Reviewed-on: data.coop/membersystem#39
Reviewed-by: valberg <valberg@orn.li>
Co-authored-by: Benjamin Bach <benjamin@overtag.dk>
Co-committed-by: Benjamin Bach <benjamin@overtag.dk>
2024-08-02 22:58:19 +00:00
Víðir Valberg Guðmundsson 7a3a629d6f Update requirements compilation to use hatch-pip-compile. 2024-07-31 23:26:40 +02:00
Benjamin Bach f6d8f82065 Requirements pinning + some cleanup (#36)
Reviewed-on: data.coop/membersystem#36
Reviewed-by: valberg <valberg@orn.li>
Co-authored-by: Benjamin Bach <benjamin@overtag.dk>
Co-committed-by: Benjamin Bach <benjamin@overtag.dk>
2024-07-31 21:17:00 +00:00
Víðir Valberg Guðmundsson 5d516b7851 Update packages. 2024-07-17 08:44:07 +02:00
Víðir Valberg Guðmundsson 480eecca12 Cleanup. 2024-07-14 23:14:07 +02:00
Víðir Valberg Guðmundsson a08d6e044b Use poetry to control the projects dependencies. Also setup black for pre-commit. 2019-09-01 00:25:25 +02:00
Benjamin Bach 5fb87dcf84 Bump to Django 2.2 2019-08-31 19:44:02 +02:00
Benjamin Bach 66ca59be35 Merge branch 'master' into membership_stuff 2019-08-31 18:54:50 +02:00
Benjamin Bach a22c2587dd Remove allauth 2019-08-31 18:52:12 +02:00
Benjamin Bach f46b031a8d django-money dependency 2018-06-23 20:54:37 +02:00
Mikkel Munch Mortensen dfdf065a87
Add django-extensions 2018-06-23 16:09:43 +02:00
Mikkel Munch Mortensen 0bdbbdbaad
Add a requirements.txt file 2018-06-23 14:04:59 +02:00