Commit Graph

14034 Commits

Author SHA1 Message Date
Simon Michael
245f38c1a2 ;doc: update a cookbook link 2025-06-26 21:18:12 -07:00
Simon Michael
5d8b30ba37 ;doc:REGRESSIONS: cleanup 2025-06-25 15:35:52 -07:00
Stephen Morgan
79fa806690 fix: csv: Make --summary-only work with csv output (#2411)
Don't display date headers with --summary-only in csv output.
2025-06-24 20:19:29 -07:00
Stephen Morgan
8ab2fb6b77 feat: lib: Allow special string %account in auto-posting rules (#1975)
This allows using the special string `%account` in auto posting rules.
When run, this will be substituted with the account name of the matched
posting.
2025-06-24 10:12:57 -07:00
Simon Michael
b996b7fadc ;doc: smart dates :fix typo 2025-06-23 19:01:07 -07:00
Simon Michael
714b346fdd imp: fully support quarter syntax in smart dates and period expressions 2025-06-23 18:37:08 -07:00
Simon Michael
afd18a10bf fix: show historical balances even if report period is empty [#2403]
This adds a safer version of spanDefaultsFrom that won't create spans
that end before they start, and updates all reports to use it.

The only related change noticed so far is that close now gives an
error instead of a malformed entry, when there's no data to close.
[#2409]
2025-06-15 22:42:58 -10:00
Simon Michael
ca631d9fca dev: rename balance-multiperiods.test 2025-06-15 22:16:50 -10:00
Simon Michael
9c7e5b2467 dev:MultiBalanceReport: consistent debug output labels 2025-06-15 22:16:50 -10:00
Simon Michael
427a5de1f3 dev:MultiBalanceReport: use error' consistently for clean output 2025-06-15 22:06:34 -10:00
Simon Michael
2123f571ac ;doc:options: mention that flag+value can't combine with other flags [#2059] 2025-06-15 15:27:25 -10:00
Simon Michael
c5c05d3499 ;doc:csv:date-format: mention lack of support for local time formats [#1874] 2025-06-15 15:08:22 -10:00
Simon Michael
baf02fc879 ;doc:examples/self-tracking: update 2025-06-15 14:36:33 -10:00
Simon Michael
4312d18ef7 ;doc:scripts: keep a mention of the old -- syntax [#458] 2025-06-15 13:51:44 -10:00
Simon Michael
d504e0a7c0 fix:demo: drop mention of -- ASCIINEMAOPTS, it no longer works 2025-06-15 13:25:04 -10:00
Simon Michael
3ba3d3d676 ;doc: drop -- argument from more docs [#458] 2025-06-15 13:25:04 -10:00
Simon Michael
3d7a1717e1 ;doc:config files: no longer experimental 2025-06-15 13:06:33 -10:00
Simon Michael
9fde1ae380 ;doc:addon commands: edits [#458] 2025-06-15 13:04:32 -10:00
Simon Michael
8da36b4397 ;ci: add a date to cache ids for cache-busting 2025-06-15 12:53:32 -10:00
Simon Michael
012fc416b0 ;ci: try disabling stack update step 2025-06-15 12:50:12 -10:00
Simon Michael
d56bfc4392 ;ci: disable stack paths output 2025-06-15 12:49:26 -10:00
Simon Michael
877ab3e5b0 fix:cli: clearer unknown command & flag error; accept addon flags [#2388] [#458]
When given an unknown command and an unknown flag, we now prioritise
showing the unknown command error. [#2388]

This fix, on top of prior work, also solves a long standing CLI/UX
problem we've had with addon commands: now you can freely mix in
addon-specific options in a hledger command line, and hledger won't
complain. Ie, writing -- before addon flags is no longer needed. \o/
2025-06-15 12:47:59 -10:00
Simon Michael
245a0bec62 ;doc: update embedded manuals 2025-06-15 07:32:40 -10:00
Simon Michael
e473fc9794 ;doc: update command docs 2025-06-15 07:32:40 -10:00
Simon Michael
4a5775da71 imp: commodities/payees/tags: used/declared flags, like accounts
And general cleanup of options and help across
the accounts, commodities, payees, tags commands.
2025-06-15 07:32:40 -10:00
Simon Michael
38aadddf7b dev: Hledger.Query.matchesCommodity: check all query types, not just cur:
And default to False (unlike the other match functions. Ok ?)
2025-06-15 07:32:40 -10:00
Simon Michael
13109ac280 dev: number the payees tests 2025-06-14 17:36:28 -10:00
Simon Michael
b8f12e3908 ;doc: print: improve --location help 2025-06-14 17:36:28 -10:00
Simon Michael
de9c487f58 ;ci: caching note 2025-06-13 22:03:37 -10:00
Simon Michael
3f7a9f97f9 fix:help: -i and -m were always showing help's help [#2399] 2025-06-13 21:47:58 -10:00
Simon Michael
ce0cd344b5 ci: more consistent, platform- and ghc-specific cache keys
These github caches created once and never updated; so it's important
to have keys that are specific enough that it doesn't
(a) waste time restoring cached data that we won't be able to use
(b) fail to cache new data because it thinks the old cache was used.
2025-06-13 21:00:42 -10:00
Simon Michael
ccb0033e31 ci: more consistent ghc version env var 2025-06-13 20:48:53 -10:00
Simon Michael
6cde1a3ff7 ci: more consistent images, image notes 2025-06-13 20:41:43 -10:00
Simon Michael
c730eed3e6 ci:oldest: fix ghc version in cache keys 2025-06-13 20:41:30 -10:00
Simon Michael
2c733538d5 ci: no need to install ripgrep 2025-06-13 18:18:25 -10:00
Simon Michael
9cd633ace6 ;tools:checkembeddedfiles: use standard unix tools
rg isn't in github images
2025-06-13 18:18:25 -10:00
Simon Michael
6b19f24c5f ci: fix ghc version in cache keys 2025-06-13 18:03:54 -10:00
Simon Michael
c3bd6f36b4 ;ci: don't bother tar-ing these binaries 2025-06-13 17:34:11 -10:00
Simon Michael
9c56c29fab doc: RELEASING 2025-06-13 17:19:35 -10:00
Simon Michael
4eadf74408 ;ci: stack paths test: edits 2025-06-13 16:36:43 -10:00
Simon Michael
2edc0e4d20 ;ci: stack paths test: edits 2025-06-13 16:29:37 -10:00
Simon Michael
fc46ddffe3 ;ci: stack paths test: edits 2025-06-13 16:27:57 -10:00
Simon Michael
2abb717f49 ;ci: stack paths test: edits 2025-06-13 16:23:22 -10:00
Simon Michael
1b7fc3fb7d ;ci: stack paths test: edits 2025-06-13 16:11:36 -10:00
Simon Michael
65f01adc3d ;ci: stack paths test: edits 2025-06-13 16:09:59 -10:00
Simon Michael
de84a3e8bc ;ci: stack paths test: edits 2025-06-13 16:05:21 -10:00
Simon Michael
bf5707d131 ;ci: stack paths test: edits 2025-06-13 16:03:23 -10:00
Simon Michael
da6df3702d ;ci: test step showing stack paths 2025-06-13 15:57:40 -10:00
Simon Michael
e9be7ea7f5 ;doc:add: edits 2025-06-13 12:31:56 -10:00
Simon Michael
1e9bd3c2c9 ;doc:add: edits 2025-06-13 12:26:34 -10:00