Git with a cup of tea, painless self-hosted git service
Mirror for internal git.with.parts use
https://git.with.parts
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Giteabot
21cd5c2f3d
Fix all possible setting error related storages and added some tests ( #23911 ) ( #25244 )
...
Backport #23911 by @lunny
Follow up #22405
Fix #20703
This PR rewrites storage configuration read sequences with some breaks
and tests. It becomes more strict than before and also fixed some
inherit problems.
- Move storage's MinioConfig struct into setting, so after the
configuration loading, the values will be stored into the struct but not
still on some section.
- All storages configurations should be stored on one section,
configuration items cannot be overrided by multiple sections. The
prioioty of configuration is `[attachment]` > `[storage.attachments]` |
`[storage.customized]` > `[storage]` > `default`
- For extra override configuration items, currently are `SERVE_DIRECT`,
`MINIO_BASE_PATH`, `MINIO_BUCKET`, which could be configured in another
section. The prioioty of the override configuration is `[attachment]` >
`[storage.attachments]` > `default`.
- Add more tests for storages configurations.
- Update the storage documentations.
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
1 year ago
..
actions.go
Merge setting.InitXXX into one function with options ( #24389 )
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
Rewrite logger system ( #24726 )
2 years ago
convert.go
Support converting varchar to nvarchar for mssql database ( #24105 )
2 years ago
docs.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
doctor.go
Rewrite logger system ( #24726 )
2 years ago
dump.go
Fix all possible setting error related storages and added some tests ( #23911 ) ( #25244 )
1 year ago
dump_repo.go
Refactor the setting to make unit test easier ( #22405 )
2 years ago
embedded.go
Rewrite logger system ( #24726 )
2 years ago
generate.go
Implement FSFE REUSE for golang files ( #21840 )
2 years ago
hook.go
Use the type RefName for all the needed places and fix pull mirror sync bugs ( #24634 )
1 year 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
Merge setting.InitXXX into one function with options ( #24389 )
2 years ago
main_test.go
Merge setting.InitXXX into one function with options ( #24389 )
2 years ago
manager.go
Add gitea manager reload-templates command ( #24843 )
2 years ago
manager_logging.go
Rewrite logger system ( #24726 )
2 years ago
migrate.go
Refactor the setting to make unit test easier ( #22405 )
2 years ago
migrate_storage.go
Fix all possible setting error related storages and added some tests ( #23911 ) ( #25244 )
1 year ago
migrate_storage_test.go
Fix all possible setting error related storages and added some tests ( #23911 ) ( #25244 )
1 year ago
restore_repo.go
Merge setting.InitXXX into one function with options ( #24389 )
2 years ago
serv.go
Rewrite logger system ( #24726 )
2 years ago
web.go
Fix install page context, make the install page tests really test ( #24858 )
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