Commit Graph

7516 Commits

Author SHA1 Message Date
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
Simon Michael
a157eefc67 ;site: download: link windows nightly build, mention #1039
Also update known platform issues list.

[ci skip]
2019-06-09 16:03:46 -07:00
Simon Michael
9b3fc067ea web: try requiring unreleased unix-time for windows 7 (#1039) 2019-06-09 15:43:16 -07:00
Simon Michael
5163a1e5e3 ;github: issue templates: tweak support wording
[ci skip]
2019-06-07 08:14:07 -07:00
Simon Michael
4df3eef87a ;github: issue templates: content is plain text
[ci skip]
2019-06-07 08:08:56 -07:00
Simon Michael
1017aafaed ;github: issue templates: tweaks
[ci skip]
2019-06-07 08:03:06 -07:00
Simon Michael
d700670729 ;github: issue templates: fix description
[ci skip]
2019-06-07 07:54:45 -07:00
Simon Michael
46ab00e2cd ;github: issue templates: try quoting # to fix description
[ci skip]
2019-06-07 07:53:37 -07:00
Simon Michael
094b05898f ;github: separate bug/wish issue templates
That went pretty well. More tweaks, add a third for redirecting
support requests.

[ci skip]
2019-06-07 07:49:28 -07:00
Simon Michael
9878e30d3e ;github: separate bug/wish issue templates
First attempt.

[ci skip]
2019-06-07 07:23:05 -07:00
Simon Michael
7ac1bdf8c1 ;csv: document spaces outside quotes issue (#1037)
[ci skip]
2019-06-07 06:34:52 -07:00
Simon Michael
90af360792 csv: fix parse error printing, broken since 1.11 (#1038) 2019-06-06 23:10:31 -07:00
Simon Michael
9760126cb2 ;make tag: make SOURCEFILES include hledger-lib/Text etc.
And add "make sourcefiles", "make sourcedirs" rules for troubleshooting.
2019-06-06 15:17:01 -07:00
Simon Michael
abf455c10f ;csv: update shelltests format 2019-06-06 14:38:51 -07:00
Simon Michael
289891cacf ;prices: note
[ci skip]
2019-06-02 08:48:41 -07:00
Simon Michael
45198d3faa lib: debug helpers: add ptraceAtWith, dbgNWith 2019-06-02 08:48:41 -07:00
Simon Michael
faf85d91e3 cli: restore --aux-date and --effective as --date2 aliases (#1034)
These Ledger-ish spellings were dropped over the years, to improve
--help's layout. Now they work again, but are considered hidden flags
so --help doesn't show them automatically (but I decided to mention
them manually in --date2's description).
2019-06-02 08:48:41 -07:00
Simon Michael
41fecde188 ;site: download: tweak (#1033)
[ci skip]
2019-05-31 15:33:25 -07:00
Simon Michael
4ec2792b84 ;site: download: note nix on linux non-ascii issue (#1033)
[ci skip]
2019-05-31 15:29:09 -07:00
Simon Michael
42ce95aaef ; refactor: centralise valuation logic #131 2019-05-31 15:29:09 -07:00
Simon Michael
ad83919c6a ; lib: drop the Maybe from SummaryPosting 2019-05-31 15:29:09 -07:00
Simon Michael
e97a9c4bfa
Create FUNDING.yml 2019-05-29 22:43:52 -07:00
Simon Michael
297a831387 ;site: symlink the main README.md, render it as part of the site
The top-level README.md is usually seen when browsing github or the
cloned source - not on the website - but now we render it as part of
the website to facilitate previewing it locally (with make
site-watch).

As a side effect of symlinking it into site/, it might override site/'s
README when browsing that directory on github.

[ci skip]
2019-05-29 22:33:25 -07:00
Simon Michael
45d62de35c ;site: update cookbook links
[ci skip]
2019-05-29 08:03:47 -07:00
Simon Michael
31a8bd0e58 examples: fix incompatible syntax in bcexample.hledger
[ci skip]
2019-05-25 05:47:35 -07:00
Simon Michael
69d72e8c48 ;refactor amountValue 2019-05-25 05:34:29 -07:00
Simon Michael
bba9c32607 ;doc: journal: clarify commodity directive does not affect parsing
[ci skip]
2019-05-25 05:29:49 -07:00
Simon Michael
34a0ad00b1 ;lib: encapsulate Prices db 2019-05-25 05:29:34 -07:00