Commit Graph

204 Commits (a784ed3d6c6946fd9bf95f2e910f52f549326fe2)

Author SHA1 Message Date
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) 1 year ago
silverwind c7612d178c
Remove meta tags `theme-color` and `default-theme` (#24960) 1 year 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
Lunny Xiao 0a7d3ff786
refactor some functions to support ctx as first parameter (#21878) 2 years ago
flynnnnnnnnnn e81ccc406b
Implement FSFE REUSE for golang files (#21840) 2 years ago
Xinyu Zhou e483ec3a00
Fix vertical align of committer avatar rendered by email address (#21884) 2 years ago
Lunny Xiao 385462d36c
Fix dashboard ignored system setting cache (#21621) 2 years ago
Lunny Xiao 2ebab42934
Move svg html render to modules/svg (#21716) 2 years ago
kolaente 085f717529
feat: notify doers of a merge when automerging (#21553) 2 years ago
Lunny Xiao 16cbd5b59c
Fix generating compare link (#21519) 2 years ago
Lunny Xiao f860a6d2e4
Add system setting table with cache and also add cache supports for user setting (#18058) 2 years ago
Yarden Shoham b9cd6fb703
Add `code` highlighting in issue titles (#21432) 2 years ago
JakobDev 548387b2be
Show label description in comments section (#21156) 2 years ago
Blender Defender defc401b27
Make labels clickable in the comments section. (#21137) 2 years ago
silverwind afdab9d8d4
Remove fomantic image module (#21145) 2 years ago
Lunny Xiao 1d8543e7db
Move some files into models' sub packages (#20262) 2 years ago
silverwind 56220515fc
Enable contenthash in filename for dynamic assets (#20813) 2 years ago