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
KN4CK3R 8e9b6817bc
Fix `DeleteCollaboration` transaction behaviour (#28886)
The method can't be called with an outer transaction because if the user
is not a collaborator the outer transaction will be rolled back even if
the inner transaction uses the no-error path.

`has == 0` leads to `return nil` which cancels the transaction. A
standalone call of this method does nothing but if used with an outer
transaction, that will be canceled.
1 year ago
..
actions Fix schedule not trigger bug because matching full ref name with short ref name (#28874) 1 year ago
agit Adjust object format interface (#28469) 1 year ago
asymkey Move more functions to db.Find (#28419) 1 year ago
attachment Even more `db.DefaultContext` refactor (#27352) 1 year ago
auth Refactor timeutil package (#28623) 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 Add branch protection setting for ignoring stale approvals (#28498) 1 year ago
cron Update go dependencies (#28518) 1 year ago
doctor Move doctor package from modules to services (#28856) 1 year ago
externalaccount Final round of `db.DefaultContext` refactor (#27587) 1 year ago
feed More `db.DefaultContext` refactor (#27265) 1 year ago
forms Remove trust model selection from repository creation on web page because it can be changed in settings later (#28814) 1 year ago
gitdiff Add option to disable ambiguous unicode characters detection (#28454) 1 year ago
indexer Fix missing issue search index update when changing status (#28325) 1 year ago
issue Remove deadcode under models/issues (#28536) 1 year ago
lfs Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 1 year ago
mailer Rework markup link rendering (#26745) 1 year ago
markup make writing main test easier (#27270) 1 year ago
migrations Move more functions to db.Find (#28419) 1 year ago
mirror Refactor deletion (#28610) 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 Fix some RPM registry flaws (#28782) 1 year ago
pull Retarget depending pulls when the parent branch is deleted (#28686) 1 year ago
release Refactor deletion (#28610) 1 year ago
repository Fix `DeleteCollaboration` transaction behaviour (#28886) 1 year ago
secrets Refactor deletion (#28610) 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 Forbid removing the last admin user (#28337) 1 year ago
webhook Abstract hash function usage (#28138) 1 year ago
wiki Fix schedule tasks bugs (#28691) 1 year ago