forgejo/routers/api/v1
wxiaoguang 81925ebb0c
Refactor more code in templates (#29236)
Follow #29165.

* Introduce JSONTemplate to help to render JSON templates
* Introduce JSEscapeSafe for templates. Now only use `{{ ... |
JSEscape}}` instead of `{{ ... | JSEscape | Safe}}`
* Simplify "UserLocationMapURL" useage

(cherry picked from commit 31bb9f3247388b993c61a10190cfd512408ce57e)
2024-02-19 22:58:32 +01:00
..
activitypub
admin Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
misc [BRANDING] Update nodeinfo branding 2024-02-05 16:04:50 +01:00
notify
org [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
packages
repo Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
settings
shared [GITEA] API comment update routers/api/v1/shared/runners.go 2024-02-05 16:09:43 +01:00
swagger Merge branch 'rebase-forgejo-dependency' into wip-forgejo 2024-02-05 18:58:23 +01:00
user Merge branch 'rebase-forgejo-dependency' into wip-forgejo 2024-02-05 18:58:23 +01:00
utils [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
api.go Refactor more code in templates (#29236) 2024-02-19 22:58:32 +01:00