forgejo/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.go 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
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
oauth2.go
oauth2_common.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
packages.go
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