* Fixed license headers of files changed by the set value action settings fixes
* Fixed license headers of files changed by the Account tab icons fix
* Fixed license headers of files changed by recent UI fixes
* fix: sort time series chart series to match legend sortDataKeys order
* fix: gate sortDataKeys on showLegend in time-series chart widget
* refactor: share legend data key comparator and pass time series sort as sortSeries setting
---------
Co-authored-by: Vladyslav_Prykhodko <vprykhodko@thingsboard.io>
* [WIP] make value chart widget auto refresh
* Add auto-refresh for "last update ago" date in value card widgets
Apply periodic date refresh logic to tb-value-card-widget and
tb-aggregated-value-card-widget. Both widgets display a "Last update
X ago" timestamp that previously only updated when new telemetry
arrived. The interval subscription now re-evaluates the relative time
on every tick (interval driven by dynamicPageLinkRefreshIntervalSec
from system params, defaulting to 60s), keeping the label accurate
without waiting for a data push.
* Reverted wrongly added translation key
* Refactor last-update-ago auto-refresh into LastUpdateAgeDateFormatProcessor
* Chore: fix formatting
* Fix typo
* Fix auto-refresh scheduling in LastUpdateAgoDateFormatProcessor
* refactor: make last-update-ago refresh a lazy observable shared with DateAgoPipe
---------
Co-authored-by: Vladyslav_Prykhodko <vprykhodko@thingsboard.io>
* Add 'Overwrite activity time' column type to device bulk import
* Fix overwriteActivityTime column type not being disabled after selection in bulk import
Remove dead locale key import.column-type.activity-time-from-gateway-device
from all 23 locale files
* Use DataConstants keys for gateway and overwriteActivityTime in device bulk import
* Group gateway columns in bulk import and reuse device.overwrite-activity-time label
* Fixed auto-detection of gateway columns in device bulk import
---------
Co-authored-by: Vladyslav_Prykhodko <vprykhodko@thingsboard.io>
* feat: assign dedicated Leaflet pane per marker data layer for z-index control
Each marker data layer gets its own Leaflet pane (tb-markers-pane-{index})
whose z-index is derived from the layer's position in the Overlays list
(first = highest = always on top). Stacking order is controlled by
drag-reordering layers in the editor — no new settings field required.
Pane z-index formula: 600 + (count - 1 - index), keeping marker layers
above overlayPane (400) and below tooltipPane/popupPane (650/700).
Both individual markers and cluster icons are assigned to the layer's pane
via the `pane` and `clusterPane` Leaflet marker options respectively.
Scope: markers data layers only; polygons, circles, polylines and trips
retain their default Leaflet panes.
* refactor: move marker pane ownership to TbMap and keep panes below markerPane
* [WIP] implement two finger map zoom in mobile
* feat: add useGestureHandling map option for cooperative scroll/touch zoom
* Removed wrongly added package-lock.json and restored previous yarn url targets
* Made gestures mode dependant on the Zoom actions:scroll (visible only when scroll is enabled), changed from simple slider to a more styled pill slider toggle, added a tooltip where put configuration explanation
* feat: configure gesture handling overlay duration and translated text
* refactor: register gesture handling plugin in leaflet-tb and extract options to base map class
* fix: address gesture handling review — remove duplicate registration, decouple mobile toggle from scroll zoom
* fix: correct gesture hint text, drop unused MapZoomAction, pin leaflet-gesture-handling
* chore: restamp license headers for modified CE files
* Fixed long user email being truncated in the sidebar user menu
* Changed approach
* Simplified code
* Used popover background for email ellipsis fade and let domain use free width
---------
Co-authored-by: Vladyslav_Prykhodko <vprykhodko@thingsboard.io>
Every conflict and change to the 4.4.1 side, as for #16554: the reinstall of 4.4.0.x, the placement of the replaced
device and the removal check stay out, 4.4.1 updates device packages in place. The merge only records the history, so
hotfix-4.4 -> lts-4.4 brings no conflicts.
Every conflict and change to the 4.4.1 side: 4.4.1 updates device packages in place (PROD-9096), so the reinstall of
the 4.2/4.3 fix (the removeEntities endpoint, the device update dialog, its tests and locale keys) stays out. The
merge only records the 4.3 history, so lts-4.3 -> lts-4.4 brings no conflicts.
- A dashboard of the package that a profile outside the package uses as its default dashboard, and a device profile of
the package that a firmware or software package refers to, refuse the update before anything is removed.
- The refusal no longer says that nothing was removed: an earlier attempt may have removed part of the package.
- The GATEWAY_CONNECTOR step neither marks the gateway as created in this wizard nor tracks it, so a gateway the user
had and chose to use stays theirs after Back reruns the steps.
- The doc of packageOwnedEntityIds is back above it; tests for the rule chain, the dashboard and the firmware.
- A dashboard of the package that a profile outside the package uses as its default dashboard, and a device profile of
the package that a firmware or software package refers to, refuse the update before anything is removed, as the
profile and the rule chain do.
- The refusal no longer says that nothing was removed: an earlier attempt may have removed part of the package.
- The GATEWAY_CONNECTOR step neither marks the gateway as created in this wizard nor tracks it: the connector is
attributes on the gateway. A gateway the user had and chose to use stays theirs after Back reruns the steps.
- The doc of packageOwnedEntityIds is back above it.
- Tests for the rule chain (root, default of another device or asset profile, default of the package's own profile),
the dashboard and the firmware.
By hand from the 4.2 and PE lines: ThingsBoard refuses to delete a device profile that is the default one or that
devices outside the package use, a converter that an integration outside the package uses, and a rule chain that is
the root one or the default rule chain of a profile outside the package. Found after the dashboard and the device were
gone, such a refusal left the package half removed and failed every Retry. Now it is checked before anything is
removed, and the update is refused with a 400 that names what blocks it.
The PE part of thingsboard-pe#5291 for 4.4.0.x, by hand: the update opens the wizard of the new version with the entity
group (the first one other than All) and the customer of the installed version's device, and the server keeps them in
the install state ($placement) when it removes the entities, so a retry after the device is gone still creates the new
one there. 4.4.1 does not need it: its update keeps the same device.
The update is refused before removing when the package's profile or rule chain can't be removed; an entity the user
chose to use is not tracked as the package's; a failure after the removal has started is not a 400.
After Back reruns the entity steps, the "use existing" mark of such an entity is gone from the install state, so the
server took it for the package's and a later update or Delete removed the user's own entity. The wizard no longer
tracks it, unless it created that entity itself earlier in the same wizard.
The update removes the package's entities one by one. ThingsBoard refuses to delete a device profile that is the
default one or that devices outside the package use, and a rule chain that is the root one or the default rule chain
of a profile outside the package. Found after the dashboard and the device were gone, such a refusal left the package
half removed, and every Retry failed the same way. Now it is checked before anything is removed, and the update is
refused with a 400 that names what blocks it.
A failure after the removal has started is thrown without its cause: BaseController answers 400 for an
IncorrectParameterException cause, and a 400 tells the wizard that nothing was removed.