* fix(ui): list edge owner's groups in "Assign entity groups to edge" dialog
The dialog listed groups of the current user's owner unless the route had a customerId, so a tenant admin opening a customer-owned edge from Edge management could not assign that customer's groups. Use the edge owner resolved with the edge instead.
Fixes#16853
* fix(ui): use the edge owner in "Assign entity groups to edge" only for tenant admins
For a customer user the edge owner can be outside their owner chain (an edge shared from the tenant or a parent customer). /entityGroupInfosHierarchy then returns 403 and the dialog shows an empty list. Customer users keep listing their own groups, as before.
* Fixed the description of the Integration Executor queue partitions setting
The comment above queue.integration.partitions in thingsboard.yml and tb-integration-executor.yml was a copy of the hash function comment. Replaced it with a description of what the setting controls.
* Simplified the Integration Executor queue partitions setting description for operators
* feat: AI chat words for installing an IoT Hub device in the chat: action lines for read_iot_hub_device and install_iot_hub_device, their Details as the hub item, the approval card's install facts (model, how it connects, profile, device, gateway, connector, dashboard, rule chain, converter, integration, kept entities) and the IoT Hub record on the device install's approval and line
* AI chat: an IoT Hub device install's Details header says it installed the device ('Installed ... from IoT Hub') instead of reading it
* Sync Arabic translation with lts-4.4 en_US
* Sync Catalan translation with lts-4.4 en_US
* Sync Danish translation with lts-4.4 en_US
* Sync German translation with lts-4.4 en_US
* Sync Greek translation with lts-4.4 en_US
* Sync Spanish translation with lts-4.4 en_US
* Sync French translation with lts-4.4 en_US
* Sync Hindi translation with lts-4.4 en_US
* Sync Italian translation with lts-4.4 en_US
* Sync Japanese translation with lts-4.4 en_US
* Sync Korean translation with lts-4.4 en_US
* Sync Lithuanian translation with lts-4.4 en_US
* Sync Dutch (Belgium) translation with lts-4.4 en_US
* Sync Dutch translation with lts-4.4 en_US
* Sync Norwegian translation with lts-4.4 en_US
* Sync Polish translation with lts-4.4 en_US
* Sync Brazilian Portuguese translation with lts-4.4 en_US
* Sync Slovenian translation with lts-4.4 en_US
* Sync Turkish translation with lts-4.4 en_US
* Sync Ukrainian translation with lts-4.4 en_US
* Sync Simplified Chinese translation with lts-4.4 en_US
* Sync Traditional Chinese translation with lts-4.4 en_US
* Remove Arabic and Catalan keys that en_US no longer has
---------
Co-authored-by: Vladyslav_Prykhodko <vprykhodko@thingsboard.io>
* Update Georgian translation for 4.4: missing keys, the 2019 strings reviewed, terminology
* Remove Georgian keys that en_US no longer has
* Update Czech translation for 4.4: missing keys, existing strings reviewed, terminology
* Remove Czech keys that en_US no longer has
* Update Latvian translation for 4.4: missing keys, the 2020 strings reviewed, terminology
* Remove Latvian keys that en_US no longer has
* Update Romanian translation for 4.4: missing keys, the 2020 strings reviewed, terminology
* Remove Romanian keys that en_US no longer has
* Sync Georgian translation with lts-4.4 en_US
* Sync Czech translation with lts-4.4 en_US
* Sync Latvian translation with lts-4.4 en_US
* Sync Romanian translation with lts-4.4 en_US
---------
Co-authored-by: Vladyslav_Prykhodko <vprykhodko@thingsboard.io>
* fix(notifications): set mutable-content on iOS push notifications
The mobile app's iOS notification service extension draws the icon
configured in the notification template and attaches it to the push.
iOS runs the extension only when the APNs payload carries
mutable-content: 1, so pushes received while the app was in the
background or closed were shown without the icon.
* chore: update the license header of DefaultFirebaseService
aiQuestionsOf passes color through (never with multiple), so a color question
gets the picker even without hex options. The approval card translates the
common review values (on, off, automatic, set, not set, default) whatever the
field, with English text unchanged; labels for the new tlsVersion,
passwordSecret and proxyPasswordSecret fields.
Inline review: legacy ai_solution_creator menu id maps to ai_assistant, quick
web link ids use guid(), white labeling and report templates no longer reload
over unsaved edits, the solution chat stop state clears when a run ends, the
tour skips stops whose target never appears, the hand-over clock runs only
while waiting and outside the zone, ai-theme no longer leaks into component
stylesheets, SSE heartbeats are ignored, unknown alarm-update actions fall back
to "other", the panel margin follows the panel actually being present, and
ALARM_RULE reviews get their label.
Bundle: the docked panel and the AI Assistant page load lazily; AiModule is
split into core, composer and chat modules; the CLI guide moved next to its page.
Translations: no sentences assembled in code, plural forms, entity words as
keys, wording fixes, unused and stale keys removed, help lists recipient params.
Maintainability: one isAiAvailable() rule, one '/' shortcut service, OnPush
chat components, shared chat-session helpers, single chat list, shared reload,
toast, count and storage helpers, prefixed generic theme classes, Prism skipped
where the kit highlighter re-renders code, dead code, CSS and assets removed.
License headers restamped and three files curated.
- AI credits limit increase request rolls back its dedupe key on any failure after it is stored, so a failed attempt no longer blocks retries (PR #16848)
- DefaultAiChatServiceTest expects the credit check on createChat (PR #16848)
- startNew uses the credit-checking process(action, user) overload and its test verifies it (PR #16848)
- Unit tests for owner-scoped alarm subscriptions and TbEntityDataSubCtx.onSameEntities (PR #16848)
The Downlink connection string and Downlink topic name fields are used only to send downlinks, but were shown for every integration in the collapsed Advanced settings, and stayed there when a downlink converter made them required. They are now shown below the topic and subscription only when a downlink converter is set. Required-field messages of the form end with a period.
* Showed Azure Event Hub IoT Hub name only with a downlink converter
The IoT Hub name field is used only to send cloud-to-device messages, so the form shows it only when the integration has a downlink converter. The add-integration wizard counted a converter chosen under "Select existing" even after switching to "Skip", and did not count "Library"; it now uses only the current choice, which also fixes the downlink fields of UDP, TCP, KPN, ChirpStack and Azure Service Bus. Required-field messages on the form now read as full sentences.
* Moved downlink converter check in the wizard to a getter
The add-integration wizard now decides whether a downlink converter is set in isDownlinkConverterSet, next to createDownlinkConverter().
The dashboard selection dropdown requested /api/user/dashboards without the
mobile flag, so dashboards with "Hide dashboard in mobile application" were
listed and could be opened from the mobile app. Pass mobile=true when the UI
runs inside the mobile app; browser behaviour is unchanged.