gitea/modules/setting
wxiaoguang e709cc76da
Make Gitea always use its internal config, ignore `/etc/gitconfig` ()
In history, Gitea could use the system config `/etc/gitconfig` because
some users said that "they might put certNonceSeed in it"

Actually, we shouldn't not use it, because it also causes conflicts
(there are already some fixes like )

To make the system clear, I think it's worth to introduce the breaking
change: add `GIT_CONFIG_NOSYSTEM=1` to all git commands.


## ⚠️ BREAKING ⚠️

 For most users, nothing need to do.

If you have made changes to `/etc/gitconfig` to affect Gitea's behavior,
you need to move these config options to Gitea's internal git config
file, it is usually in Gitea's `{AppDataPath}/home/.git` directory.
..
config Customizable "Open with" applications for repository clone ()
actions.go Enable compression for Actions logs by default ()
actions_test.go Restrict `[actions].DEFAULT_ACTIONS_URL` to only `github` or `self` ()
admin.go Enhance USER_DISABLED_FEATURES to allow disabling change username or full name ()
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 Add avif image file support ()
attachment_test.go Fix all possible setting error related storages and added some tests ()
cache.go Always enable caches ()
camo.go Use camo.Always instead of camo.Allways ()
config.go Customizable "Open with" applications for repository clone ()
config_env.go Make Gitea always use its internal config, ignore `/etc/gitconfig` ()
config_env_test.go Fix `environment-to-ini` inherited key bug ()
config_provider.go Initial support for colorblindness-friendly themes ()
config_provider_test.go Fix INI parsing for value with trailing slash ()
cors.go Fix settings not being loaded at CLI ()
cron.go Replace `interface{}` with `any` ()
cron_test.go Enable tenv and testifylint rules ()
database.go Add slow SQL query warning ()
database_sqlite.go Implement FSFE REUSE for golang files ()
database_test.go Fix incorrect PostgreSQL connection string for Unix sockets ()
federation.go Remove SHA1 for support for ssh rsa signing ()
git.go Use `[git.config]` for reflog cleaning up ()
git_test.go Use `[git.config]` for reflog cleaning up ()
gloabl_lock.go Use global lock instead of NewExclusivePool to allow distributed lock between multiple Gitea instances ()
glob.go Improve grep search ()
global.go Fix duplicate sub-path for avatars ()
global_lock_test.go Use global lock instead of NewExclusivePool to allow distributed lock between multiple Gitea instances ()
highlight.go Refactor the setting to make unit test easier ()
i18n.go Update i18n.go - Language Picker ()
incoming_email.go Resolve lint for unused parameter and unnecessary type arguments ()
indexer.go Fix bleve fuzziness search ()
indexer_test.go Implement FSFE REUSE for golang files ()
lfs.go Use 8 as default value for git lfs concurrency ()
lfs_test.go Use 8 as default value for git lfs concurrency ()
log.go Refactor "dump" sub-command ()
log_test.go Replace `interface{}` with `any` ()
mailer.go Fix settings not being loaded at CLI ()
mailer_test.go Remove unnecessary code ()
markup.go Refactor markup render system ()
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 Always load or generate oauth2 jwt secret ()
oauth2_test.go Enable tenv and testifylint rules ()
other.go Add `[other].SHOW_FOOTER_POWERED_BY` setting to hide `Powered by` ()
packages.go Add Arch package registry ()
packages_test.go Fix all possible setting error related storages and added some tests ()
path.go Do not allow different storage configurations to point to the same directory ()
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 Increase queue length ()
repository.go Allow to fork repository into the same owner ()
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 Remove some unnecessary template helpers ()
server.go Fix duplicate sub-path for avatars ()
service.go Allow to disable the password-based login (sign-in) form ()
service_test.go Fix allowed user types setting problem ()
session.go Fix settings not being loaded at CLI ()
setting.go Clarify path param naming ()
setting_test.go Implement FSFE REUSE for golang files ()
ssh.go Expanded minimum RSA Keylength to 3072 ()
storage.go Support optional/configurable IAMEndpoint for Minio Client () ()
storage_test.go Enable tenv and testifylint rules ()
task.go handle deprecated settings ()
time.go Fix settings not being loaded at CLI ()
ui.go Add `show more` organizations icon in user's profile ()
webhook.go Refactor the setting to make unit test easier ()