Commit Graph

5798 Commits

Author SHA1 Message Date
Simon Michael
f8e781462d ui, web: use/support new -V, --forecast, --auto 2017-12-29 16:53:37 -08:00
Simon Michael
69e255cead lib: deduplicate, refactor valuation code 2017-12-29 16:52:08 -08:00
Simon Michael
0a9d724152 lib: clarify journalApplyValue comment 2017-12-29 16:06:53 -08:00
Eli Flanagan
d12d7e2228 use bootstrap-datepicker
This also validates transaction date and description upon form submission. As noted in
the issue, this removes hledger-web's "smart date" functionality. This
functionality can be restored giving the demand but should be tracked in
another issue.
Previous iterations used input[type=date], but it isn't easily
crossbrowser and the polyfill I found had some quirks.
2017-12-29 13:01:26 -08:00
Simon Michael
aa06d0f9bd lib, cli, ui: allow ansi-terminal 0.8 2017-12-29 12:41:22 -08:00
Simon Michael
d15a2dc4c0 lib: fix journalAccountNames doc
[ci skip]
2017-12-29 12:34:51 -08:00
Simon Michael
3f124cf123 add, web: suggest implied and declared account names also 2017-12-29 12:19:44 -08:00
Simon Michael
ddef7d722d lib: update journal account names api
Now we have:

-- | Sorted unique account names posted to by this journal's transactions.
journalAccountNamesUsed :: Journal -> [AccountName]

-- | Sorted unique account names implied by this journal's transactions -
-- accounts posted to and all their implied parent accounts.
journalAccountNamesImplied :: Journal -> [AccountName]

-- | Sorted unique account names declared by account directives in this journal.
journalAccountNamesDeclared :: Journal -> [AccountName]

-- | Sorted unique account names declared by account directives or posted to
-- by transactions in this journal.
journalAccountNamesDeclaredOrUsed :: Journal -> [AccountName]

-- | Sorted unique account names declared by account directives, or posted to
-- or implied as parents by transactions in this journal.
journalAccountNamesDeclaredOrImplied :: Journal -> [AccountName]

-- | Convenience/compatibility alias for journalAccountNamesImpliedOrUsed.
journalAccountNames :: Journal -> [AccountName]
2017-12-29 12:18:04 -08:00
Simon Michael
d7d75c50fe lib: expandAccountNames, accountNamesFromPostings should sort here 2017-12-29 12:16:46 -08:00
Simon Michael
3ccafb596f tools: refine gitignore, stop ignoring hledger-web js dir 2017-12-22 15:05:44 -08:00
Simon Michael
a1124fa381 doc: docs: manual link cleanups 2017-12-22 10:26:40 -08:00
Simon Michael
07596b1c54 update embedded manuals 2017-12-22 10:13:38 -08:00
Simon Michael
0621a27833 update cabal files 2017-12-22 10:13:37 -08:00
Simon Michael
efdee17aae bump version strings & lower bounds to 1.4.99 2017-12-22 10:13:37 -08:00
Eli Flanagan
f4e793ea44 ignore aes key 2017-12-22 09:35:31 -08:00
Simon Michael
b1a7921239 doc: download: describe installer better 2017-12-22 06:41:32 -08:00
Simon Michael
0fbf0b1cb3 doc: don't use code.hledger.org with git clone; use https 2017-12-22 06:40:44 -08:00
Simon Michael
96433f4037 doc: docs page cleanups, order manuals like combined manual 2017-12-22 06:40:00 -08:00
Simon Michael
96bb029410 stack: comment 2017-12-22 05:33:45 -08:00
Alvaro Fernando García
15e100c108 stack: bump default resolver to lts-10.0 2017-12-22 05:31:23 -08:00
Simon Michael
20087d4923 doc: project accounting examples 2017-12-21 15:47:01 -08:00
Simon Michael
6d4f93c517 doc: step by step: mention print -x 2017-12-21 15:47:01 -08:00
Simon Michael
2b52a5b566 site: download: link to arch issue 2017-12-16 09:31:50 -08:00
Simon Michael
761fc31eb8 lib,cli,ui,web: allow megaparsec 6.3.0 2017-12-15 12:32:11 -08:00
Simon Michael
80db98f209 ui: allow brick 0.30 2017-12-15 11:38:07 -08:00
Nadrieril
9e6e06033f lib: Allow balance-only entries in csv reader 2017-12-14 18:26:29 -08:00
Simon Michael
cd5c74625e update embedded manuals 2017-12-14 18:20:07 -08:00
Simon Michael
edc50759a0 tools: hakyll-std: document workaround 2017-12-14 18:19:55 -08:00
Simon Michael
ea1ddd86b3 shake: build with nightly resolver, remove pandoc workarounds
stackage nightly now has pandoc 2.0.5 which builds with GHC 8.2.
https://github.com/jgm/pandoc/issues/4130
2017-12-14 18:17:43 -08:00
Simon Michael
a0ff0ce84b stack: bump default resolver to nightly-2017-12-14 2017-12-14 18:15:12 -08:00
Dmitry Astapov
05383277b1 doc: add --budget to balance manual 2017-12-14 17:20:07 -08:00
Dmitry Astapov
ac80c39535 lib: command-line help for --auto/--forecast matches docs 2017-12-14 17:20:07 -08:00
Dmitry Astapov
f85643889c doc: describe --forecast and --auto 2017-12-14 17:20:07 -08:00
Dmitry Astapov
040b9aef91 doc: add Periodic transactions, Automated posting rules 2017-12-14 17:20:07 -08:00
Dmitry Astapov
e4b7ea12ef doc: --period refers to periodic expressions 2017-12-14 17:20:07 -08:00
Simon Michael
b9d526d6ee travis: disable problematic travis-maybe-skip.sh experiment 2017-12-14 17:15:38 -08:00
Simon Michael
128efd96c2 tools: make ghcid-shake 2017-12-14 16:49:55 -08:00
Eli Flanagan
0ad8c45e2d disable pure to preserve $LANG 2017-12-14 16:42:29 -08:00
Eli Flanagan
6bd86f999b use nix integration option 2017-12-14 16:42:29 -08:00
Elijah Caine
3b01146ec4 Added .stack-work/ to .gitignore. 2017-12-14 15:42:48 -08:00
Elijah Caine
cf1a307ced Added Nix Stack build note.
Add the `--no-nix-pure` flag to forward environment variables.
2017-12-14 15:42:48 -08:00
Simon Michael
a078936c86 shake: "guidepages" also needs to build pandoc filters 2017-12-08 15:38:13 -08:00
Simon Michael
2fd40b3716 hakyll-std: use stack8.0.yaml like Shake.hs 2017-12-08 02:53:44 -08:00
Simon Michael
344fced409 shake: use GHC 8.0 again to avoid 8.2/pandoc error
https://github.com/jgm/pandoc/issues/4130
2017-12-08 02:52:09 -08:00
Simon Michael
e67ed10aab doc: undo premature readme markdownification, it's not so effective
[ci skip]
2017-12-07 13:04:15 -08:00
Simon Michael
dd737ebbd5 travis: build shelltestrunner with its default resolver
It's the same as hledger's right now: nightly-2017-12-05.
2017-12-07 12:35:35 -08:00
Simon Michael
302ee50bfe update embedded manuals 2017-12-07 12:04:11 -08:00
Simon Michael
316b6f344e shake: build only the needed, pandoc-2-compatible pandoc filters 2017-12-07 12:02:13 -08:00
Simon Michael
c082f2676b shake: switch to default resolver (nightly) & pandoc 2 2017-12-07 12:01:36 -08:00
Simon Michael
9013694d89 cabal: regenerate with stack 1.6/hpack 0.20 2017-12-07 11:46:33 -08:00