b907682fa3
.travis.yml: Calculate Go test coverage across all internal/ packages
2017-12-09 20:01:17 -05:00
9cdf4f3c29
Merge pull request #35 from aclindsa/store_split
...
Split DB activity into 'store'
2017-12-09 19:36:33 -05:00
c4d2fe27e6
Take unexported database methods 'private'
2017-12-09 06:06:20 -05:00
e89198fe2e
.travis.yml: Don't wait on OSX builds
2017-12-09 05:59:30 -05:00
32aef11da5
Finish 'store' separation
2017-12-09 05:56:45 -05:00
af97f92df5
db: Paper over MySQL returning count=0 for unchanged updates
2017-12-09 05:47:25 -05:00
da7e025509
Move splits/transactions to store
2017-12-08 21:27:03 -05:00
61676598dd
Move prices to store
2017-12-07 21:05:55 -05:00
3326c3b292
Move accounts to store
2017-12-07 20:47:55 -05:00
bec5152e53
Move users and securities to store
2017-12-07 20:08:43 -05:00
c452984f23
Lay groundwork and move sessions to 'store'
2017-12-07 05:25:35 -05:00
6bdde8e83b
README: Remove $ for easier copy-pasta
2017-12-06 05:27:13 -05:00
9837afd547
Merge pull request #34 from aclindsa/always_https
...
Only serve over HTTPS, optionally auto-generating certificates
2017-12-06 05:24:27 -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
1dc57dc761
Merge pull request #32 from aclindsa/models_split
...
Split models from handlers into own internal package
2017-12-05 20:56:47 -05:00
3e3038295d
Split reports into models
2017-12-05 05:59:44 -05:00
5f296e8669
Split prices into models
2017-12-05 05:59:44 -05:00
128ea57c4d
Split accounts and transactions into models
2017-12-05 05:59:44 -05:00
f72c86ef58
Split securities into models
2017-12-05 05:59:44 -05:00
3f4d6d15a1
Split Sessions into models
2017-12-05 05:59:44 -05:00
e70be1647c
Begin splitting models from handlers with User
2017-12-05 05:59:44 -05:00
382d6ad434
README: Fix instructions for touching cusip_list.csv
2017-12-05 05:43:48 -05:00
e4defb7348
README: Update OFX status
2017-12-02 05:53:14 -05:00
c85675a8e9
Merge pull request #31 from aclindsa/test_ofx
...
Add OFX tests
2017-12-02 05:47:55 -05:00
ffc8602336
testing: Add another brokerage account OFX import test
2017-12-01 21:21:55 -05:00
05fdaaeb42
testing: Add checks for OFX investment balances
...
Also fix a "bug" uncovered, relating to at least one FI's providing
unexpected signs for some OFX fields.
2017-11-29 19:59:02 -05:00
30d4515780
testing: Add initial OFX investment import tests
...
Also fix up a "bug" caused by financial institutions not deciding on
which sign to use for an OFX field...
2017-11-28 21:25:50 -05:00
238809cd46
testing: Add initial OFX credit card import test
2017-11-28 20:14:38 -05:00
d656f15e84
testing: Ensure account balance is correct after OFX import
2017-11-26 21:01:26 -05:00
aa8924243e
Add initial OFX import test
...
So far, this only checks to ensure that the import doesn't return an
error code.
2017-11-26 14:42:05 -05:00
7a23739a0b
gnucash: Ensure error is properly checked
2017-11-25 21:05:57 -05:00
d9ecaa530b
gofmt
2017-11-25 21:01:48 -05:00
9cd2724416
Remove unused WriteError function
2017-11-23 17:57:36 -05:00
096005db3d
Merge pull request #30 from aclindsa/gnucash_testing
...
Add initial gnucash importing test
2017-11-23 13:46:04 -05:00
0aa8ac63ab
testing: Test importing Gnucash security prices
2017-11-22 21:37:45 -05:00
947db54433
testing: Check more post-gnucash import account balances
2017-11-22 20:59:11 -05:00
d65019f55c
gnucash tests: Check for the presence of more accounts and their trees
2017-11-21 05:58:43 -05:00
b06b409cd5
Add initial gnucash importing test
...
This is woefully incomplete, but tests to make sure at least one balance
on one account is correct...
2017-11-21 05:31:07 -05:00
4d0b33efee
securities: Don't use 'precision', a MySQL reserved word, in DB
2017-11-21 05:31:07 -05:00
be0d9051d4
Merge pull request #29 from aclindsa/sessions
...
Sessions
2017-11-19 20:53:39 -05:00
ac5826daca
Add expiration and creation times to sessions
...
Check expiration time when fetching sessions from cookies
2017-11-19 06:36:52 -05:00
216d413c15
Ensure we don't have duplicate session secrets
2017-11-18 21:20:23 -05:00
56dcc5e1d7
Merge pull request #28 from aclindsa/dep
...
Use `dep` and adapt travis to, too
2017-11-18 20:53:16 -05:00
197b2db962
Use dep
and adapt travis to, too
2017-11-18 20:22:12 -05:00
c1346e8a65
Merge pull request #27 from aclindsa/travis_fixups
...
Travis fixups
2017-11-17 21:44:43 -05:00
05aea95961
.travis.yml: Disable SSL mode for Postgres
...
This isn't enabled on OSX by default
2017-11-17 21:18:10 -05:00
e4e474caf2
Remove outdated comment
2017-11-17 21:02:25 -05:00
04d85cd681
Fix gorp to internally lowercase fields for Postgres
...
Postgres folds all unquoted column names to lowercase, and doing this
allows that to work nicely without screwing up the queries for the other
database engines.
2017-11-17 21:01:06 -05:00
d5ca4395ac
Move to gorp v2
...
This removes the following error, caused by the MySQL Dialect using a
'varchar' for all columns over 256 characters in length, instead of
'text' for the largest:
2017/11/17 22:41:33 common_test.go:208: Error 1074: Column length too big for column 'Lua' (max = 21844); use BLOB or TEXT instead
2017-11-17 19:53:56 -05:00
8ac573796b
.travis.yml: Allow OSX tests on 'master' to finish early (and fail)
2017-11-17 19:45:08 -05:00