1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-27 13:39:19 -05:00
forgejo/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>
2021-09-08 17:19:30 +02:00
..
agit Fix spelling of HookProcReceiveResult (#16690) 2021-08-14 13:17:10 +02:00
archiver Add bundle download for repository (#14538) 2021-08-24 11:47:09 -05:00
attachment Add repo_id for attachment (#16958) 2021-09-08 17:19:30 +02:00
auth Allow BASIC authentication access to /:owner/:repo/releases/download/* (#16916) 2021-09-02 16:48:48 +01:00
comments Enhance Ghost comment mitigation Settings (#14392) 2021-01-21 21:56:19 -05:00
externalaccount Allow externalID to be UUID (#8551) 2019-10-17 10:06:28 +08:00
forms Added introspection endpoint. (#16752) 2021-08-20 22:16:45 -04:00
gitdiff Prevent panic on diff generation (#16950) 2021-09-05 12:16:49 +02:00
issue Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
lfs Test if LFS object is accessible (#16865) 2021-08-31 14:35:08 +01:00
mailer Send registration email on user autoregistration (#16523) 2021-08-12 10:26:33 +03:00
mirror Make mirror feature more configurable (#16957) 2021-09-07 17:49:36 +02:00
pull Add option to update pull request by rebase (#16125) 2021-08-31 16:03:45 +02:00
release Add repo_id for attachment (#16958) 2021-09-08 17:19:30 +02:00
repository Refactor the fork service slightly to take ForkRepoOptions (#16744) 2021-08-28 16:37:14 +08:00
webhook Add proxy settings and support for migration and webhook (#16704) 2021-08-18 21:10:39 +08:00
wiki Add repo_id for attachment (#16958) 2021-09-08 17:19:30 +02:00