Commit Graph

285 Commits (45475250bd3353c8ec77c9379cc851eac96a23a6)

Author SHA1 Message Date
silverwind c7612d178c
Remove meta tags `theme-color` and `default-theme` (#24960) 1 year ago
wxiaoguang 5f39285d6d
Improve RunMode / dev mode (#24886) 2 years ago
Brecht Van Lommel 3588edbb08
Add gitea manager reload-templates command (#24843) 2 years ago
wxiaoguang 4647660776
Rewrite logger system (#24726) 2 years ago
Hester Gong ea7954f069
Modify luminance calculation and extract related functions into single files (#24586) 2 years ago
wxiaoguang 56ae853ca0
Simplify template helper functions (#24570) 2 years ago
wxiaoguang 5d77691d42
Improve template system and panic recovery (#24461) 2 years ago
wxiaoguang e3750370df
Use globally shared HTMLRender (#24436) 2 years ago
wxiaoguang 241b74f6c5
Improve template helper (#24417) 2 years ago
wxiaoguang bc4e06109d
Make repo size style matches others (commits/branches/tags) (#24408) 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
silverwind 8dc6eabbc0
Update go tool dependencies, restructure lint targets (#24239) 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 722dab5286
Make HTML template functions support context (#24056) 2 years ago
wxiaoguang 1ab16e48cc
Improve Wiki TOC (#24137) 2 years ago
wxiaoguang 7681d582cd
Refactor locale number (#24134) 2 years ago
wxiaoguang 1c8bc4081a
Show friendly 500 error page to users and developers (#24110) 2 years ago
wxiaoguang 50a72e7a83
Use a general approach to access custom/static/builtin assets (#24022) 2 years ago
Yarden Shoham b7b5834831
Use auto-updating, natively hoverable, localized time elements (#23988) 2 years ago
wxiaoguang 94fde46151
Make bindata static build parse builtin templates correctly (#24003) 2 years ago
wxiaoguang fdbd646113
Group template helper functions, remove `Printf`, improve template error messages (#23982) 2 years ago
wxiaoguang 8f00979f73
Drop "unrolled/render" package (#23965) 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
zeripath 8f3aaef374
Improve template error reporting (#23396) 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 c59e1537a8
Display error log when a modified template has an error so that it could recovery when the error fixed (#22261) 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
zeripath 7d2545d183
Add nicer error handling on template compile errors (#21350) 2 years ago