127 Commits

Author SHA1 Message Date
Igor Kulikov
cdec671b3c
Revert "Develop/3.0 (#2760)" (#2762)
This reverts commit 72c7002f619263d1ef1170eaac8105182248cca8.
2020-05-12 15:20:20 +03:00
Igor Kulikov
72c7002f61
Develop/3.0 (#2760)
* save position fix

* [3.0] Add support ticks to digital gauge (#2508)

* Add support ticks to digital gauge

* Add link code

* [3.0] Add inputs widgets (#2526)

* Add location widget

* Fix translate, clear code

* Fix translate

* Add date input widgets

* Add image input widgets

* Init web camera input widget

* Add functional web camera input widget

* Add styles to webcamera iputs widget

* Add link code

* Map/3.0 (#2535)

* add base map infrastructure

* add leaflet css

* add tencent map

* add google maps support

* added image map support

* refactor schemes

* here maps support && WIP on markers

* add simple marker suppor

* data update & polyline support

* map bouds support

* add some settings support

* add map provider select to settings

* labels support

* WIP on trip animation widget

* WIP on history control and route interpolation

* trip-animation map provider & custom markers

* comleted track marker & history controls

* add license headers

* label fix & tooltips support

* WIP on polygons

* marker dropping support

* add polygon support

* add label to trip animation

* WIP on tooltips

* lint anf typed leaflet AddMarker

* some typing and poly improvements

* add typing

* add marker creation

* update proxy

* save position fix

Co-authored-by: Artem Halushko <ahalushko@thingboards.io>
Co-authored-by: Adsumus <artemtv42@gmail.com>

* Fix UI budget

* add bounds padding

* update map widget bendle && bugfixes

* update marker placement widget

* add licenses

* reomove log

* Update packages

* fix sizes

* Map/3.0 (#2542)

* add base map infrastructure

* add leaflet css

* add tencent map

* add google maps support

* added image map support

* refactor schemes

* here maps support && WIP on markers

* add simple marker suppor

* data update & polyline support

* map bouds support

* add some settings support

* add map provider select to settings

* labels support

* WIP on trip animation widget

* WIP on history control and route interpolation

* trip-animation map provider & custom markers

* comleted track marker & history controls

* add license headers

* label fix & tooltips support

* WIP on polygons

* marker dropping support

* add polygon support

* add label to trip animation

* WIP on tooltips

* lint anf typed leaflet AddMarker

* some typing and poly improvements

* add typing

* add marker creation

* update proxy

* save position fix

* add bounds padding

* update map widget bendle && bugfixes

* update marker placement widget

* add licenses

* reomove log

* fix sizes

Co-authored-by: Artem Halushko <ahalushko@thingboards.io>
Co-authored-by: Adsumus <artemtv42@gmail.com>

* Update node and npm versions

* Minor fixes

* Update license

* entity and map fixes

* Map/3.0 (#2543)

* add base map infrastructure

* add leaflet css

* add tencent map

* add google maps support

* added image map support

* refactor schemes

* here maps support && WIP on markers

* add simple marker suppor

* data update & polyline support

* map bouds support

* add some settings support

* add map provider select to settings

* labels support

* WIP on trip animation widget

* WIP on history control and route interpolation

* trip-animation map provider & custom markers

* comleted track marker & history controls

* add license headers

* label fix & tooltips support

* WIP on polygons

* marker dropping support

* add polygon support

* add label to trip animation

* WIP on tooltips

* lint anf typed leaflet AddMarker

* some typing and poly improvements

* add typing

* add marker creation

* update proxy

* save position fix

* add bounds padding

* update map widget bendle && bugfixes

* update marker placement widget

* add licenses

* reomove log

* fix sizes

* entity and map fixes

Co-authored-by: Artem Halushko <ahalushko@thingboards.io>
Co-authored-by: Adsumus <artemtv42@gmail.com>

* Page not found rouring

* Fix tile server support  form OSM and zoom level fix

* Map/3.0 (#2544)

* add base map infrastructure

* add leaflet css

* add tencent map

* add google maps support

* added image map support

* refactor schemes

* here maps support && WIP on markers

* add simple marker suppor

* data update & polyline support

* map bouds support

* add some settings support

* add map provider select to settings

* labels support

* WIP on trip animation widget

* WIP on history control and route interpolation

* trip-animation map provider & custom markers

* comleted track marker & history controls

* add license headers

* label fix & tooltips support

* WIP on polygons

* marker dropping support

* add polygon support

* add label to trip animation

* WIP on tooltips

* lint anf typed leaflet AddMarker

* some typing and poly improvements

* add typing

* add marker creation

* update proxy

* save position fix

* add bounds padding

* update map widget bendle && bugfixes

* update marker placement widget

* add licenses

* reomove log

* fix sizes

* entity and map fixes

* Fix tile server support  form OSM and zoom level fix

Co-authored-by: Artem Halushko <ahalushko@thingboards.io>
Co-authored-by: Adsumus <artemtv42@gmail.com>

* Remove empty strings from Spanish translations (#2541)

* Remove empty string from Spanish translation

* Map widget types improvements

* Map widget types improvements

* Metadata improvements

* Update rule node config ui

* UI: Fix toast target for editor components

* UI: fix routing

* Fix Map fitBounds method

* [3.0] Add gateway widget (#2547)

* Create gateway widget

* Refacoring and add styled

* Update bundle

* Add model and refactoring

* [3.0] New samples for custom action with html (#2549)

* Update example custom action to new Angular

* Save settings to change type custom action

* Revert change

* UI: Import/export code improvements

* UI: minor improvements

* UI: Theme improvement

* Fix JSON object edit component

* Update styles

* [3.0] [WIP] Minor fixed to style (#2562)

* Added support Safari browser (not support DragEvent)

* Imporovement style login page

* Change flex responsive API breakpoint

* Add support long name menu item

* Home page add link to page

* Revert .mat-icon vertical-align to middle

* Revert .mat-icon vertical-align to middle

* Fix value input style

* Headline styles

* [3.0] Minor fix (#2571)

* Fix breadcrumb and breakroint api to header

* Fix layout profile

* Clear code and fix layout (admin and profile pages)

* Improvements import

* Fix entity table

* Fix rulenode tooltip header

* Clear import-export (Safari)

* Entities table actions improvement

* Improvement dialog and component style

* Ace based editors disabled state handling

* Improvement view on mobile device

* Fix widget library details

* Fix revert thingsboard.yml

* Add entity title function

* Remove unnecessary widgets bundle type

* UI: Entity table models improvements

* UI: dynamic annotation for abstract entity component

* UI: Entities table model improvements.

* add sendActivationEmail as request param (default -> true) to activate method in auth controller and login service

* UI: Model improvement, new entity table methods

* [3.0] Improvements import and tables for mobile view (#2594)

* Fix width table in Safari

* Improvement in mobile view

* Improvement attributes-table from mobile view

* Relation-table improvement for mobile view

* Improvement entity-table from mobile view

* UI: Attribute table disable edit for client side attributes

* [3.0] Added possibility to login by url params (#2592)

* Added possibility to login by url params

* Fixes after code review

* UI: Fix login url params

* UI: Fix assets import columns

* fix activate method for new UI

* UI: Fixed add user dialog

* Add new alias Current Tenant (#2604)

* fix error create dialog new dashboard (#2606)

* Minor fixes

* UI: Fix scss import to relative path

* UI: Fix scss import to relative path

* UI: Fix scss import to relative path

* UI: Revert entity.component annotation to directive

* UI: Minor improvements

* UI: Breadcrumb component improvements

* UI: Minor improvements

* UI: Improve page link default search function

* [3.0] Minor fix (#2615)

* Improvement tenant setting from mobile view

* Improvement timewindow setting from mobile view

* Improvement entity-view setting from mobile view

* Update license header and license config

* UI: Entity details panel improvements

* UI: Entities table improvements

* UI: Json React Form - textarea height fix

* UI: Entity autocomplete error handling

* UI: Entity autocomplete error handling

* Update rule nodes ui

* Rule node models improvements

* Add utils to public-api

* UI: Rule node ui external modules

* UI: Rule nodes ui api

* add support custom actions

* Cleanup

* [3.0] minor fix (#2645)

* Improvement layout-setting setting from mobile/tablet view

* Fix EntityView not show type in translate

* Clear code and update tablet/mobile view

* Update tablet/mobile view

* Fix hide title and text-overflow

* Add support Safari

* Minor fix

* Update package.json versions

* Angular update

* Angular update

* Fix issues after angular update

* Update rule nodes UI

* Fix toolbar and share buttons (#2646)

* Change resize events to observer (#2652)

* Remove javascript-detect-element-resize

* Update package.lock

* Improvement resize (#2654)

* Fix typo

* UI: Minor fixes

* Minor UI fixes

* Fix: reset entity table sort and pagination on entities specific filtering changes

* Update MSA docker readme

* map fixes

* Merge with master. AlarmRepository.findAlarms is failing (#2663)

* Merge with master. AlarmRepository.findAlarms is failing

* Fix Alarm repository. Add queue type list select.

Co-authored-by: Igor Kulikov <ikulikov@thingsboard.io>

* Map/3.0 (#2664)

* add base map infrastructure

* add leaflet css

* add tencent map

* add google maps support

* added image map support

* refactor schemes

* here maps support && WIP on markers

* add simple marker suppor

* data update & polyline support

* map bouds support

* add some settings support

* add map provider select to settings

* labels support

* WIP on trip animation widget

* WIP on history control and route interpolation

* trip-animation map provider & custom markers

* comleted track marker & history controls

* add license headers

* label fix & tooltips support

* WIP on polygons

* marker dropping support

* add polygon support

* add label to trip animation

* WIP on tooltips

* lint anf typed leaflet AddMarker

* some typing and poly improvements

* add typing

* add marker creation

* update proxy

* save position fix

* add bounds padding

* update map widget bendle && bugfixes

* update marker placement widget

* add licenses

* reomove log

* fix sizes

* entity and map fixes

* Fix tile server support  form OSM and zoom level fix

* add support custom actions

* map fixes

Co-authored-by: Artem Halushko <ahalushko@thingboards.io>
Co-authored-by: Adsumus <artemtv42@gmail.com>

* Add support Safari and improvement view (#2662)

* Update rule node core config.

* public api import fix

* Fix bundles budget

* IE11 fixes

* Revert "Merge with master. AlarmRepository.findAlarms is failing (#2663)"

This reverts commit 2c02406ee5f41b08e655b634dd9871403f67149d.

* wip on ie 11 fixes

* WIP on es support

* Fix Alarm repository. Add queue type list select.

* [3.0] Entity list not correct find index for model (#2668)

* Entity list not correct find index for model

* Clear import

* Revert change

* Revert change

* [3.0] Improvement code style (#2670)

* Clear code and styles

* Clear import

* Fix tenant isolated checkbox fields

* Update rule nodes ui

* UI: Get rid of 'multiple directives with 'exportAs' set to ngForm'

* map fixes

* update map bundles

* Remove redudant css import

* wip on image-map fixes

* image map alias image support

* Add gateway type and clear import (#2677)

* merge fixes

* saveEntity && minor fixes

* small css fix

* Minor fixes

* Add new widgetContext field currentUser

* entity save fix #2

* entity save fix#3

* Update dashboard (#2684)

* fix some ds problems

* UI: Migrate gateway widgets and gateways demo dashboard to 3.0

* tile layers and locations set fixes

* input bundles updates

* Update default dashboard thermostats (#2689)

* Dashboard page fixes and improvements

* Clear code (#2692)

* Improve database migration - create indexes after inserts

* Handle component_descriptor contraints during migration

* [3.0] Improved login by params to support nagivation to different dashboards (#2703)

* Improved login by params to support nagivation to different dashboards

* Refactorting

* Minor improvements

* bugfixes

* bugfixes (#2705)

* [3.0] Improvement map (#2706)

* Fix load custom marker image for Firefox

* Fix update polygon color

* [WIP] [3.0] Added OAuth2 Support (#2709)

* Added base impl for OAuth-2

* Added basic and custom OAuth2 user mappers

* Removed comment line

* Refactoring to review. Added tenantId and customerId. Added email tenant name strategy

* Revert debug logger

* Fixed compilation

* Test fixed

* Create UI for OAuthService

* Revert package-lock.json

* Add translate login es_ES

Co-authored-by: Vladyslav_Prykhodko <vprykhodko@thingsboard.io>

* provide entity to custom actions

* Fix Manage dashboard customers

* remove image map zoom

* Fix docker hybrid db mode

* fix empty center position & fix entity id

* Minor refactoring

* Refactoring

* Minor fixes

* [3.0] Improvment image map (#2729)

* Add support setting position function

* Improved setting image map

* Add support setting offset marker

* Minor fixes

* Fix Auth guard

* Cassandra to SQL boolean column fix

* Fix entity state controller name resolution

* Fix oauth2 login button

* Improve OAuth buttons style

* OAuth button style improvement

* Update haproxy.cfg with oauth rules

* Introduce OAuth failure handling

* Fix tests

* [3.0] Improvement image map (#2740)

* Fixed not correct center image map
Fixed update position marker for image map

* Add support IE and clear code

* Fix not correct update image for datasource

* Update marker position

* Fix tests

* Fix error update websocket to change user (#2744)

* Map/3.0 (#2738)

* WIP on trip-animation settings

* trip-animation points & anchors

* fixes

Co-authored-by: Adsumus <artemtv42@gmail.com>
Co-authored-by: Igor Kulikov <ikulikov@thingsboard.io>

* Fix typo

* Improve table widgets mobile mode

* Update Cassandra Driver

* [3.0] Fixed polygon functionality (#2747)

* Add default setting and title for group

* Fix polygon: updateColor, functions tooltip and color polygon, update coordinate polygon

* Improvement code

* Refactoring code

* Improve Cassandra resultSet pagination

Co-authored-by: Artem Halushko <ahalushko@thingsboard.io>
Co-authored-by: Vladyslav <vprykhodko@thingsboard.io>
Co-authored-by: ArtemHalushko <61501795+ArtemHalushko@users.noreply.github.com>
Co-authored-by: Artem Halushko <ahalushko@thingboards.io>
Co-authored-by: Adsumus <artemtv42@gmail.com>
Co-authored-by: Chantsova Ekaterina <chantsova.ekaterina@gmail.com>
Co-authored-by: Dmytro Shvaika <dshvaika@thingsboard.io>
Co-authored-by: VoBa <volodymyr.babak@gmail.com>
Co-authored-by: Andrew Shvayka <ashvayka@thingsboard.io>
2020-05-12 14:11:26 +03:00
YevhenBondarenko
bedc624e09 change tb-js-executor scale in docker-compose.yml 2020-05-11 11:15:09 +03:00
YevhenBondarenko
95ddde3e38 added docker-compose and environment for queues 2020-05-11 11:15:09 +03:00
Igor Kulikov
f2757e0535 Use source ip load balancing algorithm for http requests 2020-05-07 14:21:17 +03:00
YevhenBondarenko
00e32ee8a3 merge with feature/queue-consumers-refactoring 2020-05-04 09:39:04 +03:00
Andrii Shvaika
09d8823205 Race condition fix 2020-04-30 20:38:53 +03:00
YevhenBondarenko
9a66fc0248 Merge branch 'master' of https://github.com/thingsboard/thingsboard into develop/2.5-js-executor 2020-04-30 20:14:59 +03:00
YevhenBondarenko
e5c5aa705f refactored 2020-04-30 20:14:34 +03:00
Andrii Shvaika
702a8b6139 Force unsubscribe from Kafka topics 2020-04-30 18:10:05 +03:00
Andrii Shvaika
86f21023fe Improved PartitionService and fixed startup order in docker-compose.yml 2020-04-27 14:44:29 +03:00
Andrii Shvaika
a779839081 Fixed transport 2020-04-24 19:16:25 +03:00
Andrii Shvaika
b5bedbfdf6 Refactoring of Docker Compose 2020-04-24 14:54:25 +03:00
Andrii Shvaika
a91a69c57f Fixed Docker Compose 2020-04-24 13:55:06 +03:00
VoBa
aabc22d7d2
Non root docker user (#2460)
* Non root docker user

* Fixes for user - signle user for all services

* Base image changed

* Fixes for pvc removal

* Moved to be in sync with PE

* Changed to TB repository
2020-03-10 16:52:50 +02:00
Igor Kulikov
e9befd0a50 Docker - update postgres container configuration 2020-02-27 09:58:29 +02:00
ShvaykaD
84cb471e0d Sql timeseries improvements (#2033)
* init commit

* cleaned code and add test-properties

* cleaned code

* psql-update

* timescale-update

* code-refactoring

* fix typo

* renamed dao

* revert indents

* refactored code

* fix typo

* init-partitioning

* code updated

* cleaned code

* fixed license

* fix typo

* fixed code after review

* add annotation to repository

* update psql version for docker

* postgres-10

* postgres-10

* update docker compose config

* fixed partition saving

* change key_id to serial column definition

* upgrade psql added

* add separate upgrade service

* added upgrade script

* change image on k8s

* change logs

* resolve conflict after merge with master

* revert datasource url in yml

* fix typo

* license header fix

* remove old methods for the timeseries inserts

* clean up code

* fix saveOrUpdate for PostgreSQL

* refactoring & revert Timescale to use latest table

* added PsqlTsAnyDao

* duplicated code method removed

* remove unused invert dictionary map

* change the upgrade directory from 2.4.1 to 2.4.3

* refactor JpaPsqlTimeseriesDao
2020-01-29 17:06:51 +02:00
Igor Kulikov
850d6d948c Update License header year to 2020 2020-01-06 16:52:41 +02:00
Igor Kulikov
1265a9a1e3 Revert "Update License header year to 2020"
This reverts commit 9b42397c4a820688daf07117cb7efefa3f387f46.
2020-01-06 16:48:55 +02:00
Igor Kulikov
9b42397c4a Update License header year to 2020 2020-01-06 16:41:04 +02:00
Igor Kulikov
676aa3febd Set kafka image version to 2.12-2.2.1 2019-07-22 15:49:29 +03:00
Igor Kulikov
34bc51903c Ability to trace script body executed by JS Executor microservice. 2019-02-12 17:17:50 +02:00
Igor Kulikov
6062ba0143 Merge branch 'master' into develop/2.3 2019-02-01 16:39:56 +02:00
Igor Kulikov
ced63c4e70 Update License Header year to 2019 2019-02-01 16:39:33 +02:00
Igor Kulikov
6a132082c4 Fix docker upgrade script 2019-01-28 19:42:55 +02:00
Geremia Taglialatela
b3b1657b08 Fix typos and remove trailing whitespaces
[ci skip]
2019-01-22 21:28:42 +02:00
Igor Kulikov
f42fe51698 Add restart flag for redis 2018-11-28 18:12:32 +02:00
Igor Kulikov
125a2da46b MSA: Improve zookeeper configuration. 2018-11-20 15:24:57 +02:00
Igor Kulikov
68c0cd6291 Improve kafka topics management. Improve black box tests. 2018-11-09 20:05:53 +02:00
Andrew Shvayka
f4034661b8 Logging improvements 2018-11-08 14:20:11 +02:00
Igor Kulikov
c84bcd51d8 Fix haproxy config: Add missing X-Forwarded-Port Header for TB API backend 2018-11-07 23:16:37 +02:00
Igor Kulikov
69263e3a95 Improve static resources and API requests loadbalancing. 2018-11-07 19:10:21 +02:00
Igor Kulikov
8be682d15a Change default TB API port 2018-11-06 20:34:53 +02:00
Igor Kulikov
e4eb335881 Add external config and log volumes for transport microservices. 2018-11-06 18:00:38 +02:00
Igor Kulikov
f6b00b35db Improve docker compose. Improve TB shutdown logic. 2018-11-01 20:52:48 +02:00
Igor Kulikov
5f40dcacdb Fix docker env files. Improve logging. 2018-11-01 18:46:18 +02:00
Igor Kulikov
4e81f9cc14 Update black box tests infrastructure. 2018-10-31 19:23:00 +02:00
Igor Kulikov
83a55468a4 Update logback to INFO level for tb-node 2018-10-30 11:45:02 +02:00
Andrew Shvayka
4255bb56a3 Implementation of Session Cache, TTL and few minor fixes 2018-10-30 11:41:03 +02:00
Igor Kulikov
1fe5d1c062 MSA docker: Update Haproxy certbot image. 2018-10-26 17:19:57 +03:00
Igor Kulikov
9a5d7776fd MSA Docker: tb-node REST API loadbalancing. 2018-10-26 12:49:20 +03:00
Igor Kulikov
dc61052bd5 MSA Docker TB Cluster configuration. 2018-10-25 19:08:06 +03:00
Igor Kulikov
be937278ba Fix typo in docker README's. 2018-10-25 15:11:03 +03:00
Igor Kulikov
f4fe6663b9 MSA docker: Configurable HTTP to HTTPS redirect. Update docker instructions. 2018-10-25 12:34:02 +03:00
Igor Kulikov
d743b8d8b8
Update README.md 2018-10-24 20:04:45 +03:00
Igor Kulikov
b85d9e2047
Update README.md 2018-10-24 19:59:22 +03:00
Igor Kulikov
88fa216c91
Update README.md 2018-10-24 19:59:06 +03:00
Igor Kulikov
a43377f806
Update README.md 2018-10-24 19:58:44 +03:00
Igor Kulikov
00e89617d5 Create single instance docker builds. Move MSA docker configuration to the root. 2018-10-24 19:56:25 +03:00
Volodymyr Babak
2adb39ba6c code review fixes 2018-09-20 16:03:44 +03:00