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
Simon Michael
dba0b117f4
;doc: draft changelogs
2020-01-14 10:08:59 -08:00
Simon Michael
445e8aa3cc
add support for megaparsec 8 ( #1175 )
2020-01-14 09:54:06 -08:00
Brian Wignall
473b3376ab
;doc: update shell output in hledger*/*.m4.md to use ISO date formatting
2020-01-13 12:32:41 -08:00
Carl Richard Theodor Schneider
72acd7c22a
web: Add option --socket to use UNIX socket file
...
This commit adds the --socket option to use hledger-web over an AF_UNIX socket
file.
It allows running multiple instances of hledger-web on the same system without
having to manually choose a port for each instance, which is helpful for running
individual instances for multiple users. In this scenario, the socket path is
predictable, as it can be derived from the username.
It also introduces the following dependencies:
- network
- Used to create the unix domain socket
- unix-compat
- Used to identify if the socket file is still a socket, to reduce the risk
of deleting a file when cleaning up the socket
2020-01-12 16:15:37 -08:00
Jakob Schöttl
c7a88b50fb
Fix timeclock format parsing
...
Fix presumably copy-paste errors
timeclock format has only timeclock lines or empty/comment lines
Update test format to v3, add new tests
Throw error on unexpected clock codes in timeclock format
Fix missing case in pattern matching
2020-01-12 13:17:36 -08:00
Simon Michael
65efdea4c0
;doc: regen some manuals
...
[ci skip]
2020-01-07 16:24:51 -08:00
Simon Michael
41f00e42f9
Merge branch 'date_formatting'
2020-01-07 16:18:47 -08:00
Brian Wignall
c823f5b51a
Get "make functest" working again
2020-01-07 15:58:54 -08:00
Brian Wignall
ab12ff916f
Update "showPeriod" to use yyyy-mm-dd formatting
2020-01-07 15:58:54 -08:00
Brian Wignall
03e68f3925
Get "make functest" working again
2020-01-07 15:58:54 -08:00
Brian Wignall
24026d629a
Change "showEndDates" formatting to yyyy-mm-dd in CompoundBalanceCommand
2020-01-07 15:58:54 -08:00
Brian Wignall
e12b0a4f05
Get "make functest" working again
2020-01-07 15:58:54 -08:00
Brian Wignall
28f9f043e5
Get "make functest" (mostly) working again
2020-01-07 15:58:54 -08:00
Brian Wignall
00eb0b3c8f
Make "stack test" pass again
2020-01-07 15:58:22 -08:00
Brian Wignall
35481a665b
Change Date output to yyyy-mm-dd
2020-01-07 15:58:22 -08:00
Simon Michael
be72497ebb
;doc: journal: corrections for D directive's scope ( #1170 )
...
[ci skip]
2020-01-07 07:38:51 -08:00
Simon Michael
04ea95cb91
;stack: bump to latest nightly snapshot
2020-01-06 11:31:24 -08:00
Simon Michael
ee3f8914f1
;doc: CONTRIBUTING: clean up the open issues table
2020-01-06 10:53:30 -08:00
Simon Michael
14414394fb
;doc: CONTRIBUTING: fix the open issues table for sphinx
...
[ci skip]
2020-01-06 10:13:44 -08:00
Simon Michael
e789cc93f5
;doc: fix yet another rendering issue with new pandoc ({=html})
...
Since pandoc 2.8 the markdown writer adds this raw_attribute syntax by default.
2020-01-06 09:41:03 -08:00
Simon Michael
6dcf6310a3
;doc: strip html comments, preserved by latest pandoc (?)
...
Not sure when the --strip-comments option was added, but we seem
to need it now.
[ci skip]
2020-01-06 07:08:15 -08:00