Implement organization limits #389
No reviewers
Labels
No labels
API
Billing
UI/UX
dependencies
bug
change
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
servala/servala-portal!389
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "380-organization-limits"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes #380, closes #384
Notable points:
This is OK
Yes, this makes sense this way.
Other things:
Done.
Done.
I now added the featureset described in #384: fully enforcing the validity limits + reminder sending (needs yet another cronjob). Notes on this implementation:
That's OK
For now, all organization members are fine. We can refine this at a later stage if required.
If I'm not mistaken, that would be similar to https://servala.app.codey.ch/servala/servala-portal/src/branch/main/deployment/kustomize/base/portal/cronjob.yaml, but with the
send_expiration_reminderscommand? Would it make sense to implement this with Django 6 tasks and something like django-dbtasks? I'd create an issue for later for this then (out of scope of this PR).Then:
/org/$org/support/Maybe! I haven't worked with the new Django tasks interface yet, and I think its strength and target will be in the realm of user-triggered tasks that are long running (e.g. generating download files etc) rather than scheduled tasks that should run in a fixed interval like crontabs. (You definitely can model one with the other; like with celery-cronjobs, but it always feels a bit awkward).
I do think that we'll want some sort of management around recurring tasks to avoid having a lot of cronjobs – instead probably a single frequently-running one that schedules/defers hourly tasks, daily tasks etc (or, even simpler and less prone to error until we need something more complex, possibly a
manage.py daily_tasks,manage.py hourly_tasks). Worth discussing in a separate issue for sure.Done, and also fixed the alignment, and made the call-to-support buttons look the same in alerts as in the top-level banners.
#382 is now also part of this PR