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
Lunny Xiao ddc709ff7f
Add repo_id for attachment (#16958)
When create a new issue or comment and paste/upload an attachment/image, it will not assign an issue id before submit. So if user give up the creating, the attachments will lost key feature and become dirty content. We don't know if we need to delete the attachment even if the repository deleted.

This PR add a repo_id in attachment table so that even if a new upload attachment with no issue_id or release_id but should have repo_id. When deleting a repository, they could also be deleted.

Co-authored-by: 6543 <6543@obermui.de>
4 years ago
..
agit Fix spelling of HookProcReceiveResult (#16690) 4 years ago
archiver Add bundle download for repository (#14538) 4 years ago
attachment Add repo_id for attachment (#16958) 4 years ago
auth Allow BASIC authentication access to /:owner/:repo/releases/download/* (#16916) 4 years ago
comments Enhance Ghost comment mitigation Settings (#14392) 4 years ago
externalaccount Allow externalID to be UUID (#8551) 6 years ago
forms Added introspection endpoint. (#16752) 4 years ago
gitdiff Prevent panic on diff generation (#16950) 4 years ago
issue Fix various documentation, user-facing, and source comment typos (#16367) 4 years ago
lfs Test if LFS object is accessible (#16865) 4 years ago
mailer Send registration email on user autoregistration (#16523) 4 years ago
mirror Make mirror feature more configurable (#16957) 4 years ago
pull Add option to update pull request by `rebase` (#16125) 4 years ago
release Add repo_id for attachment (#16958) 4 years ago
repository Refactor the fork service slightly to take ForkRepoOptions (#16744) 4 years ago
webhook Add proxy settings and support for migration and webhook (#16704) 4 years ago
wiki Add repo_id for attachment (#16958) 4 years ago