gitea/routers/web/user
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
2023-07-26 06:04:01 +00:00
..
setting Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
avatar.go Set X-Gitea-Debug header once (#23361) 2023-03-08 15:40:04 -05:00
code.go Fix inconsistent user profile layout across tabs (#25625) 2023-07-06 18:59:24 +00:00
home_test.go Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
home.go Add open/closed field support for issue index (#25708) 2023-07-07 17:10:13 +00:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
notification.go Fix notification list bugs (#25781) 2023-07-09 18:42:31 +00:00
package.go Fix inconsistent user profile layout across tabs (#25625) 2023-07-06 18:59:24 +00:00
profile.go Improve profile readme rendering (#25988) 2023-07-19 22:22:32 +00:00
search.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00
stop_watch.go Move convert package to services (#22264) 2022-12-29 10:57:15 +08:00
task.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00