Commit Graph

426 Commits

Author SHA1 Message Date
Simon Michael
4333cae43f web: register chart improvements
- bigger
- plot is horizontal when balance is not changing
- legend for commodities
- some work towards stable commodity colors
2014-07-17 18:56:55 -07:00
Simon Michael
50577588d0 web: upgrade flot to 0.8.3 2014-07-17 16:51:49 -07:00
Simon Michael
441cae645f web: account transactions report, register clarifications
Clarify the semantics and code of account transactions report a bit.

In the web account register view, emphasise the "historical balance" vs
"running total" distinction; show it as a label for the chart as well,
to reduce confusion.
2014-07-17 16:20:34 -07:00
Simon Michael
927e7593fa web: cleanups 2014-07-17 15:05:39 -07:00
Simon Michael
b42298c1e2 web: fix warnings 2014-07-15 06:55:14 -07:00
Simon Michael
b0d74b1466 web: support more than 2 postings in the add form
- ctrl plus/ctrl minus adds/removes posting fields
- clicking the more link or pressing tab in the last field also works
- the focus is adjusted sensibly
- the add form is reset if closed and reopened, except the number of postings
- keyboard shortcuts should be less dependent on focus now
- tested in recent firefox, chrome, safari
- things should be robust with typeahead, with one notable exception:
  typeahead is not enabled in the new account fields when you add
  postings. I tried hard, help welcome.
2014-07-14 14:30:30 -07:00
Simon Michael
c27ea12b66 web: upgrade bootstrap to 3.2 2014-07-14 14:28:20 -07:00
Simon Michael
67c8ceb142 web: after adding, just redisplay the journal 2014-07-12 15:18:39 -07:00
Simon Michael
009df13baf web: make the add form a modal dialog
The add form has become a modal dialog, and been moved into the default
template. This simplifies some things, for now. Eg it's easily
accessible from any page.
2014-07-09 00:04:50 -07:00
Simon Michael
ed3fd58fb9 web: rename help modal 2014-07-09 00:00:23 -07:00
Simon Michael
14b5d1ca3e web: fix a haddock breakage 2014-07-08 11:49:34 -07:00
Simon Michael
7d984fb2e4 tools: fancy .ghci for hledger-web
Some configuration for running hledger-web in ghci, and misc. utilities
including hlint/hoogle/hayoo and a not-yet-working yesod devel-like
reloader from a recent reddit thread. (If enabling these, also uncomment
the required libs in hledger-web.cabal). Although it's not yet
automated, we can now test hledger-web changes without relinking:

>>> :serve
Starting web app on port 3000 with base url http://localhost:3000
Press ctrl-c to quit
  C-c C-cInterrupted.
>>> :r
Ok, modules loaded: Settings, Main, Hledger.Web.Main, Application, Hledger.Web.Options, Settings.Development, Import, Handler.RootR, Handler.JournalR, Handler.RegisterR, Handler.SidebarR, Handler.Common, Handler.Utils, Foundation, Settings.StaticFiles, Handler.Post.
>>> :serve
Starting web app on port 3000 with base url http://localhost:3000
2014-07-06 10:38:41 -07:00
Simon Michael
8fe26fe345 web: add form stricter parsing, better errors (fixes #194) 2014-07-05 13:07:57 -07:00
Simon Michael
f30deee197 web: fix compilation after recent lib changes 2014-07-03 09:37:02 -07:00
Simon Michael
201521dc5a a few tweaks 2014-06-24 14:51:09 -07:00
Simon Michael
3b30837a23 web: allow warp 3*, wai-handler-launch 3* 2014-06-21 20:36:46 -07:00
Simon Michael
4f0b4ea36c web: add missing hs & js files 2014-06-14 14:33:11 -07:00
Simon Michael
09ec9b2f90 web: help tweaks 2014-06-13 00:39:15 +01:00
Simon Michael
71bd9f4110 web: changelog 2014-06-13 00:19:18 +01:00
Simon Michael
b25563b59f web: fix manual link 2014-06-13 00:19:12 +01:00
Simon Michael
ec51d28839 web: a bunch of ui cleanup & improvement
- the web UI has been streamlined; edit form, raw & entries views dropped
- we now remember whether sidebar is open or closed
- better help dialog
- keyboard shortcuts are now available
- better add form
- more bootstrap styling
- static file cleanups
- report filtering fixes
- upgrade jquery to 2.1.1, bootstrap to 3.1.1, drop select2, add typeahead, cookie, hotkeys
- clarify debug helpers a little
- refactoring
2014-06-13 00:19:00 +01:00
Simon Michael
34f4800e82 Revert "remove Setup.hs files again, fixing a yesod devel warning"
Setup.hs are required by the Hydra buildbot.

This reverts commit 97ab3db8f0.
2014-05-24 13:39:09 -07:00
Simon Michael
884f64e292 web: reduce ui over-complexity
For now, you can do three things in the web ui: add a transaction, view
journal entries, view an account register. Filtering is not quite right yet.
2014-05-24 08:23:02 -07:00
Simon Michael
adde48a805 web: small column heading improvements 2014-05-24 08:20:33 -07:00
Simon Michael
3ff7fe7f1b web: more static file cleanups 2014-05-23 10:20:20 -07:00
Simon Michael
13bc4d58ec web: update static files in cabal file 2014-05-23 09:46:11 -07:00
Simon Michael
6ecb2b9882 web: style.css -> hledger.css 2014-05-23 09:45:55 -07:00
Simon Michael
eea10d4420 web: upgrade jquery to 2.1.1 2014-05-23 09:34:32 -07:00
Simon Michael
bc8e4ef91e web: upgrade bootstrap to 3.1.1
This nicely fixes the too-narrow page layout.
2014-05-23 09:32:29 -07:00
Simon Michael
97ab3db8f0 remove Setup.hs files again, fixing a yesod devel warning
These were removed and re-added in 2011 because "hackage needed them".
Let's try again.
2014-05-23 09:04:00 -07:00
Simon Michael
702f900ec0 web: fix warnings 2014-05-23 09:02:20 -07:00
Simon Michael
3c8786df1f web: tweak tooltips, remove unused code 2014-05-23 09:01:25 -07:00
Simon Michael
3ee0b5f29b web: fix account "only" hover links 2014-05-23 08:39:22 -07:00
Simon Michael
7778a0b821 web: reorganise sidebar links 2014-05-22 20:57:22 -07:00
Simon Michael
3f3a526e8a web: move sidebar links out of balanceReportAsHtml 2014-05-22 20:36:49 -07:00
Simon Michael
6b059aeb5e Merge branch 'rdesfo-0.23'
Conflicts:
	.version
	hledger-lib/Hledger/Read/CsvReader.hs
	hledger-lib/hledger-lib.cabal
	hledger-web/hledger-web.cabal
	hledger/hledger.cabal
2014-05-22 16:15:35 -07:00
Ryan Desfosses
b60da51386 made the following changes to resolve deprecated warnings:
replaced hamletToRepHtml with giveUrlRenderer
  updated type RepHtml to Html
  replaced settingsPort with setPort
2014-05-21 07:30:54 -04:00
Ryan Desfosses
3182f2c69a Common: Added Register link to sidebar 2014-05-14 12:13:34 -04:00
Simon Michael
2bba4dbe3c update changelogs 2014-05-08 14:35:20 -07:00
Simon Michael
3113e09a62 bump version to 0.23.2 2014-05-08 14:32:29 -07:00
Simon Michael
6d93fe15d3 update changelogs 2014-05-08 14:32:06 -07:00
Simon Michael
4b1714a9e0 bump version to 0.23.1 2014-05-07 16:44:44 -07:00
Simon Michael
41add3ffeb oh fine still cant do that, bump to 0.23.98 2014-05-03 17:18:12 -07:00
Simon Michael
87f1e83d78 bump version to 0.24dev 2014-05-03 15:51:57 -07:00
Simon Michael
07a82724ed lib, cli, web: change from "beta" to "stable"
Also add the hackage Console category to the first two.
2014-05-01 08:20:05 -07:00
Simon Michael
1eeedfe551 bump versions to 0.23 2014-05-01 08:17:17 -07:00
Simon Michael
524bfe73c6 final changelogs 2014-05-01 08:14:36 -07:00
Simon Michael
e6a1339370 cli: options help polish 2014-05-01 07:22:44 -07:00
Simon Michael
3fb5e25fd4 web: rename --static-root to --file-url 2014-04-30 08:48:23 -07:00
Simon Michael
a33dc3a124 web: build with the default -O, not -O2
Building hledger-web is taking more than half a gigabyte here.
Building with -O2 is generally considered to eat more memory.
and be less robust than -O, and seems unnecessary for hledger-web.
2014-04-29 09:56:05 -07:00