The enrollment now collects its license key from the portal when the grant is
done, and keeps it in tb_cluster.license_secret. A claim that has nothing to
hand over yet leaves the flow for the next poll; a refused claim ends the flow
registered without a key; a transport failure is left to the existing backoff.
Fixes the XSS sanitizer bypass in DOM.sanitize() (GHSA-jrc7-96c5-q579,
maplibre-gl <= 6.4.0).
- v6 removed the internal map.transform: sync the GL map with Leaflet
through the public jumpTo() and detect resizes from the container size
- v6 is ESM-only and the worker must be registered via setWorkerUrl():
copy maplibre-gl-worker.mjs and its maplibre-gl-shared.mjs dependency
to assets/maplibre-gl/
* Add API key support for CARTO basemap layers
* Move CARTO basemaps to a dedicated map provider and drop legacy HERE v2 credentials
- Add MapProvider.carto with its own layer types, settings and TbCartoMapLayer;
the API key is optional since CARTO serves tiles without one.
- Read CARTO layers stored under the OpenStreetMap provider as CARTO layers
(normalized in the layer factory and in the map layers settings form),
so existing widgets migrate on the next settings save without an upgrade script.
- Reset the API key when switching to CARTO instead of keeping the previous provider's key.
- Remove the useV3 toggle and app_id/app_code fields from legacy HERE settings;
leaflet-providers 4.x only supports HERE v3 with an API key.
---------
Co-authored-by: Vladyslav Prykhodko <vlad.pryhodko@icloud.com>
* Refresh the installed items count after an install, update or delete
The IoT Hub items page loaded its installed-items counter once, so installing,
updating or deleting an item from the embedded browse list left the counter
showing a stale number until the page was reloaded.
The browse component now emits installedItemsChanged whenever it refreshes its
own installed-items state, and the page reloads the counter on that event.
* Refresh the installed items count from the device wizard and deep links too
The device install wizard registers the install as soon as the entity steps
finish, but closing it with the header X or with Cancel on a still-pending
later step resolved to false, so the caller never reloaded. It now reports
'installed' once the server has the installed item, whichever way it is closed.
The deep-linked item dialog is opened by the items page itself, so its outcome
was discarded. It now refreshes the browse grid, which in turn announces the
new count.
* Keep IoT Hub markdown table columns from overlapping
Long unbreakable values in solution instruction tables (logins, e-mails,
passwords) overflowed their own column and ran under the copy icon.
Cells now break such tokens with overflow-wrap: anywhere, cells holding a
copy button reserve room for the icon, and the table is sized by its
content instead of splitting the width equally between all columns.
* Let preformatted content in markdown table cells wrap
With auto layout a cell holding a preformatted block keeps the whole line as its
min-content width, which the table cannot shrink below: in a 396px host the table
measured 701px and a host that hides horizontal overflow, such as the item detail
dialog's .dlg-body, cut the overflow off with no way to scroll to it. Relaxing the
block and the code inside it to pre-wrap lets the cell shrink with the table.
* Derive the copy icon space in table cells from the icon geometry
The 44px reserved on the right of a copy-code cell was derived by hand from the
copy icon chip declared 45 lines above it, so nudging the chip's width or offset
would silently put the cell text back under the icon. Both numbers now live in
$copy-icon-width and $copy-icon-offset, used by the chip itself and by the
reservation, which is written as width plus the gap on either side.