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
8d1ceb00f5
web: increase initial add form postings to four
...
We can't enable typeahead in dynamically added postings currently,
so increase the number of postings shown initially.
2014-08-14 00:55:51 -07:00
Simon Michael
834fef7389
web: add handler cleanup, rename vars
2014-08-14 00:26:22 -07:00
Simon Michael
6bf599ae9e
tools: dev setup/test updates
2014-08-13 17:48:24 -07:00
Simon Michael
2d6b2008f5
tools: "make check" tests the dev environment
...
Fed up with GHC/cabal constantly assaulting me like Cato in a Pink
Panther movie, here are some shell tests to give me some
warning/reassurance about the dev setup on various machines.
Thou Shalt Not Reimplement Autoconf, but perhaps a little cross-platform
test suite focussed on my needs is a reasonable idea.
2014-08-13 15:44:11 -07:00
Simon Michael
776a973d2c
cli: clarify --debug help
2014-08-08 19:12:20 -07:00
Simon Michael
69da28d9b9
doc: more manual changes from wiki
2014-08-08 19:10:18 -07:00
Simon Michael
0ad24be353
doc: merge latest manual changes from wiki
2014-08-08 18:39:37 -07:00
Simon Michael
aa85e786b9
register: describe datespans briefly, like balance
...
Eg instead of 2014/01/01 - 2014/01/31, show 2014/01, as in a multicolumn
balance report. The data model is not very elegant, but works for now.
2014-08-08 07:34:11 -07:00
Simon Michael
e2d3ab0002
docs: note --average limitation
2014-08-08 07:29:02 -07:00
Simon Michael
c485017ca6
journal: require consistent separators in a Y/M/D date
...
Date separators can be /, - or . but only one kind should be used in
each date. Eg we now reject 2014-8/1.
2014-08-08 07:29:02 -07:00
Simon Michael
3e27f4fb8b
journal: add p suffix to date[time] parsers
2014-08-08 07:29:02 -07:00
Simon Michael
a0010a294f
cli: smart dates must use a consistent separator
...
Along with the preceding commits, this means that date:2014-8/1 is now
parsed as 2014/01/01-2014/08/01 as intended, not 2014/08/01.
2014-08-08 07:21:02 -07:00
Simon Michael
632dee668d
parse period expressions and date: more strictly
...
Period expressions and date: query terms must now be parseable all the
way to their end; we won't ignore unparseable trailing bits.
2014-08-08 07:21:02 -07:00
Simon Michael
a675b99870
query: report an error when date:D fails to parse
...
Previously, a date:D query term was just ignored if D could not be
parsed as a date.
2014-08-08 07:21:02 -07:00
Simon Michael
f631e8e063
register: --average implies --empty
...
The -A flag now enables -E, so that with a report interval the averages
are always per-period and not per-report-line. (Without a report
interval, -E is already the default).
2014-08-07 14:03:56 -07:00
Simon Michael
d0ad571321
fix manual url in default CSV rules file
2014-08-07 13:15:40 -07:00
Simon Michael
d089c90e86
tools: new/improved install[deps][-force] make rules
2014-08-07 08:57:45 -07:00
Julien Moutinho
ec243a1bea
data: fix unit test by ignoring sourcepos
2014-08-07 17:48:04 +02:00
Julien Moutinho
a6190420b2
data: add source location to transactions
2014-08-07 16:38:44 +02:00
Simon Michael
9b83a411b9
tools: set LANG only if not already set, document better
2014-07-31 17:49:04 -07:00
Julien Moutinho
73d4c86002
web: journal: better display of account names
2014-07-29 11:54:31 -07:00
Simon Michael
50ef6d52dd
web: update typeahead.js to 0.10.4
2014-07-29 10:50:23 -07:00
Simon Michael
3ce34b145c
add missing dbgN helpers
2014-07-28 18:57:54 -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
7fb154f820
balance: include report span in title
2014-07-26 17:29:20 -07:00
Simon Michael
ca43eab47a
balance: simplify multicolumn report titles slightly
2014-07-26 17:09:29 -07:00
Simon Michael
1333b2650a
more showDateSpan cleanup
2014-07-26 17:07:36 -07:00
Simon Michael
b14a11b05c
drop cabal.config
2014-07-26 17:01:56 -07:00
Simon Michael
a7f7c3181f
balance: show compact headings for common intervals
...
In periodic multicolumn balance reports, column headings now show a more
compact description of common periods (years, half-years, quarters,
months, weeks) for better readability and screen space efficiency.
2014-07-26 16:54:18 -07:00
Julien Moutinho
0b8b246fcd
extra/hledger-equity: print closing balance too.
2014-07-24 02:17:09 +02:00
Julien Moutinho
c7a2126896
extra/hledger-print-csv: CSV export for hledger
2014-07-24 02:16:31 +02: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
cf6da3af5d
web: tweak some keys
2014-07-21 18:16:46 -07:00
Simon Michael
059c8dfc97
web: also handle keys when journal select focussed
2014-07-21 08:54:37 -07:00
Simon Michael
43eee83c33
web: fix js error on journal select field
2014-07-21 08:54:17 -07:00
Simon Michael
a415759022
web: make chart point color consistent
2014-07-18 17:06:47 -07:00
Simon Michael
ed44ee99e4
web: add missing and all remaining flot js
2014-07-18 16:59:51 -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
663c68e8e2
web: fix 0s with search by acct within a register
2014-07-17 16:53:36 -07:00
Simon Michael
50577588d0
web: upgrade flot to 0.8.3
2014-07-17 16:51:49 -07:00
Simon Michael
d3ede5d676
web: remove debug code
2014-07-17 16:29:14 -07:00
Simon Michael
0bae2283b3
tools: rename repl-* rules for easier editing
2014-07-17 16:25:02 -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
b3da48aaa0
identify the commodity in balance assertion errors
...
Now that balance assertions are checking only a single commodity, it can
be confusing. Eg say all your amounts are in dollars, an assertion like
"= 0" checked the dollar balance in hledger 0.23 but always succeeds in
hledger 0.24. When an assertion fails, we now report which commodity was
checked to help troubleshooting.
2014-07-17 15:23:03 -07:00