2536 Commits

Author SHA1 Message Date
YevhenBondarenko
ad7c314b24 TbResource extends SearchTextBased, created TbResourceInfo 2021-03-20 07:49:00 +02:00
Igor Kulikov
91116bd715 Fix license header 2021-03-19 16:55:59 +02:00
Viacheslav Klimov
e2b455e851 Fix Timescale procedure 'cleanup_timeseries_by_ttl' 2021-03-19 16:04:28 +02:00
nickAS21
bc21db007b
Lwm2m add resource fix (#4272)
* lwm2m: add objectKeyId to back and front profile

* lwm2m: front^ strategy - select

* lwm2m: back fix bag

* lwm2m: back fix bag2

* lwm2m: back fix bag3
2021-03-19 15:55:10 +02:00
Andrii Shvaika
a88d624ffa Perfomance improvement for tenant state load 2021-03-19 14:06:22 +02:00
Andrii Shvaika
9e2bfa4049 Perfomance improvement for tenant state load 2021-03-19 13:51:42 +02:00
Igor Kulikov
e17de056c2 Merge with master 2021-03-19 12:16:43 +02:00
nickAS21
201476f912 lwm2m: add objectKeyId to back and front profile 2021-03-19 11:28:40 +02:00
Chantsova Ekaterina
89072d6b44 Update admin widgets with settings recently added to Entities table 2021-03-18 19:55:28 +02:00
Viacheslav Klimov
c98a2d18a1 Refactor 2021-03-18 18:05:56 +02:00
Viacheslav Klimov
22ada62f3b Fix outdated data in alarm clear event 2021-03-18 18:05:56 +02:00
Andrii Shvaika
43578c7e58 Merge branch 'master' of github.com:thingsboard/thingsboard 2021-03-18 17:07:05 +02:00
Andrii Shvaika
171b991a5c Added index for audit log by tenant id and created time 2021-03-18 17:06:51 +02:00
Viacheslav Klimov
82bc7203ef Notify all core services when device is updated 2021-03-18 11:09:53 +02:00
zbeacon
bd42cfc81f Changes according to comment 2021-03-17 17:04:27 +02:00
zbeacon
52d1b756fa Fix for test script node function 2021-03-17 17:04:27 +02:00
zbeacon
9746df84ea Fix for default values for claiming queue and duration 2021-03-17 17:03:11 +02:00
Volodymyr Babak
8733c04d29 Merge remote-tracking branch 'origin/develop/2.6-edge' into develop/3.3-edge 2021-03-17 15:36:00 +02:00
Volodymyr Babak
40ad4fb08c SQL style fix 2021-03-17 15:17:06 +02:00
Volodymyr Babak
0f64b3764f Merge remote-tracking branch 'upstream/develop/3.3' into develop/3.3-edge 2021-03-16 16:59:15 +02:00
Andrii Shvaika
b4184d014c Improvements to startTime and endTime for subscriptions 2021-03-16 13:46:12 +02:00
Andrii Shvaika
60c141d3ca Allow Customer to edit asssigned entities 2021-03-15 18:32:42 +02:00
ShvaykaD
c5c8fbd3f7
[3.2.2] [WIP] coap transport (#4239)
* init CoapDeviceProfile & added ui components

* added transport payload type configuration for default coap device type

* added AbstractCoapTransportResource & updated efento resource

* fixed coap device profile save & update

* fixed Attribute Updates notifications

* revert CoapOkCallback onSuccess changes

* updated provision request to handle proto payload type

* fix license

* updated Rpc subscribe/unsubscribe action

* add more device emulator clients

* added fix for Coap Transport: ability to handle requests with oneElementUriPaths and MultiElementUriPaths

* fix TbCoapServer implementation

* changed response type to CREATED in POST requests

* improved implementation

* fix typos

* minor bug-fixes & improvements

* fix TbCoapServerMessageDeliverer class

* improved relay sensor implementation

* added tests for CoAP transport\

* fix typo

* removed nosql tests

* fix coap endpoint creation & improved getAttributes tests

* transport tests refactoring
2021-03-15 18:18:45 +02:00
Viacheslav Klimov
bc6efa5e1e
[3.3] [PROD-685] Provide user's session expiration when his auth data is changed (#4201)
* Provide user's session expiration when his auth data is changed

* Provide mock TokenOutdatingService for dao tests

* Increase time gap when checking if token is outdated

* Add license header for TokenOutdatingTest

* Refactor tokens outdating functionality to events usage

* Reset tokens on front-end after changing password
2021-03-15 17:11:23 +02:00
Andrew Shvayka
dff593a3c8
Merge pull request #4184 from YevhenBondarenko/feature/kafka-settings
added "min.insync.replicas" parameter to the kafka topics
2021-03-15 17:08:51 +02:00
Alejandro Santana Lima
5820c5446b Do not load all data if it is not in the current time interval 2021-03-15 17:03:59 +02:00
Andrii Shvaika
430e96cdb2 Fix Latest TS Dao to save newest record with same timestamp. Enabled updates for old timeseries data. 2021-03-15 14:50:26 +02:00
nickAS21
648e8ec262 lwm2m: add Lwm2m provider for models 2021-03-12 17:53:03 +02:00
nickAS21
d27c721bbf lwm2m: Merge branch 'develop/3.3' into add-models 2021-03-12 15:19:47 +02:00
Yevhen Bondarenko
43fe84a284
created TransportResourceCache (#4232)
* created TransportResourceCache

* return resource by sysadmin if not found by tenant in DefaultTransportApiService
2021-03-12 13:00:51 +02:00
Chantsova Ekaterina
63a0421b89 Merge remote-tracking branch 'upstream/master' into feature/extend-table-widget-settings 2021-03-12 12:18:10 +02:00
Chantsova Ekaterina
b47ea45e8e Update bundles with new widgets configuration 2021-03-12 12:17:52 +02:00
Vladyslav_Prykhodko
f13dc26392 UI: Typo in Navigation cards widget 2021-03-10 15:37:11 +02:00
Viacheslav Klimov
44c1cbcbc0 Merge remote-tracking branch 'thingsboard/develop/3.3' into develop/snmp
# Conflicts:
#	application/pom.xml
#	application/src/main/resources/thingsboard.yml
#	common/transport/pom.xml
#	msa/transport/pom.xml
#	pom.xml
#	transport/pom.xml
#	ui-ngx/src/app/modules/home/components/home-components.module.ts
#	ui-ngx/src/app/modules/home/components/profile/device/device-profile-transport-configuration.component.html
#	ui-ngx/src/app/shared/models/device.models.ts
2021-03-10 15:22:03 +02:00
Andrii Shvaika
c108f7148d Description of the widgets and widget bundles 2021-03-10 15:19:41 +02:00
vkukhtyn
5a72479951
[WIP] SNMP initial implementation (#3755)
* Add SNMP type to transport profiles

* Update reference config for transport profiles

* Initial implementation to retrieve a value using SNMP GET message

* Fix license header

* Move config files

* Use async handler for SNMP response

* Send SNMP agent response to attributes and telemetry

* UI: add SNMP option for device profile

* UI: use JSON field to set SNMP profile configuration

* Handle device profile update event

* Use concurrent hash map for SNMP device sessions

* UI: Add device transport configuration control

* Cancel async request to avoid memory leak and timeout handling

* Start SNMP pooling after application started

* Move OID per profile mapping to SNMP transport context

* Fix build after merge with 3.2.1-SNAPSHOT

* Init device sessions on TB start

* Fix build error, refactoring

* Update session context on device update

* Set device info on session context creating

* Refresh pooling params on device or profile update

* Update license header

* Process device and profile transport config update

* Process SNMP response asynchronously

* Change polling implementation
2021-03-10 14:56:25 +02:00
Yevhen Bondarenko
e2dd5b96ae
added resource dao support (#4213)
* Version set to 3.3.0-SNAPSHOT

* added resource dao

* added resource support in transport lvl (get resources and "update", "delete" notifications)

* refactoring

* added resource table to hsql schema

* added check for models dir in InstallScripts

* added pageLink support to getResources
2021-03-09 19:45:28 +02:00
Igor Kulikov
d9a5ee6d0d
Merge pull request #4212 from YevhenBondarenko/fix/ws
TbWebSocketHandler refactoring
2021-03-09 12:58:42 +02:00
nickAS21
447bf05b7b Lwm2m: back: add tenantId and repositoryTenant - test2 2021-03-08 19:24:33 +02:00
nickAS21
65f4ca5800 Lwm2m: back: add tenantId and repositoryTenant - test 2021-03-08 00:00:44 +02:00
VoBa
953054fadc
eval is not thread safe. Added lock to avoid 'No such function invokeInternalXXX' exception (#4211)
* eval is not thread safe. Added lock to avoid 'No such function invokeInternalXXX' exception

* License fix
2021-03-05 18:18:58 +02:00
YevhenBondarenko
69025ab3af TbWebSocketHandler refactoring 2021-03-05 18:17:35 +02:00
YevhenBondarenko
616839a23c refactoring 2021-03-05 18:05:47 +02:00
YevhenBondarenko
937cd04abe Merge branch 'develop/3.3' of https://github.com/thingsboard/thingsboard into develop/3.3-lwm2m 2021-03-05 17:44:41 +02:00
YevhenBondarenko
bd3185a98f added resource support in transport lvl (get resources and "update", "delete" notifications) 2021-03-05 17:43:56 +02:00
Igor Kulikov
6789cff802 Fix schema version 2021-03-05 17:43:22 +02:00
Igor Kulikov
71062f64df New widget selector backend support 2021-03-05 17:08:46 +02:00
Igor Kulikov
23903588ac Merge branch 'feature/dashboard/widget-select-preview' of https://github.com/vvlladd28/thingsboard into vvlladd28-feature/dashboard/widget-select-preview 2021-03-05 13:02:13 +02:00
YevhenBondarenko
6438f6b0ee added resource dao 2021-03-04 18:32:28 +02:00
Igor Kulikov
655052090e Merge branch 'master' into develop/3.3 2021-03-04 12:03:39 +02:00