Commit Graph

9960 Commits

Author SHA1 Message Date
Simon Michael
9bc77f87fc ;doc: changelogs 2021-08-06 17:26:37 -10:00
Simon Michael
981849a6c1 ;doc: changelogs 2021-08-06 00:16:20 -10:00
Simon Michael
000ff30fd6 ;make: tag-project: that .99 tag should be on master, only 2021-08-05 23:38:23 -10:00
Simon Michael
45c39b055b ;make: tag-project: also set a final .99 tag
This will influence git describe and improve the version strings of dev builds.
2021-08-05 23:27:25 -10:00
Simon Michael
49ff039312 lib: cli/ui/web: clarify version string code
version -> packageversion
versiondescription -> versionStringFor
2021-08-05 22:54:25 -10:00
Simon Michael
53f02c7b3d ;cabal: update cabal files 2021-08-05 22:04:38 -10:00
Simon Michael
33c5726a96 cli: require githash >=0.1.4.0, simplify version code 2021-08-05 22:04:20 -10:00
Simon Michael
606d992fc8 cli: disable no-longer-used --binary-filename flag
It was still supported (as a hidden flag) by hledger-web,
and now is not.
2021-08-05 21:51:10 -10:00
Simon Michael
1492fca8f1 cli: separate some version things 2021-08-05 21:49:17 -10:00
Stephen Morgan
918c243fa9 fix: forecast: Generate forecast transactions at journal finalisation,
rather than as a postprocessing step. (#1638)

This allows us to have a uniform procedure for balancing transactions,
whether they are normal transactions or forecast transactions, including
dealing with balance assignments, balance assertions, and auto postings.
2021-08-05 21:10:47 -10:00
Stephen Morgan
c404800fbf ref!: forecast: Move forecast_ from ReportOpts to InputOpts. 2021-08-05 21:10:47 -10:00
Stephen Morgan
5cca04cdc9 imp: areg: aregister no longer excludes future/forecast transactions by default.
To get the previous behaviour, you can call with the additional query "not📅tomorrow-".

This is because we are preparing to move forecast_ to InputOpts, where
it is not accessible to AccountTransactionsReport.
2021-08-05 21:10:47 -10:00
Stephen Morgan
23b0cad6ef fix: areg: Make sure aregister sorts first by transaction register date,
then by parse order to break any ties. (#1642)
2021-08-05 20:49:25 -10:00
Simon Michael
3270a4f0d7 ;areg: commented test for #1642 2021-08-05 19:08:21 -10:00
Simon Michael
d6504fef37 ;doc: timedot: rewrite 2021-08-04 19:21:51 -10:00
Simon Michael
f373805668 ;examples: sample.timedot cleanup 2021-08-04 19:21:27 -10:00
Simon Michael
9d030a95b6 ;doc: RELEASING: tweaks 2021-08-03 22:45:42 -10:00
Simon Michael
abba32b4ec ;doc: RELEASING: tweaks 2021-08-03 22:40:12 -10:00
Simon Michael
3c8cfe45e1 ;doc: RELEASING: tweaks 2021-08-03 22:37:58 -10:00
Simon Michael
f9b511ce5c ;doc: RELEASING: tweaks 2021-08-03 22:37:09 -10:00
Simon Michael
f5a6b9f798 ;doc: RELEASING: tweaks 2021-08-03 22:26:26 -10:00
Simon Michael
534ed58d9a ;doc: RELEASING: typo 2021-08-03 22:23:22 -10:00
Simon Michael
a613886026 ;make: ghci-web[-test]: fix broken dep 2021-08-03 22:12:19 -10:00
Simon Michael
6afc5ce6b2 ;cabal: update cabal files 2021-08-03 21:05:29 -10:00
Simon Michael
f51ea92cfc deps: require base >=4.11, prevent red squares on hackage matrix
We officially support GHC 8.6+ (and 8.8+ for hledger-web) now.
Hackage matrix builder shows all packages building successfully
with GHC 8.4+, somehow, so we'll adjust the base bound to
allow that but prevent any attempts to build with older GHCs,
2021-08-03 21:05:02 -10:00
Simon Michael
2a39497e21 pkg: add tested-with GHC 9.0.1 2021-08-03 20:52:05 -10:00
Simon Michael
62e503b225 ;doc: RELEASING: page TOC for website 2021-08-03 20:28:26 -10:00
Simon Michael
bc2e68cbdb ;doc: RELEASING: updates 2021-08-03 15:52:09 -10:00
Simon Michael
d716aaa5a8 shake: changelogs: don't get confused by an all-digit commit hash
Fixes spurious "can't list changes" warning.
2021-08-03 09:51:38 -10:00
Simon Michael
abd63db3e7 ;doc: update changelogs 2021-08-03 09:50:57 -10:00
Simon Michael
81dfbc9ac2 ;doc: changelogs: note some 1.22.1 changes I missed 2021-08-03 09:42:59 -10:00
Simon Michael
7673778022 ;shake: cabalfiles: use (and require) hpack, to avoid building
hpack should be in $PATH, and it should be the version that's in
the current stack release, to avoid commit conflicts.
2021-08-03 08:56:38 -10:00
Simon Michael
ff76db9fb2 ;shake: cabalfiles: cleanups, build fast and show progress 2021-08-03 08:28:36 -10:00
Simon Michael
95de5a878a ;cabal: update cabal files 2021-08-03 08:00:22 -10:00
Simon Michael
6665ddfb9b ;pkg: bump version to 1.22.99 2021-08-03 00:24:20 -10:00
Simon Michael
8f7f0a8931 ;install: hledger 1.22.1, stackage 18.5 2021-08-02 22:59:08 -10:00
Simon Michael
d425ce8fd3 ;doc: changelogs: 1.22.1 release date 2021-08-02 22:50:03 -10:00
Stephen Morgan
ae3c7e8756 fix: areg: Make sure the true original transaction is made available in
AccountTransactionsReport.

Only a limited number of journal transformations are allowed in
accountTransactionReports due to the need to include the original
transaction. Document these.

Make sure to remove currency and amount queries from the reportq, so
they do not cause problems after valuation.

Avoid confusion by calculating transaction date at one point, and
passing that down with the transaction.
2021-08-02 22:47:50 -10:00
Stephen Morgan
b7e40a9e63 ref: areg: Avoid reversing transactions list by making sure we sort them
in the correct order to start with.
2021-08-02 22:47:50 -10:00
Stephen Morgan
4e0dcec096 fix: areg: Explicitly avoid filtering by depth queries, perform
valuation after all reportq filtering is done (in both the historical
and recent postings), and make sure filtering is done at the correct
point based on whether --txn-dates is set. (#1634)
2021-08-02 22:47:50 -10:00
Simon Michael
48b8dd9be7 ;shake: don't regenerate dir for now (fix) 2021-08-02 22:21:06 -10:00
Simon Michael
003391e102 ;shake: don't regenerate dir for now 2021-08-02 22:14:05 -10:00
Stephen Morgan
1d278993bc fix: forecast: Make sure forecast transactions are generated up to the day before the provided query end date. (#1633) 2021-08-02 20:47:20 -10:00
Simon Michael
3dbd441210 ;doc: RELEASING 2021-08-01 08:45:52 -10:00
Simon Michael
1d0b2bf9ce ;doc: update changelogs 2021-08-01 08:05:05 -10:00
Simon Michael
d07d0de2d6 test: areg: disable failing tests for now (#1634) 2021-07-31 18:28:32 -10:00
Simon Michael
136c7ca704 doc: areg: clarify (#1634) 2021-07-31 18:27:23 -10:00
Simon Michael
396b1eb515 test: areg: add more tests (#1634) 2021-07-31 18:27:23 -10:00
Stephen Morgan
fc8aa602cf lib!: modifyTransactions now takes a Map of commodity styles, and will
style amounts according to that argument. journalAddForecast and
journalTransform now return an Either String Journal.

This improves efficiency, as we no longer have to restyle all amounts in
the journal after generating auto postings or periodic transactions.
Changing the return type of journalAddForecast and journalTransform
reduces partiality.

To get the previous behaviour for modifyTransaction, use modifyTransaction mempty.
2021-07-30 13:52:35 -10:00
Stephen Morgan
2da0e67141 fix: Add balancing amounts in periodic transactions before applying auto-postings. (#1412) 2021-07-30 13:52:35 -10:00