From 453750be439f7d9e04ec1bf0f1a8c00b5b142307 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 14 Sep 2011 02:51:31 +0000 Subject: [PATCH] web: the cabal build enables production mode (with embeded files) by default --- NOTES | 16 ++++++---------- hledger-web/hledger-web.cabal | 6 +++--- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/NOTES b/NOTES index 4447faa86..24f124593 100644 --- a/NOTES +++ b/NOTES @@ -584,8 +584,9 @@ Starting http server on port 5000 with base url http://localhost:5000 *** web: --base-url trailing slash gives redirect loop hledger-web --port 5001 --base-url http://localhost:5001/ -*** web: account patterns on command line are ignored *** web: loses -B after an edit, and/or a filesystem edit +*** convert: order is reversed ? +*** convert: manual needs a rewrite *** tools: avoid haskell compiles and compile errors while setting up makefile vars joyful$ make help GHCi runtime linker: fatal error: I found a duplicate definition for symbol @@ -601,13 +602,6 @@ GHCi cannot safely continue in this situation. Exiting now. Sorry. make: *** No rule to make target `help'. Stop. -*** binaries: linux 32 binary fails on ubuntu 11.04 due to libc6 gconv file path change (greenskeleton) -http://code.google.com/p/hledger/issues/detail?id=43 -*** parsing: balancing fails for a commodityless amount with a price -1/1 - a 927.5 @ 2EUR - b - *** parsing: strange balancing failure 2011/01/01 Example Assets:Brokerage:TESTA 188.424 TESTA @ $76.61 @@ -1811,6 +1805,10 @@ http://ajaxcssblog.com/jquery/url-read-request-variables/ *** inspiration http://community.haskell.org/~ndm/downloads/paper-hoogle_overview-19_nov_2008.pdf -> Design Guidelines ** features/wishlist +*** web: hide search form on add/edit form +*** web: should display virtual postings with () or [] +*** web: how to find out total spent in an account during a specific month +*** web: how to find out net worth, /register?q=assets+liabilities shows nothing *** parsing: end directive may also be spelled end account; or end ends last directive *** convert: clean up default rules file *** convert: use default rules when converting stdin with no --rules @@ -1820,8 +1818,6 @@ http://community.haskell.org/~ndm/downloads/paper-hoogle_overview-19_nov_2008.pd *** convert: parse HH:MM[:SS] as an amount, converting to decimal hours *** convert: ignore heading row *** convert: warn and ignore unparsed rows ? -*** web: should display virtual postings with () or [] -*** web: how to find out total spent in an account during a specific month *** stats: list all included files *** parsing: alias directives should be modified by account directives diff --git a/hledger-web/hledger-web.cabal b/hledger-web/hledger-web.cabal index 1081d2671..f0593dd3c 100644 --- a/hledger-web/hledger-web.cabal +++ b/hledger-web/hledger-web.cabal @@ -31,11 +31,11 @@ source-repository head location: http://joyful.com/repos/hledger Flag production - Description: Build in production mode, which reads template files only once at startup. - Default: False + Description: Build in production mode, with web files embedded. Otherwise, they will be loaded from ./static/. + Default: True Flag devel - Description: Build for use with "yesod devel" + Description: Build for use with "yesod devel". Default: False executable hledger-web