aboutsummaryrefslogtreecommitdiffstats
path: root/modules/templates/helper.go
Commit message (Expand)AuthorAgeFilesLines
* Fix and rewrite contrast color calculation, fix project-related bugs (#30326)silverwind2024-04-091-3/+3
* Improve QueryEscape helper function (#29768)wxiaoguang2024-03-131-1/+5
* Remove unnecessary SanitizeHTML from code (#29575)wxiaoguang2024-03-041-8/+2
* Rename Str2html to SanitizeHTML and clarify its behavior (#29516)wxiaoguang2024-03-011-12/+12
* Remove incorrect and unnecessary Escape from templates (#29394)wxiaoguang2024-02-251-2/+2
* Refactor Safe modifier (#29392)wxiaoguang2024-02-251-3/+22
* Remove RenderEmojiPlain from template helper (#29375)wxiaoguang2024-02-241-12/+0
* Refactor more code in templates (#29236)wxiaoguang2024-02-181-1/+5
* Refactor locale&string&template related code (#29165)wxiaoguang2024-02-141-7/+39
* Rework markup link rendering (#26745)KN4CK3R2024-01-151-1/+0
* Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419)silverwind2023-10-061-2/+6
* Remove avatarHTML from template helpers (#26598)wxiaoguang2023-08-211-1/+0
* Use template context function for avatar rendering (#26385)wxiaoguang2023-08-101-8/+5
* Remove unnecessary template helper DisableGravatar (#26386)wxiaoguang2023-08-081-5/+0
* Remove unnecessary template helper repoAvatar (#26387)wxiaoguang2023-08-081-1/+0
* Start using template context function (#26254)wxiaoguang2023-08-081-0/+2
* Replace `interface{}` with `any` (#25686)silverwind2023-07-041-3/+3
* Remove the service worker (#25010)silverwind2023-05-311-3/+0
* Remove meta tags `theme-color` and `default-theme` (#24960)silverwind2023-05-281-3/+0
* Simplify template helper functions (#24570)wxiaoguang2023-05-071-1/+0
* Use globally shared HTMLRender (#24436)wxiaoguang2023-04-301-7/+3
* Improve template helper (#24417)wxiaoguang2023-04-291-547/+10
* Remove unnecessary helper function `DateFmtLong` (#24343)Yarden Shoham2023-04-261-3/+0
* Allow using localized absolute date times within phrases with place holders a...Yarden Shoham2023-04-231-0/+1
* Refactor `setting.Other` and remove unused `SHOW_FOOTER_BRANDING` (#24270)wxiaoguang2023-04-221-1/+1
* Improve template helper functions: string/slice (#24266)wxiaoguang2023-04-221-31/+5
* Add `DumpVar` helper function to help debugging templates (#24262)wxiaoguang2023-04-221-0/+1
* Improve Wiki TOC (#24137)wxiaoguang2023-04-171-7/+0
* Refactor locale number (#24134)wxiaoguang2023-04-171-7/+0
* Use auto-updating, natively hoverable, localized time elements (#23988)Yarden Shoham2023-04-111-1/+1
* Group template helper functions, remove `Printf`, improve template error mess...wxiaoguang2023-04-081-239/+194
* Merge template functions "dict/Dict/mergeinto" (#23932)wxiaoguang2023-04-071-87/+5
* Use a general Eval function for expressions in templates. (#23927)wxiaoguang2023-04-071-39/+18
* Clean template/helper.go (#23922)wxiaoguang2023-04-071-73/+3
* Introduce GiteaLocaleNumber custom element to handle number localization on p...wxiaoguang2023-04-031-75/+18
* Allow both fullname and username search when `DEFAULT_SHOW_FULL_NAME` is true...Hester Gong2023-03-161-0/+3
* Scoped label display and documentation tweaks (#23430)Brecht Van Lommel2023-03-131-3/+1
* Add context when rendering labels or emojis (#23281)Jonathan Tran2023-03-051-10/+11
* Avoid warning for system setting when start up (#23054)Lunny Xiao2023-02-241-1/+1
* Fix nil context in RenderMarkdownToHtml (#23092)Zettat1232023-02-241-1/+2
* Scoped labels (#22585)Brecht Van Lommel2023-02-181-2/+68
* Add context cache as a request level cache (#22294)Lunny Xiao2023-02-151-12/+11
* Fix more HTMLURL in templates (#22831)wxiaoguang2023-02-091-0/+4
* Implement actions (#21937)Jason Song2023-01-311-0/+3
* refactor some functions to support ctx as first parameter (#21878)Lunny Xiao2022-12-031-1/+2
* Implement FSFE REUSE for golang files (#21840)flynnnnnnnnnn2022-11-271-2/+1
* Fix vertical align of committer avatar rendered by email address (#21884)Xinyu Zhou2022-11-231-3/+3
* Fix dashboard ignored system setting cache (#21621)Lunny Xiao2022-11-101-2/+1
* Move svg html render to modules/svg (#21716)Lunny Xiao2022-11-081-47/+8
* feat: notify doers of a merge when automerging (#21553)kolaente2022-11-031-1/+1