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