Commit Graph

104 Commits

Author SHA1 Message Date
Simon Michael
913b3be7e3 stats: honour -p/--period option 2010-07-11 15:47:46 +00:00
Simon Michael
60d05f83b3 docs: show disabled commands in --help too for clarity 2010-07-13 05:06:56 +00:00
Simon Michael
306540f225 split --help, make it the default command, add --help-options and --help-all/-H 2010-07-13 05:18:19 +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
927948a644 test: drop verbose test runner and testpack dependency 2010-07-01 02:24:38 +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
ab857fba34 webyesod: gah! include web command in --help with -fwebyesod 2010-07-08 23:18:52 +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
Simon Michael
505833020f webyesod: small cleanup 2010-07-06 20:57:29 +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
331ed6b407 refactor: cleanup 2010-04-14 21:37:03 +00:00
Simon Michael
b19b02962a parsing: date parsing overhaul, don't exit on bad dates
- get rid of undefined parse errors due to guard
- don't call error from date parsers; let add re-prompt on bad dates
- years now must always have at least four digits
- clearer date parse errors
2010-04-14 21:49:34 +00:00
Simon Michael
33dbdd5821 docs: correction 2010-04-15 21:49:07 +00:00
Simon Michael
ea14c64b20 bump version 2010-05-19 20:11:36 +00:00
Simon Michael
81e9e720ea bump (and fix) version 2010-04-15 15:07:44 +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
Simon Michael
131ec1e1f1 web: remove url encoding/decoding that seems out of place 2010-05-23 21:48:32 +00:00
Simon Michael
bf5ee88a30 refactor: clarify the roles of Journal (primary data) and Ledger (derived report) 2010-05-23 17:41:25 +00:00
Simon Michael
fc330b5c9f ui: restore the original accounts scope when backing up to top level 2010-04-15 21:41:18 +00:00
Simon Michael
6d18b8c0af consolidate under Hledger.Cli 2010-05-19 23:20:52 +00:00
Simon Michael
0282aa4697 docs: move main haddock 2010-05-19 23:41:29 +00:00
Simon Michael
c50c66ff14 rename the ui command to vty for consistency 2010-05-19 23:50:41 +00:00
Simon Michael
70576e87d1 refactor: move post-parse processing into parseJournal 2010-05-22 23:35:34 +00:00
Simon Michael
10c0a9a958 refactor: take an axe to canonicaliseAmounts 2010-05-22 20:23:36 +00:00
Simon Michael
a430badb85 refactor: journalCloseTimeLogEntries 2010-05-22 19:00:20 +00:00
Simon Michael
11d354d426 refactor: renames and cleanups 2010-05-22 22:05:12 +00:00
Simon Michael
a3e5e7ce93 refactor: more ledger cleanup 2010-05-22 19:01:11 +00:00
Simon Michael
5982460782 refactor: clarify ledger construction a bit 2010-05-22 16:14:30 +00:00
Simon Michael
9261071987 fix handling of non-ascii arguments with ghc 6.12
Seems decodeString is needed here with 6.12 after all
2010-05-23 20:26:20 +00:00
Simon Michael
557746da5e remove redundant imports revealed by ghc 6.12 2010-05-22 15:33:51 +00:00
Simon Michael
7d4593cee9 move Ledger.* to Hledger.Data.* 2010-05-19 23:08:53 +00:00
Simon Michael
518da0c867 vty: fix "ui" in --help, also rename --debug-no-ui to --debug-vty 2010-05-23 22:46:04 +00:00
Simon Michael
090c8b4dd6 move the hledger application modules to Hledger and Hledger.Cli 2010-05-19 23:06:46 +00:00