Stephen Morgan 
							
						 
					 
					
						
						
						
						
							
						
						
							74778efcf5 
							
						 
					 
					
						
						
							
							Use nubSort instead of nub . sort.  
						
						
						
					 
					
						2020-01-04 08:31:10 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							46d516e7a3 
							
						 
					 
					
						
						
							
							move JSON instances from hledger-web to hledger-lib  
						
						
						
					 
					
						2019-12-16 17:17:00 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							093dca570d 
							
						 
					 
					
						
						
							
							lib, cli, web: bump version to 1.16.1  
						
						
						
					 
					
						2019-12-03 08:41:44 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b7bea5698e 
							
						 
					 
					
						
						
							
							web: drop old dependency on json ( #1190 )  
						
						
						
					 
					
						2019-12-03 08:41:44 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							0ce890e5ff 
							
						 
					 
					
						
						
							
							lib, cli, web: drop unnecessary mtl-compat dependency  
						
						
						
					 
					
						2019-12-02 08:23:00 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6daebf60ea 
							
						 
					 
					
						
						
							
							;regen cabal files  
						
						
						
					 
					
						2019-12-01 10:05:37 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ebedae01cf 
							
						 
					 
					
						
						
							
							;cabal: remove special cases for unsupported GHC 7  
						
						
						
					 
					
						2019-11-28 14:59:18 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							08951ac3e8 
							
						 
					 
					
						
						
							
							;cabal: add ghc 8.8 to tested-with  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2019-11-28 14:59:10 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							843d394077 
							
						 
					 
					
						
						
							
							cli, ui, web: support GHC 8.8, add stack-ghc8.8.yaml ( #1090 )  
						
						... 
						
						
						
						hledger-web needs an unreleased version of json. 
						
					 
					
						2019-11-28 14:31:48 -08:00 
						 
				 
			
				
					
						
							
							
								Alejandro García Montoro 
							
						 
					 
					
						
						
						
						
							
						
						
							4efd0242da 
							
						 
					 
					
						
						
							
							web: Modify the --cors option to require a specific origin  
						
						... 
						
						
						
						- Modified the cors option to require a String
- Moved the logic to build the cors policy to WebOptions.hs
- Specify the --cors "*" example in the cors option help
- Added utf8-string dependency to convert a String into a ByteString 
						
					 
					
						2019-10-07 14:54:18 -10:00 
						 
				 
			
				
					
						
							
							
								Alejandro García Montoro 
							
						 
					 
					
						
						
						
						
							
						
						
							e96dfe832f 
							
						 
					 
					
						
						
							
							web: Allow CORS to be enabled in hledger-web  
						
						... 
						
						
						
						Add a --cors option to the CLI to enable simple cross-origin requests 
						
					 
					
						2019-10-07 14:54:18 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							24ce2686f4 
							
						 
					 
					
						
						
							
							drop GHC 7.10/base 4.8 support, finally, due to MonadFail hassles  
						
						... 
						
						
						
						in JournalReader.hs. If you still need this, feel free to work on
those errors. But hopefully not, because dropping base 4.8 should
permit some code cleanups. 
						
					 
					
						2019-09-14 03:45:37 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f65fc47185 
							
						 
					 
					
						
						
							
							;bump version to 1.15.99  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2019-09-13 08:43:33 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							acd7010e5a 
							
						 
					 
					
						
						
							
							;doc: "curses-style interface" -> "terminal interface"  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2019-09-10 18:14:16 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							29f7654c3a 
							
						 
					 
					
						
						
							
							bump versions to 1.15  
						
						
						
					 
					
						2019-09-01 08:53:06 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							a6e9b11a54 
							
						 
					 
					
						
						
							
							;cabal: bump tested-with, regen cabal files  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2019-07-12 23:24:10 +01:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							c9e16b83ef 
							
						 
					 
					
						
						
							
							; propagate dev version bump  
						
						
						
					 
					
						2019-03-20 17:13:59 -07: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 
							
						 
					 
					
						
						
						
						
							
						
						
							0cd5545e26 
							
						 
					 
					
						
						
							
							regen cabal files/manuals  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2019-03-01 16:17:25 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							9fab3257e8 
							
						 
					 
					
						
						
							
							regen cabal files  
						
						
						
					 
					
						2019-03-01 15:44:40 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							afd7931ca0 
							
						 
					 
					
						
						
							
							web: add the same 6 JSON routes as in hledger-api ( #316 )  
						
						
						
					 
					
						2019-02-18 23:57:58 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							94753f1cea 
							
						 
					 
					
						
						
							
							bump to dev version  
						
						
						
					 
					
						2019-02-08 11:33:44 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							40d1572359 
							
						 
					 
					
						
						
							
							bump version to 1.13  
						
						
						
					 
					
						2019-02-01 17:19:19 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							1e5e30ae87 
							
						 
					 
					
						
						
							
							regen cabal files  
						
						... 
						
						
						
						[ci skip] 
						
					 
					
						2019-01-25 18:33:39 -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 
						 
				 
			
				
					
						
							
							
								Peter Simons 
							
						 
					 
					
						
						
						
						
							
						
						
							4e8f2c11d3 
							
						 
					 
					
						
						
							
							Allow building with base-4.12.  
						
						... 
						
						
						
						The build succeeds just fine and all test suites pass, too. 
						
					 
					
						2018-10-24 10:35:11 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							80dc2ef03f 
							
						 
					 
					
						
						
							
							update cabal files with hpack 0.31  
						
						... 
						
						
						
						As in latest stack release. Hopefully this won't unleash horrors. 
						
					 
					
						2018-10-18 14:44:16 -07:00 
						 
				 
			
				
					
						
							
							
								Alex Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							2cbc41e088 
							
						 
					 
					
						
						
							
							Merge branch 'master' into ExceptTLayer  
						
						
						
					 
					
						2018-10-09 11:19:45 -06:00 
						 
				 
			
				
					
						
							
							
								Alex Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							e45070aab5 
							
						 
					 
					
						
						
							
							Update dependency bounds for megaparsec  
						
						
						
					 
					
						2018-10-09 11:15:33 -06:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							ff2a546319 
							
						 
					 
					
						
						
							
							bump version to 1.11.99  
						
						
						
					 
					
						2018-10-06 09:42:12 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2c9c4ebf79 
							
						 
					 
					
						
						
							
							Merge branch 'master' into ExceptTLayer  
						
						
						
					 
					
						2018-10-04 21:04:02 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							b798c48040 
							
						 
					 
					
						
						
							
							bump version to 1.11  
						
						
						
					 
					
						2018-09-30 20:07:45 -10:00 
						 
				 
			
				
					
						
							
							
								Alex Chen 
							
						 
					 
					
						
						
						
						
							
						
						
							3d2584d869 
							
						 
					 
					
						
						
							
							lib: switch to megaparsec 7  
						
						
						
					 
					
						2018-09-30 20:15:12 -06:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							8c18bada0c 
							
						 
					 
					
						
						
							
							lib, cli, ui, web: update cabal files  
						
						
						
					 
					
						2018-09-22 21:01:23 -10:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							45858abc9c 
							
						 
					 
					
						
						
							
							cli, ui, web: drop HUnit dependency  
						
						
						
					 
					
						2018-09-07 13:01:50 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							362705a981 
							
						 
					 
					
						
						
							
							update cabal files  
						
						
						
					 
					
						2018-09-07 12:44:52 -07:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							72acb86299 
							
						 
					 
					
						
						
							
							cabal: bump tested-with declarations  
						
						
						
					 
					
						2018-08-02 08:25:49 +01: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 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							f4c743eca4 
							
						 
					 
					
						
						
							
							web: disable test suite, broken and not testing anything useful  
						
						
						
					 
					
						2018-06-30 14:48:18 +01:00 
						 
				 
			
				
					
						
							
							
								Jakub Zárybnický 
							
						 
					 
					
						
						
						
						
							
						
						
							70c1bb1ef0 
							
						 
					 
					
						
						
							
							web: Re-add warnings conditional on GHC version  
						
						
						
					 
					
						2018-06-25 12:12:17 +02:00 
						 
				 
			
				
					
						
							
							
								Jakub Zárybnický 
							
						 
					 
					
						
						
						
						
							
						
						
							466558968b 
							
						 
					 
					
						
						
							
							web: Fix compilation errors for all 'stack.yaml's  
						
						
						
					 
					
						2018-06-25 12:00:18 +02:00 
						 
				 
			
				
					
						
							
							
								Jakub Zárybnický 
							
						 
					 
					
						
						
						
						
							
						
						
							e8668e2a5c 
							
						 
					 
					
						
						
							
							web: Conform layout to the rest of hledger-* packages  
						
						
						
					 
					
						2018-06-24 14:18:06 +02:00 
						 
				 
			
				
					
						
							
							
								Jakub Zárybnický 
							
						 
					 
					
						
						
						
						
							
						
						
							af98eecdf8 
							
						 
					 
					
						
						
							
							web: Add capabilities type, CLI options, and reading them from headers  
						
						
						
					 
					
						2018-06-24 14:18:02 +02:00 
						 
				 
			
				
					
						
							
							
								Jakub Zárybnický 
							
						 
					 
					
						
						
						
						
							
						
						
							c952ab881b 
							
						 
					 
					
						
						
							
							web: Add /manage page, implement /edit, /upload, and /download  
						
						
						
					 
					
						2018-06-24 14:13:04 +02:00 
						 
				 
			
				
					
						
							
							
								Jakub Zárybnický 
							
						 
					 
					
						
						
						
						
							
						
						
							cc1241fa20 
							
						 
					 
					
						
						
							
							web: Add yesod-form-generated AddForm, add GET & POST /add  
						
						
						
					 
					
						2018-06-24 14:13:04 +02:00 
						 
				 
			
				
					
						
							
							
								Jakub Zárybnický 
							
						 
					 
					
						
						
						
						
							
						
						
							4c8d7de602 
							
						 
					 
					
						
						
							
							web: Fix error messages  
						
						
						
					 
					
						2018-06-24 14:13:04 +02:00