forgejo/modules/setting
Gusted 7b25a010c8
Only request write when necessary (#18657)
* Only request write when necessary

- Only request write for `INTERNAL_TOKEN_URI` when no token was found.
- Resolves #18655

* Fix perm

* Update setting.go

* Update setting.go

* Update setting.go

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: zeripath <art27@cantab.net>
2022-02-08 09:34:37 +08:00
..
attachment.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
cache.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
cors.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
cron.go
cron_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
database.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
database_sqlite.go
database_test.go
directory.go
federation.go
git.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
i18n.go
indexer.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
indexer_test.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
lfs.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
log.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
mailer.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
markup.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
migrations.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
mime_type_map.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
mirror.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
oauth2_client.go
picture.go
project.go
proxy.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
queue.go
repository.go Warn at startup if the provided SCRIPT_TYPE is not on the PATH (#18467) 2022-01-30 16:33:36 +00:00
service.go
session.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
setting.go Only request write when necessary (#18657) 2022-02-08 09:34:37 +08:00
setting_test.go
storage.go
storage_test.go
task.go
webhook.go Add packagist webhook (#18224) 2022-01-23 21:46:30 +08:00