You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/services
Danila Fominykh 60522fc96f
packages: Calculate package size quota using package creator ID instead of owner ID (#28007)
Changed behavior to calculate package quota limit using package `creator
ID` instead of `owner ID`.

Currently, users are allowed to create an unlimited number of
organizations, each of which has its own package limit quota, resulting
in the ability for users to have unlimited package space in different
organization scopes. This fix will calculate package quota based on
`package version creator ID` instead of `package version owner ID`
(which might be organization), so that users are not allowed to take
more space than configured package settings.

Also, there is a side case in which users can publish packages to a
specific package version, initially published by different user, taking
that user package size quota. Version in fix should be better because
the total amount of space is limited to the quota for users sharing the
same organization scope.
1 year ago
..
actions Always delete existing scheduled action tasks (#27662) 1 year ago
agit Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
asymkey Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
attachment Even more `db.DefaultContext` refactor (#27352) 1 year ago
auth Unify two factor check (#27915) 1 year ago
automerge Improve queue and logger context (#24924) 2 years ago
context Another round of `db.DefaultContext` refactor (#27103) 1 year ago
convert Fix package webhook (#27839) 1 year ago
cron Improve retrying index issues (#27554) 1 year ago
externalaccount Final round of `db.DefaultContext` refactor (#27587) 1 year ago
feed More `db.DefaultContext` refactor (#27265) 1 year ago
forms Add support for forking single branch (#25821) 1 year ago
gitdiff Even more `db.DefaultContext` refactor (#27352) 1 year ago
indexer Improve retrying index issues (#27554) 1 year ago
issue Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
lfs Bump github.com/golang-jwt/jwt to v5 (#25975) 2 years ago
mailer Fix missing mail reply address (#27997) 1 year ago
markup make writing main test easier (#27270) 1 year ago
migrations Fix DownloadFunc when migrating releases (#27887) 1 year ago
mirror Even more `db.DefaultContext` refactor (#27352) 1 year ago
notify Update status and code index after changing the default branch (#27018) 1 year ago
org Delete repos of org when purge delete user (#27273) 1 year ago
packages packages: Calculate package size quota using package creator ID instead of owner ID (#28007) 1 year ago
pull Fix poster is not loaded in get default merge message (#27657) 1 year ago
release Even more `db.DefaultContext` refactor (#27352) 1 year ago
repository Upgrade to golangci-lint@v1.55.0 (#27756) 1 year ago
secrets Refactor secrets modification logic (#26873) 1 year ago
task Fix incorrect ctx usage in defer function (#27740) 1 year ago
uinotification Penultimate round of `db.DefaultContext` refactor (#27414) 1 year ago
user Remove action runners on user deletion (#27902) 1 year ago
webhook Fix package webhook (#27839) 1 year ago
wiki Even more `db.DefaultContext` refactor (#27352) 1 year ago