Commit Graph

249 Commits (28d970e4a614cf76e53768f01e42716b2aa9ae7e)

Author SHA1 Message Date
Giteabot f13a294b47
More `db.DefaultContext` refactor (#27265) (#27347) 1 year ago
CaiCandong a78c2eae24
Replace `util.SliceXxx` with `slices.Xxx` (#26958) 1 year ago
wxiaoguang c802c46a9b
Refactor `og:description` to limit the max length (#26876) 1 year ago
silverwind 3d109861dd
Render code blocks in repo description (#26830) 1 year ago
KN4CK3R 5315153059
Use `Set[Type]` instead of `map[Type]bool/struct{}`. (#26804) 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 4fc4f6e634
Refactor "editorconfig" (#26391) 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
Jason Song 59d2189875
Fix missing commit message body when the message has leading newlines (#25418) 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 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