mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-03-25 08:53:04 -04:00
- Deleting attachments are also seen as updating attachments due to the frontend always sending a field to edit the name even if the name didn't change. This was not reflected in the unit tests. - Refactor the updating attachment logic to be more flexible if a attachment does not exist, because it was just deleted or because someone is being malicious. - Resolves forgejo/forgejo#11636 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11642 Reviewed-by: Mathieu Fenniak <mfenniak@noreply.codeberg.org> Co-authored-by: Gusted <postmaster@gusted.xyz> Co-committed-by: Gusted <postmaster@gusted.xyz> |
||
|---|---|---|
| .. | ||
| release.go | ||
| release_test.go | ||
| tag.go | ||