1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 17:14:27 +00:00
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
2023-07-26 06:04:01 +00:00
..
security Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
account_test.go Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
account.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
adopt.go Fix unclear IsRepositoryExist logic (#24374) 2023-04-28 14:14:26 -04:00
applications.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
keys.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
main_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
oauth2_common.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
oauth2.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
packages.go Add Chef package registry (#22554) 2023-02-06 09:49:21 +08:00
profile.go Refactor rename user and rename organization (#24052) 2023-05-21 23:13:47 +08:00
runner.go Add user level action runners (#24995) 2023-05-31 09:39:54 +08:00
webhooks.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00