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/user/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
..
security Move web JSON functions to web context and simplify code (#26132) 2 years ago
account.go Move web JSON functions to web context and simplify code (#26132) 2 years ago
account_test.go Refactor web package and context package (#25298) 2 years ago
adopt.go Fix unclear `IsRepositoryExist` logic (#24374) 2 years ago
applications.go Move web JSON functions to web context and simplify code (#26132) 2 years ago
keys.go Move web JSON functions to web context and simplify code (#26132) 2 years ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
oauth2.go Implement FSFE REUSE for golang files (#21840) 2 years ago
oauth2_common.go Move web JSON functions to web context and simplify code (#26132) 2 years ago
packages.go Add Chef package registry (#22554) 2 years ago
profile.go Refactor rename user and rename organization (#24052) 2 years ago
runner.go Add user level action runners (#24995) 2 years ago
webhooks.go Move web JSON functions to web context and simplify code (#26132) 2 years ago