gitea/routers/web
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
..
admin Move package settings to package instead of being tied to version (#37026) 2026-04-06 03:51:51 +08:00
auth Refactor flash message and remove SanitizeHTML template func (#37179) 2026-04-12 10:17:25 +08:00
devtest Refactor flash message and remove SanitizeHTML template func (#37179) 2026-04-12 10:17:25 +08:00
events
explore
feed Refactor flash message and remove SanitizeHTML template func (#37179) 2026-04-12 10:17:25 +08:00
healthcheck
misc Merge some standalone Vite entries into index.js (#37085) 2026-04-05 19:13:34 +00:00
org Refactor "org teams" page and help new users to "add member" to an org (#37051) 2026-03-31 21:30:25 +08:00
repo Refactor flash message and remove SanitizeHTML template func (#37179) 2026-04-12 10:17:25 +08:00
shared Fix issue label deletion with Actions tokens (#37013) 2026-03-29 09:21:14 +00:00
user Add terraform state registry (#36710) 2026-04-06 13:41:17 -07:00
base.go
githttp.go
goget.go
home.go
metrics.go
nodeinfo.go
passkey.go
swagger_json.go
web.go Add terraform state registry (#36710) 2026-04-06 13:41:17 -07:00
webfinger.go