Commit Graph

56 Commits

Author SHA1 Message Date
Simon Michael
7a2ec8c036 web: better html page titles 2010-08-01 16:56:07 +00:00
Simon Michael
1575083855 web: register column headings 2010-08-01 19:54:04 +00:00
Simon Michael
d5f69b853c web: fix bad html 2010-08-04 15:28:53 +00:00
Simon Michael
d29b393ca2 fix a failing test, handle unicode better in errors 2010-09-05 18:18:50 +00:00
Simon Michael
5da7f8066c web: update to yesod 0.5 2010-09-03 19:59:23 +00:00
Simon Michael
f062bde8a6 web: fix stop filtering links 2010-08-01 19:53:49 +00:00
Simon Michael
b4f615b62a web: a non-null "add" or "edit" query parameter shows the forms 2010-08-10 01:13:14 +00:00
Simon Michael
357c0984fb installing: tighten up and bump web dependencies to get runtime hamlet 2010-08-19 00:25:14 +00:00
Simon Michael
041dfac11c web: add a runtime-reloaded add form for testing 2010-08-10 00:48:04 +00:00
Simon Michael
8c8395778c web: cleanup, enable jquery, use auto-completing combo fields on add form 2010-08-10 00:13:47 +00:00
Simon Michael
f3ffef2d8a web: separate period and acct/desc filtering a bit 2010-08-01 16:35:54 +00:00
Simon Michael
cf62482102 web: show start and end dates of current filter period in heading, if any 2010-08-01 00:15:21 +00:00
Simon Michael
ff6b979816 web: groundwork for an import form 2010-08-01 00:20:48 +00:00
Simon Michael
bd3d8b1c8d web: refactor; show journal file name in heading 2010-07-31 15:51:42 +00:00
Simon Michael
cf4e1fd722 web: next ui refinement.. accounts are now a permanent sidebar 2010-07-29 02:46:38 +00:00
Simon Michael
41c175ecc8 web: more consistent fonts, stylesheet cleanups 2010-07-28 16:22:32 +00:00
Simon Michael
02f77415f0 web: more tweaks, style negative amounts 2010-07-28 00:24:49 +00:00
Simon Michael
66b1ee9f11 web: tighter matching when clicking an account name 2010-07-28 00:43:47 +00:00
Simon Michael
0773dde872 web: ui cleanups, replace balance/register with combo view 2010-07-27 22:49:45 +00:00
Simon Michael
4467af1aa8 web: more web and report refactoring, and a html register report 2010-07-26 23:04:47 +00:00
Simon Michael
b6c7cd8a98 web: big cleanup, and lo! a real html balance report
Clicking an account name gives a register report for that account and sub-accounts.
2010-07-25 21:24:15 +00:00
Simon Michael
137ed3e43f refactor: split showBalanceReport into reusable-data-generating and rendering steps 2010-07-25 18:24:40 +00:00
Simon Michael
f3d9c44f81 webyesod: fix stylesheet content type 2010-07-05 19:32:15 +00:00
Simon Michael
3d2daf3bdf webyesod: cleaner urls when clicking nav links 2010-07-06 20:27:41 +00:00
Simon Michael
2e3c5bc281 webyesod: make filter form work in chrome 6 2010-07-08 02:04:20 +00:00
Simon Michael
ce9cff05b9 webyesod: drop file format help link from add form 2010-07-09 22:50:30 +00:00
Simon Michael
e527ada8fb webyesod: slightly improved layout when stylesheet is missing 2010-07-10 00:13:58 +00:00
Simon Michael
619c7a1177 webyesod: maximise edit form width and use normal font size 2010-07-10 00:35:19 +00:00
Simon Michael
50aeb272b0 web: add form fixes 2010-07-17 01:24:59 +00:00
michael
edad75ae4b Migrate to Yesod 0.4 2010-07-14 15:43:14 +00:00
Simon Michael
2a2b896c1d webyesod: validate the journal before accepting an edit 2010-07-09 23:51:49 +00:00
Simon Michael
83f411f638 webyesod: warn and keep running if reloading the journal gives an error 2010-07-09 22:48:40 +00:00
Simon Michael
aa21f95b9e webyesod: a destructive wiki-style edit form for journals
Warning: this is the first hledger feature which can alter your existing
journal data.  You can now edit, or ERASE, the (top-level) journal file
through the web ui, and there is no access control. A numbered backup of
the file will be saved at each edit, in normal circumstances.
2010-07-09 23:00:04 +00:00
Simon Michael
b462eea9de webyesod: rename "transactions" page to "journal" 2010-07-06 20:12:55 +00:00
Simon Michael
2e9efc678a webyesod: make current navigation link bold 2010-07-06 20:08:02 +00:00
Simon Michael
3865759bbd webyesod: drop --host, add --base-url option for base url and tcp port independence 2010-07-08 18:47:32 +00:00
Simon Michael
18bf123eae webyesod: small cleanups 2010-07-08 02:05:34 +00:00
Simon Michael
460cf2c774 webyesod: ui cleanups, more user-friendly add form 2010-07-06 19:59:21 +00:00
michael
206f5eeacd Removed action='' form attributes. 2010-07-06 03:39:11 +00:00
Simon Michael
02d00e8d5b webyesod: cleanups 2010-07-06 17:43:13 +00:00
Simon Michael
2f2e500eae rename -fweb to -fweb610 and -fwebyesod to -fweb, misc cabal and docs cleanups 2010-07-10 13:58:35 +00:00
Simon Michael
40b6e7bc0d refactor: extract journal reloading, cleanup 2010-07-01 03:27:48 +00:00
Simon Michael
8a64792ba7 smarter file reading: detect (or specify) intended data format and show appropriate error messages
New data reader modules need to provide just reader :: Reader, which is
the format name, a detector predicate, and a parser.
2010-06-25 14:56:48 +00:00
Simon Michael
1ec1f7c4ea more file reading cleanup, try each known format in turn
Currently this is just the journal and timelog file formats.  This is more
scalable, but when things go wrong there is no longer just a single parse
error. For now we'll just show the first error, the one from the journal
file parser.
2010-05-31 01:15:18 +00:00
Simon Michael
a848a835a2 clean up and combine I/O and parsing under Hledger.Read.*
This facilitates adding readers for new data formats. Timelog parsing is temporarily broken.
2010-05-30 19:11:58 +00:00
Simon Michael
09b44176ce web: new -fwebyesod flag builds an alternate yesod-based web ui
This requires ghc >= 6.12.
2010-07-01 02:28:26 +00:00
Simon Michael
30788ee7fd cleanup 2010-05-23 21:48:55 +00:00
Simon Michael
536c44740e web: fix a bug probably affecting reload-on-change 2010-05-23 21:49:44 +00:00
Simon Michael
7dbcb035bb web: fix non-ascii handling with ghc 6.12
The "GHC 6.12.1 has UTF8 support on board. Using System.IO.UTF8 can cause problems."
patch was over-zealous. Restore and clarify UTF8 handling with 6.12.
2010-05-23 21:46:15 +00:00
Simon Michael
287e71d54f web: fix a typo breaking ghc 6.12 compatibility 2010-05-19 19:17:29 +00:00