Commit graph

141 commits

Author SHA1 Message Date
Benjamin Bach 3659cf40df Add more precision to the order email (#51)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #51
Co-authored-by: Benjamin Bach <benjamin@overtag.dk>
Co-committed-by: Benjamin Bach <benjamin@overtag.dk>
2024-08-14 10:08:01 +00:00
Benjamin Bach 8f3e8f06f0 Remove unique constraint from initial field (#50)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #50
Reviewed-by: valberg <valberg@orn.li>
Co-authored-by: Benjamin Bach <benjamin@overtag.dk>
Co-committed-by: Benjamin Bach <benjamin@overtag.dk>
2024-08-14 09:37:13 +00:00
Benjamin Bach b3795977ed Membership invitations and order emails (#47)
All checks were successful
continuous-integration/drone/push Build is passing
* [x] Create invite emails from admin
* [x] Sign up on special invite form (create password and username)
* [x] Create email with unpaid orders and payment links
* [x] Lodge unpaid orders somewhere in UI for visibility

Reviewed-on: #47
Reviewed-by: valberg <valberg@orn.li>
Co-authored-by: Benjamin Bach <benjamin@overtag.dk>
Co-committed-by: Benjamin Bach <benjamin@overtag.dk>
2024-08-14 09:17:29 +00:00
Benjamin Bach c81481747f Add a footer link to the git repo (#49)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #49
Reviewed-by: valberg <valberg@orn.li>
Co-authored-by: Benjamin Bach <benjamin@overtag.dk>
Co-committed-by: Benjamin Bach <benjamin@overtag.dk>
2024-08-14 05:08:02 +00:00
Víðir Valberg Guðmundsson 52b38abf2a chore: cleanup and fix Dockerfile for development
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-09 08:33:14 +02:00
Benjamin Bach 00c615f318 More admin controls + Fix pay/success error 500 (#45)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #45
Reviewed-by: valberg <valberg@orn.li>
Co-authored-by: Benjamin Bach <benjamin@overtag.dk>
Co-committed-by: Benjamin Bach <benjamin@overtag.dk>
2024-08-04 17:12:02 +00:00
Benjamin Bach 1070e93885 Divide the amount received from Stripe by 100.0 (#40)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #40
Reviewed-by: valberg <valberg@orn.li>
Co-authored-by: Benjamin Bach <benjamin@overtag.dk>
Co-committed-by: Benjamin Bach <benjamin@overtag.dk>
2024-08-04 07:34:50 +00:00
Víðir Valberg Guðmundsson ca8987ba3b Use mail_admins instead of send_mail.
All checks were successful
continuous-integration/drone/push Build is passing
2024-08-03 20:53:18 +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
Benjamin Bach 865bc6c7bd New WaitingListEntry (#33)
All checks were successful
continuous-integration/drone/push Build is passing
Sorted the pre-commit things... some were because of `src/static` being included, and some have been fixed in another PR 🎉

Reviewed-on: #33
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 22:49:46 +00:00
Víðir Valberg Guðmundsson 0cf579c5f6 Update dockerfile to using bookworm, and to avoid invalidating cache unless updating requirements.
All checks were successful
continuous-integration/drone/push Build is passing
2024-07-31 23:48:39 +02: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
Benjamin Bach 2c99799d4d Shorten and document Docker tweaks for Python and pip (#35)
All checks were successful
continuous-integration/drone/push Build is passing
Wanted to use some of the setup for bootstrapping another project, so I had a close look over these couple of items.

Reviewed-on: #35
Reviewed-by: valberg <valberg@orn.li>
Co-authored-by: Benjamin Bach <benjamin@overtag.dk>
Co-committed-by: Benjamin Bach <benjamin@overtag.dk>
2024-07-23 22:48:24 +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 b39b114e30 pre-commit autoupdate 2024-07-14 20:55:22 +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
Halfdan Mouritzen fedfca25a5 Adding flow to add new emails to an account
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-02 17:43:16 +01:00
Halfdan Mouritzen 89d7c9c9d5 CSS should be merged correctly now
All checks were successful
continuous-integration/drone/push Build is passing
2024-03-02 14:49:50 +01:00
Halfdan Mouritzen f5acfbedd4 Cleaning 2024-03-02 12:15:33 +01:00
Víðir Valberg Guðmundsson cf3c84b8d9 More linting.
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-29 21:30:36 +01:00
Víðir Valberg Guðmundsson 1b65558608 Lint galore. Also use python 3.12. 2024-02-29 21:28:17 +01:00
Halfdan Mouritzen 4112069cac feature/css (#29)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #29
Co-authored-by: Halfdan Mouritzen <halfdan@robothangarskib.dk>
Co-committed-by: Halfdan Mouritzen <halfdan@robothangarskib.dk>
2024-02-29 20:02:39 +00:00
Víðir Valberg Guðmundsson bdc2d8717c Add devenv files.
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-10 10:55:38 +01:00
Víðir Valberg Guðmundsson f99c7ee698 Fetch permissions before rendering templates.
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-10 10:50:23 +01:00
Víðir Valberg Guðmundsson a098a0b032 Add logging.
All checks were successful
continuous-integration/drone/push Build is passing
2024-02-09 22:04:30 +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 b8a970d5fe Add missing migration 2024-01-14 12:14:51 +01:00
Halfdan Mouritzen 9dda7670df Minimal CSS for tables (#26)
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #26
Co-authored-by: Halfdan Mouritzen <halfdan@robothangarskib.dk>
Co-committed-by: Halfdan Mouritzen <halfdan@robothangarskib.dk>
2024-01-14 11:10:55 +00:00
Halfdan Mouritzen 02907a7684 Minimal CSS for tables
Some checks failed
continuous-integration/drone/pr Build is failing
2024-01-13 22:14:23 +01:00
valberg 33f5e7a285 ui-overhaul (#24)
All checks were successful
continuous-integration/drone/push Build is passing
Co-authored-by: Halfdan <halm@itu.dk>
Co-authored-by: Halfdan Mouritzen <halfdan@robothangarskib.dk>
Reviewed-on: #24
2024-01-13 20:07:36 +00:00
Víðir Valberg Guðmundsson 2ed5df5241 Add pyproject.toml file. 2024-01-13 15:39:31 +01:00
Víðir Valberg Guðmundsson 9b52cd4270 Update stuff. 2024-01-07 15:04:08 +01:00
Víðir Valberg Guðmundsson 25445e59cf Add i18n to builtin template tags.
Some checks reported errors
continuous-integration/drone/push Build was killed
2023-10-02 21:19:25 +02:00
Víðir Valberg Guðmundsson f42101c476 Adding some titles
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-02 20:50:39 +02:00
Víðir Valberg Guðmundsson 88e15974dc Fixing some stuff with README
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-02 20:10:24 +02:00
Víðir Valberg Guðmundsson 81ff8d0177 Upgrade pre-commit hooks.
All checks were successful
continuous-integration/drone/push Build is passing
2023-10-02 19:56:38 +02:00
Víðir Valberg Guðmundsson 6894c57aa0 Upgrade dependencies. 2023-10-02 19:56:09 +02:00
Víðir Valberg Guðmundsson d2e58d396f Small adjustments.
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-30 08:14:02 +02:00
Víðir Valberg Guðmundsson 770c1c81b6 Fix member list.
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-18 21:14:47 +02:00
Víðir Valberg Guðmundsson f1c328a10c Upgrading stuff.
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-18 20:58:30 +02:00
Víðir Valberg Guðmundsson beabd49976 Fix membership page
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-16 16:27:15 +02:00
Víðir Valberg Guðmundsson bab951afb8 Add missing migration
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-16 16:19:51 +02:00
Víðir Valberg Guðmundsson 390954ebaf Use docker compose, not docker-compose.
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-16 15:39:13 +02:00
Víðir Valberg Guðmundsson 175f0438d4 Update logo.
All checks were successful
continuous-integration/drone/push Build is passing
2023-09-16 15:28:42 +02:00
Víðir Valberg Guðmundsson e6661c1b5a Minor detail.
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-08 08:19:58 +01:00