Commit graph

18 commits

Author SHA1 Message Date
Michael Mayer
0ddef3a02d Rename context package to config and fsutil to util 2019-05-06 23:18:10 +02:00
Michael Mayer
e565195f23 Add config flag for read-only mode, see #56 2019-05-04 09:11:33 +02:00
Michael Mayer
868e1b80b9 Use reflection and yaml.Unmarshal() for configuration, see #66 2019-05-04 05:25:00 +02:00
Michael Mayer
71adb35cff Remove test and frontend packages; app and test context refactoring 2019-05-03 18:57:28 +02:00
Michael Mayer
8289de2746 Improve logging and set optional password for built-in TiDB server 2019-05-01 14:54:11 +02:00
Michael Mayer
a3377dc8e8 Rename tidb to internal for database configuration, see #50 2018-12-26 11:40:20 +01:00
Michael Mayer
7fde545fe7 Rename Config.GetAssetsPath() to AssetsPath(), see #50 2018-12-21 03:25:09 +01:00
Michael Mayer
628c598f08 Rename Config.GetThumbnailsPath() to ThumbnailsPath(), see #50 2018-12-21 03:24:22 +01:00
Michael Mayer
3462257cce Rename Config.GetCachePath() to CachePath(), see #50 2018-12-21 03:23:47 +01:00
Michael Mayer
32444bde18 Rename Config.GetExportPath() to ExportPath(), see #50 2018-12-21 03:22:25 +01:00
Michael Mayer
1a4815fd51 Rename Config.GetImportPath() to ImportPath(), see #50 2018-12-21 03:21:49 +01:00
Michael Mayer
c1219799da Rename Config.GetOriginalsPath() to OriginalsPath(), see #50 2018-12-21 03:21:21 +01:00
Michael Mayer
b365a2ce57 Rename Config.GetDatabaseDsn() to DatabaseDsn(), see #50 2018-12-21 03:19:25 +01:00
Michael Mayer
3eb61dff47 Rename Config.GetDatabaseDriver() to DatabaseDriver, see #50 2018-12-21 03:18:43 +01:00
Michael Mayer
d4aada7f86 Rename Config.IsDebug() to Debug(), see #50 2018-12-21 02:49:45 +01:00
Michael Mayer
43b860801c Proof-of-concept for using TiDB instead of MySQL #60 2018-12-18 18:38:30 +01:00
Michael Mayer
9872cfaa50 Add ConfigCommand test #58
- Includes refactoring of existing packages to enable testing of commands
2018-11-17 13:57:19 +01:00
Michael Mayer
fb91ce9a06 Move utils and test config to separate packages #58 2018-11-17 06:21:39 +01:00