3006d70ebe 
					 
					
						
						
							
							ui: use Async tools from widget toolkit  
						
						... 
						
						
						
						The api2 one passes the whole response (for more flexibility) on
reject, so we need to adapt to that.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com > 
						
						
					 
					
						2021-07-09 16:53:12 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						681e096448 
					 
					
						
						
							
							ui: adapt to widget toolkit changes  
						
						... 
						
						
						
						Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com > 
						
						
					 
					
						2021-07-09 16:52:25 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ac9a9e8002 
					 
					
						
						
							
							ui: add /access/domains to PermissionPathsStore  
						
						... 
						
						
						
						Signed-off-by: Dominik Csapak <d.csapak@proxmox.com > 
						
						
					 
					
						2021-07-09 15:36:54 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ecbc385b7b 
					 
					
						
						
							
							ui: add Authentication tab to Access Control  
						
						... 
						
						
						
						so that user can add/edit/delete realms
changes the icon of tfa to 'id-badge' so that we can keep the same icon
for authentication as pve and not have duplicate icons
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com > 
						
						
					 
					
						2021-07-09 15:36:54 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						5117cf4f17 
					 
					
						
						
							
							api: access: domains: add get/create/update/delete domain call  
						
						... 
						
						
						
						modeled like our other section config api calls
two drawbacks of doing it this way:
* we have to copy some api properties again for the update call,
  since not all of them are updateable (username-claim)
* we only handle openid for now, which we would have to change
  when we add ldap/ad
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com > 
						
						
					 
					
						2021-07-09 15:36:54 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						da7ec1d2af 
					 
					
						
						
							
							api: access: domains: add ExtraRealmInfo and RealmInfo structs  
						
						... 
						
						
						
						these will be used as parameters/return types for the read/create/etc.
calls for realms
for now we copy the necessary attributes (only from openid) since
our api macros/tools are not good enought to generate the necessary
api definitions for section configs
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com > 
						
						
					 
					
						2021-07-09 15:36:54 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						934de1d691 
					 
					
						
						
							
							config: acl: add PRIV_REALM_ALLOCATE  
						
						... 
						
						
						
						will be used for realm creation/update/deletion
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com > 
						
						
					 
					
						2021-07-09 15:36:54 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0c27d880b0 
					 
					
						
						
							
							api: access: domains: add BasicRealmInfo struct and use it  
						
						... 
						
						
						
						to have better type safety and as preparation for adding more types
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com > 
						
						
					 
					
						2021-07-09 15:36:54 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						be3a0295b6 
					 
					
						
						
							
							client: import updates  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-09 15:32:12 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						aa2838c27a 
					 
					
						
						
							
							move client::pull to server::pull  
						
						... 
						
						
						
						it's not used by the client and not part of the client, it
just makes use *of* the client, but is used on the
datastore/server...
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-09 15:17:53 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ea584a7510 
					 
					
						
						
							
							move more api types for the client  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-09 15:17:53 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ba0ccc5991 
					 
					
						
						
							
							move some tools used by the client  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-09 15:17:52 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						75f83c6a81 
					 
					
						
						
							
							move some api types and resolve imports  
						
						... 
						
						
						
						in preparation of moving client & proxmox_client_tools out
into a pbs-client subcrate
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-09 15:17:52 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						0dda5a6695 
					 
					
						
						
							
							ui: add APT repositories  
						
						... 
						
						
						
						Signed-off-by: Fabian Ebner <f.ebner@proxmox.com > 
						
						
					 
					
						2021-07-09 13:45:45 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						289738dc1a 
					 
					
						
						
							
							api: apt: add endpoints for adding/changing repositories  
						
						... 
						
						
						
						Signed-off-by: Fabian Ebner <f.ebner@proxmox.com > 
						
						
					 
					
						2021-07-09 13:45:45 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						d830804f02 
					 
					
						
						
							
							api: apt: add repositories call  
						
						... 
						
						
						
						Signed-off-by: Fabian Ebner <f.ebner@proxmox.com > 
						
						
					 
					
						2021-07-09 13:45:45 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						82cc4b56e5 
					 
					
						
						
							
							depend on proxmox-apt  
						
						... 
						
						
						
						Signed-off-by: Fabian Ebner <f.ebner@proxmox.com > 
						
						
					 
					
						2021-07-09 13:45:45 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						923f94a4d7 
					 
					
						
						
							
							api: access: openid: add PROXMOX_BACKUP_RUN_DIR_M  
						
						... 
						
						
						
						otherwise it does not compile with 'RUSTFLAGS="--cfg openid"'
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com > 
						
						
					 
					
						2021-07-09 13:03:32 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bbff317aa7 
					 
					
						
						
							
							api: disk list: sort by name  
						
						... 
						
						
						
						So callers get more stable results. Most noticeable, the disk list in
the web UI doesn't jump around upon reloading, and while sorting could
be done directly there, like this other callers get the benefit too.
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com > 
						
						
					 
					
						2021-07-09 13:02:30 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						20429238e0 
					 
					
						
						
							
							disks: also check for file systems with lsblk  
						
						... 
						
						
						
						Reported-by: Thomas Lamprecht <t.lamprecht@proxmox.com >
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com > 
						
						
					 
					
						2021-07-09 13:02:30 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						364299740f 
					 
					
						
						
							
							disks: refactor partition type handling  
						
						... 
						
						
						
						in preparation to also get the file system type from lsblk.
Co-developed-by: Wolfgang Bumiller <w.bumiller@proxmox.com >
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com > 
						
						
					 
					
						2021-07-09 13:02:29 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						b81818b6ad 
					 
					
						
						
							
							subscription: set higher-level error to message instead of bailing  
						
						... 
						
						
						
						While the PVE one "bails" too, it has an eval around those and moves
the error to the message property, so lets do so too to ensure a user
can force an update on a too old subscription
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com > 
						
						
					 
					
						2021-07-09 12:43:23 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						2f02e431b0 
					 
					
						
						
							
							moving more code to pbs-datastore  
						
						... 
						
						
						
						prune and fixed/dynamic index
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-09 10:40:14 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e64f38cb6b 
					 
					
						
						
							
							move chunk_stat, read_chunk to pbs-datastore  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-09 10:40:14 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						ae24382634 
					 
					
						
						
							
							bump version to 2.0.2-1  
						
						... 
						
						
						
						Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com > 
						
						
					 
					
						2021-07-08 14:44:26 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						82cae19d19 
					 
					
						
						
							
							ui: datastore/OptionView: only navigate up when we removed the datastore  
						
						... 
						
						
						
						and not on window close
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com > 
						
						
					 
					
						2021-07-08 14:41:13 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3f5fbc5620 
					 
					
						
						
							
							ui: datastore edit: make keep-last label like the others  
						
						... 
						
						
						
						Signed-off-by: Fabian Ebner <f.ebner@proxmox.com > 
						
						
					 
					
						2021-07-08 14:06:26 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						000e6cad5c 
					 
					
						
						
							
							ui: TapeRestore: mark datastore selector as 'not a form field'  
						
						... 
						
						
						
						since extjs 7.0 those will get picked up by our query logic and
sent to the backend. prevent that by setting isFormField to false
(we assemble the values differently)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com > 
						
						
					 
					
						2021-07-08 14:05:21 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						49f44cedbf 
					 
					
						
						
							
							api: config: delete datastore: also remove tape backup jobs  
						
						... 
						
						
						
						Signed-off-by: Dominik Csapak <d.csapak@proxmox.com > 
						
						
					 
					
						2021-07-08 12:15:59 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						eb1c59cc2a 
					 
					
						
						
							
							api: add keep-job-configs flag to datastore remove endpoint  
						
						... 
						
						
						
						Signed-off-by: Hannes Laimer <h.laimer@proxmox.com >
Suggested Fixes:
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com > 
						
						
					 
					
						2021-07-08 12:15:50 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c7d032fc17 
					 
					
						
						
							
							ui: use task list component from widget toolkit  
						
						... 
						
						
						
						Signed-off-by: Dominik Csapak <d.csapak@proxmox.com >
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com > 
						
						
					 
					
						2021-07-08 11:47:44 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						73b77d4787 
					 
					
						
						
							
							ui: tasks: use format_task_status  
						
						... 
						
						
						
						Signed-off-by: Fabian Ebner <f.ebner@proxmox.com > 
						
						
					 
					
						2021-07-08 11:43:43 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						67466ce564 
					 
					
						
						
							
							ui: MainView: fix redirectTo call  
						
						... 
						
						
						
						takes now an object parameter in extjs 7.0
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com > 
						
						
					 
					
						2021-07-08 11:43:43 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4e0faf5ef3 
					 
					
						
						
							
							ui: use isActionDisabled  
						
						... 
						
						
						
						isDisabled is deprecated for actions in actioncolumns
(it produces a warning for now)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com > 
						
						
					 
					
						2021-07-08 11:43:43 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						c23192d34e 
					 
					
						
						
							
							move chunk_store to pbs-datastore  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-07 14:37:47 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						83771aa037 
					 
					
						
						
							
							move tools::process_locker to pbs-tools  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-07 14:16:34 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						95f9d67ce9 
					 
					
						
						
							
							move UPID to pbs-api-types, add UPIDExt  
						
						... 
						
						
						
						pbs-server side related methods are added via the UPIDExt
trait
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-07 13:51:03 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						314d360fcd 
					 
					
						
						
							
							buildsys: run tests on entire workspace by default  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-07 12:17:10 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f8a74456cc 
					 
					
						
						
							
							test fixups  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-07 12:17:10 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						4906bac10f 
					 
					
						
						
							
							linking fixup  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-07 11:59:33 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						86c831a5c3 
					 
					
						
						
							
							fixup examples  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-07 11:49:42 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						a5951b4f38 
					 
					
						
						
							
							move manifest and backup_info to pbs-datastore  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-07 11:34:56 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						f75292bd8d 
					 
					
						
						
							
							move tools::json to pbs-tools  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-07 11:34:56 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						bfff4eaa7f 
					 
					
						
						
							
							move backup id related types to pbs-api-types  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-07 11:34:56 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						067dc06dba 
					 
					
						
						
							
							add pbs-systemd: move string and unit handling there  
						
						... 
						
						
						
						the systemd config/unit parsing stays in pbs for now since
that's not usually required and uses our section config
parser
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-07 11:34:56 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						18cdf20afc 
					 
					
						
						
							
							move tools::nom to pbs-tools  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-07 10:08:26 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						e57841c442 
					 
					
						
						
							
							move run_command to pbs-tools  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-07 10:04:05 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						751f6b6148 
					 
					
						
						
							
							move userid types to pbs-api-types  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-07 09:53:48 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						3c430e9a55 
					 
					
						
						
							
							move id and single line comment format to pbs-api-types  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-07 09:49:38 +02:00 
						 
				 
			
				
					
						
					 
					
						
						
							
						
						155f657f6b 
					 
					
						
						
							
							move TaskState trait to pbs-datastore  
						
						... 
						
						
						
						Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com > 
						
						
					 
					
						2021-07-07 09:24:39 +02:00