0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 18:34:45 +01:00
gitea/routers/api/v1
wxiaoguang 31bb9f3247
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
2024-02-18 10:52:02 +01:00
..
activitypub
admin Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
misc Always enable caches (#28527) 2023-12-19 09:29:05 +00:00
notify
org Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
packages
repo Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
settings
shared Add get actions runner registration token for API routes, repo, org, user and global level (#27144) 2023-12-27 07:57:54 +00:00
swagger
user Unify user update methods (#28733) 2024-02-04 13:29:09 +00:00
utils Simplify how git repositories are opened (#28937) 2024-01-27 21:09:51 +01:00
api.go Refactor more code in templates (#29236) 2024-02-18 10:52:02 +01:00