Commit Graph

27 Commits

Author SHA1 Message Date
Simon Michael
c4d7cc198a csv: finalise and check journals generated from CSV (#1000)
Invalid transactions generated from CSV will now be rejected.
I updated some csv tests to avoid this, except for 21, which
probably needs more cleanup.
2019-11-07 18:58:12 -08:00
Dmitry Astapov
fb5bca0b46 test: update csv tests for expenses:unknown being new default 2019-11-05 22:10:41 +00:00
Dmitry Astapov
c66ccc5cee lib: do not try to balance transaction in csv reader 2019-11-05 21:16:42 +00:00
Dmitry Astapov
95ec5715cc lib: better compatibility code in csv reader 2019-11-05 21:16:42 +00:00
Dmitry Astapov
d62f84bec2 lib: csv reader does not generate postings if account="" 2019-11-05 21:16:42 +00:00
Dmitry Astapov
8d24a40150 lib: csv parser fills out amounts on all postings, if possible 2019-11-05 21:16:42 +00:00
Dmitry Astapov
490d2407f4 test: expense:unknown -> expenses:unknown 2019-11-05 21:16:42 +00:00
Dmitry Astapov
3c7d5d466d lib, doc, test: csv parser gains "end" command for "if" block 2019-11-05 21:16:42 +00:00
Dmitry Astapov
32cbe4c7b3 lib: better inference for unknown account names in csv parser 2019-11-05 21:16:42 +00:00
Dmitry Astapov
38db7eb24d lib: implement skip end in csv reader 2019-11-05 21:16:42 +00:00
Dmitry Astapov
f1ab107400 lib, doc: extended "skip" in "if" body to "skip N" 2019-11-05 21:16:42 +00:00
Dmitry Astapov
1acebe1493 test: csv reader test for #1001 2019-11-05 21:16:42 +00:00
Dmitry Astapov
5bd407b3b9 test: show that #1000 is fixed 2019-11-05 21:16:42 +00:00
Dmitry Astapov
fa61fdbe1b test: add a test for #1076 (conditional line skips in csv) 2019-11-05 21:16:42 +00:00
Dmitry Astapov
f74df08e98 lib: fix accidental switch of income:unknown and expence:unknown in csv parser 2019-11-05 21:16:42 +00:00
Dmitry Astapov
825b9ce5b3 lib: fixed amount vs amount1 conflict detection in csv parser 2019-11-05 21:16:42 +00:00
Dmitry Astapov
f40d045251 test: updated csv parser tests to nicer format 2019-11-05 21:16:42 +00:00
Dmitry Astapov
24bba96ea2 lib: more robust multi-line joining in csv parser 2019-11-05 21:16:42 +00:00
Dmitry Astapov
9440664fc4 test: cleaner tests for CSV parser proposal 2019-11-05 21:16:42 +00:00
Dmitry Astapov
09f8d62458 test: example on which recursive interpolation in CSV parser fails 2019-11-05 21:16:42 +00:00
Dmitry Astapov
e4476dd2f1 lib: more robust "unknown" account assignment in csv parser 2019-11-05 21:16:42 +00:00
Dmitry Astapov
294fb4172c test: recursive interpolation in csv rules (#500) 2019-11-05 21:16:42 +00:00
Dmitry Astapov
725bee02f2 test: csv file with multiline description (#841, #416) 2019-11-05 21:16:42 +00:00
Dmitry Astapov
c5bab0ae40 test: added test for #570 2019-11-05 21:16:42 +00:00
Dmitry Astapov
0e1ead74c3 test: update old csv tests for new output format 2019-11-05 21:16:42 +00:00
Dmitry Astapov
a07a084fb7 test: tests for multi-posting CSV import 2019-11-05 21:16:42 +00:00
Simon Michael
ec56c45c6b ;tests: flatten functional test files a bit
[ci skip]
2019-07-08 08:28:03 +01:00