Commit Graph

8104 Commits

Author SHA1 Message Date
Simon Michael
444c4342ed ;doc: manuals: hide NAME/SYNOPSIS/DESCRIPTION headings in web manuals
[ci skip]
2020-01-25 16:57:51 -08:00
Simon Michael
a6ec6b40da ;doc: manuals: tweak standard description, make hledger's consistent
[ci skip]
2020-01-25 16:55:58 -08:00
Simon Michael
696a9f9b1b ;make site-watch: show commands being run
[ci skip]
2020-01-25 16:54:45 -08:00
Simon Michael
91978db328 ;shake: generate web manuals in package dirs, like the others
[ci skip]
2020-01-25 16:26:26 -08:00
Simon Michael
84984499bb ;shake: refactor 2020-01-25 16:17:48 -08:00
Simon Michael
76776e28b2 ;bin: smooth: link to #1171
[ci skip]
2020-01-23 12:53:43 -08:00
Simon Michael
21fec478d4 ;bin: smooth: note/warn about date-order requirement (#1171)
[ci skip]
2020-01-23 12:40:25 -08:00
Simon Michael
4589ec51ba ;bin: smooth: fix Text "Empty stream" error (#1171)
[ci skip]
2020-01-23 12:22:24 -08:00
Simon Michael
82421d0eab ;bin: smooth: doesn't use hledger-lib
[ci skip]
2020-01-23 12:04:36 -08:00
Simon Michael
db74540280 ;bin: smooth: here -> string-qq, save several minutes of build time
[ci skip]
2020-01-23 12:04:28 -08:00
Simon Michael
8efae769c0 bin: smooth: update for current lib (RawOpts)
[ci skip]
2020-01-23 10:28:57 -08:00
Simon Michael
f1f32e8341 ;close: doc: cleanups, remove dangerous >> example (#1165)
[ci skip]
2020-01-22 15:32:36 -08:00
Simon Michael
81b92be803 ; close: update flag names in tests
[ci skip]
2020-01-22 15:25:10 -08:00
Simon Michael
b4ced3188e ;doc: regen manuals
[ci skip]
2020-01-22 15:22:56 -08:00
Simon Michael
5ba3cc6f42 close: regularise the --open*/--close* flags for memorability (#1165)
--closing -> --close
--opening -> --open
--close-to -> --close-acct
--open-from -> --open-acct

The old flags are still accepted for backward compatibility, but are
not shown in --help or docs, to conserve screen and brain space.
2020-01-22 15:19:24 -08:00
Simon Michael
cda8909aae close: don't repeat the description by default (#1165)
You'll almost certainly want the opening/closing descriptions to be
different, for filtering, so making --close-desc and --open-desc fully
independent is a better default.

And more doc cleanups.
2020-01-22 15:04:05 -08:00
Simon Michael
ceedcb1a18 ;doc: regen manuals
[ci skip]
2020-01-22 14:50:21 -08:00
Simon Michael
3e149deff2 ;make genmanuals: update
[ci skip]
2020-01-22 14:50:16 -08:00
Simon Michael
458de89aae ;close: doc tweaks
[ci skip]
2020-01-22 14:42:01 -08:00
Simon Michael
f14ae7df3a ;doc: regen manuals
[ci skip]
2020-01-22 14:41:08 -08:00
Simon Michael
72d0190d1d ;close: doc tweaks
[ci skip]
2020-01-22 14:40:20 -08:00
Simon Michael
d93c69146d ;doc: regen manuals
[ci skip]
2020-01-22 14:30:50 -08:00
Simon Michael
44ee3a5984 ;close: remove redundant test data 2020-01-22 14:30:12 -08:00
Simon Michael
f1110d163d close: --close-desc/--open-desc customise the descriptions (#1165) 2020-01-22 14:30:12 -08:00
Simon Michael
4bb840a0f3 close: use the same default equity account for both (#1165)
And some doc cleanups.

"equity:opening/closing balances" is now the default account for both.
2020-01-22 14:29:31 -08:00
Simon Michael
9710c86c7f ;doc: regen manuals
[ci skip]
2020-01-22 12:52:41 -08:00
Simon Michael
7500002ee5 close: hide equity amounts by default, for simpler entries (#1165)
-x/--explicit shows them, as with print.
2020-01-22 12:52:16 -08:00
Simon Michael
2645b76ff0 close: hide prices by default, show them with --show-costs (#1165)
close no longer preserves costs, generating huge entries when there
are many foreign currency/investment transactions, unless you ask it to.
2020-01-22 12:52:01 -08:00
Simon Michael
5f7ae2ced6 ;lib: Amount: export mixedAmountStripPrices 2020-01-22 11:57:42 -08:00
Simon Michael
dee9c0f150 ;close: --close-to also sets --open-from and vice versa (#1165) 2020-01-22 08:52:20 -08:00
Simon Michael
aa8c18fcc8 ;close: refactor (#1165) 2020-01-22 08:34:13 -08:00
Simon Michael
42840dd4c2 ;close: dedent (#1165) 2020-01-22 08:27:01 -08:00
Simon Michael
98b90a8a7b ;close: cleanups (#1165) 2020-01-22 08:26:59 -08:00
Simon Michael
a1fbe0247a ;make site: regenerate web manuals first
[ci skip]
2020-01-22 05:47:35 -08:00
Simon Michael
9874d29953 ;doc: journal: 2 spaces required in same line account comments (#1182)
[ci skip]
2020-01-22 05:42:22 -08:00
Simon Michael
090f65ec83 ;doc: regen manuals
[ci skip]
2020-01-20 18:02:42 -08:00
Simon Michael
69bc8f803b close: fix some inappropriate rounding, ensure the txn balances (#1164) 2020-01-20 18:01:33 -08:00
Simon Michael
64546cd54a lib: export mapMixedAmount 2020-01-20 18:01:33 -08:00
Simon Michael
1e9f30bafc close: add the --interleaved flag; refactor a little
Interleaved equity postings make troubleshooting easier.
2020-01-20 18:01:29 -08:00
Simon Michael
a5ff9d6a63 ;doc: update issue templates
[ci skip]
2020-01-20 14:15:40 -08:00
Simon Michael
573a2a7860 ;doc: update issue templates
[ci skip]
2020-01-20 14:01:10 -08:00
Simon Michael
0f14c0f010 ;doc: update issue templates
[ci skip]
2020-01-20 13:55:36 -08:00
Simon Michael
da18680283 ;doc: update issue templates
[ci skip]
2020-01-20 13:51:28 -08:00
Simon Michael
74e9f4e3c2 ;doc: update issue templates
[ci skip]
2020-01-20 13:41:51 -08:00
Simon Michael
3e770f4078 ;doc: update issue template, suggest checking manual
[ci skip]
2020-01-20 13:27:27 -08:00
Simon Michael
80ab45984b csv: also recognise .tsv, .ssv extensions; document thoroughly (#1179) 2020-01-20 12:58:47 -08:00
Simon Michael
9bd7a713f9 ;print: expand -x doc, mention that it also shows prices
[ci skip]
2020-01-20 12:58:47 -08:00
Amarandus
76ffaca466 web: Add IPv6 and hostname support
This commit introduces IPv6 support (and thus closes #1145).
It also allows using local hostnames as a parameter for --host.
For this, multiple things needed to be changed:

 - checkWebOpts is dropped, as the supplied parameter is checked later
 by Network.Socket.getAddrInfo
 - defbaseurl needs to check if : is used in the host, as this indicates
 the usage of an IPv6 address. In this case, the host needs to be
 wrapped in [] for the base URL
 - To allow opening such a modified base URL, runHostPortFullUrl is used
 instead of runhostPortUrl, as it allows opening arbitrary URLs instead
 of a path prefixed with http://127.0.0.1

As checking the host for validity is postponed until the webserver tries
to start, an invalid hostname leads to an exception caused by
Network.Socket.getAddrInfo.
This is still fine, as hledger-web won't start in an undefined state, but
will terminate with a nonzero exit code.
2020-01-17 13:18:51 -08:00
Simon Michael
392d0d0a31 ;install: update for 1.16.2
[ci skip]
2020-01-14 11:21:25 -08:00
Simon Michael
42dfde141a ;doc: changelogs: update from 1.16.2, cleanups 2020-01-14 11:19:05 -08:00