0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-03-05 11:12:13 -05:00
forgejo/modules/setting
Giteabot 80d7288ea4
Remove last newline from config file (#26468) (#26471)
Backport #26468 by @wxiaoguang

When users put the secrets into a file (GITEA__sec__KEY__FILE), the
newline sometimes is different to avoid (eg: echo/vim/...)

So the last newline could be removed when reading, it makes the users
easier to maintain the secret files.

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-08-13 00:19:33 +08:00
..
actions.go Restrict [actions].DEFAULT_ACTIONS_URL to only github or self (#25581) (#25604) 2023-06-30 07:53:00 +00:00
actions_test.go Restrict [actions].DEFAULT_ACTIONS_URL to only github or self (#25581) (#25604) 2023-06-30 07:53:00 +00:00
admin.go
api.go
asset_dynamic.go
asset_static.go
attachment.go
attachment_test.go
cache.go
camo.go
config_env.go Remove last newline from config file (#26468) (#26471) 2023-08-13 00:19:33 +08:00
config_env_test.go Remove last newline from config file (#26468) (#26471) 2023-08-13 00:19:33 +08:00
config_provider.go Display deprecated warning in admin panel pages as well as in the log file (#26094) (#26154) 2023-07-26 09:22:39 +00:00
config_provider_test.go
cors.go
cron.go Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
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) (#26154) 2023-07-26 09:22:39 +00:00
lfs_test.go Display deprecated warning in admin panel pages as well as in the log file (#26094) (#26154) 2023-07-26 09:22:39 +00:00
log.go Clarify the logger's MODE config option (#26267) (#26281) 2023-08-02 01:08:28 +02:00
log_test.go Replace interface{} with any (#25686) (#25687) 2023-07-04 23:41:32 -04:00
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) (#25957) 2023-07-18 20:24:07 +00:00
packages_test.go
path.go Update path related documents (#25417) (#25982) 2023-07-19 09:48:54 +00:00
path_test.go
picture.go
project.go
proxy.go
queue.go Calculate MAX_WORKERS default value by CPU number (#26177) (#26183) 2023-07-27 19:24:07 +08:00
repository.go
repository_archive.go
repository_archive_test.go
security.go Make "install page" respect environment config (#25648) (#25799) 2023-07-10 11:51:05 +00:00
server.go
service.go Fix allowed user types setting problem (#26200) (#26206) 2023-07-29 14:42:40 +08:00
service_test.go Fix allowed user types setting problem (#26200) (#26206) 2023-07-29 14:42:40 +08:00
session.go
setting.go Make "install page" respect environment config (#25648) (#25799) 2023-07-10 11:51:05 +00:00
setting_test.go
ssh.go
storage.go Fix the wrong derive path (#26271) (#26318) 2023-08-04 06:24:13 +00:00
storage_test.go Fix the wrong derive path (#26271) (#26318) 2023-08-04 06:24:13 +00:00
task.go
time.go
ui.go
webhook.go