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
12 months ago
..
admin Move web JSON functions to web context and simplify code (#26132) 12 months ago
auth Move web JSON functions to web context and simplify code (#26132) 12 months ago
devtest Make "cancel" buttons have proper type in modal forms (#25618) 1 year ago
events Implement FSFE REUSE for golang files (#21840) 2 years ago
explore Replace `interface{}` with `any` (#25686) 1 year ago
feed Add context parameter to some database functions (#26055) 12 months ago
healthcheck Remove `db.DefaultContext` in `routers/` and `cmd/` (#26076) 12 months ago
misc Serve pre-defined files in "public", add "security.txt", add CORS header for ".well-known" (#25974) 12 months ago
org Move web JSON functions to web context and simplify code (#26132) 12 months ago
repo Move web JSON functions to web context and simplify code (#26132) 12 months ago
shared Move web JSON functions to web context and simplify code (#26132) 12 months ago
user Move web JSON functions to web context and simplify code (#26132) 12 months ago
auth.go Implement FSFE REUSE for golang files (#21840) 2 years ago
auth_windows.go Implement FSFE REUSE for golang files (#21840) 2 years ago
base.go Fix all possible setting error related storages and added some tests (#23911) 1 year ago
goget.go Support SSH for go get (#24664) 1 year ago
home.go Refactor cookie (#24107) 1 year ago
metrics.go Implement FSFE REUSE for golang files (#21840) 2 years ago
nodeinfo.go Implement FSFE REUSE for golang files (#21840) 2 years ago
swagger_json.go Group template helper functions, remove `Printf`, improve template error messages (#23982) 1 year ago
web.go Fix branch list auth (#26041) 12 months ago
webfinger.go Add a link to OpenID Issuer URL in WebFinger response (#26000) 12 months ago