1
0
mirror of https://github.com/aclindsa/moneygo.git synced 2024-10-30 07:40:05 -04:00
Commit Graph

6 Commits

Author SHA1 Message Date
ac8afec6c1 Add tests for reading config files 2017-12-09 21:19:54 -05:00
147a00e429 Only serve over HTTPS, optionally auto-generating certificates
Because MoneyGo requires sending passwords and session cookies, we
should never serve over HTTP. While we're at it, make it more convenient
for folks to test this out by adding a config option to auto-generate
self-signed certificates.
2017-12-05 21:02:49 -05:00
a80a46d83f Add "tcp()" to the MySQL DSN in the example config
This appears to be necessary for the MySQL driver we're using
2017-11-16 20:19:25 -05:00
3869f3a3b2 Get all current tests to pass with MySQL
This is done by requiring 'parseTime=true' in the MySQL DSN's (required
by github.com/go-sql-driver/mysql when Scan()ing to time.Time's), and
not forcing update counts to match if rows were updated to what they
already were.
2017-10-24 20:57:55 -04:00
8ce3ef1bf5 Move database configuration into config file
Also support mysql and postgres (at least in name, they haven't been
fully tested yet)
2017-10-02 20:55:26 -04:00
f88fed966b Move to using config file 2017-10-01 21:15:40 -04:00