proxmox-backup/www/window
Christian Ebner 37a85cf616 fix: ui: sync job: edit rate limit based on sync direction
Commit 9aa213b8 ("ui: sync job: adapt edit window to be used for pull
and push") adapted the sync job edit so jobs in both, push and pull
can be edited using the same window. This however did not include the
switching of the direction to which the http client rate limit is
applied to.

Fix this by further adding the edit field for `rate-out` and
conditionally hide the less useful rate limit direction (rate-out for
pull and rate-in for push). This allows to preserve the values if
explicitly set via the sync job config.

Reported in the community forum:
https://forum.proxmox.com/threads/163414/

Fixes: 9aa213b8 ("ui: sync job: adapt edit window to be used for pull and push")
Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
Reviewed-by: Dominik Csapak <d.csapak@proxmox.com>
Tested-by: Dominik Csapak <d.csapak@proxmox.com>
Link: https://lore.proxmox.com/20250318094756.204368-1-c.ebner@proxmox.com
2025-04-08 13:25:00 +02:00
..
ACLEdit.js ui: datastore permissions: allow ACL path edit & query namespaces 2022-05-18 18:14:37 +02:00
BackupGroupChangeOwner.js fix #5861: remove min username length in ChangeOwner modal 2024-11-11 11:08:15 +01:00
CreateDirectory.js ui: use same label for removable datastore created from disk 2024-11-26 12:25:09 +01:00
DataStoreEdit.js ui: datastore edit: fix emptytext for path field 2024-11-27 12:05:53 +01:00
DatastoreRepoInfo.js gui: remove document.execCommand calls 2024-03-25 16:42:54 +01:00
GCJobEdit.js ui: gc job edit: fix i18n gettext usage 2024-06-18 16:15:27 +02:00
InfluxDbEdit.js ui: metrics: don't send digest when creating a new influxdbupd host 2024-03-07 10:30:40 +01:00
MaintenanceOptions.js ui: allow resetting unmounting maintenance 2024-11-26 16:35:02 +01:00
NamespaceEdit.js ui: namespace & maintenance mode: refer to onlineHelp 2022-05-17 14:03:00 +02:00
NotesEdit.js ui: datastore: show comment, allow to edit notes 2020-10-28 18:36:12 +01:00
NotifyOptions.js ui: datastore options: link to 'notification-mode' section 2024-05-22 17:50:03 +02:00
PruneJobEdit.js ui: prune job: disallow setting blank schedule 2024-03-25 17:17:12 +01:00
RemoteEdit.js fix #3058: ui: improve remote edit UX by clarifying ID vs host 2022-01-12 09:38:59 +01:00
Settings.js ui: fix layout reset 2024-04-22 13:39:20 +02:00
SyncJobEdit.js fix: ui: sync job: edit rate limit based on sync direction 2025-04-08 13:25:00 +02:00
TokenEdit.js ui: token edit: fix missing trailing-comma 2025-04-05 17:40:10 +02:00
TrafficControlEdit.js ui: traffic-control edit: add spaces between networks for more readabillity 2021-11-22 10:45:29 +01:00
UserEdit.js ui: set min length for new passwords to 8 2024-11-25 15:51:47 +01:00
VerifyAll.js ui: adapt to s/backup-ns/ns/ api param change 2022-05-13 14:21:52 +02:00
VerifyJobEdit.js ui: verify job: don't send delete value on creation 2024-03-07 10:30:40 +01:00
ZFSCreate.js ui: don't show reset button on zfs creation 2023-09-07 17:46:12 +02:00