0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-25 23:34:52 +01:00
gitea/modules/setting
Jason Song c84238800b
Refactor setting.Database.UseXXX to methods (#23354)
Replace #23350.

Refactor `setting.Database.UseMySQL` to
`setting.Database.Type.IsMySQL()`.

To avoid mismatching between `Type` and `UseXXX`.

This refactor can fix the bug mentioned in #23350, so it should be
backported.
2023-03-07 18:51:06 +08:00
..
actions.go
admin.go
api.go
attachment.go
cache.go
camo.go
config_provider.go handle deprecated settings (#22992) 2023-02-20 16:18:26 -06:00
cors.go
cron.go
cron_test.go
database.go Refactor setting.Database.UseXXX to methods (#23354) 2023-03-07 18:51:06 +08:00
database_sqlite.go
database_test.go
federation.go
git.go
highlight.go
i18n.go
incoming_email.go
indexer.go handle deprecated settings (#22992) 2023-02-20 16:18:26 -06:00
indexer_test.go
lfs.go handle deprecated settings (#22992) 2023-02-20 16:18:26 -06:00
log.go
mailer.go handle deprecated settings (#22992) 2023-02-20 16:18:26 -06:00
mailer_test.go
markup.go
metrics.go
migrations.go
mime_type_map.go
mirror.go handle deprecated settings (#22992) 2023-02-20 16:18:26 -06:00
oauth2.go
other.go
packages.go
packages_test.go
picture.go
project.go
proxy.go
queue.go
repository.go
security.go
server.go handle deprecated settings (#22992) 2023-02-20 16:18:26 -06:00
service.go
session.go
setting.go Make CI use a dummy password hasher for all tests (#22983) 2023-02-20 13:20:30 +08:00
setting_test.go
ssh.go
storage.go Add InsecureSkipVerify to Minio Client for Storage (#23166) 2023-02-27 16:26:13 +00:00
storage_test.go
task.go handle deprecated settings (#22992) 2023-02-20 16:18:26 -06:00
time.go
ui.go
webhook.go