Simon Michael
ec56c45c6b
;tests: flatten functional test files a bit
...
[ci skip]
2019-07-08 08:28:03 +01:00
Simon Michael
0557440f14
;tests: move 0unittests up, delete unused examples symlink
...
[ci skip]
2019-07-08 08:02:54 +01:00
Simon Michael
f8cc60d287
;csv: doc: link to #1051
...
[ci skip]
2019-07-08 08:02:54 +01:00
Simon Michael
19ba1628bf
;print: more valuation-related tests
...
[ci skip]
2019-07-08 06:00:28 +01:00
Simon Michael
5c3e4de647
;lib: periodFromRawOpts: clarify doc ( #1011 )
...
[ci skip]
2019-07-01 18:33:18 +01:00
Jakob Schöttl
1bc246681f
Update shell completion script
2019-06-30 10:38:06 +02:00
Jakob Schöttl
4d76535b6d
Add CLI/shelltest tests for date-options
2019-06-30 10:38:06 +02:00
Jakob Schöttl
8569b39771
Refactoring: qualified call to process function
2019-06-30 10:38:06 +02:00
Jakob Schöttl
2b01312004
Fix and update documentation on date options
2019-06-30 10:38:06 +02:00
Jakob Schöttl
e483faf7f0
Bugfix for #1011 : begin/end date options
2019-06-30 10:38:06 +02:00
Simon Michael
27c01e82b5
add: doc: mention the windows trailing-dot file path issue
2019-06-26 18:47:11 +01:00
Simon Michael
014db152d9
add, web: disallow unsafe trailing dot paths on windows ( fix #1056 )
...
On Windows, ensureJournalFileExists now rejects file paths
containing any problematic trailing dots, to prevent data loss.
This affects the add command and hledger-web's add form.
2019-06-26 18:19:53 +01:00
Simon Michael
2e4f047fed
;doc: journal: clarify alias docs ( #1055 )
...
[ci skip]
2019-06-23 15:56:29 -07:00
Simon Michael
016808fd06
;journal: tests for recursive aliases, application order ( #1055 )
...
[ci skip]
2019-06-21 12:16:56 -07:00
Simon Michael
d15f775695
;doc:journal: document alias application order more clearly ( #1055 )
...
[ci skip]
2019-06-21 12:12:35 -07:00
Simon Michael
8c7b23e25f
;tests: aliases: convert to shelltest v3 format ( #1055 )
...
[ci skip]
2019-06-19 10:44:57 -07:00
Simon Michael
866b395e3f
;doc: contributing: link neil's PR-a-day post
...
[ci skip]
2019-06-18 19:14:34 -07:00
Simon Michael
33d03284c3
;valuation: more tests; document default amount style issue
...
[ci skip]
2019-06-17 08:19:23 -07:00
Simon Michael
2da50875ee
lib: setNaturalPrecisionUpTo
2019-06-14 19:04:09 -07:00
Simon Michael
5cb334514c
;lib: rename setMinimalPrecision -> setNaturalPrecision
2019-06-14 19:04:09 -07:00
Simon Michael
69defd497f
;lib: refactor: Data.Prices -> Data.Valuation
2019-06-14 19:04:09 -07:00
Simon Michael
83030a09de
;lib: Prices: refactor
2019-06-14 19:04:09 -07:00
Simon Michael
7dd0c5783a
;lib: multibalancereport: refactor
2019-06-14 19:04:09 -07:00
Simon Michael
91bccac64b
;make functest: show verbose progress again, in honour of stack 2
...
[ci skip]
2019-06-14 19:04:09 -07:00
Simon Michael
9bcb1c4145
travis: skip hledger-api at least for now to stay under time limit
2019-06-14 19:04:09 -07:00
Simon Michael
0a3af8d9ee
csv: strip outer whitespace when interpolating CSV values ( #1051 )
...
This removes a potential snag in amount field assignments, and
hopefully is harmless and acceptable otherwise.
2019-06-14 16:43:12 -07:00
Simon Michael
d2b3185062
csv: don't show invalid inter-field spaces in CSV error messages
...
Errors involving a record like:
2000-01-01,a,"1"
displayed the record with extra spaces:
the CSV record is: "2000-01-01", "a", "1"
which was not accurate or valid RFC-4180.
2019-06-14 16:17:40 -07:00
Simon Michael
baa15d9bea
;lib: rename MultiBalanceReports.hs -> MultiBalanceReport.hs
2019-06-14 11:45:25 -07:00
Simon Michael
52bab5c41a
;stack: try dropping haskell-src-exts workaround
...
(commercialhaskell/stack#3922 )
2019-06-13 16:26:09 -07:00
Simon Michael
755932bbc5
;deps: use unix-time release instead of github rev
2019-06-13 16:26:09 -07:00
Simon Michael
e5ba87b83e
;stack: update to latest LTS snapshot/GHC 8.6.5
2019-06-13 16:26:06 -07:00
Simon Michael
e664fab956
lib: try to simplify, use just one price graph ( #131 )
2019-06-13 15:50:01 -07:00
Simon Michael
dd5afbb6fe
;doc, debug output tweaks ( #131 )
2019-06-13 15:50:01 -07:00
Simon Michael
6a62bd6437
web, api: update for MarketPrice/PriceDirective change
2019-06-13 15:50:01 -07:00
Simon Michael
ce0354ddbe
lib: -X/--exchange now supports indirect price chains ( #131 )
...
Adds fgl as a dependency.
2019-06-13 15:50:01 -07:00
Simon Michael
692620180e
;lib: refactor: change AmountPrice to a Maybe
...
I've wanted to do this for a long time; now that prices are in flux,
seems a good time.
2019-06-13 15:50:01 -07:00
Simon Michael
adb6ee40eb
lib: clarify price types ( #131 )
...
dropped journalPrices
renamed Price to AmountPrice, AKA "transaction price"
renamed MarketPrice to PriceDirective.
added new MarketPrice (more pure form of PriceDirective without the amount style information)
Prices is now a more efficient data structure, but not used yet.
2019-06-13 15:50:01 -07:00
Simon Michael
e24c6292d0
lib: support -X/--exchange (direct/reverse prices only) ( #131 )
2019-06-13 15:50:01 -07:00
Simon Michael
50a52dd467
lib: --value can select commodity (via direct/reverse prices) ( #131 )
2019-06-13 15:50:01 -07:00
Simon Michael
6b6c3385c9
lib: parse optional ,COMM suffix in --value ( #131 )
2019-06-13 15:50:01 -07:00
Caleb Maclennan
18e19b9ad2
;tests: normalize tests, examples, and docs using 2spcs before comments
2019-06-13 12:12:21 -07:00
Caleb Maclennan
8f3e5f9d3b
;print: differentiate posting indent (4spc) and pre-comment space (2spc)
...
Co-authored-by: Simon Michael <simon@joyful.com>
2019-06-13 12:12:21 -07:00
Henning Thielemann
1fa4419cd1
web: register page: clip linked accounts to 40 characters
...
This was the behaviour before adding the links.
2019-06-13 10:12:44 -07:00
Henning Thielemann
adbdbf002c
web: avoid spaces before commas in register account links
2019-06-13 10:12:44 -07:00
Henning Thielemann
ac96bcfdf0
web: add links to accounts in register transactions
2019-06-13 10:12:44 -07:00
Simon Michael
26ab750620
;tools: make functest-PAT
...
[ci skip]
2019-06-13 10:12:03 -07:00
Simon Michael
233f72b7bf
; ui, web: mention out-of-step server clock issue for file reloading
...
[ci skip]
2019-06-11 10:20:57 -07:00
Henning Thielemann
4962b2696a
lib: accountTransactionsReportItems: rewrite using catMaybes and mapAccumL
...
I find the report function less convolved without the integrated recursion.
2019-06-09 18:45:58 -07:00
Simon Michael
88f3f6fc41
print: also canonicalise balance assertions' amount style ( fix #1042 )
2019-06-09 17:39:46 -07:00
Simon Michael
41793d867c
;site: download: add warning icon
...
[ci skip]
2019-06-09 16:05:48 -07:00