a333b4ccea 
					 
					
						
						
							
							pxar: match_pattern: impl invert() to switch the match type of a MatchPattern.  
						
						 
						
						... 
						
						
						
						Signed-off-by: Christian Ebner <c.ebner@proxmox.com > 
						
						
					 
					
						2019-12-17 11:12:34 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						48af80b3ab 
					 
					
						
						
							
							pxar: match_pattern: impl traits needed for MatchPattern to be comparable.  
						
						 
						
						... 
						
						
						
						In order to check if two MatchPattern are identical, which will be used to avoid
duplicates.
Signed-off-by: Christian Ebner <c.ebner@proxmox.com > 
						
						
					 
					
						2019-12-17 11:12:34 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						255bb86030 
					 
					
						
						
							
							pxar: match_pattern: refactor MatchPattern and introduce MatchPatternSlice.  
						
						 
						
						... 
						
						
						
						The MatchPattern impl heavily used copies and therefore was inefficient regarding
memory management.
This patch intoduces MatchPatternSlice as struct to avoid copies and perform the
same pattern matching functionality.
Signed-off-by: Christian Ebner <c.ebner@proxmox.com > 
						
						
					 
					
						2019-12-17 11:12:34 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						dc08934563 
					 
					
						
						
							
							drop Cancellable future in favor of abortable  
						
						 
						
						... 
						
						
						
						futures-0.3 has a futures::future::abortable() function
which does the exact same, returns an Abortable future with
an AbortHandle providing an abort() method.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-12-17 10:52:07 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8554ac5ec3 
					 
					
						
						
							
							fix broadcast_future test case  
						
						 
						
						... 
						
						
						
						We used to await all the futures via the runtime's shutdown
method, which doesn't exist anymore, so await all the join
handles instead.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-12-17 10:47:12 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ba3eb88d95 
					 
					
						
						
							
							generate authkey: public part needs to be readable by backup group  
						
						 
						
						... 
						
						
						
						else the API proxy cannot use it and fails to run..
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com > 
						
						
					 
					
						2019-12-17 10:17:03 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						9c18e93522 
					 
					
						
						
							
							handle_static_file_download: move from and_then to await  
						
						 
						
						... 
						
						
						
						Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com > 
						
						
					 
					
						2019-12-17 08:56:55 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4e8cff1c9d 
					 
					
						
						
							
							cipherbench: align/format output nicely  
						
						 
						
						... 
						
						
						
						Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com > 
						
						
					 
					
						2019-12-17 08:49:34 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						4832f53ab5 
					 
					
						
						
							
							cipherbench: be conform with rfc7539, use 12 byte nonce  
						
						 
						
						... 
						
						
						
						else we get an error from this call, using a 16 byte (128 bit) nonce
is currently only supported by the still in draft
XChaCha20-Poly1305, not the current default specified by RFC 7539[0],
which uses a 12 byte (96 bit) nonce.
Fixes the following error:
> thread 'main' panicked at 'called `Result::unwrap()` on an `Err`
> value: ErrorStack([])', src/libcore/result.rs:1165:5
[0]: https://tools.ietf.org/html/rfc7539 
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com > 
						
						
					 
					
						2019-12-17 08:49:07 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						a47a02ae62 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: use #[api] macro  
						
						 
						
						
						
						
					 
					
						2019-12-16 13:49:18 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						78d5436040 
					 
					
						
						
							
							client: use api macro for catalog_shell async fn  
						
						 
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-12-16 11:24:44 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						87c423751a 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: use ApiHandler::Async for prune and status  
						
						 
						
						
						
						
					 
					
						2019-12-16 11:00:43 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8a8a470316 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: use new ApiHandler::Async  
						
						 
						
						
						
						
					 
					
						2019-12-16 10:06:26 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b9799012cf 
					 
					
						
						
							
							src/pxar/decoder.rs: require Send  
						
						 
						
						
						
						
					 
					
						2019-12-16 10:01:51 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						bb084b9c91 
					 
					
						
						
							
							api2: update for latest proxmox-api changes  
						
						 
						
						... 
						
						
						
						- rename ApiFuture into ApiResponseFuture
- impl. ApiHandler::Async 
						
						
					 
					
						2019-12-16 10:01:51 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						236a396aa1 
					 
					
						
						
							
							src/api2/admin/datastore.rs - prune: log retention options  
						
						 
						
						
						
						
					 
					
						2019-12-14 16:32:16 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						503995c767 
					 
					
						
						
							
							src/api2/admin/datastore.rs: fix prune worker id  
						
						 
						
						
						
						
					 
					
						2019-12-14 16:05:21 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f374ba4c0b 
					 
					
						
						
							
							update tests  
						
						 
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-12-13 12:42:02 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b5c9a706ce 
					 
					
						
						
							
							fix cancellable future  
						
						 
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-12-13 12:10:04 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8a1028e0e7 
					 
					
						
						
							
							update to url/percent-encoding to 2.1  
						
						 
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-12-13 11:57:01 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						db0cb9ce0b 
					 
					
						
						
							
							update a chunk of stuff to the hyper release  
						
						 
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-12-13 11:24:41 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3f1020b732 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: implement task stop  
						
						 
						
						
						
						
					 
					
						2019-12-13 09:43:08 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1ae5677de0 
					 
					
						
						
							
							src/api2/types.rs: use PROXMOX_SAFE_ID_FORMAT instead of FILENAME_FORMAT  
						
						 
						
						
						
						
					 
					
						2019-12-12 14:15:40 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d0adf270fb 
					 
					
						
						
							
							src/api2/types.rs: introduce PROXMOX_SAFE_ID_REGEX, use it for DATASTORE_SCHEMA  
						
						 
						
						
						
						
					 
					
						2019-12-12 12:37:11 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						66c49c21c3 
					 
					
						
						
							
							src/api2/types.rs: factor out DATASTORE_SCHEMA  
						
						 
						
						
						
						
					 
					
						2019-12-11 13:45:23 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						567d3e00fb 
					 
					
						
						
							
							src/api2/node/tasks.rs: new filter "store" to filter tasks for one store  
						
						 
						
						
						
						
					 
					
						2019-12-11 12:53:34 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d3dbe52f37 
					 
					
						
						
							
							pxar: match_pattern: refactor match_filename  
						
						 
						
						... 
						
						
						
						The match_filename() in sequentail_decoder and encoder are moved to be static
functions of MatchPattern.
This allows to reuse the code also in the catalog find implementation.
Signed-off-by: Christian Ebner <c.ebner@proxmox.com > 
						
						
					 
					
						2019-12-11 10:55:01 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						f084505ec5 
					 
					
						
						
							
							src/backup/catalog_shell.rs: sort output of list-selected  
						
						 
						
						... 
						
						
						
						Signed-off-by: Christian Ebner <c.ebner@proxmox.com > 
						
						
					 
					
						2019-12-11 10:54:20 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6d04612955 
					 
					
						
						
							
							src/api2/node/tasks.rs: add "running" filter to list only running tasks  
						
						 
						
						
						
						
					 
					
						2019-12-11 10:52:27 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						8560fe3e5f 
					 
					
						
						
							
							src/api2/node/tasks.rs - extract_upid: avoid duplicate error message  
						
						 
						
						
						
						
					 
					
						2019-12-10 13:45:56 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5830c20560 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: add simple task management cli  
						
						 
						
						
						
						
					 
					
						2019-12-10 13:43:53 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						73e57f244e 
					 
					
						
						
							
							src/backup/datastore.rs - garbage-collection: fix average chunk size  
						
						 
						
						
						
						
					 
					
						2019-12-10 11:25:29 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						d105176f45 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: cleanup - factor out view_task_result()  
						
						 
						
						
						
						
					 
					
						2019-12-09 18:00:22 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						48ef3c3327 
					 
					
						
						
							
							cli: avoid useless .into()  
						
						 
						
						... 
						
						
						
						This needs latest proxmox-api updates. 
						
						
					 
					
						2019-12-09 17:40:34 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						eb7e2ee00b 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: remove unnecessary .to_owned()  
						
						 
						
						
						
						
					 
					
						2019-12-09 17:11:48 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						e5f7def40e 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs - garbage-collection: display task log  
						
						 
						
						
						
						
					 
					
						2019-12-09 13:29:23 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						0ec9e1b010 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: impl. and use complete_pxar_archive_name  
						
						 
						
						
						
						
					 
					
						2019-12-09 13:14:32 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						1c6ad6ef90 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: impl. catalog sub command  
						
						 
						
						... 
						
						
						
						catalog dump
catalog shell 
						
						
					 
					
						2019-12-09 13:07:25 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						5a0b484bdd 
					 
					
						
						
							
							src/client/task_log.rs: move display_task_log into extra file  
						
						 
						
						
						
						
					 
					
						2019-12-08 11:27:15 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						3b03abfe14 
					 
					
						
						
							
							src/api2/admin/datastore.rs: remove test_prune, add dry-run to normal prune  
						
						 
						
						... 
						
						
						
						And use display_task_log on the client side. 
						
						
					 
					
						2019-12-08 10:59:47 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						ec137a99c6 
					 
					
						
						
							
							src/bin/proxmox-backup-client.r - display_task_log: use string range instead of as_bytes  
						
						 
						
						
						
						
					 
					
						2019-12-08 10:25:26 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						b73ff941f6 
					 
					
						
						
							
							src/bin/proxmox-backup-client.r - display_task_log: add new strip_date parameter  
						
						 
						
						
						
						
					 
					
						2019-12-08 10:22:02 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						163e9bbe91 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: new display task log helper  
						
						 
						
						... 
						
						
						
						New helper to display worker task logs. Use it for prune (experimental). 
						
						
					 
					
						2019-12-07 16:11:26 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						6b508dd563 
					 
					
						
						
							
							src/server/formatter.rs: impl. new result attribute "active"  
						
						 
						
						
						
						
					 
					
						2019-12-07 15:29:42 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						102d8d4136 
					 
					
						
						
							
							src/backup/prune.rs: implement --keep-hourly  
						
						 
						
						
						
						
					 
					
						2019-12-07 11:23:33 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						052c4aa160 
					 
					
						
						
							
							src/backup/prune.rs: prune - correctly use iso_week year  
						
						 
						
						
						
						
					 
					
						2019-12-06 19:41:38 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						fa0b950070 
					 
					
						
						
							
							pxar: fuse: add support for list- and getxattr  
						
						 
						
						... 
						
						
						
						Signed-off-by: Christian Ebner <c.ebner@proxmox.com > 
						
						
					 
					
						2019-12-06 16:44:15 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						25ad4cbf63 
					 
					
						
						
							
							pxar: fuse: cache goodbye table for each directory on opendir and release it on releasedir  
						
						 
						
						... 
						
						
						
						Cache not only the goodbye table for the last directory but for each opened
directory.
The opendir fuse callback will fill the cache with the goodbye table and
releasedir will remove it from the cache.
This should reduce the number of chuncks fetched from the server in some cases.
Signed-off-by: Christian Ebner <c.ebner@proxmox.com > 
						
						
					 
					
						2019-12-06 16:43:59 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						02491b8fc6 
					 
					
						
						
							
							pxar: fuse: use binary search instead of linear search in goodbye table.  
						
						 
						
						... 
						
						
						
						The goodbye table is layed out as binary search tree based on the hash, so use
this to be more efficient when looking up a hash in the table for directories
with a large number of entries.
Signed-off-by: Christian Ebner <c.ebner@proxmox.com > 
						
						
					 
					
						2019-12-06 16:42:01 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
					 
					
						
						
							
						
						7074a0b339 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: white space cleanup  
						
						 
						
						
						
						
					 
					
						2019-12-06 13:35:59 +01:00