gitea/modules
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 Report structurally invalid workflows to users (#37116) 2026-04-09 15:03:32 +02:00
analyze
assetfs Fix theme discovery and Vite dev server in dev mode (#37033) 2026-03-30 14:59:10 +00:00
auth Update Go dependencies (#36781) 2026-04-01 11:26:52 +08:00
avatar Refactor avatar package, support default avatar fallback (#36788) 2026-03-01 13:32:35 +00:00
badge
base Fix incorrect setting loading order (#36735) 2026-02-24 23:46:08 +08:00
cache
cachegroup
charset Improve control char rendering and escape button styling (#37094) 2026-04-06 11:07:33 +00:00
commitstatus Update Combine method to treat warnings as failures and adjust tests (#37048) 2026-03-31 17:22:18 +00:00
container
csv
dump
emoji Update emoji data for Unicode 16 (#36596) 2026-02-12 21:39:36 +00:00
eventsource
fileicon
generate Fix various bugs (#37096) 2026-04-03 20:03:59 +00:00
git Fix flaky `TestCatFileBatch/QueryTerminated` test (#37159) 2026-04-10 17:34:12 +00:00
gitrepo Fix the wrong push commits in the pull request when force push (#36914) 2026-04-04 16:27:57 -07:00
glob
globallock
graceful Migrate from webpack to vite (#37002) 2026-03-29 10:24:30 +00:00
gtprof
hcaptcha Clean up Makefile, tests and legacy code (#36638) 2026-02-19 01:23:32 +00:00
highlight Improve control char rendering and escape button styling (#37094) 2026-04-06 11:07:33 +00:00
hostmatcher
htmlutil
httpcache Refactor avatar package, support default avatar fallback (#36788) 2026-03-01 13:32:35 +00:00
httplib Pass ServeHeaderOptions by value instead of pointer, fine tune httplib tests (#36982) 2026-03-25 16:07:59 -07:00
indexer Improve control char rendering and escape button styling (#37094) 2026-04-06 11:07:33 +00:00
issue/template
json Add missing `//nolint:depguard` (#37162) 2026-04-10 10:39:28 +00:00
label
lfs Feature non-zipped actions artifacts (action v7) (#36786) 2026-03-26 00:37:48 +08:00
lfstransfer Correct spelling (#36783) 2026-02-28 11:23:20 -08:00
log
markup Refactor flash message and remove SanitizeHTML template func (#37179) 2026-04-12 10:17:25 +08:00
mcaptcha
metrics
migration Update Go dependencies (#36781) 2026-04-01 11:26:52 +08:00
nosql
optional Fix API not persisting pull request unit config when has_pull_requests is not set (#36718) 2026-03-02 22:08:53 +00:00
options
packages Add support for RPM Errata (updateinfo.xml) (#37125) 2026-04-08 00:39:53 +08:00
paginator
pprof
private feat: Add configurable permissions for Actions automatic tokens (#36173) 2026-03-21 15:39:47 -07:00
process
proxy
proxyprotocol
public Merge some standalone Vite entries into index.js (#37085) 2026-04-05 19:13:34 +00:00
queue
recaptcha Fix URLJoin, markup render link reoslving, sign-in/up/linkaccount page common data (#36861) 2026-03-08 15:57:37 +00:00
references
regexplru
repository feat: Add configurable permissions for Actions automatic tokens (#36173) 2026-03-21 15:39:47 -07:00
reqctx
secret
session Clean up Makefile, tests and legacy code (#36638) 2026-02-19 01:23:32 +00:00
setting Implement logout redirection for reverse proxy auth setups (#36085) 2026-04-10 13:02:35 +00:00
sitemap
ssh
storage Feature non-zipped actions artifacts (action v7) (#36786) 2026-03-26 00:37:48 +08:00
structs Add webhook name field to improve webhook identification (#37025) (#37040) 2026-04-01 09:56:20 +08:00
svg Add render cache for SVG icons (#36863) 2026-03-10 05:26:16 +00:00
system
tailmsg
tempdir
templates Refactor flash message and remove SanitizeHTML template func (#37179) 2026-04-12 10:17:25 +08:00
test Update golangci-lint to v2.11.4 (#37059) 2026-03-31 16:22:23 +00:00
testlogger Clean up Makefile, tests and legacy code (#36638) 2026-02-19 01:23:32 +00:00
timeutil Clean up Makefile, tests and legacy code (#36638) 2026-02-19 01:23:32 +00:00
translation Fix various trivial problems (#36953) 2026-03-23 18:23:42 +00:00
turnstile
typesniffer Feature non-zipped actions artifacts (action v7) (#36786) 2026-03-26 00:37:48 +08:00
updatechecker
uri
user
util Update golangci-lint to v2.11.4 (#37059) 2026-03-31 16:22:23 +00:00
validation Add user badges (#36752) 2026-03-22 15:49:45 +00:00
web Fix RPM Registry 404 when package name contains 'package' (#37087) 2026-04-03 06:12:04 +00:00
webhook actions: report commit status for pull_request_review events (#36589) 2026-02-20 16:12:22 +00:00
zstd