Commit Graph

69 Commits

Author SHA1 Message Date
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
ed37346426 refactor: import fix 2010-07-09 22:49:31 +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
4f49094088 refactor: date spans, commodities 2010-07-11 18:56:36 +00:00
Simon Michael
b5d1ebba30 print, register, balance: fix layout with mixed-commodity amounts 2010-07-11 22:51:36 +00:00
Simon Michael
939fd174d9 stats: wording 2010-07-13 21:55:04 +00:00
Simon Michael
eefb04abfe auto-create missing journal files rather than giving an error 2010-07-13 19:36:43 +00:00
Simon Michael
50aeb272b0 web: add form fixes 2010-07-17 01:24:59 +00:00
Simon Michael
9acb57cfc5 add: allow blank descriptions 2010-07-17 15:13:16 +00:00
michael
edad75ae4b Migrate to Yesod 0.4 2010-07-14 15:43:14 +00:00
Simon Michael
7d7159609b refactor: much renaming of ledger -> journal, hopefully the right amount 2010-07-13 06:30:06 +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
069a70a7b4 web610: fixes 2010-07-10 14:31:46 +00:00
Simon Michael
8df720d07e stats: fix/improve --period support, now a reporting interval causes multiple reports 2010-07-11 18:57:56 +00:00
Simon Michael
7f8a352c0c stats: don't break on an empty file 2010-07-08 14:04:54 +00:00
Simon Michael
fe12bd9c94 stats: compact account info, add payee/description count 2010-05-24 18:27:16 +00:00
Simon Michael
913b3be7e3 stats: honour -p/--period option 2010-07-11 15:47:46 +00:00
Simon Michael
73572e2d85 balance: with --flat, --drop N elides leading account name components. Feature or frill ? 2010-05-24 20:45:48 +00:00
Simon Michael
5d7f141239 balance: --flat provides a simple non-hierarchical format 2010-05-24 20:27:52 +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
68e8ea7d53 web: better web and webyesod flag and --version descriptions 2010-07-01 20:13:23 +00:00
Simon Michael
ac1dbb07ef webyesod: run simpleserver directly to avoid inaccurate startup message 2010-07-07 09:00:46 +00:00
Simon Michael
fcd88ed178 webyesod: fix warnings 2010-07-06 16:58:50 +00:00
michael
ea5f7979b2 Using urlparams appropriately. 2010-07-06 03:36:08 +00:00
michael
6f555e02af Convert Hamlet templates to using type-safe URL datatype. 2010-07-06 03:14:00 +00:00
Simon Michael
27fcf68a61 cleanup 2010-07-05 19:38:04 +00:00
Simon Michael
d6835b6cc7 refactor: cleanups, doc 2010-07-01 22:21:52 +00:00
Simon Michael
93be03d883 web: transaction adding now works in -fwebyesod 2010-07-01 21:03:44 +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
365035a3bd webyesod: --host and --port options set the webserver's base url and tcp port 2010-07-07 00:45:31 +00:00