gitea/modules/setting
Jason Song 862f748b2b
Fix loading `LFS_JWT_SECRET` from wrong section ()
Regression of .

`LFS_JWT_SECRET_URI` and `LFS_JWT_SECRET` are under the `server`
section, not `lfs`.

So each time gitea restarts, it resets `LFS_JWT_SECRET`.

<img width="1378" alt="image"
src="https://github.com/go-gitea/gitea/assets/9418365/527ec9b9-eea2-4334-a274-6d1471456edd">
..
actions.go Restrict `[actions].DEFAULT_ACTIONS_URL` to only `github` or `self` ()
actions_test.go Restrict `[actions].DEFAULT_ACTIONS_URL` to only `github` or `self` ()
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 Fix env config parsing for "GITEA____APP_NAME" ()
config_env_test.go Fix env config parsing for "GITEA____APP_NAME" ()
config_provider.go Add shutting down notice ()
config_provider_test.go Refactor path & config system ()
cors.go Fix incorrect CORS default values ()
cron.go Replace `interface{}` with `any` ()
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 Fix loading `LFS_JWT_SECRET` from wrong section ()
lfs_test.go Fix all possible setting error related storages and added some tests ()
log.go Fix sub-command log level ()
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 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 Avoid creating directories when loading config ()
packages_test.go Fix all possible setting error related storages and added some tests ()
path.go Update path related documents ()
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 Make "install page" respect environment config ()
server.go Serve pre-defined files in "public", add "security.txt", add CORS header for ".well-known" ()
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 Make "install page" respect environment config ()
setting_test.go Implement FSFE REUSE for golang files ()
ssh.go Set SSH_AUTHORIZED_KEYS_BACKUP to false ()
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 ()