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.
gitea/modules/setting
Lunny Xiao 96f151392f
Fix the wrong derive path (#26271)
This PR will fix #26264, caused by #23911.

The package configuration derive is totally wrong when storage type is
local in that PR.

This PR fixed the inherit logic when storage type is local with some
unit tests.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2 years ago
..
actions.go
actions_test.go
admin.go
api.go
asset_dynamic.go
asset_static.go
attachment.go
attachment_test.go
cache.go
camo.go
config_env.go Fix env config parsing for "GITEA____APP_NAME" (#26001) 2 years ago
config_env_test.go Fix env config parsing for "GITEA____APP_NAME" (#26001) 2 years ago
config_provider.go Display deprecated warning in admin panel pages as well as in the log file (#26094) 2 years ago
config_provider_test.go
cors.go
cron.go Replace `interface{}` with `any` (#25686) 2 years ago
cron_test.go
database.go
database_sqlite.go
database_test.go
federation.go
git.go
git_test.go
highlight.go
i18n.go
incoming_email.go
indexer.go
indexer_test.go
lfs.go Display deprecated warning in admin panel pages as well as in the log file (#26094) 2 years ago
lfs_test.go Display deprecated warning in admin panel pages as well as in the log file (#26094) 2 years ago
log.go Clarify the logger's MODE config option (#26267) 2 years ago
log_test.go Replace `interface{}` with `any` (#25686) 2 years ago
mailer.go
mailer_test.go
markup.go
metrics.go
migrations.go
mime_type_map.go
mirror.go
oauth2.go
other.go
packages.go Avoid creating directories when loading config (#25944) 2 years ago
packages_test.go
path.go Update path related documents (#25417) 2 years ago
path_test.go
picture.go
project.go
proxy.go
queue.go Calculate MAX_WORKERS default value by CPU number (#26177) 2 years ago
repository.go
repository_archive.go
repository_archive_test.go
security.go Make "install page" respect environment config (#25648) 2 years ago
server.go Serve pre-defined files in "public", add "security.txt", add CORS header for ".well-known" (#25974) 2 years ago
service.go Add 'Show on a map' button to Location in profile, fix layout (#26214) 2 years ago
service_test.go Fix allowed user types setting problem (#26200) 2 years ago
session.go
setting.go Make "install page" respect environment config (#25648) 2 years ago
setting_test.go
ssh.go Set SSH_AUTHORIZED_KEYS_BACKUP to false (#25412) 2 years ago
storage.go Fix the wrong derive path (#26271) 2 years ago
storage_test.go Fix the wrong derive path (#26271) 2 years ago
task.go
time.go
ui.go
webhook.go