1
0
mirror of https://github.com/go-gitea/gitea synced 2024-11-14 01:35:54 +01:00
gitea/routers
KN4CK3R a9ca4b4100
Calculate filename hash only once (#19654)
* Calculate hash only once.

* remove unused Sha1 template helper function, use ctx.Data["FileNameHash"]

* fix unit tests
2022-05-09 00:29:50 +02:00
..
api Admin should not delete himself (#19423) 2022-05-08 21:22:55 +01:00
common Add Goroutine stack inspector to admin/monitor (#19207) 2022-03-31 19:01:43 +02:00
install Call MultipartForm.RemoveAll when request finishes (#19606) 2022-05-05 16:13:23 +02:00
private Use for a repo action one database transaction (#19576) 2022-05-03 21:46:28 +02:00
utils A better go code formatter, and now make fmt can run in Windows (#17684) 2021-11-17 20:34:35 +08:00
web Calculate filename hash only once (#19654) 2022-05-09 00:29:50 +02:00
init.go Move some helper files out of models (#19355) 2022-05-08 18:46:32 +02:00