- size_filter_holds runs the real copy search (normalized_copies) on a source of exactly COPY_SIMILARITY % of a
destination and on one byte less, and compares Git's answers with could_be_copy. When they disagree the size
filter is off for the run: every CE file is searched, the console says so and the report has
copySearch.sizeFilter false (null when nothing was searched for copies). It runs only when there are new paths.
- Copy sources are staged under zero-padded ranks in key order. Slot numbers used to start after the checked
files and sort as strings, so among equally similar CE sources --since and a full run could report different
copy candidates.
- the workflow fingerprints the restored databases and saves only when the run changed them, so a check that fails
before opening the cache, --no-cache or a run that only reads it saves nothing; the .updated marker and both of its
clean-ups are gone
- a test pins that a run which only reads the cache leaves its bytes unchanged
- copy_candidates returns the comparison hashes of the CE files it searched instead of updating the caller's dict
- put() commits at once, so the write lock is held briefly; any SQLite error in open, get or put continues the run without the cache
- a lock at open is no longer taken for damage, so the file of another run is not deleted; open() closes its connection on failure
- pruning matches only <32 hex>.sqlite; LICENSE_HEADERS_CACHE_SIGNATURES sets how many signatures are kept, CI keeps 1
- the copy similarity threshold and the CRLF staging are each defined once
- the save step takes the restore step's primary key; the workflow comment credits cache scoping
- --cache is listed in the wrapper's usage
- Pull requests check the files they change (--since), with a full check when
the CE bases, the Mycila configuration or the check itself changed.
- One history walk for CE deletions instead of one per CE base.
- Distinct three-way merges run once and in parallel; Mycila invocations no
longer share pom.xml/report.json and run in parallel.
- The copy search skips CE files that Git cannot match by size.
- Header-free CE contents are cached in target/license-headers-cache; pushes
save the cache, pull requests only restore it.
* 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>
The check ran with maven-antrun-plugin in the validate phase. That plugin makes Maven resolve the dependencies of the application module, which fails in 'mvn validate' on a clean machine, where the other modules are not built yet. The check is now a maven-enforcer-plugin rule, which needs no dependency resolution.
Fields that the server sends as null were documented as required, so
generated clients (Dart in particular) failed to parse such responses.
They are now NOT_REQUIRED. Bean validation on save is unchanged.
swagger-core skips @NotNull for a property with
@Schema(requiredMode = NOT_REQUIRED), but still adds the ones with
@NotBlank / @NotEmpty to 'required'; SwaggerConfiguration now removes
them.
- web-report: build the shipped executables without pkg --debug again; the SBOM check makes its own --debug pass into a folder it deletes
- skip the yarn SBOM steps of ui-ngx, web-ui and web-report with -Dskip.ui.build=true (sbom.ui.skip)
- keep Lombok out of the boot jars: it is needed only to compile and is not in the SBOMs
- list the DigiCert root certificate in the package SBOM of the integration executor
- check in every build that the gateway extension SBOM names the hash of the committed .js, and keep Git from changing the line ends of that file
- license headers: mark packaging/java/build.gradle as modified and update the curation of msa/web-report/pom.xml
The image SBOMs were made by sbom-docker-images.sh, run after the release build. The image goal of sbom-maven-plugin now finds the pushed images, scans them and attaches the SBOMs itself, so the push profiles bind it to the phase that pushes the image, right after the pushes, with the tags they push. The script is removed.
sbom.skip is true by default, so a normal build makes no SBOMs. -Dsbom.skip=false turns them on: jar and package SBOMs in any build, and image SBOMs as well in a build with a push profile.
springdoc infers a parameter type from its Java type only when
@Parameter(schema = @Schema(...)) sets neither type nor implementation;
otherwise it falls back to string. Fix int and long parameters globally
in SwaggerConfiguration instead of declaring the type per endpoint.