Nikita Mazurenko
139d398168
Fix license header in EdgeEntityTenantChecker
3 weeks ago
Nikita Mazurenko
d7e8bee626
Share edge entity tenant checks and add missing edge isolation tests
3 weeks ago
Nikita Mazurenko
8d4660d179
Send only the edge tenant's profile to edge
3 weeks ago
Nikita Mazurenko
5cd0991943
Add enum, boolean and id fields to edge msg summaries
3 weeks ago
Nikita Mazurenko
fe97edcc11
Check entity group edge assignment and write permission
1 month ago
Nikita Mazurenko
43c30fb67e
Relax permission message check in edge save test
1 month ago
Nikita Mazurenko
146dd72b2f
Check stored edge on edge update
1 month ago
Nikita Mazurenko
dcb9c6dada
Fix license header in EdgeMsgSummaryUtils
1 month ago
Nikita Mazurenko
0475763bba
Check user email across all tenants on edge user save
1 month ago
Nikita Mazurenko
02e854f79b
Remove user, api key and ai model msgs content from edge logs and exceptions
1 month ago
Nikita Mazurenko
2b7830a03f
Take only password and enabled flag from edge user credentials msg
1 month ago
Nikita Mazurenko
6af0dd38ce
Restore missing test annotation in UserEdgeTest
1 month ago
Nikita Mazurenko
728e0016ad
Remove activation and reset tokens from user credentials sent to edge
1 month ago
Nikita Mazurenko
46ea9dbd88
Remove edge msgs content and secrets from edge failure notifications and logs
1 month ago
Nikita Mazurenko
e614d5d307
Add test for internal api key from edge
1 month ago
Nikita Mazurenko
5e0ce94fbb
Check entity tenant in edge report template and scheduler event msgs processing
1 month ago
Nikita Mazurenko
db90d151e9
Check entity group and owner tenant in edge msgs processing
1 month ago
Nikita Mazurenko
15f8c2c750
Check device tenant on edge device delete
1 month ago
Nikita Mazurenko
c2f0802732
Check entity tenant in edge api key, ai model and user credentials msgs processing
1 month ago
Nikita Mazurenko
b5726ccb7c
Process system context notifications of edge assigned entities in entity tenant
1 month ago
Nikita Mazurenko
819afbc918
Push system context edge events of tenant entities to entity tenant edges
1 month ago
Nikita Mazurenko
8f963e63a0
Check entity tenant in edge uplink msgs processing
1 month ago
Nikita Mazurenko
979e2d5f81
Check user tenant before sending user to edge
1 month ago
Nikita Mazurenko
c82d1ce156
Check entity tenant in edge request msgs processing
1 month ago
Nikita Mazurenko
98c3aad861
Set edge's tenantId on user save
1 month ago
Igor Kulikov
2557656366
fix: AI Assistant follows a reply after a dropped connection, a reload or a reopened panel, keeps the user's message, shows a readable connection-lost notice, tells TB AI when the browser leaves a turn, and restores approval cards and unfinished-request notices from history (PROD-9070)
1 month ago
Viacheslav Klimov
b21bbebaa3
Replace removed es_ES solution-template key in translation tests
1 month ago
Viacheslav Klimov
9bd3bbfa5e
Version set to 4.3.1.8-SNAPSHOT
1 month ago
Viacheslav Klimov
7a83ef3073
Version set to 4.2.2.8-SNAPSHOT
1 month ago
Nikita Mazurenko
c2190d3873
Keep syncing system general and connectivity settings to edge
1 month ago
Nikita Mazurenko
663615d191
Adapt edge mail/SMS/notification uplink handling to the 4.4 codebase
1 month ago
Nikita Mazurenko
c2f385e03a
Restamp license headers for edge session changes
1 month ago
Nikita Mazurenko
fdd9481a01
Swap the edge session before destroying the one it replaces
1 month ago
Viacheslav Klimov
2bc4bdc8f9
Refactor settings API
1 month ago
Nikita Mazurenko
d7fcabf372
Do not clear edge activity state when a newer session owns the edge
1 month ago
Nikita Mazurenko
b602bb38b0
Make edge inactive write atomic with same-node reconnect
1 month ago
Dmytro Artamonov
115dbabc31
chore(license): restamp ApiKeysCleanUpService header as ce-modified
2 months ago
Dmytro Artamonov
f9bccf9ef9
fix(ttl): load ApiKeysCleanUpService when api key cleanup is enabled
The bean condition also required sql.ttl.api_keys.ttl to be greater than
zero, but that property is not defined in thingsboard.yml and defaulted to
zero, so the bean was never created and expired API key rows were never
removed.
ApiKeysCleanUpService does not read a retention value: it deletes keys whose
expiration time has already passed. Drop the unused property from the
condition and gate the bean on sql.ttl.api_keys.enabled alone.
Note that cleanup is now active by default on upgrade, since
sql.ttl.api_keys.enabled defaults to true. Expired API keys are already
rejected during authentication, so this only removes the stale rows.
2 months ago
Dmytro Artamonov
d2a20dbf46
fix(config): bind api key length to SECURITY_API_KEY_VALUE_BYTES_SIZE
security.api_key.value_bytes_size referenced SECURITY_API_KEY_VALUE_PREFIX,
the same variable as value_prefix. SECURITY_API_KEY_VALUE_BYTES_SIZE had no
effect, and setting a custom prefix made value_bytes_size resolve to a
non-numeric value, which fails int conversion of the @Value injection in
ApiKeyServiceImpl and breaks application startup.
2 months ago
Nikita Mazurenko
2751213dd8
Fix ThingsBoard spelling in the new edge session test headers
2 months ago
Maksym Tsymbarov
e2636ca62e
Moved inputs to outline inputs in custom dialogs ( #16338 )
* Used outline inputs in demo dashboards, custom action examples and device/asset admin table dialogs
* Additional fixes
* Additional fixes
2 months ago
Viacheslav Klimov
aeaf9d1e29
Protect OAuth2 authorization request cookie from tampering
2 months ago
Viacheslav Klimov
b94e5b1fba
Fix TwoFactorAuthTest compilation after merging lts-4.2
2 months ago
Nikita Mazurenko
e4e02990dc
Use SPDX license headers in the new edge session tests
2 months ago
Viacheslav Klimov
8bba0cb705
Fix license header of TbTestWebSocketClient
2 months ago
Viacheslav Klimov
1ad2f350fe
Fix license headers
2 months ago
Viacheslav Klimov
634e95699f
Fix license headers
2 months ago
Viacheslav Klimov
f1000e4721
Fix TenantActorTest compilation after PartitionChangeMsg factories
2 months ago
Sergey Matvienko
4bc7515807
Pin the live-member path in known-service-id notification tests
partitionService is a mock, so an unstubbed getAllServiceIds() returns an
empty set and the known-id tests also passed through the fail-open branch.
Assert that a live member is accepted without consulting getAllServiceIds,
so the tests fail if the isKnownServiceId check is broken.
2 months ago
Sergey Matvienko
9efa7697b7
Use a neutral constant for the unknown service id in cluster service tests
2 months ago