proxmox-backup/www
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
..
button ui: administration: set icons for tabs 2020-10-31 09:11:11 +01:00
config ui: access control: re-order and separate secret regeneration top-bar button 2025-04-05 18:59:25 +02:00
css ui: add datastore status mask for unmounted removable datastores 2024-11-25 21:34:22 +01:00
dashboard ui: dashboard: show tape backups/restores on task summary 2023-05-17 11:23:54 +02:00
data ui: running tasks: update limit to 100 2020-07-11 12:53:32 +02:00
datastore options-view: Fix typo in chache 2025-04-07 17:21:59 +02:00
form ui: partition selector: clean-up indentation of model transform arrow-fn 2024-11-27 20:16:32 +01:00
images ui: tape drive icon: invert 2021-03-08 15:51:49 +01:00
panel ui: access control: enable default realm checkbox for all realms 2025-04-05 17:38:00 +02:00
tape tape: introduce a tape backup job worker thread option 2025-04-02 16:45:14 +02:00
window fix: ui: sync job: edit rate limit based on sync direction 2025-04-08 13:25:00 +02:00
Application.js ui: app: fix openID helper usage and rework style 2021-07-03 23:12:08 +02:00
Dashboard.js dashboard: make Subscription translatable 2024-11-27 15:25:14 +01:00
DirectoryList.js ui: support create removable datastore through directory creation 2024-11-25 21:34:22 +01:00
index.hbs ui: show consent banner before login 2024-11-25 18:48:13 +01:00
LoginView.js ui: remove unnecessary Ext.htmlEncode call 2025-04-08 13:04:02 +02:00
MainView.js ui: add fingerprint also to the 'show connection information' window 2023-11-29 17:12:41 +01:00
Makefile ui: sync jobs: revert to single list for pull/push jobs 2024-11-26 14:54:33 +01:00
NavigationTree.js ui: tree: make Tape Backup string translatable 2024-11-27 15:25:11 +01:00
NodeNotes.js fix #3067: ui: add a separate notes view for longer markdown notes 2022-04-25 08:39:39 +02:00
OnlineHelpInfo.js ui: update online help info reference-map 2025-04-05 17:40:10 +02:00
Schema.js ui: add MetricServerView and use it 2022-06-13 10:01:05 +02:00
ServerAdministration.js ui: server administration: repos: add online help 2021-07-22 10:09:53 +02:00
ServerStatus.js gui: remove document.execCommand calls 2024-03-25 16:42:54 +01:00
Subscription.js ui: trim whitespaces when adding a subscription key 2024-03-01 10:44:40 +01:00
SystemConfiguration.js ui: enable vlan widget 2024-04-24 21:49:10 +02:00
Utils.js ui: datastore tuning options: render cut-off time as human readable 2025-04-05 17:40:10 +02:00
VersionInfo.js ui: version info: replace hyphen separator with dot 2024-11-27 20:31:53 +01:00
ZFSList.js ui: some more eslint auto-fixes 2020-09-25 18:34:54 +02:00