mirror of
1
Fork 0
forgejo/routers/web/org
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 secrets and runners settings to actions settings (#24200) 2023-04-27 20:08:47 -04:00
home.go Add follow organization and fix the logic of following page (#24345) 2023-04-29 15:13:58 -04:00
main_test.go Support org/user level projects (#22235) 2023-01-20 19:42:33 +08:00
members.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
org.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
org_labels.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
projects.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
projects_test.go Refactor web package and context package (#25298) 2023-06-18 09:59:09 +02:00
setting.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
setting_oauth2.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
setting_packages.go Add Cargo package registry (#21888) 2023-02-05 18:12:31 +08:00
teams.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00