Simon Michael
47f3ebf25a
api: remove some hard-coded version numbers
2019-02-03 15:19:42 -08:00
Simon Michael
40d1572359
bump version to 1.13
2019-02-01 17:19:19 -08:00
Simon Michael
d094138910
api: fix recent build breakage
2019-01-24 14:40:55 -08:00
Simon Michael
0ed3ec08fa
bump version to 1.12.99
2019-01-05 07:35:54 +00:00
Simon Michael
67d7c82e9f
bump version to 1.12
2018-12-02 17:20:34 -08:00
Samuel May
cde91fc5f4
lib: Make BalanceAssertion a full datatype
...
Note: simplifies/moves whitespace parsing out of the balance assertion
parser.
2018-10-22 09:55:14 -07:00
Simon Michael
ff2a546319
bump version to 1.11.99
2018-10-06 09:42:12 -10:00
Simon Michael
b798c48040
bump version to 1.11
2018-09-30 20:07:45 -10:00
Simon Michael
d62f082bce
bump version to 1.10.99 (dev)
2018-07-04 13:32:42 +01:00
Simon Michael
6242b1d784
bump version to 1.10
2018-06-30 22:08:02 +01:00
Dmitry Astapov
f6ec26e321
lib, app, web, ui: rename readJournalFile[s]WithOpts to readJournalFile, same for tryReader[s]WithOpts
2018-04-17 15:25:02 -07:00
Dmitry Astapov
37607beaea
lib, app, web: use readJournalFileWithOpts instead of readJournalFile whenever possible
2018-04-17 14:33:32 -07:00
Dmitry Astapov
ecf49b1e4b
lib: auto postings generated before amount inference and balance checks ( #729 )
2018-04-17 14:33:32 -07:00
Simon Michael
4ea02bf1cb
bump version to 1.9.99
2018-04-04 17:53:38 +01:00
Simon Michael
2db2010e40
bump version to 1.9, bump manual date
2018-03-31 19:15:24 +01:00
Simon Michael
bc3f5c476c
bump version to 1.5.99
2018-01-04 10:15:03 -08:00
Simon Michael
52c3884ab7
bump version strings & bounds to 1.5
2017-12-31 10:20:48 -08:00
Simon Michael
efdee17aae
bump version strings & lower bounds to 1.4.99
2017-12-22 10:13:37 -08:00
Simon Michael
4a49b86175
bump version strings & lower bounds to 1.4
2017-09-30 11:44:53 -10:00
Simon Michael
4be996ba89
api: add support for swagger2 2.1.5+ ( fixes #612 )
2017-09-22 08:21:11 -10:00
Simon Michael
a3ac03a9e3
api: require servant-server 0.10+ to fix compilation warning
2017-08-24 17:06:46 -07:00
Simon Michael
5706353881
bump version strings & lower bounds to 1.3.99
2017-07-31 14:02:35 -07:00
Simon Michael
8fb0b6886c
api: show program name in --version output, like other tools
...
[ci skip]
2017-07-17 17:39:23 +01:00
Simon Michael
7e896572a7
make --help and -h the same, drop --man and --info for now ( #579 )
2017-07-07 02:08:34 +01:00
Simon Michael
c4248072db
doc: bump version to 1.3, update builtin manuals
2017-06-30 20:45:50 +01:00
Simon Michael
dcc58d4a2b
lib: rename ClearedStatus type to Status
...
(and fix hard-coded enum count)
2017-06-15 19:16:39 -07:00
Simon Michael
af11cd6243
bump package versions to 1.2.98 (1.3 alpha)
2017-06-06 09:21:51 -07:00
Simon Michael
1850fb732f
bump version to 1.2
2017-03-31 17:58:11 -07:00
Simon Michael
7df15a8279
doc: flags/usage/manual cleanups
2017-03-29 14:20:30 -07:00
Simon Michael
631a95ba9c
bump version to 1.1.98 (1.2 alpha)
2017-01-05 10:43:06 -08:00
Simon Michael
14c8e4d8f7
bump version to 1.1
2016-12-31 07:54:47 -08:00
Simon Michael
b8d1698865
api: serve on 127.0.0.1 by default, add --host ( fixes #432 )
...
Consistent with hledger-web now: serves only local requests by default,
uses --host to change this.
2016-11-21 08:01:06 -08:00
Simon Michael
8c1fca78ee
api: fix the version string in help and swagger
2016-11-21 07:56:53 -08:00
Simon Michael
3efa123812
api: add request logging
2016-09-22 11:56:38 -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
207922a023
lib: Commodity now has a CommoditySymbol and style
2016-05-08 08:07:27 -07:00
Simon Michael
42c12fe631
cli, ui, web, api: --info, --man, info & man cmds
2016-04-19 19:21:29 -07:00
Simon Michael
f9362707b6
ui, web, api: fix -h, --help
2016-04-18 16:43:51 -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
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
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
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
Simon Michael
fb32d54a90
api: also serve files from static/; drop ServerT
2016-01-18 08:46:56 -08:00