1
0
mirror of https://github.com/aclindsa/ofxgo.git synced 2024-09-21 10:20:04 -04:00
Commit Graph

96 Commits

Author SHA1 Message Date
384d24b3d0 README: Add coverage badge 2017-04-10 08:17:34 -04:00
2bbd1d424d go vet 2017-04-10 06:05:03 -04:00
3099c5f00f Test open orders 2017-04-10 06:04:52 -04:00
674aac9dba Add tests for list of positions 2017-04-10 05:27:47 -04:00
8ea820f309 Add tests for neglected InvTranList elements 2017-04-09 07:22:57 -04:00
5159bba382 Add license 2017-04-08 11:48:55 -04:00
d433a18df4 gofmt -s 2017-04-08 11:38:07 -04:00
296b1fe7e9 Add badges for documentation and report card 2017-04-08 11:30:55 -04:00
8e6c9f6632 .travis.yml: Add coveralls 2017-04-08 11:22:45 -04:00
0673b9af85 README: Add build status badge 2017-04-08 11:14:25 -04:00
b8620f40c8 Add .travis.yml 2017-04-08 11:13:06 -04:00
3f5249cad4 Add v1.0.3 bank request test 2017-04-08 10:59:42 -04:00
749c2e9f3a Add test for RandomUID 2017-04-08 10:55:11 -04:00
e1c4fb79bc Add status tests 2017-04-08 10:39:54 -04:00
ae525b742c Add test for signon validity 2017-04-08 08:58:09 -04:00
9e95182afa signon: Improve error messages 2017-04-08 08:57:31 -04:00
8f1cf63bd3 constants: Improve testing, eliminate redundant check when marshalling 2017-04-08 08:40:46 -04:00
ac5a0dce1d Add tests for auto-generated constants 2017-04-07 22:34:54 -04:00
932af2439b Test remaining SECINFO types 2017-04-07 22:32:27 -04:00
1017dbb0ae signup: Stop using the wrong enum for InvAcctType 2017-04-06 20:31:16 -04:00
3009f9255c constants.go: Make Valid() return false after failing FromString() 2017-04-06 19:55:59 -04:00
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
5009ef3c79 Spelling mistake 2017-04-06 19:17:52 -04:00
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
ea700b33a9 profile: Change 'VER' from a String to an Int 2017-04-05 05:26:29 -04:00
f794d452c4 Test for spaces after newlines when unmarshalling elements 2017-04-04 20:22:12 -04:00
6d8578c056 Add test for Amount.Equal() 2017-04-04 20:20:31 -04:00
061b31a99d Add test for Date.Equal() 2017-04-04 19:51:35 -04:00
1560f44a3c Switch Date to contain time.Time instead of being a typedef 2017-04-04 19:50:41 -04:00
7f5ef5751d Switch Amount to contain big.Rat instead of being a typedef 2017-04-03 21:15:08 -04:00
9b03829645 Add additional investment statement response test 2017-04-03 20:50:31 -04:00
cd39e4f8af Handle SGML responses with post-colon spaces in headers 2017-04-03 20:49:48 -04:00
ea133999ee Add more leaf elements missed earlier 2017-04-03 20:48:01 -04:00
737d289b29 Add profile tests 2017-04-03 19:59:30 -04:00
59a29e18a5 profile: Save message set name somewhere other than XMLName
Of course the same information is available there, but having it brought
out as its own field seems more convenient and intuitive for users.
2017-04-03 19:56:16 -04:00
f56a061627 profile: Fix PinCh field capitalization 2017-04-03 19:55:58 -04:00
e2b0819888 Add missing leaf elements with numbers 2017-04-03 19:54:32 -04:00
42864dace3 Rename Response/Request Profile -> Prof
This is more in line with the rest, which match their OFX message set
names except for capitalization.
2017-04-03 19:50:16 -04:00
7834d53f9b Trim spaces when unmarshalling UIDs
This ensures the correct value is parsed when SGML tags aren't closed.
Also add a test.
2017-04-03 19:46:10 -04:00
47f1b82c0b Check HTTPS is always used 2017-04-01 21:33:56 -04:00
62f0ae600b Add a few missing profile fields 2017-04-01 21:29:27 -04:00
9ede56e2c4 Add investment statement tests 2017-04-01 21:17:32 -04:00
d7b265b995 Add open orders to investment statment responses 2017-04-01 11:05:40 -04:00
1cbd433116 request_test: Point out first difference in marshalled string 2017-03-31 20:16:44 -04:00
3fa614b649 Add tests for credit card requests and responses
Including one for OFX version 102
2017-03-31 16:22:33 -04:00
6618e031a7 Response: Use SignonRs.String() instead of a raw string 2017-03-31 15:30:10 -04:00
d07455d797 Improve some request/response documentation 2017-03-31 15:29:57 -04:00
e755650521 Rename files to more closely correspond to their message set tags 2017-03-31 15:05:59 -04:00
0d04085c7a Status: s/WARNING/WARN/ to comply with the spec 2017-03-31 14:53:56 -04:00
f185d78d29 Generalize response parsing code
This removes the many decodeXXXMessageSet() functions and replaces them
with a large map and a single generic decodeMessageSet() function. Also
change Responses to satisfy the Message interface as pointer types
(instead of the raw types), add the full set of top-level message sets
(though most of them still lack any message-parsing ability), adjust the
message set names to more closely mirror their OFX names, and fixup
tests and the command-line client to match the above changes.
2017-03-31 11:54:43 -04:00