gitea/routers
wxiaoguang ff2f479a4b
Clean template/helper.go (#23922)
The first step of #23328

This PR cleans:

1. Dead function like `SubStr`
2. Unnecessary function like `UseHTTPS`, it should be provided by
`window.origin`
3. Duplicate function like `IsShowFullName`, there was already a
`DeafultShowFullName`

I have searched these removed functions globally, no use in code.
2023-04-07 03:31:41 -04:00
..
api Use graceful editorconfig loader to reduce errors when loading malformed editorconfigs (#21257) 2023-04-06 16:01:20 -04:00
common Editor preview support for external renderers (#23333) 2023-03-24 14:12:23 +08:00
install Set `X-Gitea-Debug` header once (#23361) 2023-03-08 15:40:04 -05:00
private Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" (#23687) 2023-03-29 14:32:26 +08:00
utils Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web Clean template/helper.go (#23922) 2023-04-07 03:31:41 -04:00
init.go Refactor `setting.Database.UseXXX` to methods (#23354) 2023-03-07 18:51:06 +08:00