Simon Michael
148ac4236f
ui: --change shows period balances (changes) at startup
2016-11-24 11:32:13 -08:00
Simon Michael
b09b3a7be6
ui: with --watch, react to file changes in real time
...
Experimental, tested on OSX so far.
Rapid successive file changes can cause it to get stuck.
2016-11-24 11:14:34 -08:00
Simon Michael
36c75841ee
lib: dbgIO -> dbg0IO, consistent with dbg0
2016-11-24 10:59:03 -08:00
Simon Michael
0f1108db07
ui: use a custom application event type
2016-11-24 09:10:50 -08:00
Simon Michael
015b9570d4
doc: draft release notes
2016-11-23 18:13:33 -08:00
Simon Michael
3a5091e9eb
don't show stack trace details in errors with GHC 8+
2016-11-22 14:28:39 -08:00
Simon Michael
2eb5736abb
doc: the latest input files doc updates
2016-11-22 14:24:50 -08:00
Simon Michael
a1411768e5
csv: create default rules file only if CSV reader succeeds
2016-11-22 13:59:31 -08:00
Simon Michael
283cda9303
ui: allow vty 5.13 (and use it in stack.yaml)
2016-11-22 09:29:54 -08:00
Simon Michael
0dadeffcbc
doc: more input files cleanup
2016-11-21 08:29:50 -08:00
Simon Michael
64a877bff0
doc: input files cleanup
2016-11-21 08:21:14 -08:00
Simon Michael
b8d1698865
api: serve on 127.0.0.1 by default, add --host ( fixes #432 )
...
Consistent with hledger-web now: serves only local requests by default,
uses --host to change this.
2016-11-21 08:01:06 -08:00
Simon Michael
8c1fca78ee
api: fix the version string in help and swagger
2016-11-21 07:56:53 -08:00
Simon Michael
1bcc091a44
web: add --host, rename --server to --serve ( #429 )
...
This came up in the context of Docker, but it seems it wasn't possible
for hledger-web to serve remote clients directly (without a proxy)
because of 127.0.0.1 being hardcoded ? Now that can be
changed with --host=IPADDR. The default base url also
uses this address, rather than "localhost" being hardcoded.
Also, the --server flag sounded too close in meaning to --host so
I've renamed it to --serve. The old spelling is still accepted,
at least through the next major release I suppose.
2016-11-21 07:38:58 -08:00
Simon Michael
73c198bc99
site: download: mention arch issue ( fixes #434 )
2016-11-21 06:32:50 -08:00
Simon Michael
1f2276c100
lib: mark ledger reader as experimental, don't use automatically
2016-11-20 10:42:12 -08:00
Simon Michael
98ef8f9a60
lib, cli: allow a READER: prefix on data file paths
...
This provides a way to override the file format detection logic,
useful eg for files with wrong extensions or standard input.
2016-11-20 10:32:22 -08:00
Simon Michael
7d56af5a03
lib: restrict imports, avoiding GHCI clashes
2016-11-20 10:27:16 -08:00
Simon Michael
1539b258b9
lib: more Hledger.Read cleanup
2016-11-19 08:57:03 -08:00
Simon Michael
9311077205
ui: allow brick 0.14, vty 5.12, text-zipper 0.9
2016-11-19 08:53:07 -08:00
Simon Michael
a8ca9e83d9
fix "oldtime" dep typo more ( fixes #431 )
2016-11-19 08:52:27 -08:00
Simon Michael
2eb7db202f
fix "oldtime" dep typo in hledger package ( fixes #431 )
2016-11-19 07:31:16 -08:00
Simon Michael
c8fefef7e8
doc: document file reading, and some options cleanups
2016-11-18 13:26:15 -08:00
Simon Michael
b6ff170688
lib: simplify format detection, avoid ledger reader by default
...
When we don't know a file's format, instead of choosing a subset of
readers based on content sniffing, now we just try them all.
Also, LedgerReader is now used only as a last resort,
as it's not yet competitive with JournalReader.
2016-11-18 13:24:57 -08:00
Simon Michael
59ce4c987b
ledger: handle errors better in the ledger reader
2016-11-18 13:18:58 -08:00
Simon Michael
12151e05c0
lib: some Hledger.Read cleanup
2016-11-17 20:20:07 -08:00
Simon Michael
3ddc9d7432
lib: clarify file format detectors
2016-11-16 13:25:33 -08:00
Simon Michael
6a36efb7ca
set base lower bound to 4.8 to enforce GHC 7.10+
...
hledger-lib had a valid install plan with GHC 7.8, but requires GHC 7.10 to compile (currently).
Require base 4.8+ everywhere so that stack/cabal will enforce a supported GHC version early.
Also, bump hledger-ui's "stability" to "stable".
2016-11-16 13:14:02 -08:00
Simon Michael
48b0d8a395
lib: ledger reader debug logging, cleanup
2016-11-13 08:29:04 -08:00
Simon Michael
27dd1ca593
lib: add a basic ledger journal reader using ledger4's ledger-parse
...
This reader is used by default for files with suffix .ledger or .l,
and tried along with the other readers for files of unknown type.
Currently only the bare minimum of the raw parsed data is used:
transaction dates/descriptions and posting accounts/amounts,
with the rest being ignored.
Amounts are parsed the same way as in the hledger journal format.
Malformed amounts might be ignored instead of error-reported.
2016-11-12 14:22:27 -08:00
Simon Michael
4eb7a617db
lib: fix doctests
2016-11-12 14:14:04 -08:00
Simon Michael
6db6f9aa2c
lib: fix hunit tests
2016-11-12 14:13:55 -08:00
Simon Michael
2996ec971b
lib: also recognise *.hledger as hledger journal format
2016-11-12 13:55:37 -08:00
Simon Michael
c8650e0d10
comment
2016-11-12 13:54:48 -08:00
Simon Michael
2b310029bf
file list fixes
2016-11-12 13:53:55 -08:00
Simon Michael
f5ee020b88
lib: add a copy of the ledger4 parser
...
This adds some or all of these as new dependencies for hledger-lib:
parsers, parsec, attoparsec, trifecta
2016-11-12 10:50:57 -08:00
Simon Michael
a64dea651e
site: misc updates
2016-11-12 09:40:04 -08:00
Simon Michael
e00b825d42
ui: bump to 1.0.4, changelog
2016-11-02 07:08:15 -07:00
Simon Michael
8ca03f0a49
fix ghc7 stack config, update ghc8 stack config
2016-11-02 07:06:34 -07:00
Simon Michael
3a37390ef1
ui: allow brick 0.13
2016-11-02 07:06:01 -07:00
Simon Michael
de376e7f75
site: download: add the hledger-web Sandstorm app
2016-10-31 10:48:20 -07:00
Simon Michael
c6e2784eeb
ui: use brick 0.12, bump version to 1.0.3
2016-10-31 08:06:29 -07:00
Simon Michael
56a4d84b59
doc, site: final announcement text, announcement link
...
[ci skip]
2016-10-30 10:29:50 -07:00
Simon Michael
6258dc0db3
site: download page updates
...
[ci skip]
2016-10-30 07:10:35 -07:00
Simon Michael
b2b45d827b
site: download page updates
...
[ci skip]
2016-10-30 06:51:57 -07:00
Simon Michael
27f9b0b000
doc, site: announcement, download page updates
...
The latest install instructions, 2016/10 edition.
[ci skip]
2016-10-30 06:38:33 -07:00
Simon Michael
f548abf71c
lib, doc: remove incorrect speedup claim
2016-10-29 12:13:20 -07:00
Simon Michael
407a76102c
doc: delete release notes org outline
...
Too many copies, better to use this temporarily as-needed.
2016-10-29 12:11:45 -07:00
Simon Michael
b1f90e6efa
site: relnotes: 1.0 summary and contributors
...
[skip ci]
2016-10-29 11:18:43 -07:00
Simon Michael
a3ed61587a
site: relnotes: more links
2016-10-29 11:01:16 -07:00