gitea/routers/web
wxiaoguang 37a4b233a0
Refactor repo unit "disabled" check (#31389)
1. There are already global "unit consts", no need to use context data, which is fragile
2. Remove the "String()" method from "unit", it would only cause rendering problems in templates

---------

Co-authored-by: silverwind <me@silverwind.io>
2024-06-18 00:51:13 +00:00
..
admin Add cache test for admins (#31265) 2024-06-17 21:22:39 +02:00
auth Add missed return after `ctx.ServerError` (#31130) 2024-05-28 12:31:59 +03:00
devtest Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
events Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
explore Rename repo_model.SearchOrderByMap to repo_model.OrderByMap (#31359) 2024-06-15 06:45:02 +00:00
feed Use repo as of renderctx's member rather than a repoPath on metas (#29222) 2024-05-30 07:04:01 +00:00
healthcheck Always enable caches (#28527) 2023-12-19 09:29:05 +00:00
misc Make sure git version&feature are always prepared (#30877) 2024-05-06 18:34:16 +02:00
org Add missed return after `ctx.ServerError` (#31130) 2024-05-28 12:31:59 +03:00
repo Rename repo_model.SearchOrderByMap to repo_model.OrderByMap (#31359) 2024-06-15 06:45:02 +00:00
shared Drop `IDOrderDesc` for listing Actions task and always order by `id DESC` (#31150) 2024-05-31 02:30:02 +00:00
user Remove sub-path from container registry realm (#31293) 2024-06-09 16:29:29 +08:00
base.go Azure blob storage support (#30995) 2024-05-30 07:33:50 +00:00
githttp.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
goget.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
home.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 2024-02-29 18:52:49 +00:00
metrics.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
nodeinfo.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
passkey.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
swagger_json.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00
web.go Refactor repo unit "disabled" check (#31389) 2024-06-18 00:51:13 +00:00
webfinger.go Move context from modules to services (#29440) 2024-02-27 08:12:22 +01:00