githaven/routers/web
Lunny Xiao 003b4e209c
Allow disable code tab (#20805)
I know some users created a repository in an organization but just use
issues and projects to handle the whole organizations issues. So that
`Code` could be disabled per repository.

<img width="1148" alt="image"
src="https://user-images.githubusercontent.com/81045/184792075-346cb508-b620-4adb-bc9a-cba76fdcb294.png">

It could also become a wiki repository.

<img width="1173" alt="image"
src="https://user-images.githubusercontent.com/81045/184792324-e15c6f68-35c0-4105-ab77-83585ce53672.png">

Co-authored-by: delvh <dev.lh@web.de>
2022-12-12 13:29:27 +08:00
..
admin refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
auth refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
events Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
explore Fix sorting admin user list by last login (#22081) 2022-12-11 18:00:17 -06:00
feed refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
healthcheck Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
misc Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
org refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
repo Allow disable code tab (#20805) 2022-12-12 13:29:27 +08:00
shared/packages Update gitea-vet to check FSFE REUSE (#22004) 2022-12-02 22:14:57 +08:00
user Rename almost all Ctx functions (#22071) 2022-12-10 10:46:31 +08:00
auth_windows.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
auth.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
base.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
goget.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
home.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
metrics.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
nodeinfo.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
swagger_json.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
web.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
webfinger.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00