0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-26 17:34:11 -05:00
forgejo/routers/web/repo/setting
wxiaoguang 65248945c9
Refactor locale&string&template related code (#29165)
Clarify when "string" should be used (and be escaped), and when
"template.HTML" should be used (no need to escape)

And help PRs like  #29059 , to render the error messages correctly.

(cherry picked from commit f3eb835886031df7a562abc123c3f6011c81eca8)

Conflicts:
	modules/web/middleware/binding.go
	routers/web/feed/convert.go
	tests/integration/branches_test.go
	tests/integration/repo_branch_test.go
	trivial context conflicts
2024-02-16 15:20:52 +01:00
..
avatar.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
collaboration.go [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
default_branch.go Revert "Fix schedule tasks bugs (#28691)" 2024-02-05 16:54:42 +01:00
deploy_key.go Use db.Find instead of writing methods for every object (#28084) 2023-11-24 03:49:41 +00:00
git_hooks.go Move some files under repo/setting (#25585) 2023-07-02 08:59:32 +08:00
lfs.go Preserve BOM in web editor (#28935) 2024-01-27 18:02:51 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
protected_branch.go Refactor locale&string&template related code (#29165) 2024-02-16 15:20:52 +01:00
protected_tag.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
runners.go Fix repo count in org action settings (#27245) 2023-09-29 15:46:07 +00:00
secrets.go Fix repo count in org action settings (#27245) 2023-09-29 15:46:07 +00:00
setting.go Add merge style fast-forward-only (#28954) 2024-02-14 17:19:19 +01:00
settings_test.go [MODERATION] User blocking 2024-02-05 15:56:45 +01:00
variables.go Added instance-level variables (#28115) 2023-12-25 07:28:59 +00:00
webhook.go [BRANDING] add the forgejo webhook type & update webhook docs URLs 2024-02-05 16:02:14 +01:00