Simon Michael
ebba1b09f2
web: fix more ghc 7.10 import warnings ( #239 )
2015-04-07 18:49:33 -07:00
Simon Michael
b0d71e3ccc
web: declare a bunch of language pragmas
...
Makes the code more declarative, and makes building without cabal easier.
2015-04-07 18:35:41 -07:00
Simon Michael
aa47a7dc12
hledger-web: build with GHC-7.10
2015-03-29 06:33:53 -07:00
Simon Michael
e76cc6ee47
web: stay in add form when there are errors
2015-02-23 23:22:02 +00:00
Simon Michael
9351f10b81
web: show all add form errors as form errors
...
Don't allow internal server errors during form validation.
2015-02-20 09:31:13 +00:00
Simon Michael
d3453c66c1
web: improve add form validation ( #223 , #234 )
...
The add form is now partly using yesod-form.
2015-02-20 09:30:59 +00:00
Simon Michael
16aaf35c4b
web: move old edit/import stuff out of AddForm
2015-02-16 18:20:31 +00:00
Simon Michael
55967e9192
web: Post -> AddForm; drop/comment more old stuff
2015-02-16 16:21:07 +00:00
Simon Michael
a1aff10225
web: comment unused handlers
2015-02-16 15:35:27 +00:00
Simon Michael
ebe0ee184c
web: remove unused /journal/entries view
2015-02-16 15:03:48 +00:00
Simon Michael
7138acaec4
web: clarify some confusing parameter handling
2015-02-15 08:17:47 +00:00
Julien Moutinho
cf28985cf2
lib: move from Text.ParserCombinators.Parsec to Text.Parsec
...
NOTE: required to use liftIO in includedirective
SEE: http://www.vex.net/~trebla/haskell/parsec-generally.xhtml#IO
2014-11-20 10:08:30 +01:00
Simon Michael
c1c9a989be
web: fix a warning
2014-10-23 10:27:07 -07:00
Simon Michael
b6774f47a3
balance, print: add -o and CSV output here too
...
Not very elegant yet, but works.
2014-10-21 12:02:23 -07:00
Simon Michael
c2644f4c48
web: clean up warnings
2014-10-18 10:35:04 -07:00
gwern
d1618aaca8
strip trailing whitespace from all Haskell files
2014-10-14 18:48:24 -07:00
Simon Michael
2992ce069d
web: add form ignores trailing blank fields
...
Empty final account/amount fields are now ignored. Empty fields
followed by non-empty fields are not allowed.
2014-08-14 01:10:51 -07:00
Simon Michael
834fef7389
web: add handler cleanup, rename vars
2014-08-14 00:26:22 -07:00
Julien Moutinho
73d4c86002
web: journal: better display of account names
2014-07-29 11:54:31 -07:00
Simon Michael
6c60119a92
web: show right zero commodities on register chart
...
If zero amounts are recorded with a commodity, any resulting zero
balances appearing in the register chart will have the proper commodity
and colour. (This is the first and so far only case of hledger
preserving the commodity of zero amounts.)
2014-07-28 18:47:59 -07:00
Simon Michael
40ab1e17f6
amounts cleanups, and support zeros with commodity
2014-07-28 18:45:13 -07:00
Simon Michael
455de6531d
web: just show a simple link as the home button for now
2014-07-23 15:04:17 -07:00
Simon Michael
f2845e9b2e
web: ensure whitespace between accounts headings
2014-07-23 15:03:41 -07:00
Simon Michael
f622f8e532
web: ensure the null commodity appears in legend
2014-07-23 15:03:03 -07:00
Simon Michael
a415759022
web: make chart point color consistent
2014-07-18 17:06:47 -07:00
Simon Michael
f2d9c6e9c1
web: more register chart improvements
...
- show a background color for future and less-than-zero regions
- show points for transactions, not all line corners
- hovering over point shows balance, date, posted amount and transaction
- clicking a point scrolls towards that date
2014-07-18 16:45:46 -07:00
Simon Michael
470835adc2
web: show points and zero/today lines on chart
2014-07-18 07:55:23 -07:00
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
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
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
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
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
4f0b4ea36c
web: add missing hs & js files
2014-06-14 14:33:11 -07: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
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
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
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
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
7d36789b74
web: fix build failures caught by the bot
2014-03-19 08:45:52 -07:00
Simon Michael
3b8b3d234e
web: work around build failures on new OS X/xcode 5 related to clang
2014-02-08 08:43:20 -08:00