forgejo/routers
FuXiaoHei d11597a615
Fix uploaded artifacts should be overwritten (#28726) backport v1.21 (#28832)
Backport https://github.com/go-gitea/gitea/pull/28726 by @fuxiaohei

Fix Uploaded artifacts should be overwritten
https://github.com/go-gitea/gitea/issues/28549

When upload different content to uploaded artifact, it checks that
content size is not match in db record with previous artifact size, then
the new artifact is refused.

Now if it finds uploading content size is not matching db record when
receiving chunks, it updates db records to follow the latest size value.

(cherry picked from commit 7f0ce2dfc7)
2024-01-31 14:18:25 +01:00
..
api Fix uploaded artifacts should be overwritten (#28726) backport v1.21 (#28832) 2024-01-31 14:18:25 +01:00
common Rework markup link rendering (#26745) (#28803) 2024-01-16 14:41:11 +00:00
install [GITEA] rework long-term authentication 2024-01-16 14:14:46 +00:00
private [CLI] implement forgejo-cli 2023-11-13 11:52:15 +01:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web [GITEA] Fix NPE in UsernameSubRoute 2024-01-18 15:31:04 +01:00
init.go [API] Forgejo API /api/forgejo/v1 2023-11-13 12:33:48 +01:00