Simon Michael
74fae2e1de
;ci: use github cache v2
...
This may also clear the recent CI error with hledger-web,
where we appear to be somehow restoring a non-latest version
of Query.hs.
2020-05-29 18:04:52 -07:00
Simon Michael
1087e790cf
;lib: refactor transactionCheckBalanced
2020-05-29 17:57:10 -07:00
Simon Michael
7bcc205622
lib: drop transactionPostingBalances
2020-05-29 17:33:53 -07:00
Simon Michael
0a5fa33f9d
split more long transaction balancing errors into lines; refactor
2020-05-29 16:31:15 -07:00
Simon Michael
924ec1c98d
journal: clearer transaction balancing errors; refactor
...
As mentioned by netvor on IRC, the unbalanced transaction error was
not too clear when postings all have the same sign.
Some other wording has been clarified, and the main error message is
now shown on multiple lines for readability (at the cost of
predictability/grepability..)
There's also a probably unnoticeable change: selecting which parts of
the error to show is now based on display precisions (reusing the
balanced check logic), rather than original precisions.
2020-05-29 16:07:58 -07:00
Simon Michael
61264cfdc0
lib: isNegativeMixedAmount handles all-negative multi-comm. amounts
2020-05-29 13:07:02 -07:00
Simon Michael
e6f9f09b41
;lib: refactor, consolidate, add transactionCheckBalanced
2020-05-29 11:57:48 -07:00
Henning Thielemann
ebe021b0c8
;web: maintain queries in all other links, too
2020-05-27 04:59:55 -07:00
Henning Thielemann
ec27eb6b17
;web: maintain query when choosing a different 'inacct' account on the sidebar
2020-05-27 04:59:55 -07:00
Dmitry Astapov
54300328cd
cli: ability to pass arguments to getHledgerCliOpts + two example scripts
2020-05-27 04:58:57 -07:00
Simon Michael
9417ee625e
;regen manuals
2020-05-25 17:49:01 -07:00
Simon Michael
798a2c8674
;web: note recent changes so they don't get lost
2020-05-25 17:47:35 -07:00
Simon Michael
93154e9251
update and clean up valuation docs ( #1239 )
2020-05-25 17:45:31 -07:00
Simon Michael
e1ddfc3a1b
lib: also infer market prices from transactions, like Ledger ( #1239 ) (WIP)
2020-05-25 17:45:31 -07:00
Dmitry Astapov
cbacef21eb
lib: multiBalanceReport derives query from ReportOpts
2020-05-25 15:50:14 -07:00
Henning Thielemann
c35d0a8b44
;web: transaction fragments: use numeric identifiers for journal files
...
This saves us from any escaping issues.
2020-05-25 10:02:39 -07:00
Henning Thielemann
e9792bfd42
;web: links from register to journal now contain journal filename
...
in order to distinguish transactions from multiple journal files (#1041 )
2020-05-25 10:02:39 -07:00
Simon Michael
61bec588d2
print,reg,balcmds: list output formats accurately in --help ( #689 )
...
Also:
- tweak the unsupported output format message
- Hledger.Cli.CliOptions no longer exports outputflags
2020-05-23 13:54:41 -07:00
Simon Michael
5f1a864c20
print,reg,balcmds: fix JSON output, which wasn't JSON ( #689 )
2020-05-23 13:30:22 -07:00
Simon Michael
40c296a446
lib: rename finaliseJournal -> journalFinalise
2020-05-23 09:45:35 -07:00
Simon Michael
36a2e311df
;make ghci[d]-shake: add regex dep
2020-05-23 07:06:02 -07:00
Simon Michael
4294fd36a9
;web: JSON docs
2020-05-21 12:51:29 -07:00
Simon Michael
20c480a914
;web: tweak JSON PUT doc
2020-05-21 10:48:04 -07:00
Simon Michael
e207b089c5
;web: tweak JSON PUT doc
2020-05-21 10:36:43 -07:00
Simon Michael
936233f5f6
;web: tweak JSON PUT doc
2020-05-21 10:31:30 -07:00
Simon Michael
683641d0f2
;web: tweak JSON PUT doc
2020-05-21 10:08:52 -07:00
Simon Michael
39ab2a6b2b
;web: tweak JSON PUT doc
2020-05-21 10:05:57 -07:00
Simon Michael
0cf5e010de
;web: tweak JSON PUT doc
2020-05-21 10:05:04 -07:00
Simon Michael
fab62b4cc3
;web: tweak JSON PUT doc
2020-05-21 09:59:14 -07:00
Simon Michael
7ccbfa11ac
;web: tweak JSON PUT doc
2020-05-21 09:57:27 -07:00
Simon Michael
0f922b3850
;web: update JSON PUT example
2020-05-21 09:50:50 -07:00
Simon Michael
f284e7a87b
;web: drop unnecessary import that hiding Prelude in make ghci-web
2020-05-21 09:27:07 -07:00
Simon Michael
2c1cbb7956
;csv: remove a comment breaking doctests
2020-05-12 18:01:05 -07:00
Simon Michael
4706b8cb00
;regex doc tweaks
2020-05-10 13:15:15 -07:00
Simon Michael
24209a952c
;regex doc tweaks
2020-05-10 13:13:51 -07:00
Simon Michael
71111148ed
;regex doc tweaks
2020-05-10 13:11:53 -07:00
Simon Michael
f167c223a2
;csv: emphasize regular expressions features and doc
2020-05-10 13:03:09 -07:00
Simon Michael
6b2dfad98c
;csv: clarify that whitespace is not stripped when matching
2020-05-09 15:43:44 -07:00
Simon Michael
3919f0945a
;csv: correction, that field equality trick was just a fluke
2020-05-09 15:37:11 -07:00
Simon Michael
e5ed001ce8
;doc: clarify when regexps do and do not support backreferences
2020-05-09 15:35:53 -07:00
Simon Michael
8f1b2a32fa
;csv: start regexp examples section, show field equality testing
2020-05-09 13:35:45 -07:00
Simon Michael
3ef2fc9567
show a clearer error message on encountering a malformed regexp
2020-05-07 17:33:05 -07:00
Simon Michael
647a77225d
;journal: doc: tweak
2020-05-05 10:37:51 -07:00
Simon Michael
4999827eaf
;journal: doc: mention blank/unindented lines in transactions
2020-05-05 10:26:50 -07:00
Simon Michael
6935c46b2c
;regen cabal files with latest stack/hpack (2.3.1/0.33.0)
2020-05-02 17:31:35 -07:00
Simon Michael
9dc015d974
;doc: typo
2020-04-29 11:01:27 -07:00
Simon Michael
c0dc71ae25
;doc: update the locale troubleshooting doc
2020-04-29 10:59:08 -07:00
Vladimir Sorokin
5b88bfb834
csv: Increase maximum number of postings in CSV reader from 9 to 99.
...
The ordering of journalfieldnames is changed in order to comply with the requirement stated in the comment:
"Names must precede any other name they contain, for the parser".
If left unchanged, "account1" would precede "account11", "account12", and so on, which would break the parsing.
With the new ordering, "account11" precedes "account1".
2020-04-26 14:52:02 -07:00
Simon Michael
058807c8f0
;ci: push: dummy change to trigger a build
2020-04-20 18:40:22 -07:00
Simon Michael
cf3229b37c
;ci: push: dummy change to trigger a build
2020-04-20 18:32:19 -07:00