Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 03:06:10 +01:00
forgejo/routers/web/repo/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
..
avatar.go Move some files under repo/setting (#25585) 2023-07-02 08:59:32 +08:00
collaboration.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
deploy_key.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
git_hooks.go Move some files under repo/setting (#25585) 2023-07-02 08:59:32 +08:00
lfs.go Move some files under repo/setting (#25585) 2023-07-02 08:59:32 +08:00
main_test.go Move some files under repo/setting (#25585) 2023-07-02 08:59:32 +08:00
protected_branch.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00
protected_tag.go Move some files under repo/setting (#25585) 2023-07-02 08:59:32 +08:00
runners.go Add user level action runners (#24995) 2023-05-31 09:39:54 +08:00
secrets.go Support configuration variables on Gitea Actions (#24724) 2023-06-20 22:54:15 +00:00
setting.go Move some files under repo/setting (#25585) 2023-07-02 08:59:32 +08:00
settings_test.go Move some files under repo/setting (#25585) 2023-07-02 08:59:32 +08:00
variables.go Support configuration variables on Gitea Actions (#24724) 2023-06-20 22:54:15 +00:00
webhook.go Move web JSON functions to web context and simplify code (#26132) 2023-07-26 06:04:01 +00:00