gitea/modules/setting
silverwind 74f0c84fa4
Enable more `revive` linter rules ()
Noteable additions:

- `redefines-builtin-id` forbid variable names that shadow go builtins
- `empty-lines` remove unnecessary empty lines that `gofumpt` does not
remove for some reason
- `superfluous-else` eliminate more superfluous `else` branches

Rules are also sorted alphabetically and I cleaned up various parts of
`.golangci.yml`.
..
config Customizable "Open with" applications for repository clone ()
actions.go add skip ci functionality ()
actions_test.go Restrict `[actions].DEFAULT_ACTIONS_URL` to only `github` or `self` ()
admin.go Add setting to disable user features when user login type is not plain ()
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 Update allowed attachment types ()
attachment_test.go Fix all possible setting error related storages and added some tests ()
cache.go Always enable caches ()
camo.go Refactor the setting to make unit test easier ()
config.go Customizable "Open with" applications for repository clone ()
config_env.go Fix `environment-to-ini` inherited key bug ()
config_env_test.go Fix `environment-to-ini` inherited key bug ()
config_provider.go Refactor startup deprecation messages ()
config_provider_test.go Fix INI parsing for value with trailing slash ()
cors.go Refactor CORS handler ()
cron.go Replace `interface{}` with `any` ()
cron_test.go Rewrite queue ()
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 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 Refactor startup deprecation messages ()
indexer_test.go Implement FSFE REUSE for golang files ()
lfs.go Use general token signing secret ()
lfs_test.go Display deprecated warning in admin panel pages as well as in the log file ()
log.go Refactor "dump" sub-command ()
log_test.go Replace `interface{}` with `any` ()
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 Allow `preferred_username` as username source for OIDC ()
oauth2_test.go Fix oauth2 builtin application logic ()
other.go Add `[other].SHOW_FOOTER_POWERED_BY` setting to hide `Powered by` ()
packages.go Avoid creating directories when loading config ()
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 Refactor startup deprecation messages ()
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 Remember login for a month by default ()
server.go Refactor startup deprecation messages ()
service.go Add reverseproxy auth for API back with default disabled ()
service_test.go Fix allowed user types setting problem ()
session.go Refactor startup deprecation messages ()
setting.go Refactor startup deprecation messages ()
setting_test.go Implement FSFE REUSE for golang files ()
ssh.go Expanded minimum RSA Keylength to 3072 ()
storage.go Refactor startup deprecation messages ()
storage_test.go Support storage base path as prefix ()
task.go handle deprecated settings ()
time.go Enable more `revive` linter rules ()
ui.go Add global setting how timestamps should be rendered ()
webhook.go Refactor the setting to make unit test easier ()