Commit Graph

7776 Commits

Author SHA1 Message Date
Simon Michael
96453177b9 ;doc: contributing: commit message conventions aren't mandatory
[ci skip]
2019-11-04 11:45:40 -08:00
Timofey ZAKREVSKIY
6b5026c240 Weeks in date picker start from Mondays (fix for #1109) 2019-11-04 11:35:45 -08:00
Simon Michael
1004da9ef1 ;doc: project changelog: note matrix.hledger.org improvement
And test how Shake changelogs handles items added above the
latest-commit heading.

[ci skip]
2019-11-03 10:10:00 -08:00
Simon Michael
e66e68ed86 ;doc: roadmap: doc milestones
[ci skip]
2019-10-27 08:06:50 -07:00
Simon Michael
445adbe9d1 ;doc: regen manuals
[ci skip]
2019-10-23 12:30:27 -07:00
Simon Michael
cfc00070a1 ;doc: fix output destination/format links in command docs
[ci skip]
2019-10-23 12:29:17 -07:00
Simon Michael
ae422b363a ;doc: roadmap: milestone tweaks
[ci skip]
2019-10-23 12:25:39 -07:00
Simon Michael
b1d029a4b8 ;doc: roadmap: milestones
[ci skip]
2019-10-23 10:37:52 -07:00
Simon Michael
6f06b25ddb ;doc: contributing: four kinds of docs
[ci skip]
2019-10-23 10:37:48 -07:00
Simon Michael
e0c511b5fc ;doc: contributing: kent beck tests properties
[ci skip]
2019-10-21 13:38:44 -07:00
Simon Michael
312e772468 prices: style price amounts; always show full precision 2019-10-20 07:09:34 -07:00
Simon Michael
b598f30a8a ;lib: styleAmountExceptPrecision 2019-10-20 07:08:45 -07:00
Simon Michael
f09111b8b9 ;prices: convert tests to new format
[ci skip]
2019-10-20 05:40:49 -07:00
Simon Michael
2e3b51c03f ;lib: journalConvertAmountsToCost -> journalToCost 2019-10-19 19:58:27 -07:00
Simon Michael
54e1caebf1 ;lib: refactor journalConvertAmountsToCost 2019-10-19 19:53:05 -07:00
Simon Michael
905149df86 ;lib: transaction valuation helpers 2019-10-19 19:41:21 -07:00
Simon Michael
de0a6b1e62 ;lib: Transaction: as Map -> as M 2019-10-19 19:17:35 -07:00
Simon Michael
e83cbacbf6 ;ui: help: pmi -> p/m/i 2019-10-19 18:47:39 -07:00
Mykola Orliuk
78146978f4 ;lib: store raw opts unquoted
It looks like we only need quote when we build query and in some
messages.

Fixes simonmichael/hledger#1079
2019-10-19 14:44:08 -07:00
Brian Wignall
88e3e661a8 Fix internal Markdown links 2019-10-18 16:06:23 -07:00
Simon Michael
f5ead7a38e ;install: bump version after resolver update
[ci skip]
2019-10-18 11:15:06 -07:00
Simon Michael
96e9b1595d ;csv: doc: clarify skip's behaviour
[ci skip]
2019-10-18 11:14:43 -07:00
Brian Wignall
952c2728f8 Make resolver in hledger-install.sh consistent with that in stack.yaml 2019-10-18 11:13:52 -07:00
Simon Michael
d18d32a098 ;doc: roadmap: tweak 1.16 goals
[ci skip]
2019-10-07 15:31:31 -10:00
Simon Michael
12ed2537b8 ;doc: ROADMAP.md
[ci skip]
2019-10-07 15:25:01 -10:00
Simon Michael
eff1b31c86 csv: allow csv records with varying lengths, padding with empties
Sometimes trailing empty fields are omitted entirely (including the
commas) in CSV records. (I see this in exported Google spreadsheets.)
Now we don't raise an error in this case, instead we automatically pad
any "short" records with empty fields. Not yet well tested.
2019-10-07 14:54:36 -10:00
Simon Michael
6dcddadd9f ;journal: in generated-transaction:/posting: tags, add a space before the value 2019-10-07 14:54:36 -10:00
Simon Michael
40c089dcfc ;doc: regen manuals
[ci skip]
2019-10-07 14:54:36 -10:00
Alejandro García Montoro
4efd0242da web: Modify the --cors option to require a specific origin
- Modified the cors option to require a String
- Moved the logic to build the cors policy to WebOptions.hs
- Specify the --cors "*" example in the cors option help
- Added utf8-string dependency to convert a String into a ByteString
2019-10-07 14:54:18 -10:00
Alejandro García Montoro
e96dfe832f web: Allow CORS to be enabled in hledger-web
Add a --cors option to the CLI to enable simple cross-origin requests
2019-10-07 14:54:18 -10:00
Simon Michael
f1420cc770 ;doc: journal: oh, we can declare the null commodity
[ci skip]
2019-09-27 17:58:46 -10:00
Simon Michael
16973ce296 ;lib: fix journalInferCommodityStyles debug message 2019-09-27 18:51:37 -07:00
Simon Michael
58a313165c ;journal: infer amount styles more carefully, fix wrong output (#1091)
Certain journal entries could trigger a bug where we displayed amounts
with the same character for digit group mark and decimal mark. Now if
a comma or period digit group mark is detected, that forces the
decimal mark to be the other character.
2019-09-27 15:40:36 -10:00
Simon Michael
9967ead4c5 ;lib: let commodityStylesFromAmounts & co. return an error (#793, #1091)
And if they did, the stats command would now throw an error.

Changed:
journalApplyCommodityStyles
journalInferCommodityStyles
commodityStylesFromAmounts
2019-09-27 15:09:39 -10:00
Simon Michael
fd8c6935e8 ;doc: regen manuals
[ci skip]
2019-09-27 14:32:59 -10:00
Simon Michael
64f49a8c02 ;doc: journal: rewrite Amounts; switch to "digit group mark" term (#1091) 2019-09-27 14:25:32 -10:00
Simon Michael
b754abc36b ;lib: commodityStylesFromAmounts: simplify, disable #1091 test 2019-09-26 18:06:22 -10:00
Simon Michael
4884213a3e ;lib: commodityStylesFromAmounts: a failing unit test for #1091 2019-09-25 23:08:00 -10:00
Simon Michael
7ffe38677a ;lib: parseAndFinaliseJournal: note txns order issue (#1091) 2019-09-25 23:07:22 -10:00
Simon Michael
6037d701b6 ;lib: document RawNumber, AmbiguousNumber, DigitGrp (#1091) 2019-09-25 21:26:06 -10:00
Simon Michael
2bbc9b76e5 ;Shake clean/Clean: update, fix dangerous over-cleaning in site/
[ci skip]
2019-09-15 17:16:59 -07:00
Simon Michael
68c770af06 ;make: remove old site building stuff
[ci skip]
2019-09-15 17:16:58 -07:00
Simon Michael
4b3103cbb1 ;Shake: comment all the website generation stuff, sphinx does it now
[ci skip]
2019-09-15 17:16:58 -07:00
Simon Michael
24ce2686f4 drop GHC 7.10/base 4.8 support, finally, due to MonadFail hassles
in JournalReader.hs. If you still need this, feel free to work on
those errors. But hopefully not, because dropping base 4.8 should
permit some code cleanups.
2019-09-14 03:45:37 -07:00
Simon Michael
977d4f009e lib, cli: disable hledger-lib test suites, hledger benchmark suite
by default. hledger-lib's doctests and easytests test suites (each ?)
require an additional slow rebuild of hledger-lib and are not worth
the time, energy and carbon. hledger's test suite runs those same
easytest tests (but not the doctests).
2019-09-14 03:45:37 -07:00
Simon Michael
180f4baedb ;lib: csv: note cause of #1087
[ci skip]
2019-09-14 03:45:37 -07:00
Simon Michael
f92b2fe6ef ;lib: csv: refactor: clarify, get rid of some IO/ExceptT
Rule parsing doesn't need IO (since we are doing expandIncludes as a
pre-parsing step).
2019-09-14 03:45:37 -07:00
Simon Michael
3c05662ce2 ;lib: csv: clarify confusing imports 2019-09-13 18:11:40 -07:00
Simon Michael
46caa1d4ef ;lib: csv: rename error-prone default rules 2019-09-13 17:51:14 -07:00
Simon Michael
a0deb88796 ;doc: regen manuals
[ci skip]
2019-09-13 11:00:03 -07:00