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/web/user
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
..
setting Fix disable 2fa bug (#32320) 4 months ago
avatar.go Refactor names (#31405) 8 months ago
code.go Remove AddParamIfExist(AddParam) (#29841) 11 months ago
home.go bump to go 1.23 (#31855) 6 months ago
home_test.go Refactor names (#31405) 8 months ago
main_test.go make writing main test easier (#27270) 1 year ago
notification.go Add missing repository type filter parameters to pager (#31832) 6 months ago
package.go Refactor names (#31405) 8 months ago
profile.go Refactor render system (#32492) 3 months ago
search.go Add `DISABLE_ORGANIZATIONS_PAGE` and `DISABLE_CODE_PAGE` settings for explore pages and fix an issue related to user search (#32288) 4 months ago
stop_watch.go Move context from modules to services (#29440) 1 year ago