Commit graph

26 commits

Author SHA1 Message Date
Benjamin Bach 1d26bbc17a
WIP: View, form and template for invitations, add exceptions for linting rules
Some checks failed
continuous-integration/drone/pr Build is failing
2024-08-08 08:37:24 +02:00
Benjamin Bach 93e8028413
WIP: Add generic email functionality, extending for sending out invite emails and order links...
Some checks failed
continuous-integration/drone/pr Build is failing
2024-08-07 14:33:15 +02:00
Benjamin Bach 9e1cf5cf2a
Add django-ratelimit as dependency 2024-08-06 23:49:21 +02:00
Benjamin Bach 4254baf09d Changes to payment models (#32)
All checks were successful
continuous-integration/drone/push Build is passing
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: #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)
All checks were successful
continuous-integration/drone/push Build is passing
Seems to work!

Reviewed-on: #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.
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-31 23:26:40 +02:00
Benjamin Bach f6d8f82065 Requirements pinning + some cleanup (#36)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #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.
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-17 08:44:07 +02:00
Víðir Valberg Guðmundsson f18469833a The ruffening.
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-15 00:19:37 +02:00
Víðir Valberg Guðmundsson 480eecca12 Cleanup. 2024-07-14 23:14:07 +02:00
Víðir Valberg Guðmundsson d31f62ebb4 Upd.
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-31 21:26:20 +02:00
Víðir Valberg Guðmundsson 712c50fac7 Use hatch for installing.
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-03 11:05:21 +01:00
Víðir Valberg Guðmundsson 1b65558608 Lint galore. Also use python 3.12. 2024-02-29 21:28:17 +01:00
Víðir Valberg Guðmundsson f31cd62351 Implement django-view-decorator
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-14 12:27:36 +01:00
Víðir Valberg Guðmundsson 2ed5df5241 Add pyproject.toml file. 2024-01-13 15:39:31 +01:00
Víðir Valberg Guðmundsson 4c5803545d Switch out poetry with pip-tools.
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-21 20:51:09 +01:00
Víðir Valberg Guðmundsson 3dde14614f Fixes and cleanup.
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-09 19:29:42 +02:00
Víðir Valberg Guðmundsson 4c5d0e30ab Poetry lock. Bump django to 4.1.
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-09 19:17:29 +02:00
Víðir Valberg Guðmundsson f8688de23a Debug toolbar is only available when DEBUG is True.
Some checks failed
continuous-integration/drone/push Build is failing
2022-08-09 16:33:56 +02:00
Víðir Valberg Guðmundsson 0278b2b48e Upgrade django, python, etc.
All checks were successful
continuous-integration/drone/push Build is passing
2021-12-13 20:44:09 +01:00
Víðir Valberg Guðmundsson 72c4020d96 Add whitenoise.
Some checks reported errors
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build encountered an error
2021-03-01 20:34:51 +01:00
Víðir Valberg Guðmundsson ea3039a279 Fix entrypoint paths. Add uvicorn. Set correct port.
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
2021-03-01 14:13:19 +01:00
Víðir Valberg Guðmundsson 4c75991fcb Refactoring things and doing stuff WIP way. 2021-02-27 21:07:48 +01:00
Thomas Jespersen 10f23d1ad8
Add psycopg2 as dependency 2021-02-09 22:36:34 +01:00
Mikkel Munch Mortensen 1a66dbff3a
Upgrade various packages to most recent versions
* Django
 * django-money
 * pre-commit

Also fix a few minor issues:
 * Front page was broken, as `render_to_response` is no longer in
   Django, but replaced by `render`.
 * Base template had a link to a "change e-mail" page that no longer
   exists. Linking to "change password" instead. At least for now.
2021-01-26 20:37:50 +01: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