You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/routers/api/v1
wxiaoguang 3f9c3e7bc3
Refactor render system (#32492)
There were too many patches to the Render system, it's really difficult
to make further improvements.

This PR clears the legacy problems and fix TODOs.

1. Rename `RenderContext.Type` to `RenderContext.MarkupType` to clarify
its usage.
2. Use `ContentMode` to replace `meta["mode"]` and `IsWiki`, to clarify
the rendering behaviors.
3. Use "wiki" mode instead of "mode=gfm + wiki=true"
4. Merge `renderByType` and `renderByFile`
5. Add more comments

----

The problem of "mode=document": in many cases it is not set, so many
non-comment places use comment's hard line break incorrectly
3 months ago
..
activitypub Remove SHA1 for support for ssh rsa signing (#31857) 5 months ago
admin Move admin routers from /admin to /-/admin (#32189) 4 months ago
misc Refactor render system (#32492) 3 months ago
notify Refactor names (#31405) 8 months ago
org Calculate `PublicOnly` for org membership only once (#32234) 3 months ago
packages remove util.OptionalBool and related functions (#29513) 11 months ago
repo Add reviewers selection to new pull request (#32403) 3 months ago
settings Move context from modules to services (#29440) 12 months ago
shared Refactor names (#31405) 8 months ago
swagger Support repo license (#24872) 4 months ago
user refactor: remove redundant err declarations (#32381) 3 months ago
utils Move admin routers from /admin to /-/admin (#32189) 4 months ago
api.go Move AddCollabrator and CreateRepositoryByExample to service layer (#32419) 3 months ago