[pbs-devel] [PATCH proxmox-backup v4 2/2] ui: s3 endpoint: add provider specific quirk selector
Christian Ebner
c.ebner at proxmox.com
Tue Aug 5 12:51:20 CEST 2025
Add an advanced column with a provider specific quirk selector, which
allows to set the s3 endpoint accordingly and use the provider
specific implementation detail in the s3 client.
Clear the value if it is set to the default one, being no quirks.
For now only the one If-None-Match http header quirk is available, but
this can be extended to a multi selection list if required.
Signed-off-by: Christian Ebner <c.ebner at proxmox.com>
---
changes since version 3:
- use provider quirks directly instead of provider list
www/window/S3ClientEdit.js | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/www/window/S3ClientEdit.js b/www/window/S3ClientEdit.js
index f0a5efba8..5128f6a54 100644
--- a/www/window/S3ClientEdit.js
+++ b/www/window/S3ClientEdit.js
@@ -119,6 +119,23 @@ Ext.define('PBS.window.S3ClientEdit', {
},
},
],
+
+ advancedColumn1: [
+ {
+ xtype: 'proxmoxKVComboBox',
+ name: 'provider-quirks',
+ fieldLabel: gettext('Provider specific quirks'),
+ value: '__default__',
+ defaultValue: '__default__',
+ comboItems: [
+ ['__default__', 'None (default)'],
+ ['skip-if-none-match-header', 'Skip If-None-Match header'],
+ ],
+ cbind: {
+ deleteEmpty: '{!isCreate}',
+ },
+ },
+ ],
},
getValues: function () {
--
2.47.2
More information about the pbs-devel
mailing list