You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wxiaoguang
50a72e7a83
Use a general approach to access custom/static/builtin assets ( #24022 )
...
The idea is to use a Layered Asset File-system (modules/assetfs/layered.go)
For example: when there are 2 layers: "custom", "builtin", when access
to asset "my/page.tmpl", the Layered Asset File-system will first try to
use "custom" assets, if not found, then use "builtin" assets.
This approach will hugely simplify a lot of code, make them testable.
Other changes:
* Simplify the AssetsHandlerFunc code
* Simplify the `gitea embedded` sub-command code
---------
Co-authored-by: Jason Song <i@wolfogre.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
1 year ago
..
admin
Use auto-updating, natively hoverable, localized time elements ( #23988 )
1 year ago
auth
Group template helper functions, remove `Printf`, improve template error messages ( #23982 )
1 year ago
devtest
Use a general approach to access custom/static/builtin assets ( #24022 )
1 year ago
events
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
explore
Add ONLY_SHOW_RELEVANT_REPOS back, fix explore page bug, make code more strict ( #23766 )
1 year ago
feed
User/Org Feed render description as per web ( #23887 )
1 year ago
healthcheck
Refactor `setting.Database.UseXXX` to methods ( #23354 )
1 year ago
misc
Introduce GitHub markdown editor, keep EasyMDE as fallback ( #23876 )
1 year ago
org
Add cardtype to org/user level project on creation, edit and view ( #24043 )
1 year ago
repo
Make Release Download URLs predictable ( #23891 )
1 year ago
shared
Add missing tabs to org projects page ( #22705 )
1 year ago
user
Fix profile page email display, respect settings ( #23747 )
1 year ago
auth.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
auth_windows.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
base.go
Introduce path Clean/Join helper functions ( #23495 )
1 year ago
goget.go
refactor some functions to support ctx as first parameter ( #21878 )
2 years ago
home.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
metrics.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
nodeinfo.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
swagger_json.go
Group template helper functions, remove `Printf`, improve template error messages ( #23982 )
1 year ago
web.go
Use a general approach to access custom/static/builtin assets ( #24022 )
1 year ago
webfinger.go
Use User.ID instead of User.Name in ActivityPub API for Person IRI ( #23823 )
1 year ago