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
036110529a
site: fix stylesheet after switching site to https
2019-02-27 21:27:29 -08:00
Simon Michael
7a4376100c
site: home: wiki links
2019-02-27 21:16:48 -08:00
Simon Michael
bdaab6a1b6
site: home: wiki links
2019-02-26 17:13:30 -08:00
Simon Michael
ff7395bb32
Shake clean: don't remove version-controlled command help files
...
[ci skip]
2019-02-26 10:14:29 -08:00
Simon Michael
a3ae68020f
regen manuals
...
[ci skip]
2019-02-26 10:13:50 -08:00
Simon Michael
1c2bf7e784
site: home: wiki links
2019-02-24 21:33:00 -08:00
Simon Michael
3dbd1378de
bal: doc: clarify budget report differences; drop sorting limitation
...
[ci skip]
2019-02-24 21:09:59 -08:00
Simon Michael
b2d5019e06
make: fix ghc invocations
...
[ci skip]
2019-02-24 16:22:51 -08:00
Simon Michael
8cf39e55e0
web: more Decimal FromJSON notes
...
[ci skip]
2019-02-21 17:13:47 -08:00
Simon Michael
420eef4a40
lib: fix some transaction balancing cases
...
I needed to be more careful about ordering, as johannesgerer's original
code was, and the tests missed it. I think I have it now.
Found the PR whose code I have been reworking, it was #438 .
2019-02-21 16:50:32 -08:00
Simon Michael
ca565795ad
lib: transaction, [v]post*, balassert* constructors, for tests etc.
2019-02-21 16:20:04 -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
782e6d3272
collect some langage pragmas in dev.hs
2019-02-20 18:08:33 -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
ba850f3871
lib: more transaction balancing/assertions/assignments cleanup
2019-02-20 09:14:30 -08:00
Simon Michael
8789a442a8
lib: inclusive balance assertions (=* and ==*)
2019-02-20 09:14:30 -08:00
Simon Michael
3b47b58aec
lib: clarify transaction balancing & balance assertion checking
2019-02-20 09:14:30 -08:00
Simon Michael
cf52eb1e42
site: download: system packages: more tweaks
...
[ci skip]
2019-02-20 09:14:30 -08:00
Simon Michael
d309795aff
site: download: update system packages, add repology badges
...
[ci skip]
2019-02-19 23:28:56 -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
3d0d55ecf8
api: cleanups, simplify ToJSON instances
2019-02-18 22:55:55 -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
Simon Michael
10b45c75aa
web: fix tooltips showing transactions ( fixes #927 )
2019-02-18 07:55:29 -08:00
Simon Michael
024bd944a1
make: tweak build flags
...
[ci skip]
2019-02-17 19:50:59 -08:00
Simon Michael
ea258d77c6
doc: intro: fix hledger-web link
...
[ci skip]
2019-02-17 18:32:33 -08:00
Simon Michael
23910cfe1f
site: download: bump brew's version
...
[ci skip]
2019-02-17 18:30:40 -08:00
Simon Michael
5538015957
doc: intro: link to hledger.alhur.es GHCJS demo
...
[ci skip]
2019-02-17 18:22:30 -08:00
Simon Michael
b34b262c76
lib: document mapM'
...
[ci skip]
2019-02-17 08:36:59 -08:00
Jakob Schöttl
49f286dc70
Fix CLI help text
2019-02-17 06:55:01 -08:00
Simon Michael
01f7f8b59b
site: download: drop homebrew warning
...
[ci skip]
2019-02-16 10:36:36 -08:00
Jakob Schöttl
1df99d922a
Update demonstration video
2019-02-16 06:52:21 -08:00
Jakob Schöttl
7bf71e709c
Bugfix: long options must start with a letter
2019-02-16 06:52:21 -08:00
Jakob Schöttl
ea21d45d3f
Make completions work for hledger-*
2019-02-16 06:52:21 -08:00
Jakob Schöttl
966d949807
Update completion
2019-02-16 06:52:21 -08:00
Jakob Schöttl
1a88ee6265
Add some external commands to completion
2019-02-16 06:52:21 -08:00
Jakob Schöttl
f989d6124d
Update bash completion script
...
This removes duplicate options from the completion, does not list -h as
command anymore, and adds the latest options (i.e. register --invert).
2019-02-16 06:52:21 -08:00
Jakob Schöttl
550f47b3fa
Some fixes in hledger help output parsing
2019-02-16 06:52:21 -08:00
Simon Michael
bc7a1476ed
refactor: lib: hlint cleanups
2019-02-14 05:15:49 -08:00
Simon Michael
03877057fb
refactor: cli: commands: hlint clean
2019-02-14 05:15:49 -08:00
Simon Michael
b7d0724b70
hlint: ignore some things used for readability
...
[ci skip]
2019-02-14 05:15:49 -08:00
Simon Michael
226add41d3
lib: slight cleanup (spelling, hlint)
...
[ci skip]
2019-02-14 05:15:49 -08:00