ed3e60ae69 
					 
					
						
						
							
							start ACL api  
						
						
						
						
					 
					
						2020-04-13 11:09:44 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						685e13347e 
					 
					
						
						
							
							api: move config/user to access/users, implement change_password  
						
						... 
						
						
						
						To make it similar to the pve api 
						
						
					 
					
						2020-04-09 10:21:24 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						579728c641 
					 
					
						
						
							
							add user configiguration  
						
						
						
						
					 
					
						2020-04-08 14:06:15 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						18deda403d 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs - list_groups: render full snapshot path for last-backup column  
						
						
						
						
					 
					
						2020-02-28 09:09:22 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6882b3716c 
					 
					
						
						
							
							src/bin/proxmox-backup-manager.rs: avoid compiler warning  
						
						
						
						
					 
					
						2020-02-28 08:52:12 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						189996cf4a 
					 
					
						
						
							
							proxmox-backup-client: expose exclude match patterns to cli.  
						
						... 
						
						
						
						Allows to pass exclude match patterns to the 'backup' command.
Signed-off-by: Christian Ebner <c.ebner@proxmox.com > 
						
						
					 
					
						2020-02-28 07:56:09 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ac3faaf5c0 
					 
					
						
						
							
							src/bin/proxmox-backup-manager.rs: cleanup output handling  
						
						
						
						
					 
					
						2020-02-28 07:42:36 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4939255fb4 
					 
					
						
						
							
							src/tools/format.rs: move output rendering code to this new file  
						
						
						
						
					 
					
						2020-02-28 07:30:35 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c81b2b7c70 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs - list_groups: use format_and_print_result_full()  
						
						... 
						
						
						
						Depend on proxmox 0.1.16-1 
						
						
					 
					
						2020-02-27 13:32:11 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c2043614f7 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: use new output formath helpers from proxmox 0.15.1-1  
						
						
						
						
					 
					
						2020-02-27 12:41:15 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e23f586344 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs - status: improve alignment  
						
						
						
						
					 
					
						2020-02-27 11:38:09 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						be2425ff85 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs - status: do not print header  
						
						
						
						
					 
					
						2020-02-27 11:31:05 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f24fc1166b 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs - list_snapshots: use format_and_print_result_full()  
						
						... 
						
						
						
						Depend on proxmox v0.1.14. 
						
						
					 
					
						2020-02-27 11:28:44 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ea5f547fdc 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs - list_snapshot_files: use format_and_print_result_full()  
						
						
						
						
					 
					
						2020-02-26 13:49:47 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						390c5bdde4 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs - status: use format_and_print_result_full  
						
						
						
						
					 
					
						2020-02-26 13:29:00 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						03ac286c80 
					 
					
						
						
							
							src/bin/proxmox-backup-manager.rs: use crate::tools::runtime::block_on()  
						
						
						
						
					 
					
						2020-02-26 11:37:38 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e02c3d461f 
					 
					
						
						
							
							src/client/backup_writer.rs: implement verbose options  
						
						
						
						
					 
					
						2020-02-24 12:48:40 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d1c657276a 
					 
					
						
						
							
							src/client/http_client.rs: remove useless password_env  
						
						
						
						
					 
					
						2020-02-11 11:42:03 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a05c0c6ff6 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: allows to pass fingerprint via env vars  
						
						
						
						
					 
					
						2020-02-11 11:42:03 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b69b8af26b 
					 
					
						
						
							
							s/pbsbanner/proxmox-backup-banner/ + move to /usr/lib  
						
						... 
						
						
						
						We want to avoid pbs if possible and also avoid placing internal
binaries, not intended for human direct use, in /bin or /sbin paths.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com > 
						
						
					 
					
						2020-02-10 14:43:28 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e2b5e75a3e 
					 
					
						
						
							
							pbsbanner: use match and also return error  
						
						... 
						
						
						
						Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com > 
						
						
					 
					
						2020-02-07 18:30:55 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						274b0c7bb7 
					 
					
						
						
							
							add login banner service  
						
						... 
						
						
						
						Modeled after the one from PVE, but using rust instead of perl for
resolving the nodename and writing to /etc/issue
Behavior differs a bit. We write all non-loopback addresses to this
file, as the gui accepts connections from them all, so limiting it to
the first one is not really sensible.
Further an error to resolve, or only getting loopback addresses won't
write out an empty /etc/issue file, but a note about the error at the
place where the address would be displayed.
Named it "pbsbanner", not "proxmox-backup-banner" as it's rather an
internal tool anyway and mirrors pvebanner, pmgbanner
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com > 
						
						
					 
					
						2020-02-06 22:19:22 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						032d3ad80f 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: do not use api macro for prune  
						
						... 
						
						
						
						So that we can use add_common_prune_prameters!() macro again. 
						
						
					 
					
						2020-01-31 10:31:36 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						501f4fa220 
					 
					
						
						
							
							depend on proxmox 0.1.13, use new tty helpers from there  
						
						
						
						
					 
					
						2020-01-31 08:16:00 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						74616f63b0 
					 
					
						
						
							
							proxmox-backup-client: add missing prune options to api definition.  
						
						... 
						
						
						
						Signed-off-by: Christian Ebner <c.ebner@proxmox.com > 
						
						
					 
					
						2020-01-31 07:01:56 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						93fbb4ef0a 
					 
					
						
						
							
							update proxmox dependency to 0.1.12  
						
						
						
						
					 
					
						2020-01-31 06:59:17 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						43592f290d 
					 
					
						
						
							
							src/bin/proxmox-backup-manager.rs: remove stale debug comment  
						
						
						
						
					 
					
						2020-01-30 17:59:13 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9e165b5cad 
					 
					
						
						
							
							src/bin/proxmox-backup-manager.rs - list remotes: do not use client, call directly  
						
						
						
						
					 
					
						2020-01-30 17:57:37 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9894469e89 
					 
					
						
						
							
							src/bin/proxmox-backup-manager.rs: use new texdt table formatter  
						
						
						
						
					 
					
						2020-01-30 13:31:20 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d08bc483db 
					 
					
						
						
							
							use proxmox 0.1.9 with new cli command helpers  
						
						
						
						
					 
					
						2020-01-27 18:08:43 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						99d863d770 
					 
					
						
						
							
							src/client/http_client.rs: new password_env option  
						
						
						
						
					 
					
						2020-01-27 10:42:37 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5030b7cea4 
					 
					
						
						
							
							src/client/http_client.rs: new prefix options  
						
						
						
						
					 
					
						2020-01-27 10:20:55 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5a74756c15 
					 
					
						
						
							
							src/client/http_client.rs: implement fingerprint cache  
						
						
						
						
					 
					
						2020-01-25 15:37:34 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d59dbeca1b 
					 
					
						
						
							
							src/client/http_client.rs: new struct HttpClientOptions  
						
						
						
						
					 
					
						2020-01-25 12:18:00 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						6afbe1d846 
					 
					
						
						
							
							src/config/remote.rs: add fingerprint  
						
						
						
						
					 
					
						2020-01-25 09:49:45 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						90c815bfe2 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: fix another typo in property description  
						
						... 
						
						
						
						Signed-off-by: Christian Ebner <c.ebner@proxmox.com >
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2020-01-24 13:46:08 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5eee6d89b6 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: fix typo in property description  
						
						... 
						
						
						
						Signed-off-by: Christian Ebner <c.ebner@proxmox.com >
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2020-01-24 13:45:22 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						1dc117bbba 
					 
					
						
						
							
							src/api2/types.rs: define and use struct StorageStatus  
						
						
						
						
					 
					
						2020-01-23 12:51:30 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f1d99e3f6a 
					 
					
						
						
							
							src/bin/proxmox-backup-client.rs: use a std channel to write the catalog  
						
						
						
						
					 
					
						2020-01-22 12:49:08 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						9ea4bce444 
					 
					
						
						
							
							bump proxmox crate to 0.1.7  
						
						... 
						
						
						
						The -sys, -tools and -api crate have now been merged into
the proxmx crate directly. Only macro crates are separate
(but still reexported by the proxmox crate in their
designated locations).
When we need to depend on "parts" of the crate later on
we'll just have to use features.
The reason is mostly that these modules had
inter-dependencies which really make them not independent
enough to be their own crates.
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2020-01-21 13:48:37 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3f06d6fbbd 
					 
					
						
						
							
							use proxmox_backup::tools::runtime::main to run async run_cli_command  
						
						
						
						
					 
					
						2020-01-21 11:34:45 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d973aa827c 
					 
					
						
						
							
							introduce new runtime tokio helpers  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2020-01-20 13:12:40 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4b4eba0b9e 
					 
					
						
						
							
							src/api2/pull.rs: implement delete flag for vanished groups  
						
						
						
						
					 
					
						2020-01-17 11:24:55 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f357390c15 
					 
					
						
						
							
							renamed: src/config/remotes.rs -> src/config/remote.rs  
						
						... 
						
						
						
						And use 'remote' instead of 'remotes' everywhere. 
						
						
					 
					
						2020-01-16 14:32:06 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						94609e2380 
					 
					
						
						
							
							src/api2/pull.rs: use reference to remote configuration  
						
						
						
						
					 
					
						2020-01-16 13:55:19 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3be839c61c 
					 
					
						
						
							
							src/bin/proxmox-backup-manager.rs: add completion function for update commands  
						
						
						
						
					 
					
						2020-01-15 12:42:13 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						cbe01dc5c7 
					 
					
						
						
							
							tools: add read_and_verify_password helper  
						
						... 
						
						
						
						add a helper to perform some basic checks on password prompts.
- verification (asks for a 2nd time)
- check length
also use the new helper where password input in tty is taken to reduce
duplicate code.
this helper should be used when creating keys, changing passphrases etc.
note: this helper can be extended later on to provide better checks for
password strength.
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com > 
						
						
					 
					
						2020-01-15 10:52:57 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ddc526623f 
					 
					
						
						
							
							src/bin/proxmox-backup-manager.rs: add datastore update cli  
						
						
						
						
					 
					
						2020-01-14 14:47:26 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						08195ac823 
					 
					
						
						
							
							src/api2/config/remotes.rs: improve api, implement update and read  
						
						
						
						
					 
					
						2020-01-14 14:20:16 +01:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d0187a51a9 
					 
					
						
						
							
							src/section_config.rs - convert_to_array: optionally add digest  
						
						... 
						
						
						
						datastore::config() -> also return digest
remotes::config() -> also return digest 
						
						
					 
					
						2020-01-14 12:57:03 +01:00