Simon Michael
8a7905ac73
;doc: changelogs
...
[ci skip]
2019-08-19 12:03:54 +01:00
Simon Michael
e70c7123b7
web: ?sidebar= hides the sidebar, like ?sidebar=0
2019-08-17 17:17:30 +01:00
Simon Michael
ef1bd24edc
web: don't disable /add PUT with --serve-api, that's considered API
2019-08-17 17:17:30 +01:00
Simon Michael
a154ea72c0
web: with --serve-api, also disable the header/sidebar HTML
2019-08-17 17:17:30 +01:00
Simon Michael
c3da82043b
web: --serve-api disables server-side UI; startup logging cleanups
2019-08-16 23:55:56 -07:00
Simon Michael
c7f9356fd1
;doc: edit changelogs
...
[ci skip]
2019-07-25 12:33:58 +01:00
Simon Michael
030a409dd3
;doc: update changelogs
...
[ci skip]
2019-07-25 08:48:01 +01:00
Caleb Maclennan
11d9e5eb6a
code: Strip extraneous trailing whitespace from Haskell sources
2019-07-15 16:40:49 +01:00
Simon Michael
7d5f33441e
;doc: draft changelogs
...
[ci skip]
2019-07-12 23:24:10 +01:00
Simon Michael
a6e9b11a54
;cabal: bump tested-with, regen cabal files
...
[ci skip]
2019-07-12 23:24:10 +01:00
Simon Michael
6a62bd6437
web, api: update for MarketPrice/PriceDirective change
2019-06-13 15:50:01 -07:00
Simon Michael
adb6ee40eb
lib: clarify price types ( #131 )
...
dropped journalPrices
renamed Price to AmountPrice, AKA "transaction price"
renamed MarketPrice to PriceDirective.
added new MarketPrice (more pure form of PriceDirective without the amount style information)
Prices is now a more efficient data structure, but not used yet.
2019-06-13 15:50:01 -07:00
Henning Thielemann
1fa4419cd1
web: register page: clip linked accounts to 40 characters
...
This was the behaviour before adding the links.
2019-06-13 10:12:44 -07:00
Henning Thielemann
adbdbf002c
web: avoid spaces before commas in register account links
2019-06-13 10:12:44 -07:00
Henning Thielemann
ac96bcfdf0
web: add links to accounts in register transactions
2019-06-13 10:12:44 -07:00
Simon Michael
233f72b7bf
; ui, web: mention out-of-step server clock issue for file reloading
...
[ci skip]
2019-06-11 10:20:57 -07:00
Simon Michael
faf85d91e3
cli: restore --aux-date and --effective as --date2 aliases ( #1034 )
...
These Ledger-ish spellings were dropped over the years, to improve
--help's layout. Now they work again, but are considered hidden flags
so --help doesn't show them automatically (but I decided to mention
them manually in --date2's description).
2019-06-02 08:48:41 -07:00
Simon Michael
5e54920160
;regen embedded manuals
2019-05-23 22:26:43 -07:00
Simon Michael
7ef3ddd1e6
web: fix build breakage
2019-05-23 22:25:28 -07:00
Simon Michael
20bc386b80
restore TransactionsReport
...
hledger-web's register chart uses it, I didn't see it
because it's called from a hamlet template.
2019-05-23 22:15:40 -07:00
Simon Michael
54c1529638
lib: drop TransactionsReport, BalanceHistoryReport
...
They seem unused.
2019-05-23 21:55:19 -07:00
Simon Michael
dfb9574433
;doc: web: improve /add docs ( #1026 )
...
[ci skip]
2019-05-14 09:27:41 -07:00
Simon Michael
71ec1e3986
;doc: web: document /add PUT ( #1026 )
...
[ci skip]
2019-05-14 09:22:50 -07:00
Simon Michael
cca0b7aec6
;update changelogs
2019-05-04 12:21:54 -07:00
Simon Michael
c9e16b83ef
; propagate dev version bump
2019-03-20 17:13:59 -07:00
Simon Michael
124aaffd34
; merge latest changelogs
2019-03-20 16:18:04 -07:00
Simon Michael
3d206ad6bd
; changelogs from 1.14 branch
2019-03-20 16:18:04 -07:00
Simon Michael
fee0e39320
; lib, cli, ui, web, api: bump to dev version
2019-03-20 16:18:04 -07:00
Simon Michael
7c14e10858
web: /accounts: return all accounts, not just top-level ones ( #985 )
...
Accounts are returned as a flat list, in tree order, with asubs fields
empty.
2019-03-09 15:47:06 -08:00
Simon Michael
92fb24b1af
web: note some Account JSON issues ( #985 )
...
[ci skip]
2019-03-09 15:28:30 -08:00
Simon Michael
928ddfeb13
bump hledger version to 1.14.1, and other pkgs' lower bounds
2019-03-01 18:39:25 -08:00
Simon Michael
172dbc7a90
doc: changelogs
...
[ci skip]
2019-03-01 17:46:37 -08:00
Simon Michael
0cd5545e26
regen cabal files/manuals
...
[ci skip]
2019-03-01 16:17:25 -08:00
Simon Michael
68e5c41d52
bump version, manual dates
...
[ci skip]
2019-03-01 16:11:15 -08:00
Simon Michael
9fab3257e8
regen cabal files
2019-03-01 15:44:40 -08:00
Simon Michael
9bb6f75bc8
update tested-with, add ghc 8.6
...
[ci skip]
2019-03-01 15:10:42 -08:00
Simon Michael
16157bc711
lib, web: tweaks to keep building with GHC 7
2019-03-01 15:07:17 -08:00
Jakub Zárybnický
6becbc78f3
cli, web, ui: Replace withJournalDo* variants
2019-03-01 05:42:30 -08:00
Simon Michael
8cf39e55e0
web: more Decimal FromJSON notes
...
[ci skip]
2019-02-21 17:13:47 -08:00
Simon Michael
115643a024
web: silence one more pesky warning
2019-02-20 20:45:09 -08:00
Simon Michael
0bc16d4af6
lib, cli, web: rename porigin -> poriginal
2019-02-20 20:23:54 -08:00
Simon Michael
2dc716cdb4
web: support adding new transactions via JSON PUT ( #316 )
...
A single transaction can be added by PUT to /add.
(I read that PUT, not POST, should be used to create;
perhaps the web add form should also use PUT ?)
As with the web form, the `add` capability is required (and enabled by
default).
Here's how to test with curl:
$ curl -s http://127.0.0.1:5000/add -X PUT -H 'Content-Type: application/json' --data-binary @in.json; echo
New readJsonFile/writeJsonFile helpers in Hledger.Web.Json
are handy for generating test data. Eg:
>>> writeJsonFile "in.json" (head $ jtxns samplejournal)
2019-02-20 20:23:51 -08:00
Simon Michael
b46212ae50
web: better ToJSON instances, new FromJSON instances, utilities ( #316 )
2019-02-20 20:23:45 -08:00
Simon Michael
8620e5414f
regen manuals
...
[ci skip]
2019-02-20 17:37:25 -08:00
Jakub Zárybnický
861baadb2b
web: Re-add 'balanced transaction' validation to add form
2019-02-20 14:57:04 -08:00
Simon Michael
7e0b74d431
web: fix warnings
2019-02-19 07:29:08 -08:00
Simon Michael
d262dff272
web: doc: move OPTIONS up
...
[ci skip]
2019-02-18 23:59:46 -08:00
Simon Michael
afd7931ca0
web: add the same 6 JSON routes as in hledger-api ( #316 )
2019-02-18 23:57:58 -08:00
Simon Michael
9a49b813c1
web: manual updates, mention the spanner
...
[ci skip]
2019-02-18 15:01:36 -08:00
Simon Michael
34c43489f8
web: document --capabilities/--capabilities-header, editing
...
[ci skip]
2019-02-18 14:40:14 -08:00