f8f94534d4 
					 
					
						
						
							
							src/api2/access.rs: authenticate_user() - add ticket login  
						
						
						
						
					 
					
						2019-03-05 12:56:21 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e5662b04e9 
					 
					
						
						
							
							src/tools/ticket.rs: define const TICKET_LIFETIME  
						
						
						
						
					 
					
						2019-03-05 12:56:21 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						53cafb5925 
					 
					
						
						
							
							src/tools.rs: impl file_get_json()  
						
						
						
						
					 
					
						2019-03-05 12:56:21 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						391d310741 
					 
					
						
						
							
							backup_info: BackupDir shortcut  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-03-05 10:15:06 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						93b49ce38a 
					 
					
						
						
							
							backup_info: use two independent Into<String> types  
						
						... 
						
						
						
						there's no reason to force them to be the same input type
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-03-05 09:13:08 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3ec3ec3f9a 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: print backup duration  
						
						
						
						
					 
					
						2019-03-05 08:11:40 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d57474e055 
					 
					
						
						
							
							src/backup/backup_info.rs: improve docs  
						
						
						
						
					 
					
						2019-03-05 07:28:13 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b3483782d1 
					 
					
						
						
							
							src/backup/backup_info.rs: move code into separate file  
						
						... 
						
						
						
						Also changed create_backup_dir() parameters - uses &BackupDir now. 
						
						
					 
					
						2019-03-05 07:18:12 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2b01a22507 
					 
					
						
						
							
							src/backup/datastore.rs: add helper to sort backup lists  
						
						
						
						
					 
					
						2019-03-04 18:20:57 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						875fb1c01a 
					 
					
						
						
							
							src/backup/datastore.rs: use unix epoch to create DateTime  
						
						... 
						
						
						
						To make sure that we have a timestamp without nanosecond. 
						
						
					 
					
						2019-03-04 17:58:22 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						38f8815925 
					 
					
						
						
							
							src/backup/datastore.rs: use new() function to create structs  
						
						
						
						
					 
					
						2019-03-04 17:44:27 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9b492eb256 
					 
					
						
						
							
							src/backup/datastore.rs: protect BackupDir fields, impl new()  
						
						
						
						
					 
					
						2019-03-04 13:51:36 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1e9a94e579 
					 
					
						
						
							
							src/backup/datastore.rs: protect BackupGroup fields, impl new()  
						
						
						
						
					 
					
						2019-03-04 13:38:23 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cdebd467e6 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: simply log to stdout  
						
						
						
						
					 
					
						2019-03-04 09:38:34 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f72dfd2d10 
					 
					
						
						
							
							src/backup/datastore.rs: make sure timestamp does not contains nanoseconds  
						
						... 
						
						
						
						Because we want simple, readable file names. 
						
						
					 
					
						2019-03-04 09:37:10 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						219ef0e6ca 
					 
					
						
						
							
							src/catar/encoder.rs: add verbose flags  
						
						
						
						
					 
					
						2019-03-04 08:01:09 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e0b8ce6424 
					 
					
						
						
							
							src/catar/encoder.rs: skip RAMFS  
						
						... 
						
						
						
						unless explicitly selected. 
						
						
					 
					
						2019-03-04 06:48:47 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						597a92039e 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: rename create into backup  
						
						
						
						
					 
					
						2019-03-03 11:46:53 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6f62c9240a 
					 
					
						
						
							
							src/api2/admin/datastore.rs: imp delete_snapshot  
						
						
						
						
					 
					
						2019-03-03 11:29:00 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						af926291e0 
					 
					
						
						
							
							avoid compiler warning  
						
						
						
						
					 
					
						2019-03-03 09:52:06 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e77a02ed87 
					 
					
						
						
							
							catar api: cleanup parameter names  
						
						
						
						
					 
					
						2019-03-03 09:48:32 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						421c9ba1d9 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: use new json_object_to_query  
						
						
						
						
					 
					
						2019-03-03 09:44:25 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f5f13ebc5a 
					 
					
						
						
							
							src/tools.rs: new helper json_object_to_query  
						
						
						
						
					 
					
						2019-03-03 08:51:37 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						49dc074007 
					 
					
						
						
							
							parameter name cleanups (use '-' instead of '_')  
						
						
						
						
					 
					
						2019-03-02 16:34:10 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ad20d19877 
					 
					
						
						
							
							src/api2/admin/datastore.rs: rename get_group_list to list_groups, cleanups  
						
						
						
						
					 
					
						2019-03-02 16:28:36 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						184f17afad 
					 
					
						
						
							
							src/api2/admin/datastore.rs: impl list_snapshots  
						
						
						
						
					 
					
						2019-03-02 16:20:50 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						af53186e6a 
					 
					
						
						
							
							src/tools.rs: add simply string join  
						
						
						
						
					 
					
						2019-03-02 16:15:45 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						812c6f8716 
					 
					
						
						
							
							src/api2/admin/datastore.rs: impl list_backup_groups  
						
						
						
						
					 
					
						2019-03-02 11:29:05 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e909522f06 
					 
					
						
						
							
							src/backup/datastore.rs: use timestamp with zone offset  
						
						
						
						
					 
					
						2019-03-01 17:36:40 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						dc4c09faae 
					 
					
						
						
							
							src/backup/datastore.rs: split BackupDir  
						
						
						
						
					 
					
						2019-03-01 16:26:35 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						38b0dfa511 
					 
					
						
						
							
							src/backup/datastore.rs: split BackupInfo  
						
						
						
						
					 
					
						2019-03-01 16:26:35 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						dcd15d10bb 
					 
					
						
						
							
							backup/index: remove IndexIterator  
						
						... 
						
						
						
						removed the need for it, to avoid copies
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-03-01 13:29:36 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						17d6979afd 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: generate a log file  
						
						
						
						
					 
					
						2019-03-01 09:35:41 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3b151414f8 
					 
					
						
						
							
							src/tools/file_logger.rs: class to log into files  
						
						
						
						
					 
					
						2019-03-01 09:34:29 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5a2892f0ae 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: use chrono::DateTime  
						
						
						
						
					 
					
						2019-03-01 06:59:32 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						51144821f9 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: login before starting backup  
						
						
						
						
					 
					
						2019-03-01 06:48:41 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						541b908ea4 
					 
					
						
						
							
							src/backup/datastore.rs: use DateTime<Utc> instead of unix epoch  
						
						
						
						
					 
					
						2019-02-28 17:03:48 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b55cee9227 
					 
					
						
						
							
							src/cli/command.rs: generate_usage_str() - fix option separator (newline)  
						
						
						
						
					 
					
						2019-02-28 16:20:00 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c4c5174000 
					 
					
						
						
							
							src/cli/command.rs: get_schema_type_text() - display min/max  
						
						
						
						
					 
					
						2019-02-28 16:11:49 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						df67070b1c 
					 
					
						
						
							
							client/backup_repo: allow ip addresses for BackupRepository  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-02-28 15:26:40 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5de2bced2d 
					 
					
						
						
							
							datastore: add generic open_index  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-02-28 15:26:40 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						7bc1d72778 
					 
					
						
						
							
							add IndexFile trait  
						
						... 
						
						
						
						We want to be able to iterate through digests of index
files, but without always having to distinguish between
dynamic and fixed types, so add a trait we can use as a
trait object.
Unfortunately the iterator needs to yield copies as
iterators cannot yield values with life times when
represented as trait objects (Box<dyn Iterator<Item = ?>>)
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-02-28 15:26:40 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5be4065baf 
					 
					
						
						
							
							make FixedIndexReader Send and update comments  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-02-28 15:26:40 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						fded74d0c7 
					 
					
						
						
							
							style: BufferedReader -> BufferedRead  
						
						... 
						
						
						
						Single-method traits usually use the same name as their
method and aren't usually the 'noun' (which is usually an
implementation of them instead).
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-02-28 15:26:40 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8f57971714 
					 
					
						
						
							
							src/api2/admin/datastore.rs: implement prune  
						
						
						
						
					 
					
						2019-02-28 12:51:27 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						83b7db0209 
					 
					
						
						
							
							src/api2/admin/datastore.rs: start prune api  
						
						... 
						
						
						
						just a dummy for now. 
						
						
					 
					
						2019-02-27 16:53:17 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0ffbccce5e 
					 
					
						
						
							
							rc/server/rest.rs: allow to pass parameters as application/json  
						
						
						
						
					 
					
						2019-02-27 12:37:53 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f98ea63de2 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: fix bash completion  
						
						
						
						
					 
					
						2019-02-27 12:37:53 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						8731e40a7f 
					 
					
						
						
							
							backup/datastore: create_backup_dir: show if path existed  
						
						... 
						
						
						
						To enable asserting the creation of a new backup rather than
adding to an existing one.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2019-02-27 10:15:36 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						25f1650b71 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: minor code cleanup  
						
						
						
						
					 
					
						2019-02-27 07:21:57 +01:00