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
..
admin.go Display deprecated warning in admin panel pages as well as in the log file (#26094) 1 year ago
admin_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
applications.go Move secrets and runners settings to actions settings (#24200) 1 year ago
auths.go Move web JSON functions to web context and simplify code (#26132) 1 year ago
config.go Move web JSON functions to web context and simplify code (#26132) 1 year ago
diagnosis.go Improve queue & process & stacktrace (#24636) 1 year ago
emails.go Move secrets and runners settings to actions settings (#24200) 1 year ago
hooks.go Move web JSON functions to web context and simplify code (#26132) 1 year ago
main_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
notice.go Move secrets and runners settings to actions settings (#24200) 1 year ago
orgs.go Sort users and orgs on explore by recency by default (#24279) 1 year ago
packages.go Move web JSON functions to web context and simplify code (#26132) 1 year ago
queue.go Improve queue & process & stacktrace (#24636) 1 year ago
queue_tester.go Improve queue and logger context (#24924) 1 year ago
repos.go Move web JSON functions to web context and simplify code (#26132) 1 year ago
runners.go Move secrets and runners settings to actions settings (#24200) 1 year ago
stacktrace.go Move web JSON functions to web context and simplify code (#26132) 1 year ago
users.go Replace `interface{}` with `any` (#25686) 1 year ago
users_test.go Refactor web package and context package (#25298) 1 year ago