gitea/modules/setting
wxiaoguang b4d0036fc3
Do not prepare oauth2 config if it is not enabled, do not write config in some sub-commands ()
Ref:

* https://github.com/go-gitea/gitea/issues/25377#issuecomment-1609757289

And some sub-commands like "generate" / "docs", they do not need to use
the ini config
..
actions.go Fix all possible setting error related storages and added some tests ()
actions_test.go Fix all possible setting error related storages and added some tests ()
admin.go Refactor the setting to make unit test easier ()
api.go Refactor the setting to make unit test easier ()
asset_dynamic.go Use a general approach to access custom/static/builtin assets ()
asset_static.go Use a general approach to access custom/static/builtin assets ()
attachment.go Fix all possible setting error related storages and added some tests ()
attachment_test.go Fix all possible setting error related storages and added some tests ()
cache.go Refactor the setting to make unit test easier ()
camo.go Refactor the setting to make unit test easier ()
config_env.go Refactor INI package (first step) ()
config_env_test.go Refactor INI package (first step) ()
config_provider.go Refactor path & config system ()
config_provider_test.go Refactor path & config system ()
cors.go Fix incorrect CORS default values ()
cron.go Refactor the setting to make unit test easier ()
cron_test.go Rewrite queue ()
database.go Remove "CHARSET" config option for MySQL, always use "utf8mb4" ()
database_sqlite.go Implement FSFE REUSE for golang files ()
database_test.go Implement FSFE REUSE for golang files ()
federation.go Refactor the setting to make unit test easier ()
git.go Use `[git.config]` for reflog cleaning up ()
git_test.go Use `[git.config]` for reflog cleaning up ()
highlight.go Refactor the setting to make unit test easier ()
i18n.go Refactor the setting to make unit test easier ()
incoming_email.go Refactor the setting to make unit test easier ()
indexer.go Allow skipping forks and mirrors from being indexed ()
indexer_test.go Implement FSFE REUSE for golang files ()
lfs.go Import additional secrets via file uri ()
lfs_test.go Fix all possible setting error related storages and added some tests ()
log.go Fix sub-command log level ()
log_test.go Rewrite logger system ()
mailer.go Make mailer SMTP check have timed context ()
mailer_test.go Remove unnecessary code ()
markup.go Add .livemd as a markdown extension ()
metrics.go Refactor the setting to make unit test easier ()
migrations.go Refactor the setting to make unit test easier ()
mime_type_map.go Refactor the setting to make unit test easier ()
mirror.go Avoid polluting the config ()
oauth2.go Do not prepare oauth2 config if it is not enabled, do not write config in some sub-commands ()
other.go Refactor `setting.Other` and remove unused `SHOW_FOOTER_BRANDING` ()
packages.go Fix all possible setting error related storages and added some tests ()
packages_test.go Fix all possible setting error related storages and added some tests ()
path.go Use InitWorkPathAndCfgProvider for environment-to-ini to avoid unnecessary checks ()
path_test.go Refactor path & config system ()
picture.go Fix all possible setting error related storages and added some tests ()
project.go Refactor the setting to make unit test easier ()
proxy.go Refactor the setting to make unit test easier ()
queue.go Rewrite queue ()
repository.go Fix all possible setting error related storages and added some tests ()
repository_archive.go Fix all possible setting error related storages and added some tests ()
repository_archive_test.go Fix all possible setting error related storages and added some tests ()
security.go Import additional secrets via file uri ()
server.go Refactor path & config system ()
service.go Support wildcard in email domain allow/block list ()
service_test.go Support wildcard in email domain allow/block list ()
session.go Refactor cookie ()
setting.go Refactor path & config system ()
setting_test.go Implement FSFE REUSE for golang files ()
ssh.go Prefer native parser for SSH public key parsing ()
storage.go Fix all possible setting error related storages and added some tests ()
storage_test.go Fix all possible setting error related storages and added some tests ()
task.go handle deprecated settings ()
time.go Remove unused setting `time.FORMAT` ()
ui.go Remove the service worker ()
webhook.go Refactor the setting to make unit test easier ()