You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
8 months ago
..
admin Add cache test for admins (#31265) 8 months ago
auth Add missed return after `ctx.ServerError` (#31130) 9 months ago
devtest Move context from modules to services (#29440) 12 months ago
events Move context from modules to services (#29440) 12 months ago
explore Rename repo_model.SearchOrderByMap to repo_model.OrderByMap (#31359) 8 months ago
feed Use repo as of renderctx's member rather than a repoPath on metas (#29222) 9 months ago
healthcheck Always enable caches (#28527) 1 year ago
misc Make sure git version&feature are always prepared (#30877) 9 months ago
org Add missed return after `ctx.ServerError` (#31130) 9 months ago
repo Rename repo_model.SearchOrderByMap to repo_model.OrderByMap (#31359) 8 months ago
shared Drop `IDOrderDesc` for listing Actions task and always order by `id DESC` (#31150) 9 months ago
user Remove sub-path from container registry realm (#31293) 8 months ago
base.go Azure blob storage support (#30995) 9 months ago
githttp.go Move context from modules to services (#29440) 12 months ago
goget.go Move context from modules to services (#29440) 12 months ago
home.go migrate some more "OptionalBool" to "Option[bool]" (#29479) 12 months ago
metrics.go Implement FSFE REUSE for golang files (#21840) 2 years ago
nodeinfo.go Move context from modules to services (#29440) 12 months ago
passkey.go Move context from modules to services (#29440) 12 months ago
swagger_json.go Move context from modules to services (#29440) 12 months ago
web.go Refactor repo unit "disabled" check (#31389) 8 months ago
webfinger.go Move context from modules to services (#29440) 12 months ago