gitea/modules/setting
zeripath 5e0a3784ea
When reinitialising DBConfig reset the database use flags (#13796)
One perennial issue is users running the install page,
changing the database dialect and then suffering with issues

This PR simply resets all of the database.Use flags on
initDBConfig. This should prevent this issue from occuring.

Fix #13788
Fix #5480

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-12-02 19:39:48 -05:00
..
attachment.go Provide self-registering storage system (#12978) 2020-10-12 23:58:34 -04:00
cache.go
cors.go
cron_test.go
cron.go
database_sqlite.go
database_test.go
database.go When reinitialising DBConfig reset the database use flags (#13796) 2020-12-02 19:39:48 -05:00
git.go Fixed git args duplication (#13411) 2020-11-03 13:35:09 +02:00
indexer_test.go
indexer.go
lfs.go Handle and propagate errors when checking if paths are Dirs, Files or Exist (#13186) 2020-11-27 21:42:08 -05:00
log.go
mailer.go
markup.go
migrations.go Add Allow-/Block-List for Migrate & Mirrors (#13610) 2020-11-28 19:37:58 -05:00
picture.go Avatars and Repo avatars support storing in minio (#12516) 2020-10-14 21:07:51 +08:00
project.go
queue.go Slightly simplify the queue settings code to help reduce the risk of problems (#12976) 2020-10-15 17:40:03 -04:00
repository.go missing quotes in default value slice (#13550) 2020-11-13 22:17:58 -05:00
service.go
session.go
setting.go Set RUN_MODE prod by default (#13765) 2020-11-30 14:52:04 -05:00
storage.go Storage configuration support [storage] (#13314) 2020-10-31 16:51:48 -04:00
task.go
webhook.go