Commit Graph

7950 Commits

Author SHA1 Message Date
Jacek Generowicz
24fbe313dd ;Fix rewrite tests after #457 fix
As a consequence of fixing #457, two rewrite tests fail, because extra
quotes appear in the output of the commands being tested.

These quotes appear in comments which reflect the command which was
run in order to produce the output. Instead of

   ; generated-posting: = assets:bank and amt:<0

we now get

   ; generated-posting: = assets:bank and "amt:<0"

Given that the quotes around `amt:<0` are necessary for the command to
work properly, these quotes should really be there in the expected
output.

Hence this commit modifies the expected output of the tests, by adding
in the quotes. This makes the tests pass once more.
2019-12-08 18:33:43 +01:00
Jacek Generowicz
c6da152e9a ;convert extant addon tests to shellrunner format 3 2019-12-08 18:33:43 +01:00
Jacek Generowicz
4593963fef ;Disable tests according to discussion in #457
https://github.com/simonmichael/hledger/pull/1140#issuecomment-562793255
2019-12-08 18:33:43 +01:00
Jacek Generowicz
29211868bb Fix issue 457
Issue #457 pointed out that commands such as

    hledger ui 'amt:>200'

failed. This was becasue the process of dispatching from `hledger ui`
to `hledger-ui` (note addition of `-`) lost the quotes around
`amt:>20` and the `>` character was interpreted as a shell redirection
operator, rather than as part of the argument.

The machinery for quoting or escaping arguements which cointain
characters which require quoting or escaping (thus far whitespace and
quotes) already existed. This solution simply adds shell stdio
redirection characters to this set.

Fixes #457
2019-12-08 18:33:43 +01:00
Jacek Generowicz
7394441728 ;Add shelltests demonstrating bug reported in issue 457 2019-12-08 18:33:43 +01:00
Simon Michael
9d6db33278 close: doc: mention --close-to/--open-from in the manual
[ci skip]
2019-12-06 12:27:07 -08:00
Evilham
60b26b8e4b Add a basic example of rule parsing for the output of csb2format.
csb2format deals with the CSB43/AEB43 format, which all banks operating in
Spain must support.
Having these example rules enables easens bootstraping for users with a
Spanish bank account.
2019-12-06 05:51:10 -08:00
Simon Michael
1aac7e97b1 install: re-enable hledger-iadd & hledger-interest
hledger-iadd has been revised on hackage, and hledger-interest has no upper bound.
2019-12-04 11:20:00 -08:00
Simon Michael
1238ebc18b ;web: doc: add a missing 1.16.1 changelog item
[ci skip]
2019-12-03 16:34:11 -08:00
Simon Michael
3a594a8115 ;doc: readme: link to travis/appveyor build history (#1142)
Like the contributor's guide.

[ci skip]
2019-12-03 15:38:54 -08:00
Simon Michael
8a6e15f1f2 ;doc: announcement: slight tweak for next time
[ci skip]
2019-12-03 13:54:21 -08:00
Simon Michael
01e6504bd1 ;doc: 1.16 announcement
[ci skip]
2019-12-03 13:44:18 -08:00
Simon Michael
f319bef945 ;doc: whitespace change to test web hooks
[ci skip]
2019-12-03 12:49:05 -08:00
Simon Michael
0866b30838 ;doc: whitespace change to test web hooks
[ci skip]
2019-12-03 12:44:50 -08:00
Simon Michael
38d64a6f79 ;doc: whitespace change to test web hooks
[ci skip]
2019-12-03 12:43:13 -08:00
Simon Michael
46ac93cf5a ;doc: whitespace change to test web hooks
[ci skip]
2019-12-03 12:34:56 -08:00
Simon Michael
ace867d7ed ;doc: whitespace change to test web hooks
[ci skip]
2019-12-03 12:33:41 -08:00
Simon Michael
592e0125fe ;doc: whitespace change to test web hooks
[ci skip]
2019-12-03 12:33:08 -08:00
Simon Michael
4efe397ba4 ;doc: whitespace change to test web hooks
[ci skip]
2019-12-03 12:31:15 -08:00
Simon Michael
c54c15fccd ;cli: doc: drop changelog whitespace
[ci skip]
2019-12-03 12:28:59 -08:00
Simon Michael
e77541a270 ;doc: drop minor heading from project changelog
[ci skip]
2019-12-03 12:26:36 -08:00
Simon Michael
3d98f0b5aa install: always do stack update, to help ensure we get the latest
https://github.com/commercialhaskell/stack/issues/5112
2019-12-03 11:30:46 -08:00
Simon Michael
b58a350803 install: update hledger-install for 1.16.1, disable addons for now 2019-12-03 08:41:44 -08:00
Simon Michael
5a2bcecf26 ;doc: finalise changelogs 2019-12-03 08:41:44 -08:00
Simon Michael
ac360893f5 ui: bump to 1.16.1 also, requiring hledger 1.16.1 2019-12-03 08:41:44 -08:00
Simon Michael
06b70194c0 ;doc: regen manuals 2019-12-03 08:41:44 -08:00
Simon Michael
093dca570d lib, cli, web: bump version to 1.16.1 2019-12-03 08:41:44 -08:00
Simon Michael
6ae837f820 ;doc: changelogs 2019-12-03 08:41:44 -08:00
Simon Michael
b7bea5698e web: drop old dependency on json (#1190) 2019-12-03 08:41:44 -08:00
Simon Michael
13f95327e3 ;doc: clarify changelog item for #1085 2019-12-03 08:41:44 -08:00
Rui Chen
70c2b135ec Fix build badges for Travis and AppVeyor 2019-12-02 12:23:16 -08:00
Simon Michael
e032eff8eb ;doc: changelog updates 2019-12-02 08:59:58 -08:00
Simon Michael
35e70e8f36 ;cli: doc: rewrite CSV changelog entries 2019-12-02 08:58:26 -08:00
Simon Michael
0ce890e5ff lib, cli, web: drop unnecessary mtl-compat dependency 2019-12-02 08:23:00 -08:00
Simon Michael
62a9e1aa62 ;lib: clarify Hledger.Read imports a little 2019-12-02 08:21:06 -08:00
Simon Michael
a0b92e02b9 Revert "remove old fail compatibility imports that are obsolete ?"
They are needed with ghc <8.4, not for fail but for <> I think.
Try cleaning up again another time.
This reverts commit 318ce7eb07.
2019-12-01 11:32:51 -08:00
Simon Michael
d922b6e798 ;doc: regen manuals 2019-12-01 10:12:29 -08:00
Simon Michael
6daebf60ea ;regen cabal files 2019-12-01 10:05:37 -08:00
Simon Michael
87d0491103 ;bump version to 1.16 2019-12-01 10:03:58 -08:00
Simon Michael
c90c0867c4 ;doc: changelogs
[ci skip]
2019-12-01 09:59:01 -08:00
Simon Michael
4b66bc2ed9 lib: disable doctest suite again till we can run it with cabal (#1139) 2019-12-01 09:13:18 -08:00
Simon Michael
318ce7eb07 remove old fail compatibility imports that are obsolete ? 2019-12-01 08:31:50 -08:00
Simon Michael
d8c52c97d2 ;tools: fix make tag after tests rename 2019-12-01 08:14:28 -08:00
Simon Michael
5b6dbe86b3 close: don't strip decimal zeros, causing misparsing (fix #1137) 2019-11-30 16:58:54 -08:00
Simon Michael
279e9624ed ;lib: clarify docs for setFullPrecision, setNaturalPrecision 2019-11-30 16:56:45 -08:00
Simon Michael
a081404bd7 ;doc: journal: rewrite commodity directive doc
[ci skip]
2019-11-30 08:34:13 -08:00
Simon Michael
359a118900 ;doc: draft changelog updates
[ci skip]
2019-11-29 07:57:54 -08:00
Simon Michael
3c226f869a ;stack: use base-compat < 0.11 and latest lts for Shake/regex (#1090)
[ci skip]
2019-11-29 07:48:03 -08:00
Simon Michael
ac5652b7cc ;web: fix redundant import warnings with ghc 8.8 2019-11-29 07:02:52 -08:00
Simon Michael
caf8cdf0ca ;test: consistent singular naming for test suites and files 2019-11-29 06:35:29 -08:00