Simon Michael
76dc6d089a
feat:import:archive: archive data files, and process oldest first
2025-08-14 12:54:40 +01:00
Simon Michael
db7783b16d
dev: cleanups
2025-08-14 12:54:40 +01:00
Simon Michael
bfbef4bcbb
dev: refactor PrefixedFilePath
2025-08-14 12:37:11 +01:00
Simon Michael
61f28b8843
;doc: Valuation examples: typo
2025-08-10 07:17:49 +01:00
Simon Michael
e8a641e72a
;doc: Valuation examples: fix example [ #139 ]
2025-08-10 06:40:10 +01:00
Simon Michael
ef89b67d7a
dev: accounts: more tag: tests
2025-08-03 07:55:53 +01:00
Simon Michael
cc3923d6d4
imp: the all: query now requires at least one posting
2025-08-03 06:34:00 +01:00
Simon Michael
f604b7a416
fix: accounts: a tag: query only matches account tags, not posting tags
...
Eg, `hledger accounts tag:t` lists only account a from this journal:
account a ; t:
2025-01-01
a 1
b -1 ; t:
2025-08-03 05:38:33 +01:00
Simon Michael
aabc892277
dev: Accounts: import cleanup
2025-08-03 05:37:56 +01:00
Simon Michael
cace7eb491
;doc:areg: clarification
2025-07-30 18:17:58 +01:00
Simon Michael
6521b8dfdb
imp:setup: improve output
2025-07-25 19:08:26 +01:00
Simon Michael
55f12d89e0
;doc:completions: readme edits
2025-07-24 20:09:41 +01:00
Simon Michael
90d4224d5b
;doc:completions: readme edits
2025-07-24 20:02:18 +01:00
Simon Michael
9c3c6a3a5a
;doc:completions: update README
2025-07-24 20:01:03 +01:00
Simon Michael
d5ff7fe454
;doc: include: mention glob pattern's dot limitation and the --old-glob flag
2025-07-17 08:10:34 -07:00
Simon Michael
b7e35f84a2
imp: include: add hidden --old-glob flag to restore old dot behaviour
...
This disables the workaround for Glob#49, allowing glob patterns to
find dot files and traverse dot directories again (sometimes too much).
2025-07-17 08:00:08 -07:00
Simon Michael
0ea239503c
dev: rename the hidden --timeclock-old flag to --old-timeclock
...
--timeclock-old is still supported as well, for now, even though
this flag is not documented yet (it has appeared in
changelogs/release notes and in issue discussion).
2025-07-17 07:49:39 -07:00
Simon Michael
c74d8bf6fb
doc: include: update docs
2025-07-16 06:52:19 -07:00
Simon Michael
5ec770badd
imp: include: more flexible **; show the correct line in read errors
2025-07-16 06:52:19 -07:00
Simon Michael
b35dcfda28
imp: include: give a clearer error for trying to include a csv file
...
And note that other read errors may be unclear when occurring in included files.
2025-07-16 06:52:19 -07:00
Simon Michael
8215f19baa
dev: include: cleanup
2025-07-16 06:52:19 -07:00
Simon Michael
2dcfe22c89
imp: include: report ** without / as an error, for clarity
2025-07-16 06:52:19 -07:00
Simon Michael
460ae28826
imp: include: globs exclude current file; more cleanup
2025-07-16 06:52:19 -07:00
Simon Michael
b4a1add267
imp: include: more robust tests and glob pattern handling
...
This switches from filepattern back to Glob, which is more powerful.
New notes, implementation, workarounds and tests.
2025-07-16 06:52:19 -07:00
Simon Michael
42b9c8b0fb
dev: consolidate/expand include tests
2025-07-14 17:12:24 -07:00
Simon Michael
0add2e90db
imp: include: glob patterns always exclude the current file
...
Eg include **/*.journal is less likely no complain
2025-07-11 19:36:17 -07:00
Simon Michael
9418807ddc
;doc: include directive: clarify effect, glob limitations
2025-07-11 10:36:57 -07:00
Simon Michael
57b1e18757
imp:demo: show a better error message if asciinema is not installed
2025-07-08 11:35:31 -07:00
Simon Michael
3952d4e611
;dev:cli: update outdated CLI help
2025-07-08 11:35:31 -07:00
Simon Michael
31dc8a090e
;doc: Depth: fix typo
2025-07-03 08:22:53 -07:00
Simon Michael
fc93a4c644
fix:add: show green prompts properly instead of ANSI codes [ #2410 ]
2025-07-01 16:41:05 -07:00
Simon Michael
cd904e80d5
imp:setup: downgrade lack of pager to an info (no pager on windows)
2025-07-01 12:48:28 -07:00
Simon Michael
bc0cfebeb5
imp:setup: ignore shell completions for now
2025-07-01 12:05:56 -07:00
Simon Michael
7a4a5ec892
;doc: note fish LEDGER_FILE setup
2025-07-01 11:53:20 -07:00
Simon Michael
f11ad4b70f
imp:setup: output improvements
2025-07-01 05:39:03 -07:00
Simon Michael
1efc0486d5
;doc:add: clarify that add is for journal format only
2025-06-30 06:24:52 -07:00
savanto
230998136f
imp: areg: do not abbrev other accts in machine-readable output ( #1995 )
...
- Do not turn "other accounts" into a comma-delimited string when the
report is constructed, but pass `AccountName`s up the chain. This
requires modifying the `AccountTransactionsReportItem` type to contain
`[AccountName]` rather than `Text`.
- Perform the account name summarization
(`Hledger.Data.AccountName.accountSummarizedName`) closer to the
actual rendering of the report, so that different report formats can
choose summarization strategy.
- Continue to summarize as before for terminal/text output (ie.
human-readable). Do not summarize any more for machine-readable output
(csv/html/fods).
2025-06-28 13:38:58 -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
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
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
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