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>
2 years ago
..
admin.go
Handle OpenID discovery URL errors a little nicer when creating/editing sources ( #23397 )
2 years ago
admin_auth_ldap.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
admin_auth_ldap_test.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
admin_user.go
Add command to bulk set must-change-password ( #22823 )
2 years ago
admin_user_change_password.go
Provide the ability to set password hash algorithm parameters ( #22942 )
2 years ago
admin_user_create.go
Provide the ability to set password hash algorithm parameters ( #22942 )
2 years ago
admin_user_delete.go
Add context cache as a request level cache ( #22294 )
2 years ago
admin_user_generate_access_token.go
Add command to bulk set must-change-password ( #22823 )
2 years ago
admin_user_list.go
Add command to bulk set must-change-password ( #22823 )
2 years ago
admin_user_must_change_password.go
Add command to bulk set must-change-password ( #22823 )
2 years ago
cert.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
cmd.go
Refactor the setting to make unit test easier ( #22405 )
2 years ago
convert.go
Refactor `setting.Database.UseXXX` to methods ( #23354 )
2 years ago
docs.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
doctor.go
Refactor the setting to make unit test easier ( #22405 )
2 years ago
dump.go
Add --quiet option to gitea dump ( #22969 )
2 years ago
dump_repo.go
Refactor the setting to make unit test easier ( #22405 )
2 years ago
embedded.go
Use a general approach to access custom/static/builtin assets ( #24022 )
2 years ago
generate.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
hook.go
Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" ( #23687 )
2 years ago
hook_test.go
Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" ( #23687 )
2 years ago
keys.go
Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" ( #23687 )
2 years ago
mailer.go
Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" ( #23687 )
2 years ago
main_test.go
Refactor the setting to make unit test easier ( #22405 )
2 years ago
manager.go
Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" ( #23687 )
2 years ago
manager_logging.go
Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" ( #23687 )
2 years ago
migrate.go
Refactor the setting to make unit test easier ( #22405 )
2 years ago
migrate_storage.go
Make minio package support legacy MD5 checksum ( #23768 )
2 years ago
migrate_storage_test.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
restore_repo.go
Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" ( #23687 )
2 years ago
serv.go
Refactor internal API for git commands, use meaningful messages instead of "Internal Server Error" ( #23687 )
2 years ago
web.go
Move pidfile creation from setting to web cmd package ( #23285 )
2 years ago
web_acme.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
web_graceful.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
web_https.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago