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.
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
1 year ago
..
avatar.go Move some files under repo/setting (#25585) 1 year ago
collaboration.go Move web JSON functions to web context and simplify code (#26132) 1 year ago
deploy_key.go Move web JSON functions to web context and simplify code (#26132) 1 year ago
git_hooks.go Move some files under repo/setting (#25585) 1 year ago
lfs.go Move some files under repo/setting (#25585) 1 year ago
main_test.go Move some files under repo/setting (#25585) 1 year ago
protected_branch.go Move web JSON functions to web context and simplify code (#26132) 1 year ago
protected_tag.go Move some files under repo/setting (#25585) 1 year ago
runners.go Add user level action runners (#24995) 1 year ago
secrets.go Support configuration variables on Gitea Actions (#24724) 1 year ago
setting.go Move some files under repo/setting (#25585) 1 year ago
settings_test.go Move some files under repo/setting (#25585) 1 year ago
variables.go Support configuration variables on Gitea Actions (#24724) 1 year ago
webhook.go Move web JSON functions to web context and simplify code (#26132) 1 year ago