Henning Thielemann 
							
						 
					 
					
						
						
						
						
							
						
						
							ac96bcfdf0 
							
						 
					 
					
						
						
							
							web: add links to accounts in register transactions  
						
						
						
					 
					
						2019-06-13 10:12:44 -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 
							
						 
					 
					
						
						
						
						
							
						
						
							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 
							
						 
					 
					
						
						
						
						
							
						
						
							115643a024 
							
						 
					 
					
						
						
							
							web: silence one more pesky warning  
						
						
						
					 
					
						2019-02-20 20:45:09 -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 
						 
				 
			
				
					
						
							
							
								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 
							
						 
					 
					
						
						
						
						
							
						
						
							afd7931ca0 
							
						 
					 
					
						
						
							
							web: add the same 6 JSON routes as in hledger-api ( #316 )  
						
						
						
					 
					
						2019-02-18 23:57:58 -08:00 
						 
				 
			
				
					
						
							
							
								Simon Michael 
							
						 
					 
					
						
						
						
						
							
						
						
							10b45c75aa 
							
						 
					 
					
						
						
							
							web: fix tooltips showing transactions ( fixes   #927 )  
						
						
						
					 
					
						2019-02-18 07:55:29 -08:00 
						 
				 
			
				
					
						
							
							
								Jakub Zárybnický 
							
						 
					 
					
						
						
						
						
							
						
						
							8d1ee38627 
							
						 
					 
					
						
						
							
							web: Add missing capability guards to /manage and /download  
						
						
						
					 
					
						2018-06-24 23:17:56 +02:00 
						 
				 
			
				
					
						
							
							
								Jakub Zárybnický 
							
						 
					 
					
						
						
						
						
							
						
						
							483283ec43 
							
						 
					 
					
						
						
							
							web: Add capabilities guards and conditional widget rendering  
						
						
						
					 
					
						2018-06-24 16:25:22 +02:00 
						 
				 
			
				
					
						
							
							
								Jakub Zárybnický 
							
						 
					 
					
						
						
						
						
							
						
						
							e8668e2a5c 
							
						 
					 
					
						
						
							
							web: Conform layout to the rest of hledger-* packages  
						
						
						
					 
					
						2018-06-24 14:18:06 +02:00