Simon Michael
c53005f121
doc: punctuation, doesn't look right
2016-09-22 11:13:42 -07:00
Simon Michael
4c313be10e
reorder yaml files consistently
2016-08-09 11:39:42 -07:00
Simon Michael
570de3a0a5
format package descriptions more nicely
2016-08-09 11:29:17 -07:00
Simon Michael
0302be1b15
tools: fix tested-with in package.yamls
2016-08-09 07:57:30 -07:00
Simon Michael
d165600155
lib, cli, web, api: use hpack (package.yaml) for all packages at last #371
...
Generated package.yaml files from the old cabal files with hpack-convert,
removed some problematic blank lines manually,
regenerated the cabal files from the package.yaml files with hpack.
Tests pass, looks like all the info is still there.
This means that from now on, we don't edit cabal files directly.
We edit the less verbose package.yaml files. stack will update
the cabal files automatically (or non-stack users can use hpack).
The changes to both are committed, as we still want to provide
the cabal files to downloaders.
2016-08-09 07:24:57 -07:00
Simon Michael
7aa23f6ca2
doc: update generated manuals, and show 0.28dev there
2016-08-08 06:49:50 -07:00
Simon Michael
1a29d9cc02
doc: better doc version indicator, on 0.27 manual too #385 , #387
2016-08-07 08:44:06 -07:00
Simon Michael
9ccd4e226f
doc: update generated manuals
2016-07-06 15:17:09 -07:00
Simon Michael
68a1a8687a
doc: generate really plain text manuals
...
Drop the nice ansi highlighting that won't work everywhere,
the unpredictable unicode hyphens, etc.
2016-06-11 21:34:20 -07:00
Simon Michael
e6769b26fc
doc: more macros, less redundancy, cleanups
2016-06-09 18:07:08 -07:00
Simon Michael
7f26f991ba
ui, api: fix/update microlens, microlens-platform dependency
2016-06-09 09:49:16 -07:00
Simon Michael
5c657dbd81
ui: switch to the more complete microlens-platform
2016-06-08 15:44:08 -07:00
Simon Michael
f21e9d1c25
doc: more deduplication of options help
...
Help for reporting options is now also defined once in lib.m4
(in addition to CliOptions.hs). Also fixed some duplication of general
options in docs. hledger-* manuals now include the full list of general
and reporting options; we assume that any inapplicable options get
harmlessly ignored and that this will not surprise users.
2016-06-03 09:38:06 -07:00
Simon Michael
a961988a88
bump cabal versions to 0.28
2016-05-29 00:00:59 -07:00
Simon Michael
f0baa30db0
doc: another help flag consistency fix
2016-05-28 23:51:14 -07:00
Simon Michael
656734ccd3
doc: define general options once
...
Well, twice: in lib.m4 and in CliOptions.hs. But no longer in every man page.
2016-05-28 23:50:37 -07:00
Simon Michael
df07ad0109
doc: parameterise and bump docs version to 0.28
2016-05-28 23:31:44 -07:00
Simon Michael
0f5ee154c4
lib: simplify parsers; cleanups ( #275 )
...
The journal/timeclock/timedot parsers, instead of constructing (opaque)
journal update functions which are later applied to build the journal,
now construct the journal directly (by modifying the parser state). This
is easier to understand and debug. It also removes any possibility of
the journal updates being a space leak. (They weren't, in fact memory
usage is now slightly higher, but that will be addressed in other ways.)
Also:
Journal data and journal parse info have been merged into one type (for
now), and field names are more consistent.
The ParsedJournal type alias has been added to distinguish being-parsed
and finalised journals.
Journal is now a monoid.
stats: fixed an issue with ordering of include files
journal: fixed an issue with ordering of included same-date transactions
timeclock: sessions can no longer span file boundaries (unclocked-out
sessions will be auto-closed at the end of the file).
expandPath now throws a proper IO error (and requires the IO monad).
2016-05-23 00:44:19 -07:00
Simon Michael
89b1cd1e5b
doc: readme for doc directories
2016-05-17 10:03:57 -07:00
Simon Michael
207922a023
lib: Commodity now has a CommoditySymbol and style
2016-05-08 08:07:27 -07:00
Simon Michael
7ec3ebb66b
update tested-with
...
Note we seem to have lost GHC 7.4 compatibility. It should be fixable if
anyone cares.
2016-04-28 17:32:17 -07:00
Simon Michael
91847fc6fd
data-files does not support wildcards after all
2016-04-20 13:23:05 -07:00
Simon Michael
33b5c5dc94
declare generated docs as data-files, sync hpack yamls
2016-04-20 12:47:17 -07:00
Simon Michael
80948d1db7
doc: also commit info files, should fix travis
2016-04-20 12:47:17 -07:00
Simon Michael
42c12fe631
cli, ui, web, api: --info, --man, info & man cmds
2016-04-19 19:21:29 -07:00
Simon Michael
3d129f6d31
shake: also generate info manuals
2016-04-18 17:54:55 -07:00
Simon Michael
165bf008da
site: api: hide link to non-existent released doc
2016-04-18 17:17:33 -07:00
Simon Michael
53e8b928ea
api: document the --swagger option
2016-04-18 17:07:11 -07:00
Simon Michael
d317836442
api: add options to manual
2016-04-18 17:01:16 -07:00
Simon Michael
f9362707b6
ui, web, api: fix -h, --help
2016-04-18 16:43:51 -07:00
Simon Michael
82f35dddd0
doc: m4 macro for web table of contents
2016-04-16 11:00:39 -07:00
Simon Michael
4c291dc54e
doc: use macros not divs to select web/man content
...
Use slightly clearer m4 macros instead of special divs to mark content
as web only/man only. The temporary doc/*.md files are no longer needed,
slightly more redundant work is done.
2016-04-16 10:09:51 -07:00
Simon Michael
130d259cb1
site: show version links on manuals
2016-04-16 04:44:33 -07:00
Simon Michael
6a97a246dd
doc: use m4 for all manuals, shake cleanup
2016-04-16 03:50:30 -07:00
Simon Michael
e4cff6a30f
tools: .ghci for each package, sets shorter prompt
2016-04-15 16:06:45 -07:00
Simon Michael
b73bcda52a
include txt man pages in cabal tarballs
2016-04-13 22:38:53 -07:00
Simon Michael
bfa5e14373
doc: generate (and commit) text-rendred man pages
...
Intended for embedding in executables. Quick implementation,
hopefully these are fixed-width and compatible with all terminals.
2016-04-13 22:29:16 -07:00
Simon Michael
588f36d662
rename timelog format to timeclock
2016-04-12 21:13:19 -07:00
Simon Michael
8ee0c7fa76
doc: update man pages
2016-04-12 20:31:17 -07:00
Simon Michael
b4d491791c
doc: include nroff man pages in cabal tarballs
2016-04-12 11:25:46 -07:00
Simon Michael
5e71d749c4
doc: ensure all five main packages have a README
2016-04-12 11:13:01 -07:00
Simon Michael
febfa3fd0f
doc: commit missing hledger-api nroff
2016-04-10 12:07:22 -07:00
Simon Michael
443b870481
site: fix man page TOCs, add combined man page
2016-04-07 08:55:21 -07:00
Simon Michael
24c2e7d471
doc: move man page source and nroff to PKG/doc/
2016-04-06 08:16:38 -07:00
Simon Michael
eab6b110bc
tools: simplify doc filtering class names
2016-04-05 16:17:08 -07:00
Simon Michael
9439d1a611
require stackage nightly, for newer pandoc/swagger
...
Move to a newer stackage snapshot. This helps ensure a new-enough pandoc
will more be available for doc building without needing extra
compilation. Also we get to use the latest swagger and servant-swagger
for hledger-api, but we have to go to stackage nightly. With luck there
will be a lts 6 before next hledger release.
2016-04-05 16:17:08 -07:00
Simon Michael
f331ebec16
ui, api: switch to the quicker-building microlens
...
This may not make much difference since dependencies brick and
servant-swagger still depend on lens, but that might change.
2016-04-04 17:50:58 -07:00
Simon Michael
2dbe07a666
doc: mark up man pages for man/web rendering
...
And commit the latest nroff output. It'll need retesting.
2016-02-21 02:32:40 -08:00
Simon Michael
494c74f81b
tools: hide package.yaml files to fix travis
...
The latest stack runs a buggy hpack that generates invalid
cabal files. Rename them to future-package.yaml for now.
2016-02-20 19:07:49 -08:00
Simon Michael
5697fbbd43
api: drop redundant imports
2016-02-19 17:52:40 -08:00
Simon Michael
0ab008ed5e
api: merge tomk's WIP angular client, cleanups
...
- api routes (but not /swagger.json) are now under /api/v1
- the api has changed a bit, more to come
- files are served from the current directory by default, simplifying naming
- the startup message is more informative
- added some startup hints for the angular client
2016-01-24 13:37:34 -08:00
Simon Michael
f083a88e76
api: /swagger.json serves swagger 2.0 api docs
2016-01-21 14:49:28 -08:00
Simon Michael
b9b1cff22d
api: --swagger shows swagger 2.0 api docs
2016-01-21 14:16:00 -08:00
Thomas R. Koll
1d18bf2a0f
api: /accounts to return only the top accounts
2016-01-19 10:35:28 +01:00
Thomas R. Koll
ee2c06c320
api-client: Use accounts.asub instead of children, needs fixing of the api
2016-01-19 10:13:01 +01:00
Thomas R. Koll
6733599a5f
api-client: Move around files and prepare to show account transactions
2016-01-19 10:02:16 +01:00
Thomas R. Koll
efd1d8cdcd
api: stuff all the endpoints under /api/v1/
2016-01-19 09:15:59 +01:00
Thomas R. Koll
60de5a0df4
api: move endpoint for accounttransaction to /account/:name
2016-01-19 09:11:39 +01:00
Thomas R. Koll
2e8da54512
api: Client sidebar looks okay for now #316
2016-01-18 22:04:42 +01:00
Thomas R. Koll
619ea9906c
api: Move client files and get a basic dashboard working
2016-01-18 21:09:16 +01:00
Simon Michael
ae9defb718
api: --static-dir/-d option
2016-01-18 09:37:34 -08:00
Simon Michael
69e2218b09
api: drop /reports prefix; cleanup
2016-01-18 09:09:09 -08:00
Thomas R. Koll
5e3d6d6d3d
Merge remote-tracking branch 'sm/master'
2016-01-18 17:59:49 +01:00
Simon Michael
fb32d54a90
api: also serve files from static/; drop ServerT
2016-01-18 08:46:56 -08:00
Simon Michael
cabcd80ad5
api: cleanup
2016-01-17 11:07:26 -08:00
Simon Michael
ab1d47cfe2
api: /reports/accounttransactions/ACCTNAME
2016-01-17 10:19:48 -08:00
Simon Michael
798f4e82d0
api: /accounts returns Accounts, /accountnames just the names
2016-01-17 09:33:24 -08:00
Thomas R. Koll
39682a0078
List accounts in a recursive tree #316
2016-01-12 11:15:51 +01:00
Thomas R. Koll
4b9f03a23e
Start using bootstrap css for web-ui #316
2016-01-12 11:15:51 +01:00
Thomas R. Koll
2e625fdaee
Would actually list the accounts in web-ui if it wasn't for cross-site-protection #316
2016-01-12 11:15:51 +01:00
Thomas R. Koll
88d8f975ed
Start client app using AngularJS #316
2016-01-12 11:15:51 +01:00
Simon Michael
b7c178fb5d
api: example 2
2016-01-10 11:17:48 -08:00
Simon Michael
c7b138a2f6
api: /prices, /commodities, cleanup
2016-01-10 08:58:40 -08:00
Simon Michael
78b1b1b84e
api: /transactions method
2016-01-10 08:32:42 -08:00
Simon Michael
4a552e6388
api: refactor, try docopt
2016-01-10 07:09:25 -08:00
Simon Michael
bd023134f2
api: first app! lists account names
2016-01-09 15:54:22 -08:00
Simon Michael
93826fdc85
api: first handler, GET /accounts
...
Serves the account names from the default journal file (as JSON, on port 8001).
2016-01-09 15:22:28 -08:00
Simon Michael
4c972fabf2
api: forgot examples dir
2016-01-09 08:19:19 -08:00
Simon Michael
68f56764ab
api: begin a web API server with examples ( #316 )
2016-01-09 07:48:24 -08:00