Commit Graph

5816 Commits

Author SHA1 Message Date
Simon Michael
79fe56f8ff doc: fix broken link 2017-12-31 07:43:02 -08:00
Simon Michael
50540c0f92 doc: fix broken link in forecast option 2017-12-30 19:22:25 -08:00
Simon Michael
cbb12cbb73 doc: fix accidental heading in period expressions 2017-12-30 19:21:00 -08:00
Simon Michael
f9e113c9ab print: -B shows converted amounts again, as in 1.1, even without -x. #551 (Simon Michael, Mykola Orliuk) 2017-12-30 19:08:58 -08:00
Simon Michael
99cde10e98 doc: draft changelogs 2017-12-30 18:20:41 -08:00
Simon Michael
e83b375959 tools: make: changelog-related notes 2017-12-30 18:20:30 -08:00
Simon Michael
d9108c7cfe tools: travis: try enabling long urls in IRC notifications 2017-12-30 15:55:54 -08:00
Simon Michael
a42b614885 tools: travis: enable IRC notifications via skyline bot
Courtesy of Daniel Lamando and the Stardust project.
2017-12-30 13:49:49 -08:00
Simon Michael
448934d146 ui: fix manual viewing (on posix) (fix #623) 2017-12-30 12:59:31 -08:00
Eli Flanagan
a4df7997b4 Merge branch 'master' into topic-datepicker-cleanup 2017-12-30 13:47:06 -05:00
Eli Flanagan
e922a4aac5 fix datepicker not closing, linting
Added defacto JavaScript linting with eslint. I also included an editor
config file to aid common style. (http://editorconfig.org/#example-file)
2017-12-30 13:44:40 -05:00
Simon Michael
e9ff1280d7 web: don't write a session file at startup
The .hledger-web_client_session_key.aes file written at startup is
cluttersome and means hledger-web can only be started from a writable
directory. What do we lose if I disable it ?

https://hackage.haskell.org/package/yesod-core-1.4.33/docs/Yesod-Core.html#v:makeSessionBackend
says "Default: Uses clientsession with a 2 hour timeout."
http://hackage.haskell.org/package/clientsession-0.9.1.2 says
"Securely store session data in a client-side cookie."

I think: hledger-web saves (eg) the state of the sidebar as session
data, in a cookie, and my web browser saves that locally. And this
still seems to work, across server restarts. So what's the purpose of
saving this "client session" file on the server ? Let's disable it and
find out.
2017-12-30 10:17:59 -08:00
Simon Michael
ecdbc05703 Merge branch 'feature/space-as-digits-sep' of https://github.com/ony/hledger into ony-feature/space-as-digits-sep 2017-12-30 09:29:22 -08:00
Simon Michael
2dc47673b7 tools: more reliable cabal file regeneration using stack
Uses stack's hpack, making hpack version warnings less likely.
Regenerates all local stack packages' cabal files, even if they're missing.
2017-12-30 08:58:39 -08:00
Simon Michael
2a0e12122c tools: regen cabal files with latest stack's hpack to avoid warnings 2017-12-30 08:47:47 -08:00
Simon Michael
0c584759e1 doc: market value: update description 2017-12-30 07:35:23 -08:00
Simon Michael
d8195dcae9 doc: warn about combining -B and -V (#683) 2017-12-30 07:21:43 -08:00
Simon Michael
8f55b6137d uses today's prices, not those of last txn date, for -V (fix #683,#648) 2017-12-29 21:42:59 -08:00
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