0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 10:05:05 +01:00
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
code.go Fix inconsistent user profile layout across tabs (#25625) 2023-07-06 18:59:24 +00:00
home.go Add open/closed field support for issue index (#25708) 2023-07-07 17:10:13 +00:00
home_test.go
main_test.go
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
task.go Replace interface{} with any (#25686) 2023-07-04 18:36:08 +00:00