WIP: Services #25

Draft
valberg wants to merge 8 commits from services into main
Owner

Dette PR handler om at få en måde hvorpå medlemmer kan få adgang til de forskellige services vi udbyder.

Dette PR handler om at få en måde hvorpå medlemmer kan få adgang til de forskellige services vi udbyder.
valberg added 1 commit 2024-01-13 20:19:37 +00:00
Initial stuff for services.
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
2d4562944f
valberg added 1 commit 2024-01-13 20:38:13 +00:00
Display the services.
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
aed28a8a53
valberg added 4 commits 2024-01-14 11:51:37 +00:00
Reviewed-on: #26
Co-authored-by: Halfdan Mouritzen <halfdan@robothangarskib.dk>
Co-committed-by: Halfdan Mouritzen <halfdan@robothangarskib.dk>
WIP.
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
69cfc38771
valberg added 1 commit 2024-01-14 11:53:05 +00:00
Merge branch 'main' into services
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
c48cc3b347
valberg added 1 commit 2024-02-29 20:53:27 +00:00
Merge branch 'main' into services
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
535543f82f
valberg added 3 commits 2024-04-20 08:33:05 +00:00
valberg force-pushed services from ad6564b510 to 6e2ed21f67 2024-07-14 22:28:23 +00:00 Compare
valberg added 1 commit 2024-07-15 08:06:02 +00:00
WIP.
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
ce8d4bd228
benjaoming reviewed 2024-07-29 20:58:57 +00:00
@ -142,0 +165,4 @@
)
def __str__(self) -> str:
return f"{self.user} - {self.service}"
Owner

Just wanna say that I've seen this WRT the Membership and MembershipType definitions. I think this will work fine in combination. I have some ideas etc.. but fundamentally, this doesn't need to change 👍

Just wanna say that I've seen this WRT the Membership and MembershipType definitions. I think this will work fine in combination. I have some ideas etc.. but fundamentally, this doesn't need to change 👍
Owner

There will be a new model Product and Order that are relevant for charging services, but we can probably figure out how they are associated with services... I like the idea of matching a service with some well-known string.

There will be a new model Product and Order that are relevant for charging services, but we can probably figure out how they are associated with services... I like the idea of matching a service with some well-known string.
benjaoming reviewed 2024-08-04 17:24:55 +00:00
@ -142,0 +154,4 @@
),
)
user = models.ForeignKey("auth.User", on_delete=models.PROTECT)
Owner

This is correct! 💯

Notable because there is also a Membership model.. however, memberships are renewed every year, and a user should be able to use the same services across different memberships.

How we handle "eligibility to a service" can happen later..

This is correct! 💯 Notable because there is also a Membership model.. however, memberships are renewed every year, and a user should be able to use the same services across different memberships. How we handle "eligibility to a service" can happen later..
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
This pull request has changes conflicting with the target branch.
  • src/membership/admin.py
  • src/membership/models.py
  • src/project/views.py

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin services:services
git checkout services
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: data.coop/membersystem#25
No description provided.