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/repo/setting
wxiaoguang dcd3a63128
Move web JSON functions to web context and simplify code (#26132)
The JSONRedirect/JSONOK/JSONError functions were put into "Base" context
incorrectly, it would cause abuse.

Actually, they are for "web context" only, so, move them to the correct
place.

And by the way, use them to simplify old code: +75 -196
2 years ago
..
avatar.go Move some files under repo/setting (#25585) 2 years ago
collaboration.go Move web JSON functions to web context and simplify code (#26132) 2 years ago
deploy_key.go Move web JSON functions to web context and simplify code (#26132) 2 years ago
git_hooks.go Move some files under repo/setting (#25585) 2 years ago
lfs.go Move some files under repo/setting (#25585) 2 years ago
main_test.go Move some files under repo/setting (#25585) 2 years ago
protected_branch.go Move web JSON functions to web context and simplify code (#26132) 2 years ago
protected_tag.go Move some files under repo/setting (#25585) 2 years ago
runners.go Add user level action runners (#24995) 2 years ago
secrets.go Support configuration variables on Gitea Actions (#24724) 2 years ago
setting.go Move some files under repo/setting (#25585) 2 years ago
settings_test.go Move some files under repo/setting (#25585) 2 years ago
variables.go Support configuration variables on Gitea Actions (#24724) 2 years ago
webhook.go Move web JSON functions to web context and simplify code (#26132) 2 years ago