1824 Commits

Author SHA1 Message Date
Illia Barkov
4aa55bccf8
Added ability to return arrays in transformation script node (#3910)
* Added ability to return arrays in transformation script node

* fix typo

* Refactoring

* Improvements

* Improvements
2021-01-06 14:41:01 +02:00
YevhenBondarenko
bcfc7cc733 fixed audit logs for device profile 2020-12-30 18:17:10 +02:00
Igor Kulikov
674512ddcc Fix updateDashboardCustomers method - allow empty body 2020-12-29 11:09:21 +02:00
Viacheslav Kukhtyn
f1fb0cedae Add audit log details for telemetry deleted and telemetry updated types 2020-12-25 18:24:31 +02:00
Viacheslav Kukhtyn
9c44920fe7 Merge branch 'master' into feature/log-telemetry-updated 2020-12-24 13:24:55 +02:00
Igor Kulikov
452090b9b7
Merge pull request #3883 from ShvaykaD/feature/cassandra-partitions-cache-3.2
[3.2.x] Feature/cassandra partitions cache
2020-12-23 16:18:15 +02:00
Viacheslav Kukhtyn
9829dd17cc Merge branch 'master' into feature/log-telemetry-updated 2020-12-23 16:16:15 +02:00
Igor Kulikov
45756dc728
Merge pull request #3834 from YevhenBondarenko/feature/keys-by-query
added ability to get attributes and timeseries keys by entity query
2020-12-23 16:13:39 +02:00
ShvaykaD
e516cd31dc added Caffeine cache for Cassandra ts partitions saving 2020-12-21 19:09:34 +02:00
Vladyslav_Prykhodko
3aa97eec06 UI: Improvement autocomplete data keys in datasource widget 2020-12-17 13:32:03 +02:00
YevhenBondarenko
91bb1ed504 refactored findEntityTimeseriesAndAttributesKeysByQuery 2020-12-16 11:21:28 +02:00
YevhenBondarenko
dfb82bf28f findEntityTimeseriesAndAttributesKeysByQuery improvements 2020-12-16 11:05:35 +02:00
YevhenBondarenko
92f088b53f changed dashboard configuration column type 2020-12-16 10:11:42 +02:00
Andrii Shvaika
395ab10c0c Avoid sending WARNINGS if api usage value is zero 2020-12-15 18:09:52 +02:00
Andrii Shvaika
87914be4af Improved logging of Rule Node Errors 2020-12-15 17:40:19 +02:00
YevhenBondarenko
f63b4b1f7c created findEntityTimeseriesAndAttributesKeysByQuery instead findEntityTimeseriesKeysByQuery and findEntityAttributesKeysByQuery 2020-12-15 16:16:02 +02:00
Andrii Shvaika
b22404e9fb Change AWS SMS type from Promotional to Transactional 2020-12-14 18:26:18 +02:00
Hamza Slama
8463976328
Remove useless space 2020-12-12 14:54:34 +01:00
Volodymyr Babak
5e47b2b926 Fixes according code review 2020-12-11 12:38:59 +02:00
Volodymyr Babak
3a38ed8d6a Fix for copy msg for 2 or more relations 2020-12-11 12:38:59 +02:00
YevhenBondarenko
9a03fbadc7 added ability to get attributes and timeseries keys by entity query 2020-12-10 17:55:16 +02:00
Yevhen Bondarenko
5d30243eea
added ability to get attributes and timeseries keys by device profile id (#3817)
* added ability to get attributes and timeseries keys by entity ids

* refactored

* refactored

* get attributes and timeseries keys by device profile improvements

* added limit

* added device_profile_id index and upgrade script

* improvements

* refactored
2020-12-10 15:18:28 +02:00
Andrew Shvayka
24ccd2a2b5 Revert "[3.2.1] Develop/lwm2m (#3547)"
This reverts commit df6151f5ae8d3b77a67318dbb774d55e3f297960.
2020-12-09 17:11:50 +02:00
Andrew Shvayka
df6151f5ae
[3.2.1] Develop/lwm2m (#3547)
* LwM2M - Start transport

* LwM2M - Test endpoint

* LwM2M - Test endpoint

* LwM2M - Test add xml

* LwM2M device registration

* LwM2M - add get from client, add attributes and telemetry upgrade from registration client

* LwM2M - add get from client, add attributes and telemetry upgrade from registration client

* LwM2M implementation

* LwM2M - add to service telemetry and attribute

* LwM2M add to service attribute and telemetry

* LwM2M - add LWM2M_CREDENTIALS to DeviceCredentialsType

* LwM2M - add LWM2M_CREDENTIALS to DeviceCredentialsType

* LwM2M - add transport.process

* LwM2M - delete from yml tenantid, PSK -ok

* LwM2M - yml del tenantId

* LwM2M - add RPK

* LwM2M - add connect only x509 certificate. Crate certificates in serverKeyStore.jks and clientKeyStore.jks

* LwM2M - add no_sec

* LwM2M - add RPK & PSK integration test with app Client

* LwM2M - add RPK & PSK integration test with app Client

* LwM2M - add read JKS from file

* LwM2M - add read JKS from file

* LwM2M - add bootstrap cert

* LwM2M - add bootstrap RPK

* LwM2M - add bootstrap No_sec

* LwM2M - cleaned the code

* LwM2M - add to 3.0 in UI credentials lwm2m

* LwM2M - add to 3.0 in UI credentials lwm2m

* LwM2M - add to 3.0 in UI credentials lwm2m

* LwM2M - fix bug CoAP transport

* LwM2M: UI - add Json to credentials

* LwM2M: Back - add command "/3/0/5" - trigger client

* LwM2M: fix bug Json edit dialog

* LwM2M: fix bug Json edit dialog

* lwm2m: fix bug Json edit dialog: add validate

* lwm2m: UI add tabs

* lwm2m: UI add tabs (cleaner)

* lwm2m: add interface SecurityConfigModels

* lwm2m: add interface SecurityConfigModels2

* lwm2m: change html

* lwm2m: UI add bootstrap component

* lwm2m: UI add bootstrap component with FormControl

* lwm2m: UI add start Observe

* lwm2m: UI - correct

* lwm2m: UI - correct

* lwm2m: UI - add Validator: BS RPK, X509

* lwm2m: UI - add Observe

* lwm2m: UI - finish Observe

* lwm2m: UI - fix bug config-service update identity

* lwm2m: Bootstarp&Sewrver All config secure

* lwm2m: Bootstarp&Sewrver All config secure for new Front format

* lwm2m: Bootstarp&Sewrver Different config secure for new Front format

* lwm2m: Add attributes Gui and Backend

* lwm2m: Add attributes Gui and Backend final

* lwm2m: Add telemetrys to Gui

* lwm2m: Add Attribute & telemetry in Gui to instance

* lwm2m: Optimize Attr/Telemetry

* lwm2m: Optimize Attr/Telemetry

* lwm2m: Optimize Attr/Telemetry

* lwm2m: Optimize Attr/Telemetry for mobile

* lwm2m: Model folder

* lwm2m: Ok on AWS: NoSec, PSK, X509
bad registration - RPK

* lwm2m: KeyStore start only one

* lwm2m: Server observe ok

* lwm2m: Server fix bug finish session without remove

* lwm2m: Server add function installValue

* lwm2m: Server add function getAttrTelemetry to tingsboard

* lwm2m: Server add function installValue

* lwm2m: Server add function update Telemetry, Attr from observe

* lwm2m: Server add comments

* lwm2m: Server add session listener

* lwm2m: Server add onGetChangeCredentials with analyze

* lwm2m: Server add onGetChangeCredentials with analyze Onserve add

* lwm2m: Server: updated algorithm for analyzing dynamic changes in attributes / telemetry / observation

* lwm2m: fix bug:  "ngx-flowchart" compile

* lwm2m: get value resource OPAQUE - byte [] to HexString

* lwm2m: change path to base

* lwm2m: fix bug COAP & lwm2m

* Lwm2m_3_2: back: cleaner, test bootstrap-ok front: restore

* Lwm2m_3_2: back: del SynchronousRegistrationListener.java

* Lwm2m_3_2: front: start profile lwm2m UI

* Lwm2m_3_2: front&back: add to profile lwm2m (api, getModels...)

* Lwm2m_3_2: back: fix bug from commented front: add update change observe/attribute/telemetry to config json

* Lwm2m_3_2: back: fix bug from commented front: add update change observe/attribute/telemetry to config json (2)

* Lwm2m_3_2: back: fix bug from commented front: add update change observe/attribute/telemetry to config json (3)

* Lwm2m_3_2: back: fix bug from commented front: add update change observe/attribute/telemetry to config json (4)

* Lwm2m_3_2: front: add update change bootstrapConfig and save to config json

* Lwm2m_3_2: update after merge master

* lwm2m: fix bug proto

* lwm2m: fix bug in yml keyStore.jks

* lwm2m: fix bug tests

* lwm2m: front: add nameThingsboard

* lwm2m: fix bug Autowired lwm2mContext, caseCamel

* lwm2m: back-end^ start api /lwm2m/deviceProfile/bootstrap

* lwm2m: back-end: add method read models from resources

* lwm2m: back-end/front: add and finish api bootstrapConfig

* lwm2m: back-end: add decode profile

* lwm2m: back-end: add new bin in transport api

* lwm2m: add microservice lwm2m and docker lwm2m.

* lwm2m: add microservice lwm2m and docker lwm2m (fix bug)

* lwm2m: front: start fix bug disabled resources

* lwm2m: master to lwm2m merge, front add change attribute, telemetry

* lwm2m: front PR

* lwm2m: front add sort keyName to Json on the start

* lwm2m: front add instances

* lwm2m: front add/del instances FormGrp Value

* lwm2m: Merge remote-tracking branch 'origin/master' into develop/lwm2m
# Conflicts:
#	common/transport/mqtt/src/main/java/org/thingsboard/server/transport/mqtt/MqttTransportHandler.java
#	common/transport/transport-api/src/main/java/org/thingsboard/server/common/transport/SessionMsgListener.java
#	ui-ngx/src/app/modules/home/components/home-components.module.ts

* lwm2m: Merge remote-tracking branch 'origin/master' into develop/lwm2m

* lwm2m: Front: del sort after add/del instance

* lwm2m: Front: fix bug reindex FormArray after update

* Lwm2m: Front fix bug add/del instans

* Lwm2m: Front finish1 profile

* Lwm2m: Back add profile to ModelClient

* Lwm2m: Back add form profile sent thingsboard: attr/tel/observe

* Lwm2m: Back -> fix bug: serverKeyStore.jks] Unable to load KeyStore  files server

* Lwm2m: Back -> fix bug: onRegistered an unReg

* Lwm2m: Back -> add updateProfiles

* Lwm2m: Back -> add updateDevice and updateProfile dynamic

* Lwm2m: Back -> error if CoapCode not access

* Lwm2m: Front -> clear credential

* Lwm2m: Front ->  credential fix bug button "save"

* Lwm2m: Back ->  add telemetry logLwm2m

Co-authored-by: nickAS21 <nick@avalr.com.ua>
2020-12-09 17:09:16 +02:00
YevhenBondarenko
4163c00054 updated kafka to version 2.6.0, kafka settings improvements 2020-12-09 15:53:42 +02:00
Vladyslav Prykhodko
4d3fe3fd96 UI: Fixed admin widget action order in dialog 2020-12-08 00:03:07 +02:00
Vladyslav Prykhodko
5be701d64d UI: Fixed admin widget in safari browser 2020-12-07 23:31:52 +02:00
YevhenBondarenko
6f2f9c54dc fixed zones in SchedulerUtils and ApiUsageStateService improvements 2020-12-03 16:11:33 +02:00
YevhenBondarenko
1a237a9843 fix NPE (skip usage state messages for deleted tenants) 2020-12-02 18:27:26 +02:00
YevhenBondarenko
0f26bb4894 fixed cycle api usage state update 2020-12-02 11:52:20 +02:00
Andrii Shvaika
a87956ebfd Improvements to Storage Days calculation 2020-11-28 16:38:28 +02:00
Igor Kulikov
280db9144f
Merge pull request #3781 from zbeacon/fix/provision
Spaces removal on provisioning request
2020-11-27 18:29:05 +02:00
Igor Kulikov
c428b58720
Merge pull request #3783 from YevhenBondarenko/fix-api-usage-state
fixed hourly update api usage state
2020-11-27 17:36:49 +02:00
YevhenBondarenko
0fa0a6f1d4 fixed hourly update api usage state 2020-11-27 15:34:26 +02:00
YevhenBondarenko
8f8814d167 moved sms configs to common package, rest client improvements 2020-11-27 12:03:22 +02:00
zbeacon
8ac0a6850e Spaces removal on provisioning request 2020-11-27 11:29:38 +02:00
YevhenBondarenko
8515b6d6e0 alarm rules improvements 2020-11-25 18:19:33 +02:00
YevhenBondarenko
c32a2ac064 load demo rule chains improvements 2020-11-25 14:32:14 +02:00
YevhenBondarenko
80b1ffa736 added thermostat rule chain, removed "Temperature & Humidity Demo Dashboard" & "Raspberry PI GPIO Demo Dashboard" 2020-11-25 14:32:14 +02:00
Igor Kulikov
e39e37babf Merge branch 'master' of github.com:thingsboard/thingsboard 2020-11-25 12:55:34 +02:00
Igor Kulikov
9263e53c1d Throw exception on email or sms api limits. 2020-11-25 12:55:23 +02:00
Andrii Shvaika
cb2a6aba52 Merge branch 'master' of github.com:thingsboard/thingsboard 2020-11-25 12:53:43 +02:00
Andrii Shvaika
254905c2b3 Minor improvements 2020-11-25 12:53:33 +02:00
zbeacon
680eb89fa0 Added validation for device name in provision request, if it is present. Added session closing when provision client tries to use topics not allowed for provisioning feature 2020-11-25 10:55:06 +02:00
YevhenBondarenko
66a4a1c008 removed thermostat rule chain from load demo, refactored thermostat attributes 2020-11-25 10:46:18 +02:00
Vladyslav_Prykhodko
2db54fdb94 UI: Fixed multiple attributes data-key settings 2020-11-24 18:53:26 +02:00
Igor Kulikov
7298b001d2 Update mail templates 2020-11-24 18:21:01 +02:00
YevhenBondarenko
8cc07f05d4 updated mail templates 2020-11-24 17:05:57 +02:00
Viacheslav Kukhtyn
aa816d61ab Handle device update or delete event in device's session 2020-11-24 09:59:26 +02:00
Igor Kulikov
04bb1e5f4f Add missing cases for email and sms api limits 2020-11-23 18:28:02 +02:00