Commit Graph

167 Commits

Author SHA1 Message Date
Aaron Lindsay a3e42fc903 `go vet` and `golint` 2017-04-18 19:50:04 -04:00
Aaron Lindsay 1ee7197340 Add validation of banking requests and responses 2017-04-18 19:46:23 -04:00
Aaron Lindsay 7f2ca5db0f Check Valid() when parsing responses 2017-04-17 20:37:40 -04:00
Aaron Lindsay 2046fa32e5 Use CurrSymbol instead of String to represent currencies 2017-04-17 20:20:22 -04:00
Aaron Lindsay faac776ca4 Add Currency type 2017-04-17 20:11:53 -04:00
Aaron Lindsay 9bd9c01962 Add OFX version to Valid() calls
This allows for future differentiation based on different requirements
of different versions of the OFX specification.
2017-04-17 11:11:46 -04:00
Aaron Lindsay 0eba6741f2 Make the OFX spec version an 'enum' 2017-04-17 10:54:20 -04:00
Aaron Lindsay 94f49640b4 cmd/ofx: `golint` 2017-04-16 20:50:06 -04:00
Aaron Lindsay 33c7ad463c spelling fix 2017-04-16 20:46:32 -04:00
Aaron Lindsay f64d19ed8d client: `golint` 2017-04-16 20:38:56 -04:00
Aaron Lindsay 1ff64a9d55 Comment investments, profiles, seclist, signon, signup, and types 2017-04-13 10:18:07 -04:00
Aaron Lindsay a1aec204a8 Comment investment statement requests/responses 2017-04-13 06:16:23 -04:00
Aaron Lindsay cc90da4ed1 s/Id/ID/ 2017-04-12 21:40:42 -04:00
Aaron Lindsay e670b52a08 common: Improve comments 2017-04-12 21:39:54 -04:00
Aaron Lindsay 6c20007ada Comment credit card statement requests/responses 2017-04-12 21:23:57 -04:00
Aaron Lindsay eee9348766 Comment bank statement requests/responses 2017-04-12 21:21:05 -04:00
Aaron Lindsay c6ef8be074 Add comments for generated constants 2017-04-12 06:02:50 -04:00
Aaron Lindsay a05882fcda Add a few more comments 2017-04-11 06:08:40 -04:00
Aaron Lindsay d6aa6608e7 Cleanup documentation 2017-04-10 21:30:44 -04:00
Aaron Lindsay be66031c49 Update README 2017-04-10 20:36:47 -04:00
Aaron Lindsay ff18c86aea Test parsing of some sample responses 2017-04-10 20:01:01 -04:00
Aaron Lindsay 384d24b3d0 README: Add coverage badge 2017-04-10 08:17:34 -04:00
Aaron Lindsay 2bbd1d424d go vet 2017-04-10 06:05:03 -04:00
Aaron Lindsay 3099c5f00f Test open orders 2017-04-10 06:04:52 -04:00
Aaron Lindsay 674aac9dba Add tests for list of positions 2017-04-10 05:27:47 -04:00
Aaron Lindsay 8ea820f309 Add tests for neglected InvTranList elements 2017-04-09 07:22:57 -04:00
Aaron Lindsay 5159bba382 Add license 2017-04-08 11:48:55 -04:00
Aaron Lindsay d433a18df4 gofmt -s 2017-04-08 11:38:07 -04:00
Aaron Lindsay 296b1fe7e9 Add badges for documentation and report card 2017-04-08 11:30:55 -04:00
Aaron Lindsay 8e6c9f6632 .travis.yml: Add coveralls 2017-04-08 11:22:45 -04:00
Aaron Lindsay 0673b9af85 README: Add build status badge 2017-04-08 11:14:25 -04:00
Aaron Lindsay b8620f40c8 Add .travis.yml 2017-04-08 11:13:06 -04:00
Aaron Lindsay 3f5249cad4 Add v1.0.3 bank request test 2017-04-08 10:59:42 -04:00
Aaron Lindsay 749c2e9f3a Add test for RandomUID 2017-04-08 10:55:11 -04:00
Aaron Lindsay e1c4fb79bc Add status tests 2017-04-08 10:39:54 -04:00
Aaron Lindsay ae525b742c Add test for signon validity 2017-04-08 08:58:09 -04:00
Aaron Lindsay 9e95182afa signon: Improve error messages 2017-04-08 08:57:31 -04:00
Aaron Lindsay 8f1cf63bd3 constants: Improve testing, eliminate redundant check when marshalling 2017-04-08 08:40:46 -04:00
Aaron Lindsay ac5a0dce1d Add tests for auto-generated constants 2017-04-07 22:34:54 -04:00
Aaron Lindsay 932af2439b Test remaining SECINFO types 2017-04-07 22:32:27 -04:00
Aaron Lindsay 1017dbb0ae signup: Stop using the wrong enum for InvAcctType 2017-04-06 20:31:16 -04:00
Aaron Lindsay 3009f9255c constants.go: Make Valid() return false after failing FromString() 2017-04-06 19:55:59 -04:00
Aaron Lindsay 85406e7eb8 Fix MfType values
"OPEN" and "END" had an accidental space between them before in the
comment the original list was based upon
2017-04-06 19:18:09 -04:00
Aaron Lindsay 5009ef3c79 Spelling mistake 2017-04-06 19:17:52 -04:00
Aaron Lindsay 4521bb377a Use named constants instead of strings for enum-like OFX fields
This adds a python script to generate constants.go when `go generate` is
called, and updates the structs, tests, and command-line client to all
use the new named constants.
2017-04-06 09:06:41 -04:00
Aaron Lindsay ea700b33a9 profile: Change 'VER' from a String to an Int 2017-04-05 05:26:29 -04:00
Aaron Lindsay f794d452c4 Test for spaces after newlines when unmarshalling elements 2017-04-04 20:22:12 -04:00
Aaron Lindsay 6d8578c056 Add test for Amount.Equal() 2017-04-04 20:20:31 -04:00
Aaron Lindsay 061b31a99d Add test for Date.Equal() 2017-04-04 19:51:35 -04:00
Aaron Lindsay 1560f44a3c Switch Date to contain time.Time instead of being a typedef 2017-04-04 19:50:41 -04:00