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/modules
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
..
actions Fix wrong status of `Set up Job` when first step is skipped (#32120) 4 months ago
activitypub Remove SHA1 for support for ssh rsa signing (#31857) 5 months ago
analyze Rename code_langauge.go to code_language.go (#26377) 2 years ago
assetfs Use `Set[Type]` instead of `map[Type]bool/struct{}`. (#26804) 1 year ago
auth Add Passkey login support (#31504) 7 months ago
avatar Use `crypto/sha256` (#29386) 11 months ago
badge Implement actions badge svgs (#28102) 11 months ago
base Refactor sidebar assignee&milestone&project selectors (#32465) 3 months ago
cache bump to go 1.23 (#31855) 5 months ago
charset refactor: remove redundant err declarations (#32381) 3 months ago
container Refactor sidebar assignee&milestone&project selectors (#32465) 3 months ago
csv Render embedded code preview by permlink in markdown (#30234) 10 months ago
dump Refactor "dump" sub-command (#30240) 10 months ago
emoji Update emoji set to Unicode 15 (#25595) 2 years ago
eventsource Final round of `db.DefaultContext` refactor (#27587) 1 year ago
generate Refactor JWT secret generating & decoding code (#29172) 12 months ago
git Refactor LFS SSH and internal routers (#32473) 3 months ago
gitgraph Fix milestone deadline and date related problems (#32339) 3 months ago
gitrepo Refactor markup package (#32399) 3 months ago
globallock Use global lock instead of NewExclusivePool to allow distributed lock between multiple Gitea instances (#31813) 5 months ago
graceful Remove unused error in graceful manager (#29871) 11 months ago
hcaptcha
highlight Add option to disable ambiguous unicode characters detection (#28454) 1 year ago
hostmatcher Support allowed hosts for migrations to work with proxy (#32025) 5 months ago
html Refactor backend SVG package and add tests (#26335) 2 years ago
httpcache Fix wrong last modify time (#32102) 4 months ago
httplib Fix wrong last modify time (#32102) 4 months ago
indexer Updated tokenizer to better matching when search for code snippets (#32261) 3 months ago
issue/template bump to go 1.23 (#31855) 5 months ago
json Replace `interface{}` with `any` (#25686) 2 years ago
label Make label templates have consistent behavior and priority (#23749) 2 years ago
lfs Use 8 as default value for git lfs concurrency (#32421) 3 months ago
lfstransfer Refactor LFS SSH and internal routers (#32473) 3 months ago
log Refactor markup package (#32399) 3 months ago
markup Refactor render system (#32492) 3 months ago
mcaptcha
metrics Rename project board -> column to make the UI less confusing (#30170) 8 months ago
migration Support migrating GitHub/GitLab PR draft status (#32242) 4 months ago
nosql Update tool dependencies, lock govulncheck and actionlint (#25655) 2 years ago
optional Resolve lint for unused parameter and unnecessary type arguments (#30750) 9 months ago
options Use a general approach to access custom/static/builtin assets (#24022) 2 years ago
packages cargo registry - respect renamed dependencies (#32430) 3 months ago
paginator Use more specific test methods (#24265) 2 years ago
pprof
private Refactor LFS SSH and internal routers (#32473) 3 months ago
process Update misspell to 0.5.1 and add `misspellings.csv` (#30573) 9 months ago
proxy Use proxy for pull mirror (#22771) 2 years ago
proxyprotocol
public Refactor CORS handler (#28587) 1 year ago
queue bump to go 1.23 (#31855) 5 months ago
recaptcha
references Refactor to use UnsafeStringToBytes (#31358) 8 months ago
regexplru Upgrade go dependencies (#25819) 2 years ago
repository Add new event commit status creation and webhook implementation (#27151) 3 months ago
secret Use `crypto/sha256` (#29386) 11 months ago
session Improve oauth2 client "preferred username field" logic and the error handling (#30622) 9 months ago
setting Add `DEFAULT_MIRROR_REPO_UNITS` and `DEFAULT_TEMPLATE_REPO_UNITS` options (#32416) 3 months ago
sitemap
ssh Remove SSH workaround (#27893) 1 year ago
storage Add artifacts test fixture (#30300) 3 months ago
structs Refactor render system (#32492) 3 months ago
svg Refactor markdown attention render (#29984) 11 months ago
sync Use global lock instead of NewExclusivePool to allow distributed lock between multiple Gitea instances (#31813) 5 months ago
system Refactor to use UnsafeStringToBytes (#31358) 8 months ago
templates Refactor render system (#32492) 3 months ago
test Remove sub-path from container registry realm (#31293) 8 months ago
testlogger Refactor tests to prevent from unnecessary preparations (#32398) 3 months ago
timeutil Refactor DateUtils and merge TimeSince (#32409) 3 months ago
translation Render embedded code preview by permlink in markdown (#30234) 10 months ago
turnstile
typesniffer Detect ogg mime-type as audio or video (#26494) 1 year ago
updatechecker Replace more db.DefaultContext (#27628) 1 year ago
uri
user
util Refactor markup package (#32399) 3 months ago
validation Check blocklist for emails when adding them to account (#26812) 1 year ago
web Refactor LFS SSH and internal routers (#32473) 3 months ago
webhook Add new event commit status creation and webhook implementation (#27151) 3 months ago
zstd Support compression for Actions logs (#31761) 6 months ago