gitea/models
wxiaoguang 8fcbdf05b0
Refactor flash message and remove SanitizeHTML template func (#37179)
1. Fix the "flash message" layout problem for different cases
* I am sure most of the users should have ever seen the ugly
center-aligned error message with multiple lines.
2. Fix inconsistent "Details" flash message EOL handling, sometimes
`\n`, sometimes `<br>`
   * Now, always use "\n" and use `<pre>` to render
3. Remove SanitizeHTML template func because it is not useful and can be
easily abused.
* But it is still kept for mail templates, for example:
https://github.com/go-gitea/gitea/issues/36049
4. Clarify PostProcessCommitMessage's behavior and add FIXME comment

By the way: cleaned up some devtest pages, move embedded style block to
CSS file
2026-04-12 10:17:25 +08:00
..
actions Remove unneeded doctor sub-commands (#37156) 2026-04-09 22:22:17 +02:00
activities Fix typos in code comments: doesnt, dont, wont (#36890) 2026-03-13 09:58:44 -07:00
admin
asymkey Enable `nilnil` linter for new code (#36591) 2026-02-16 09:57:18 +00:00
auth Fix various trivial problems (#36953) 2026-03-23 18:23:42 +00:00
avatars
db Fix various trivial problems (#36953) 2026-03-23 18:23:42 +00:00
dbfs Fix dbfs error handling (#36844) 2026-03-07 00:28:46 +08:00
fixtures Remove unneeded doctor sub-commands (#37156) 2026-04-09 22:22:17 +02:00
git Update Combine method to treat warnings as failures and adjust tests (#37048) 2026-03-31 17:22:18 +00:00
issues Refactor flash message and remove SanitizeHTML template func (#37179) 2026-04-12 10:17:25 +08:00
migrations Support legacy run/job index-based URLs and refactor migration 326 (#37008) 2026-04-02 17:23:29 -07:00
organization Correct spelling (#36783) 2026-02-28 11:23:20 -08:00
packages Add terraform state registry (#36710) 2026-04-06 13:41:17 -07:00
perm Fix issue label deletion with Actions tokens (#37013) 2026-03-29 09:21:14 +00:00
project Refactor issue sidebar and fix various problems (#37045) 2026-03-31 10:03:52 +08:00
pull Fix incorrect viewed files counter if file has changed (#36009) 2025-11-27 14:02:03 +00:00
renderhelper fix: generate IDs for HTML headings without id attribute (#36233) 2026-01-06 05:09:44 +00:00
repo Add bulk repository deletion for organizations (#36763) 2026-04-08 04:32:22 +00:00
secret
shared/types
system
unit
unittest Clean up Makefile, tests and legacy code (#36638) 2026-02-19 01:23:32 +00:00
user Remove unneeded doctor sub-commands (#37156) 2026-04-09 22:22:17 +02:00
webhook Add webhook name field to improve webhook identification (#37025) (#37040) 2026-04-01 09:56:20 +08:00
main_test.go
repo.go Fix various legacy problems (#37092) 2026-04-03 12:19:04 +00:00
repo_test.go