mirror of
1
Fork 0
forgejo/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.
2024-01-22 07:19:56 +00:00
..
actions Fix schedule not trigger bug because matching full ref name with short ref name (#28874) 2024-01-22 02:13:24 +00:00
agit
asymkey
attachment
auth
automerge
context
convert Add branch protection setting for ignoring stale approvals (#28498) 2024-01-15 07:20:01 +00:00
cron
doctor Move doctor package from modules to services (#28856) 2024-01-20 10:07:31 +08:00
externalaccount
feed
forms Remove trust model selection from repository creation on web page because it can be changed in settings later (#28814) 2024-01-16 20:54:48 +08:00
gitdiff
indexer
issue
lfs
mailer Rework markup link rendering (#26745) 2024-01-15 08:49:24 +00:00
markup
migrations
mirror
notify
org
packages Fix some RPM registry flaws (#28782) 2024-01-19 11:37:10 +00:00
pull Retarget depending pulls when the parent branch is deleted (#28686) 2024-01-17 01:44:56 +01:00
release
repository Fix `DeleteCollaboration` transaction behaviour (#28886) 2024-01-22 07:19:56 +00:00
secrets
task
uinotification
user Forbid removing the last admin user (#28337) 2024-01-15 06:51:43 +00:00
webhook
wiki