Commit Graph

218 Commits (9ac57c957f9dc88b1394008d6efb79f29a4c3396)

Author SHA1 Message Date
wxiaoguang 43c7a2e7b1
Refactor names (#31405) 5 months ago
wxiaoguang 4bf848a06b
Make template `Iif` exactly match `if` (#31322) 6 months ago
Kerwin Bryant e6ab6e637f
code optimization (#31315) 6 months ago
wxiaoguang b79e3db264
Initial support for colorblindness-friendly themes (#30625) 7 months ago
wxiaoguang 3feba9f1f4
Allow everyone to read or write a wiki by a repo unit setting (#30495) 7 months ago
silverwind 36887ed392
Fix and rewrite contrast color calculation, fix project-related bugs (#30237) 8 months ago
Yakov 609a627a44
Add `[other].SHOW_FOOTER_POWERED_BY` setting to hide `Powered by` (#30253) 8 months ago
wxiaoguang 3e94ac5c7c
Improve QueryEscape helper function (#29768) 9 months ago
wxiaoguang dae7f1ebdb
Remove unnecessary SanitizeHTML from code (#29575) 9 months ago
wxiaoguang fb42972c05
Rename Str2html to SanitizeHTML and clarify its behavior (#29516) 9 months ago
wxiaoguang d2f6588b66
Remove incorrect and unnecessary Escape from templates (#29394) 9 months ago
wxiaoguang f9207b0947
Refactor Safe modifier (#29392) 9 months ago
wxiaoguang 10c7996b5a
Remove RenderEmojiPlain from template helper (#29375) 9 months ago
wxiaoguang 31bb9f3247
Refactor more code in templates (#29236) 9 months ago
wxiaoguang f3eb835886
Refactor locale&string&template related code (#29165) 9 months ago
KN4CK3R 637451a45e
Rework markup link rendering (#26745) 10 months ago
silverwind 023e937141
Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 1 year ago
wxiaoguang 0731abc444
Remove avatarHTML from template helpers (#26598) 1 year ago
wxiaoguang a370efc13f
Use template context function for avatar rendering (#26385) 1 year ago
wxiaoguang 71d253f42e
Remove unnecessary template helper DisableGravatar (#26386) 1 year ago
wxiaoguang 78b2a1cc36
Remove unnecessary template helper repoAvatar (#26387) 1 year ago
wxiaoguang 6913053223
Start using template context function (#26254) 1 year ago
silverwind 88f835192d
Replace `interface{}` with `any` (#25686) 1 year ago
silverwind 50bd7d0b24
Remove the service worker (#25010) 2 years ago
silverwind c7612d178c
Remove meta tags `theme-color` and `default-theme` (#24960) 2 years ago
wxiaoguang 56ae853ca0
Simplify template helper functions (#24570) 2 years ago
wxiaoguang e3750370df
Use globally shared HTMLRender (#24436) 2 years ago
wxiaoguang 241b74f6c5
Improve template helper (#24417) 2 years ago
Yarden Shoham eea23bbc8e
Remove unnecessary helper function `DateFmtLong` (#24343) 2 years ago
Yarden Shoham 70bb4984cd
Allow using localized absolute date times within phrases with place holders and localize issue due date events (#24275) 2 years ago
wxiaoguang d44e1565da
Refactor `setting.Other` and remove unused `SHOW_FOOTER_BRANDING` (#24270) 2 years ago
wxiaoguang 8820191476
Improve template helper functions: string/slice (#24266) 2 years ago
wxiaoguang c0d105609f
Add `DumpVar` helper function to help debugging templates (#24262) 2 years ago
wxiaoguang 1ab16e48cc
Improve Wiki TOC (#24137) 2 years ago
wxiaoguang 7681d582cd
Refactor locale number (#24134) 2 years ago
Yarden Shoham b7b5834831
Use auto-updating, natively hoverable, localized time elements (#23988) 2 years ago
wxiaoguang fdbd646113
Group template helper functions, remove `Printf`, improve template error messages (#23982) 2 years ago
wxiaoguang 36c0840cf1
Merge template functions "dict/Dict/mergeinto" (#23932) 2 years ago
wxiaoguang 5b89670a31
Use a general Eval function for expressions in templates. (#23927) 2 years ago
wxiaoguang ff2f479a4b
Clean template/helper.go (#23922) 2 years ago
wxiaoguang 19de52e0f4
Introduce GiteaLocaleNumber custom element to handle number localization on pages. (#23861) 2 years ago
Hester Gong 661e78bed5
Allow both fullname and username search when `DEFAULT_SHOW_FULL_NAME` is true (#23463) 2 years ago
Brecht Van Lommel a8e13e64da
Scoped label display and documentation tweaks (#23430) 2 years ago
Jonathan Tran 4de80392bc
Add context when rendering labels or emojis (#23281) 2 years ago
Lunny Xiao 91fa0eb9d7
Avoid warning for system setting when start up (#23054) 2 years ago
Zettat123 a6175b01d9
Fix nil context in RenderMarkdownToHtml (#23092) 2 years ago
Brecht Van Lommel 6221a6fd54
Scoped labels (#22585) 2 years ago
Lunny Xiao bd820aa9c5
Add context cache as a request level cache (#22294) 2 years ago
wxiaoguang 24a9caa2f3
Fix more HTMLURL in templates (#22831) 2 years ago
Jason Song 4011821c94
Implement actions (#21937) 2 years ago