| 
						
					 | 
					
						
						
							
						
						00c908df85
					 | 
					
						
						
							
							use Arc pointer to properties
						
						
						
						
						
						
					 | 
					
						2018-11-20 17:20:50 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						e471d69946
					 | 
					
						
						
							
							section_config.rs: add some test code
						
						
						
						
						
						
					 | 
					
						2018-11-19 08:07:22 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						222454221c
					 | 
					
						
						
							
							add section_config.rs
						
						
						
						
						
						
					 | 
					
						2018-11-19 06:47:39 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						948c74f4ca
					 | 
					
						
						
							
							move future test code into extra file
						
						
						
						
						
						
					 | 
					
						2018-11-19 06:41:50 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0f52af5b23
					 | 
					
						
						
							
							implement simply test future for storage operations
						
						
						
						
						
						
					 | 
					
						2018-11-18 15:01:19 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						be45ccd203
					 | 
					
						
						
							
							fix getopts when called without any argument
						
						
						
						
						
						
					 | 
					
						2018-11-18 14:57:18 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						a19f223dea
					 | 
					
						
						
							
							impl argument parameters
						
						
						
						
						
						
					 | 
					
						2018-11-18 10:09:13 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c78bcf07ad
					 | 
					
						
						
							
							getopts: more tests
						
						
						
						
						
						
					 | 
					
						2018-11-18 09:34:43 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						62c40162ee
					 | 
					
						
						
							
							improve getopt parser
						
						
						
						
						
						
					 | 
					
						2018-11-18 08:55:21 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						a653882dd9
					 | 
					
						
						
							
							use ObjectSchema for parameters
						
						
						
						
						
						
						
						Signed-off-by: Dietmar Maurer <dietmar@proxmox.com> 
						
						
					 | 
					
						2018-11-18 08:46:26 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5d9f0eae6b
					 | 
					
						
						
							
							another testcase for boolean argument parser
						
						
						
						
						
						
					 | 
					
						2018-11-17 11:29:42 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						2770fbf3c3
					 | 
					
						
						
							
							getopt parser fixes and cleanups
						
						
						
						
						
						
					 | 
					
						2018-11-17 11:28:26 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						7556cab45e
					 | 
					
						
						
							
							getopts: allow "-option" and "--option"
						
						
						
						
						
						
					 | 
					
						2018-11-17 10:02:35 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						0c9ce2bbf0
					 | 
					
						
						
							
							getopts: improve error handling
						
						
						
						
						
						
					 | 
					
						2018-11-17 09:57:26 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						ffff48fcfe
					 | 
					
						
						
							
							cleanup variable names
						
						
						
						
						
						
					 | 
					
						2018-11-16 16:47:23 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						845901f41d
					 | 
					
						
						
							
							implement getopt parser - first try
						
						
						
						
						
						
					 | 
					
						2018-11-16 13:14:11 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c548fa250a
					 | 
					
						
						
							
							router: no need to use Fn (fn also works for static closures)
						
						
						
						
						
						
					 | 
					
						2018-11-16 11:12:00 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5206d1d951
					 | 
					
						
						
							
							fix typo
						
						
						
						
						
						
					 | 
					
						2018-11-16 09:16:37 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						e7ea17deb0
					 | 
					
						
						
							
							handle uri parameters correctly
						
						
						
						
						
						
					 | 
					
						2018-11-16 09:15:33 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						484eb9ac19
					 | 
					
						
						
							
							Router: allow to set match parameter name
						
						
						
						
						
						
					 | 
					
						2018-11-16 08:29:23 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						2ab1f7119c
					 | 
					
						
						
							
							Router: implement missing builder methods
						
						
						
						
						
						
					 | 
					
						2018-11-16 08:24:10 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						fc937099b3
					 | 
					
						
						
							
							remove stale macro
						
						
						
						
						
						
					 | 
					
						2018-11-16 07:35:19 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						fe476ce884
					 | 
					
						
						
							
							allow closure handlers
						
						
						
						
						
						
					 | 
					
						2018-11-15 17:47:59 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						cbbeff1a6d
					 | 
					
						
						
							
							add missing file
						
						
						
						
						
						
					 | 
					
						2018-11-15 17:07:55 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f17db0abfd
					 | 
					
						
						
							
							cleanup module names
						
						
						
						
						
						
					 | 
					
						2018-11-15 17:07:10 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						c0262d7480
					 | 
					
						
						
							
							rename Jss to Schema
						
						
						
						
						
						
					 | 
					
						2018-11-15 16:56:28 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						426a48b04f
					 | 
					
						
						
							
							fix parameter macro for empty object
						
						
						
						
						
						
					 | 
					
						2018-11-15 16:48:36 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						8a7005321b
					 | 
					
						
						
							
							improve router
						
						
						
						
						
						
					 | 
					
						2018-11-15 13:28:15 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						e63e99d646
					 | 
					
						
						
							
							rename MethodInfo to Router
						
						
						
						
						
						
					 | 
					
						2018-11-15 11:46:13 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						10be1d290a
					 | 
					
						
						
							
							avoid macros
						
						
						
						
						
						
					 | 
					
						2018-11-15 10:57:52 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						4dcf43d266
					 | 
					
						
						
							
							rename ApiError into HttpError
						
						
						
						
						
						
					 | 
					
						2018-11-15 10:42:01 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						279ecfdfb4
					 | 
					
						
						
							
							remove unneeded lifetime annotations
						
						
						
						
						
						
					 | 
					
						2018-11-15 10:25:59 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						f0b10921b8
					 | 
					
						
						
							
							reorder content
						
						
						
						
						
						
					 | 
					
						2018-11-15 10:18:01 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						16b48b81c5
					 | 
					
						
						
							
							move ApiConfig into extra file
						
						
						
						
						
						
					 | 
					
						2018-11-15 10:14:08 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						9bc17e8dcd
					 | 
					
						
						
							
							move server code to api_server.rs, implement Service and NewService
						
						
						
						
						
						
					 | 
					
						2018-11-15 10:05:37 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						08bd8d476a
					 | 
					
						
						
							
							remove more test code, cleanups
						
						
						
						
						
						
					 | 
					
						2018-11-14 17:32:17 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						98d82428b0
					 | 
					
						
						
							
							remove asnyc test code
						
						
						
						
						
						
					 | 
					
						2018-11-14 14:39:01 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						5599e2633c
					 | 
					
						
						
							
							correctly use Arc pointer
						
						
						
						
						
						
					 | 
					
						2018-11-14 14:28:54 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						1a53be1443
					 | 
					
						
						
							
							factor out server code into api_server.rs
						
						
						
						
						
						
					 | 
					
						2018-11-14 13:22:33 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						a9696f7beb
					 | 
					
						
						
							
							use Arc for ApiServer
						
						
						
						
						
						
					 | 
					
						2018-11-14 11:57:01 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						2c10fd5cb1
					 | 
					
						
						
							
							simplify code
						
						
						
						
						
						
					 | 
					
						2018-11-14 11:38:26 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						324a5bd095
					 | 
					
						
						
							
							remove service implementation, use service_fn again
						
						
						
						
						
						
					 | 
					
						2018-11-13 14:47:03 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						a974251ee6
					 | 
					
						
						
							
							improve error handling, use a Service
						
						
						
						
						
						
					 | 
					
						2018-11-13 12:36:56 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						035cce945e
					 | 
					
						
						
							
							remove static directory cache
						
						
						
						
						
						
					 | 
					
						2018-11-12 14:11:04 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						198fab6f2a
					 | 
					
						
						
							
							santtize paths in handle_request
						
						
						
						
						
						
					 | 
					
						2018-11-12 13:19:53 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						a0efdca18b
					 | 
					
						
						
							
							code cleanup
						
						
						
						
						
						
					 | 
					
						2018-11-11 17:19:24 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						78d0783b00
					 | 
					
						
						
							
							handle_static_file_download: optimize small files
						
						
						
						
						
						
						
						Avoid chuncked transfer for small files. 
						
						
					 | 
					
						2018-11-11 17:10:42 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						579fbe7dc8
					 | 
					
						
						
							
							implement static file download
						
						
						
						
						
						
						
						Fully async using futures and stream. 
						
						
					 | 
					
						2018-11-11 15:54:05 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						cec9f02ebc
					 | 
					
						
						
							
							limit allowed body size
						
						
						
						
						
						
					 | 
					
						2018-11-11 13:24:14 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 | 
				
			
				
					| 
						
					 | 
					
						
						
							
						
						3cdec2a010
					 | 
					
						
						
							
							use header::CONTENT_TYPE
						
						
						
						
						
						
					 | 
					
						2018-11-11 12:55:30 +01:00 | 
					
					
						
						
						
							
							
							
							
							
							
							
							
						
					 |