mirror of
https://git.proxmox.com/git/proxmox-widget-toolkit
synced 2025-08-13 22:38:23 +00:00
bump version to 3.2-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
fb4bb95e9d
commit
e1fc474412
28
debian/changelog
vendored
28
debian/changelog
vendored
@ -1,10 +1,30 @@
|
|||||||
proxmox-widget-toolkit (3.2-2) UNRELEASED; urgency=medium
|
proxmox-widget-toolkit (3.2-3) bullseye; urgency=medium
|
||||||
|
|
||||||
|
* node: repos: handle that components can be undefined
|
||||||
|
|
||||||
|
* markdown: encode bad nodes HTML instead of pruning it
|
||||||
|
|
||||||
|
* markdown: make sanitizer more strict in filtering tags and ensure that the
|
||||||
|
src and the href attributes point to a HTTP url, or is a data-url on a
|
||||||
|
image.
|
||||||
|
|
||||||
|
* info widget: early return from update if text & value stayed the same
|
||||||
|
|
||||||
|
* utils: updateColumnWidth: drop duplicate implementation and allow
|
||||||
|
overriding tresholdWidth
|
||||||
|
|
||||||
|
* utils: updateColumnWidth: directly calculate column count by threshold,
|
||||||
|
automatically using more columns on wide containers.
|
||||||
|
|
||||||
|
-- Proxmox Support Team <support@proxmox.com> Mon, 05 Jul 2021 10:10:47 +0200
|
||||||
|
|
||||||
|
proxmox-widget-toolkit (3.2-2) bullseye; urgency=medium
|
||||||
|
|
||||||
* avoid using unique ids for components that may have more than one instance
|
* avoid using unique ids for components that may have more than one instance
|
||||||
at at time. Fixes and issue with switching between nodes on the new APT
|
at the same time. Fixes and issue with switching between nodes on the new
|
||||||
Repository panel.
|
APT Repository panel.
|
||||||
|
|
||||||
-- Proxmox Support Team <support@proxmox.com> Sat, 03 Jul 2021 16:33:40 +0200
|
-- Proxmox Support Team <support@proxmox.com> Mon, 05 Jul 2021 09:47:46 +0200
|
||||||
|
|
||||||
proxmox-widget-toolkit (3.2-1) bullseye; urgency=medium
|
proxmox-widget-toolkit (3.2-1) bullseye; urgency=medium
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ Ext.define('Proxmox.Markdown', {
|
|||||||
} else if ((name === 'href' || name === 'src') && !_isHTTPLike(value)) {
|
} else if ((name === 'href' || name === 'src') && !_isHTTPLike(value)) {
|
||||||
try {
|
try {
|
||||||
let url = new URL(value, window.location.origin);
|
let url = new URL(value, window.location.origin);
|
||||||
if (_isHTTPLike(url.protocol)) {
|
if (_isHTTPLike(url.protocol) || (node.tagName === 'img' && url.protocol === 'data:')) {
|
||||||
node.attributes[i].value = url.href;
|
node.attributes[i].value = url.href;
|
||||||
} else {
|
} else {
|
||||||
node.attributes.removeNamedItem(name);
|
node.attributes.removeNamedItem(name);
|
||||||
|
Loading…
Reference in New Issue
Block a user