Commit Graph

5734 Commits

Author SHA1 Message Date
Simon Michael
b32121d8b4 doc: download: drop resolver option for now 2017-12-31 15:19:17 -08:00
Simon Michael
b8218c5a52 install: don't specify a stack resolver at all, works better for now 2017-12-31 15:01:45 -08:00
Simon Michael
213e5fd5f6 doc: update, link announcement 2017-12-31 12:53:51 -08:00
Simon Michael
bb2e1d7f5d install: bump versions in hledger-install.sh 2017-12-31 12:14:55 -08:00
Simon Michael
a95a64db0d doc: release notes, announcement, download page 2017-12-31 12:03:11 -08:00
Simon Michael
effb679569 doc: add 1.5 manuals snapshot 2017-12-31 10:34:48 -08:00
Simon Michael
82283d75d7 doc: changelog updates 2017-12-31 10:30:28 -08:00
Simon Michael
956dee9682 update cabal files 2017-12-31 10:24:15 -08:00
Simon Michael
6ccabe3b48 update embedded manuals 2017-12-31 10:22:09 -08:00
Simon Michael
ae3dca28e2 tools: make: update version/date setting rules 2017-12-31 10:21:31 -08:00
Simon Michael
52c3884ab7 bump version strings & bounds to 1.5 2017-12-31 10:20:48 -08:00
Simon Michael
7921f0cf44 update embedded manuals 2017-12-31 10:08:44 -08:00
Simon Michael
0d8ac2cd6f update cabal files 2017-12-31 10:03:50 -08:00
Simon Michael
e927e587e6 lib,cli: auto/forecast/budget option/docs cleanup, consistency 2017-12-31 10:01:18 -08:00
Simon Michael
667a1d7e59 remove upper bounds on all but hledger* and base
It's rare that my deps break their api or that newer versions must be avoided,
and very common that they release new versions which I must tediously
and promptly test and release hackage revisions for or risk falling out
of stackage. Trying it this way for a bit.
2017-12-31 09:13:50 -08:00
Simon Michael
26d1f10ef1 consistent spacing in bounds 2017-12-31 09:05:39 -08:00
Simon Michael
d3363d09d8 allow megaparsec 6.4.0 2017-12-31 08:47:59 -08:00
Simon Michael
3cf23fdc14 doc: devguide: link waffle board, github projects, update stars 2017-12-31 07:43:48 -08:00
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