gitea/modules/markup
Nicolas 26d83c932a
Instance-wide (global) info banner and maintenance mode (#36571)
The banner allows site operators to communicate important announcements
(e.g., maintenance windows, policy updates, service notices) directly
within the UI.

The maintenance mode only allows admin to access the web UI.

* Fix #2345
* Fix #9618

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2026-02-26 23:16:11 +08:00
..
asciicast Support rendering OpenAPI spec (#36449) 2026-01-26 10:34:38 +08:00
common Fix markup heading parsing, fix emphasis parsing (#36284) 2026-01-23 20:24:58 +00:00
console Support rendering OpenAPI spec (#36449) 2026-01-26 10:34:38 +08:00
csv Support rendering OpenAPI spec (#36449) 2026-01-26 10:34:38 +08:00
external Support rendering OpenAPI spec (#36449) 2026-01-26 10:34:38 +08:00
internal Make external iframe render work (#35730) 2025-10-23 08:01:38 +00:00
markdown Only turn links to current instance into hash links (#36237) 2026-02-16 10:27:49 +00:00
mdstripper Fix markup heading parsing, fix emphasis parsing (#36284) 2026-01-23 20:24:58 +00:00
orgmode Refactor highlight and diff (#36599) 2026-02-13 00:15:46 +00:00
camo.go Use camo.Always instead of camo.Allways (#32097) 2024-09-21 12:50:54 +03:00
camo_test.go Use camo.Always instead of camo.Allways (#32097) 2024-09-21 12:50:54 +03:00
html.go Fix various bugs (#36446) 2026-01-24 11:30:47 +00:00
html_codepreview.go Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
html_codepreview_test.go Refactor markup render system (#32612) 2024-11-24 16:18:57 +08:00
html_commit.go Only turn links to current instance into hash links (#36237) 2026-02-16 10:27:49 +00:00
html_email.go Valid email address should only start with alphanumeric (#28174) 2025-04-20 19:18:14 +08:00
html_emoji.go Avoid emoji mismatch and allow to only enable chosen emojis (#35692) 2025-10-19 13:06:45 -07:00
html_internal_test.go Only turn links to current instance into hash links (#36237) 2026-02-16 10:27:49 +00:00
html_issue.go Refactor markup render to fix various path problems (#34114) 2025-04-04 23:45:23 +08:00
html_issue_test.go Fix footnote jump behavior on the issue page. (#34621) 2025-06-09 17:18:11 +00:00
html_link.go Fix link/origin referrer and login redirect (#36279) 2026-01-03 11:43:04 +08:00
html_mention.go Refactor markup render to fix various path problems (#34114) 2025-04-04 23:45:23 +08:00
html_node.go Fix markup heading parsing, fix emphasis parsing (#36284) 2026-01-23 20:24:58 +00:00
html_node_test.go fix: generate IDs for HTML headings without id attribute (#36233) 2026-01-06 05:09:44 +00:00
html_test.go Only turn links to current instance into hash links (#36237) 2026-02-16 10:27:49 +00:00
html_toc_test.go Fix markup heading parsing, fix emphasis parsing (#36284) 2026-01-23 20:24:58 +00:00
main_test.go Support rendering OpenAPI spec (#36449) 2026-01-26 10:34:38 +08:00
render.go Support rendering OpenAPI spec (#36449) 2026-01-26 10:34:38 +08:00
render_helper.go Refactor markup render to fix various path problems (#34114) 2025-04-04 23:45:23 +08:00
render_link.go Fix various typos in codebase (#35480) 2025-09-13 10:34:43 -04:00
render_link_test.go Use test context in tests and new loop system in benchmarks (#33648) 2025-02-20 09:57:40 +00:00
renderer.go Support rendering OpenAPI spec (#36449) 2026-01-26 10:34:38 +08:00
sanitizer.go Split sanitizer functions and fine-tune some tests (#31192) 2024-05-31 13:26:01 +00:00
sanitizer_custom.go Refactor markup render system (#32533) 2024-11-18 13:25:42 +08:00
sanitizer_default.go Instance-wide (global) info banner and maintenance mode (#36571) 2026-02-26 23:16:11 +08:00
sanitizer_default_test.go Refactor wiki (#34805) 2025-06-22 18:53:33 +08:00
sanitizer_description.go Split sanitizer functions and fine-tune some tests (#31192) 2024-05-31 13:26:01 +00:00
sanitizer_description_test.go Fix link/origin referrer and login redirect (#36279) 2026-01-03 11:43:04 +08:00