Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-29 21:26:10 +01:00
forgejo/models/quota
Gergely Nagy 3b70949651
feat: Trivial default quota configuration
This adds a new configuration setting: `[quota.default].TOTAL`, which
will be used if no groups are configured for a particular user. The new
option makes it possible to entirely skip configuring quotas via the API
if all that one wants is a total size.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-08-26 13:25:34 +02:00
..
default.go feat: Trivial default quota configuration 2024-08-26 13:25:34 +02:00
errors.go feat(quota): Humble beginnings of a quota engine 2024-08-02 11:10:34 +02:00
group.go feat: Trivial default quota configuration 2024-08-26 13:25:34 +02:00
limit_subject.go feat(quota): Humble beginnings of a quota engine 2024-08-02 11:10:34 +02:00
quota.go feat(quota): Humble beginnings of a quota engine 2024-08-02 11:10:34 +02:00
quota_group_test.go feat(quota): Humble beginnings of a quota engine 2024-08-02 11:10:34 +02:00
quota_rule_test.go feat(quota): Humble beginnings of a quota engine 2024-08-02 11:10:34 +02:00
rule.go feat(quota): Humble beginnings of a quota engine 2024-08-02 11:10:34 +02:00
used.go feat(quota): Humble beginnings of a quota engine 2024-08-02 11:10:34 +02:00