Simon Michael
6019c932fb
web: ensure we get the fixed aeson-native to prevent NFData build error ( #65 )
2011-09-22 13:37:58 +00:00
Simon Michael
7bc67a7f00
web: update for yesod 0.9
2011-09-12 18:41:43 +00:00
Simon Michael
d4a3a8c3a0
web: do auto-create the journal for the web command
...
At add time would be better, but for at startup is easier
2011-09-23 14:07:50 +00:00
Simon Michael
6f0f1acf7e
fix hledger-web build error
2011-09-27 16:29:43 +00:00
Simon Michael
9b2a5f56e1
only the add and web commands auto-create the journal file
2011-09-23 03:53:14 +00:00
Simon Michael
453750be43
web: the cabal build enables production mode (with embeded files) by default
2011-09-14 02:51:31 +00:00
Simon Michael
b0b1f7d733
bump version
2011-10-01 17:17:02 +00:00
Simon Michael
80afd4ae7a
web: bump hledger-web version
2011-09-12 23:10:01 +00:00
Simon Michael
27e4fec943
web: fix some invalid html
2011-09-10 19:52:35 +00:00
Simon Michael
23200cdd87
web: fix journal edit form
2011-09-10 20:03:59 +00:00
Simon Michael
f37d7b5659
bump version
2011-09-12 22:52:24 +00:00
Simon Michael
c834f4a8af
bump version for all but hledger-lib, due to hledger fix
2011-09-02 19:25:31 +00:00
Simon Michael
cda23bd533
web: add missing Hledger.Web.Options to cabal file
2011-09-02 17:13:47 +00:00
Simon Michael
3f333bf02b
web: tighten up dependencies
2011-09-02 17:22:23 +00:00
Simon Michael
e3f5fdb196
bump version (hledger-web only)
2011-09-02 17:58:49 +00:00
Simon Michael
b6f2650fb0
updated tested-with
2011-05-29 04:50:47 +00:00
Simon Michael
1467357058
web: drop unused cabal data-dir/data-files
2011-05-29 16:51:14 +00:00
Simon Michael
1c3a5da1fa
web: better settings for wai-handler-devel
2011-06-03 23:11:53 +00:00
Simon Michael
8a4c6ab5a1
web: alternate background color on journal view
2011-06-05 20:44:55 +00:00
Simon Michael
dfce1c48d2
web: don't let account names wrap in sidebar
2011-06-14 19:07:14 +00:00
Simon Michael
5106938b4b
web: stay on add form; format errors/added transaction a little better
2011-06-14 21:12:24 +00:00
Simon Michael
ed3cdf377c
web: let register account column be wider
2011-06-14 20:48:04 +00:00
Simon Michael
c8d8c02646
web: just a little padding after item totals
2011-06-13 21:22:11 +00:00
Simon Michael
6efe8fb30b
web: indent accounts more than "all accounts" in sidebar
2011-06-14 21:32:01 +00:00
Simon Michael
9d00eeec23
haddock fix in EmbeddedFiles
2011-06-17 18:15:10 +00:00
Simon Michael
b352048948
web: soften day separators slightly
2011-06-24 01:25:01 +00:00
Simon Michael
a88449a031
web: tone down day/month borders slightly
2011-06-14 20:19:52 +00:00
Simon Michael
6452d0bb2e
web: js refactor
2011-06-24 14:21:17 +00:00
Simon Michael
10592618ef
web: fix ?edit=1
2011-06-05 19:54:36 +00:00
Simon Michael
77133de9c6
web: highlight on mouse over sidebar links, not table cells
2011-06-29 23:44:36 +00:00
Simon Michael
26486b4fc6
web: add missing dependency to cabal file
2011-07-01 00:33:47 +00:00
Simon Michael
8f487ae4be
web: ensure basic black on white body color
2011-07-01 15:28:41 +00:00
Simon Michael
a62c51eff6
web: hide postings in a simpler way not requiring a special style
2011-07-17 16:00:34 +00:00
Simon Michael
613001a468
web: add a missing css class to balance report total
2011-07-17 16:01:14 +00:00
Clint Adams
5ead6d05b1
update to cmdargs 0.8 API
...
Between 0.7 and 0.8, modeArgs changed from
modeArgs :: Maybe (Arg a)
to
modeArgs :: ([Arg a], Maybe (Arg a))
2011-08-30 21:41:25 +00:00
Simon Michael
464d8d4bcb
hledger now detects and runs hledger-* add-ons found in path; many options cleanups
2011-08-22 14:55:39 +00:00
Simon Michael
4104114d4e
harmonise package descriptions, make them hackage-compliant
2011-09-02 00:28:27 +00:00
Simon Michael
9e056d573e
Setup.hs is needed after all, by hackage
2011-09-02 00:29:50 +00:00
Simon Michael
5ce53abe6f
remove all Setup.hs, cabal no longer needs them and helps haddock
2011-06-03 17:09:54 +00:00
Simon Michael
059825a9b2
optionsgeddon.. port to cmdargs and a fully modal cli
2011-08-15 22:50:09 +00:00
Simon Michael
774434fcf2
web: always show empty and boring accounts too
2011-06-14 19:39:49 +00:00
Simon Michael
2d3ac6f032
web: don't run tests when just creating support files
2011-06-14 19:48:52 +00:00
Simon Michael
2bdeb2bf6e
web: run unit tests at startup.. it's handy for development, and why not
2011-06-13 21:44:38 +00:00
Simon Michael
95f461fc94
web: make view data a little easier to construct and customise
2011-07-17 16:03:23 +00:00
Simon Michael
cd0c945454
web: move code to Hledger.Web for importability, consistency
2011-08-05 23:55:57 +00:00
Simon Michael
d1447c984a
web: support wai-handler-devel for auto-rebuilding
...
Eg: hledger-web$ wai-handler-devel 5001 AppRun withWaiHandlerDevelApp
2011-06-03 22:35:22 +00:00
Simon Michael
6496c1ef61
raw journal report -> journal entries report
2011-08-07 16:24:09 +00:00
Simon Michael
12a37612fb
web: refactor: remove unused code
2011-07-17 16:01:55 +00:00
Simon Michael
63f790b94e
small reports cleanups
2011-08-04 08:26:55 +00:00
Simon Michael
ce30cb2cbe
refactor: try to get these report names under control
2011-07-19 00:49:11 +00:00
Simon Michael
0ebdbff17e
web: refactor: use RecordWildCards to reduce verbosity
2011-07-17 16:03:47 +00:00
Simon Michael
e4c4405c62
refactor: simplify some imports
2011-07-17 23:05:56 +00:00
Simon Michael
f9ce624ef0
web: separate journal & register urls, ui tweaks, code refactoring
2011-07-15 21:58:46 +00:00
Simon Michael
5bd606170e
web: sidebar font size/colour tweaks
2011-07-01 00:33:21 +00:00
Simon Michael
35f145f03d
web: 1. move templates back into main code 2. begin adding content titles
2011-07-01 20:37:48 +00:00
Simon Michael
3fcff17f8f
web: cancel link for add form
2011-06-05 19:54:04 +00:00
Simon Michael
e140ffa906
web: consistent font size on edit form
2011-06-05 19:54:27 +00:00
Simon Michael
938adb8a4e
web: add form uses currently focussed account as default from account
2011-06-14 21:26:56 +00:00
Simon Michael
35b3c0d37e
web: simple register balance chart, using flot
2011-06-30 00:29:57 +00:00
Simon Michael
13227cfc13
web: search form tweaks
2011-07-01 00:29:57 +00:00
Simon Michael
3dccfcad68
web: show account+subs by default
2011-07-01 00:32:09 +00:00
Simon Michael
73e5088cbe
web: show +subs link only when there are subaccounts
2011-06-27 13:28:21 +00:00
Simon Michael
3da58052ab
web: register tweaks
2011-06-29 20:31:36 +00:00
Simon Michael
918b3b45a5
web: make register item display a bit more consistent
2011-06-29 20:18:10 +00:00
Simon Michael
64f0c22e25
web: more ui tweaks, all accounts -> general journal, move edit links to sidebar
2011-06-29 23:11:15 +00:00
Simon Michael
bc83e1fba5
web: make current account indicator stand out more
2011-06-14 20:20:15 +00:00
Simon Michael
8dfd504343
web: tooltips everywhere
2011-06-27 13:14:44 +00:00
Simon Michael
20bc969ef0
web: make /journal work as a separate view; use "transactions" on both
2011-06-05 20:12:09 +00:00
Simon Michael
1d898ed239
web: fix always bold postings link
2011-06-05 19:53:49 +00:00
Simon Michael
b732db696a
web: move search form to right pane, update help
2011-06-29 23:44:50 +00:00
Simon Michael
4bb0f2efbd
web: "empty:" to select postings with zero or non-zero amount
2011-06-29 00:53:31 +00:00
Simon Michael
68de79b933
web: search help fix
2011-06-29 00:57:08 +00:00
Simon Michael
6b92997487
web: "real:1" to select real postings (or transactions with real postings)
2011-06-29 00:31:37 +00:00
Simon Michael
11409bb834
web: "status:" to filter by cleared status
2011-06-28 23:18:36 +00:00
Simon Michael
8d0b42e1d5
web: an "a" parameter specifies a query expression for filtering the accounts sidebar
...
Useful for ui experiments, at least
2011-06-28 22:34:45 +00:00
Simon Michael
d343614690
web: "inacctsonly:" narrows the sidebar to current account and subs
2011-06-24 18:52:40 +00:00
Simon Michael
f28fbb4870
web: expand postings on journal register by default, p parameter of 1 or 0 overrides
...
A toggle all link in the column heading is commented out as it's too slow.
2011-06-27 14:07:06 +00:00
Simon Michael
1d0f14e55e
web: style tweaks, ?accounts=0 hides sidebar
2011-06-27 13:15:40 +00:00
Simon Michael
ec426d620c
web: make journal register work like account registers; show multiple postings
2011-06-27 13:14:33 +00:00
Simon Michael
1fe21904eb
fix haddock
2011-06-14 19:15:18 +00:00
Simon Michael
8396f988ad
web: gratuitous accounts sidebar toggle
2011-06-24 18:57:31 +00:00
Simon Michael
b0279cb2df
web: add an all accounts link to sidebar
2011-06-14 20:22:20 +00:00
Simon Michael
f825db1c89
web: update search help and make it slidey
2011-06-24 18:56:50 +00:00
Simon Michael
c2a1a399b6
web: update search help
2011-06-14 20:29:30 +00:00
Simon Michael
b10a52093a
web: account mouse-over links for inaccts: and inacctsonly:
2011-06-24 18:55:16 +00:00
Simon Michael
efbea9d682
web: begin account mouseover links
2011-06-24 14:22:15 +00:00
Simon Michael
9a5e5da3aa
web: show a count of postings in each account
2011-06-11 18:53:56 +00:00
Simon Michael
fb9fb50cfd
web: filterform -> searchform
2011-06-13 20:00:21 +00:00
Simon Michael
ca1f061ec3
web: elide long descriptions/accounts in journal register, like account register
2011-06-24 18:58:16 +00:00
Simon Michael
33a1c6533b
refactor: clarify the two register types, "posting register" and "account register"
...
See the docstrings for details. Possibly temporary names, but at least
make the naming consistent and distinct.
2011-06-24 02:44:31 +00:00
Simon Michael
b165f796cc
web: start txn-centric register refactoring, account register shows most recent first
2011-06-24 01:29:01 +00:00
Simon Michael
c7d1a8afaa
web: borders to indicate day/month transitions
2011-06-14 19:10:03 +00:00
Simon Michael
2320a1610b
web: alternate background color per transaction, not posting, on register view
...
(doesn't yet work for successive identical transactions)
2011-06-05 20:45:58 +00:00
Simon Michael
d35fbac422
web: inacctsubs: includes subs in an account register, with confusing balance
2011-06-14 14:29:31 +00:00
Simon Michael
1a88879734
web: more account register fixes; heading shows "Balance" or "Total" appropriately
2011-06-13 19:49:34 +00:00
Simon Michael
06331c71a8
account register balance not right.. more fixes and plans
2011-06-12 22:35:54 +00:00
Simon Michael
d2e6b8cbae
query parser fixes, add date: and edate: matching
2011-06-12 18:30:18 +00:00
Simon Michael
48f208be8f
web: clicking an account now gives the traditional single-account register report
2011-06-11 18:42:38 +00:00
Simon Michael
5fa829973c
web: fix register headings
2011-06-13 19:36:10 +00:00
Simon Michael
5c8e533ba9
import cleanups
2011-06-06 19:04:21 +00:00
Simon Michael
96aa9bfc76
matcher improvements, tests
2011-06-11 18:35:20 +00:00
Simon Michael
6a185bc51f
refactor: abstract regular expression lib
2011-06-05 18:31:19 +00:00
Simon Michael
5084280879
imports, api cleanup
2011-05-28 04:11:44 +00:00
Simon Michael
b344f797d3
whitespace/quoting utilities
2011-06-05 18:34:12 +00:00
Simon Michael
9734ed47a6
web: acct: -> in:/inacct:, match only one account (CI exact string match on full name), old acct: re-enabled
2011-06-08 22:02:49 +00:00
Simon Michael
2e754b79a2
clarify meaning of balance report item's indent field
2011-06-14 21:28:21 +00:00
Simon Michael
f7956d1ab7
web: account matching works like --related by default; dim excluded accounts
...
A step closer to working like standard accounting programs where you click
an account to see transactions "in" that account. acct:PAT (or just PAT)
now matches the other postings in transactions matching the account
pattern, like ledger --related. When matching an account (or several) this
way, the unmatched accounts are dimmed to clarify what's happening.
Still to do: fix the sign of the running total, and find out how this
style of search will really coexist with the other ways of searching.
2011-06-07 06:11:38 +00:00
Simon Michael
32a1b921df
consolidate new matching support
2011-06-05 18:36:32 +00:00
Simon Michael
e8660d98d8
web: switch to new matchers, account links now show related postings, more ui cleanups
2011-06-05 18:43:06 +00:00
Trygve Laugstøl
635b6c60e7
allow-filtering-on-accounts-for-web-queries
2011-05-31 14:41:55 +00:00
Simon Michael
7c6c90f205
web: begin json support
2011-05-27 22:35:10 +00:00
Simon Michael
f6ec3a7803
web: begin adapting to new search form, starting with /register
2011-06-03 23:15:22 +00:00
Simon Michael
5f9a3aba52
web: hacky changes towards simplifying the web ui
2011-06-03 22:56:24 +00:00
Simon Michael
f2ac47b567
web: cleanup
2011-05-27 06:13:05 +00:00
Simon Michael
b5c39dfa8f
web: add missing templates
2011-05-26 20:36:33 +00:00
Simon Michael
35607f3759
web: cleanup, fixes; migration to yesod 0.8 and filesystem templates is complete
2011-05-27 02:43:03 +00:00
Simon Michael
b51c77032a
web: temporary fix to make edit forms more robust
2011-05-25 02:30:32 +00:00
Simon Michael
0403a5c123
web: make it build again
2011-05-29 05:00:05 +00:00
Simon Michael
f713022e50
web: get forms somewhat working
2011-05-25 03:04:49 +00:00
Simon Michael
94f3ba10bf
web: move all hamlet to the filesystem, for now; cleanups
2011-05-25 02:30:00 +00:00
Simon Michael
6c6e6d4caa
web: Controller -> AppRun
2011-05-25 00:45:52 +00:00
Simon Michael
910e5c2bee
bump version
2011-09-02 00:42:50 +00:00
Simon Michael
de8943b01b
web: begin moving inline templates to files
2011-05-24 20:10:17 +00:00
Simon Michael
dc6c3dec76
web: more yesod 0.8 migration; adopt the scaffolding app's layout, slightly simplified
2011-05-24 04:27:37 +00:00
Simon Michael
274d072c4d
web: show a clearer "hledger-web" in header
2011-04-23 14:46:05 +00:00
Simon Michael
024cfdb7b1
web: upgrade to yesod 0.8
2011-05-21 02:52:42 +00:00
Simon Michael
ac5059ea53
bump version
2011-05-24 04:28:21 +00:00
Simon Michael
6a845eb5e4
i18n: always read and write UTF-8, ignoring current locale ( #34 )
...
Also remove a bunch of CPP conditions.
Uses the GHC-version-independent UTF-8 layer from pandoc.
2011-01-21 01:24:51 +00:00
Simon Michael
ce4347a2be
move hidden add/edit/import forms below main content to help text-mode browsers a bit ( #33 )
2011-01-21 02:57:06 +00:00
Simon Michael
ad4ae66d28
make edit form more cross-browser compatible, fixing it in firefox ( #38 )
2011-01-21 02:54:42 +00:00
Simon Michael
7e3ca0fe75
add missing Setup.hs in hledger-web,vty,chart
2011-04-18 08:06:35 +00:00
Simon Michael
961a6f09eb
docs: update copyright dates
2011-04-18 17:36:28 +00:00
Simon Michael
7ee69f5ed8
docs: harmonise/update package descriptions
2011-04-19 00:50:47 +00:00
Simon Michael
e973868995
bump version
2011-04-18 06:53:50 +00:00
Simon Michael
9f66549b5a
bump version to alpha
2011-01-21 01:27:39 +00:00
Simon Michael
811e71aba7
price precisions don't influence display precision; balancing is based on display precision ( #23 )
...
Like ledger, price amounts are now "unobserved", ie their precision does
not affect the canonical display precisions used when displaying amounts,
and transaction balancing is done based on display precision, ie amounts
are considered to balance if their sum appears to be zero when using the
canonical display precision.
2010-11-14 22:44:37 +00:00
Simon Michael
a3a7a346ac
uniquify reader module names
2010-11-15 07:01:46 +00:00
Simon Michael
1d4e249ada
web: require newer hamlet to encourage cabal install
2010-11-18 23:16:47 +00:00
Simon Michael
4e672f1722
comments
2010-11-19 17:25:39 +00:00
Simon Michael
1daed8120e
bump all but chart to beta status
2010-11-26 19:59:23 +00:00
Simon Michael
4a7ad12271
web: hide run-time hamlet experiments for now
2010-11-27 01:08:22 +00:00
Simon Michael
d00ae908de
web: cleanup, hide unused support files
2010-11-27 00:36:30 +00:00
Simon Michael
dc915edb9a
web: add template files I forgot
2010-09-12 02:29:25 +00:00
Simon Michael
8740fec8aa
web: update to current yesod (0.6.1.2)
2010-11-15 23:25:55 +00:00
Simon Michael
577b7fabff
web: fix add/edit forms
2010-11-29 00:01:52 +00:00
Simon Michael
27ad4d7efe
briefer, more informative usage error messages
2010-11-29 01:08:19 +00:00
Simon Michael
93b1f2b0ca
more correct args parsing, fix account filtering in hledger-web
2010-11-29 00:37:21 +00:00
Simon Michael
c6a85c4b88
packagegeddon: make usage and version messages specific to each add-on program
...
All this stuff has been split up, except for the moment it's still
necessary to define all option constructors in Hledger.Cli.Options.
2010-11-26 19:14:09 +00:00
Simon Michael
f58ce26407
fix haddock breakage
2010-11-19 20:14:48 +00:00
Simon Michael
fd10736373
refactor: consistent main modules in add-ons
2010-11-25 07:10:38 +00:00
Simon Michael
1127c3f52f
flatten modules a little
2010-11-15 06:48:49 +00:00
Simon Michael
3ca0303a88
web: make safe dependency consistent with other packages to help cabal-install
2010-11-29 23:24:18 +00:00
Simon Michael
7a9d794c49
web, vty: update dependencies
2010-11-25 17:14:06 +00:00
Simon Michael
63a438190c
web: update support files list in .cabal
2010-11-29 23:56:59 +00:00
Simon Michael
b5e1c42cc4
web: auto-create all required support files in ./.hledger/web at startup
...
This is a compromise to ease deployment and satisfy hamlet's requirements.
See the Hledger.Web.Files module for more info. Currently we exit after
creating the missing files since they are not created early enough for
hamlet.
2010-11-18 00:53:41 +00:00
Simon Michael
e04d44a745
web: disable persistence/authentication support for now
2010-11-15 23:25:32 +00:00
Simon Michael
8dd52decb2
web: simplify support files layout, look for them in ./.hledger/web/
2010-11-16 17:13:32 +00:00
Simon Michael
4e0df9daa8
web: flatten image dir
2010-09-12 02:21:41 +00:00
Simon Michael
032cd54a7f
web: let account names with spaces wrap
...
This grieves me, but it helps keep everything visible without horizontal scrolling
2010-12-05 20:09:23 +00:00
Simon Michael
f2f27dbd5f
web: make accounts heading and "show more" links more styleable
2010-12-05 20:10:08 +00:00
Simon Michael
928ea7b104
web: border styles
2010-11-29 16:19:21 +00:00
Simon Michael
c3c20492bf
web: more robust layout with wide content, style cleanups
2010-11-28 14:57:23 +00:00
Simon Michael
e1bd767f61
web: refactor: begin layout cleanup
2010-11-27 22:11:12 +00:00
Simon Michael
6aff8134b6
web: allow single- or double-quoted filter patterns containing spaces
2010-12-05 20:11:55 +00:00
Simon Michael
dbba128f29
web: sync with recent refactoring
2010-11-15 23:01:47 +00:00
Simon Michael
355b09e5e3
web: handle multiple account filter patterns correctly
2010-11-29 16:33:05 +00:00
Simon Michael
3fc9ecb876
web: also record the hledger version when creating support files
2010-12-06 01:50:18 +00:00
Simon Michael
15518da4ac
bump version
2010-12-06 18:37:10 +00:00
Simon Michael
7714bab58d
web: offer a choice of files to edit when there are multiple (included) files
2010-09-24 01:56:11 +00:00
Simon Michael
96036e56a0
docs: comments
2010-09-22 21:51:25 +00:00
Simon Michael
63531f8adc
web: update for cassius, julius, template reloading, authentication, persistence
2010-09-11 01:47:46 +00:00
Simon Michael
eef95e4b7f
fix cabal warnings
2010-12-07 02:15:49 +00:00
Simon Michael
9cb716d002
packagegeddon.. split off web/chart/vty, move hledger to a subdir
2010-09-09 22:54:34 +00:00