Commit Graph
19 Commits
Author SHA1 Message Date
Alexeyanddariamarutkina 200105f692 CB-3311 feat: application update message (#1597)
* CB-3311 feat: application update message

* CB-3311 fix: tests

* CB-3311 chore: code cleanup

* CB-3311 fix: use absolute path

---------

Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-04-19 17:10:05 +03:00
3bd2288564 CB-2773-TE-event-pulling-send-session-status-as-an-event (#1596)
* CB-3235-Send-event-about-session-expire (#1576)

* CB-3235 Send event about session expire

* CB-3235 Send event about session expire

Fixes WSSessionExpiredEvent description in comment

* CB-3235 Send event about session expire

Moves WSSocketConnectedEvent to session package

* CB-3235 Send event about session expire

Implements BaseWebSession#sendSystemEvent

* CB-3235 Send event about session expire

Implements a WSSessionStateEvent and a job to send it periodically

* CB-3235 Send event about session expire

Fixes code style issues

* CB-2997 jetty server bundle (#1587)

* CB-2997 jetty server bundle

* CB-2997 remove jetty dependencies

* CB-3235 review fixes

---------

Co-authored-by: Ainur <59531286+yagudin10@users.noreply.github.com>
Co-authored-by: Aleksandr Skoblikov <aleksandr.skoblikov@dbeaver.com>

* CB-2773 handle session expire and session state events

* CB-2773 fix

* CB-2773 subscribe to topic, handle session state event

---------

Co-authored-by: Yaroslav Emelyanov <iaroslav.emelianov@dbeaver.com>
Co-authored-by: Ainur <59531286+yagudin10@users.noreply.github.com>
Co-authored-by: Tatiana Fokina <tatiana.fokina@dbeaver.com>
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-04-19 14:15:27 +03:00
Alexey e1f9f1858b chore: update copyright year to 2023 (#1579) 2023-03-31 16:54:30 +03:00
0a5caea6b9 CB-2885-TE-web-session-state-synchronisation-between-several-nodes (#1556)
* CB-3209 Add instance ID to web session (#1532)

* CB-3209 Add instance ID to web session

* CB-3209 Add instance ID to web session

Moves applicationRunId to BaseWebApplication

* CB-3267 Send session expired event on socket create attempt

Implements session restore on socket creation

* CB-3267 Send session expired event on socket create attempt

Changes logging

* CB-3267 Add dialog and notification for node change

* CB-3154 save user creds to secrets in initConnection (#1502)

* CB-3154 save user creds to secrets in initConnection

* CB-3155 add tab 'change credentials'

* CB-2964 feat: lazy loaders

* CB-2964 add reconnect, display tab conditionally

* CB-2964 Init connection on dialog result

* CB-2964 fix logic

* CB-2964 Add logic

* CB-2964 Update ConnectionAuthService.ts

Co-authored-by: Alexey <wrouds@gmail.com>

---------

Co-authored-by: Tatiana Fokina <tatiana.fokina@dbeaver.com>
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
Co-authored-by: Tatiana Fokina <123386439+tfokina@users.noreply.github.com>

* CB-3267 Send session expired event on socket create attempt

Implements session restoration on '/sessionState' request

* CB-3267 Send session expired event on socket create attempt

Fixes WebSocketTest.initClient test

* CB-3267 Send session expired event on socket create attempt

Fixes code style issues

* CB-3267 fix localization text

* CB-3267 Send session expired event on socket create attempt

Fixes code style issues

* CB-2885 TE: web session state synchronisation between several nodes

Reverts session restoration on '/sessionState' request

* CB-2885 PR fixes, stop opening websocket when node changes

* CB-2885 TE: web session state synchronisation between several nodes

Replaces Collections.synchronizedList by CopyOnWriteArrayList in CBJettyWebSocketManager#socketBySessionId

* CB-2885 TE: web session state synchronisation between several nodes

Fixes code style issues

* CB-2885 TE: web session state synchronisation between several nodes

Implements restoring old authentication information before creating a new WebSession instance.

* CB-2885 move restore logic to separate method

---------

Co-authored-by: Tatiana Fokina <tatiana.fokina@dbeaver.com>
Co-authored-by: Alexander Skoblikov <aleksandr.skoblikov@dbeaver.com>
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
Co-authored-by: Tatiana Fokina <123386439+tfokina@users.noreply.github.com>
2023-03-30 19:20:43 +03:00
alexandAlexey 91630ff9cb CB-3199 update deps (#1529)
* CB-3199 update deps

* CB-3199 update base deps

* CB-3199 change node-sass by sass

* CB-3199 temp downgrade required node version

* CB-3199 update graphql deps

* CB-3199 update uuid

* CB-3199 fix: rimraf add --glob

---------

Co-authored-by: Alexey <wrouds@gmail.com>
2023-03-16 18:57:31 +03:00
Alexey 1f553fe315 CB-3193 refactor: suspense for data loading (#1524)
* CB-3193 refactor: suspense for data loading

* CB-3193 refactor: errors api

* CB-3193 fix: remove warn message
2023-03-06 18:59:05 +03:00
alex 9b45523f49 CB-3129 add filter script (#1505)
* CB-3129 add filter script

* CB-3129 fix naming
2023-02-28 07:16:14 +03:00
Alexey 98655926db CB-2907 feat: active views list (#1492)
* CB-2907 feat: active views list

* CB-2907 fix: validate execution context & display message that multi-tab is not supported

* CB-2907 fix: display multi-tab not supported message only for main app screen

* CB-2907 fix: disable multi-tab message

* CB-2907 fix: tests
2023-02-27 19:12:08 +03:00
dec3c37e64 CB-2881 remove public permission (#1414)
* CB-2881 remove public permission

* CB-3035 add authRequired param for WebAction

* CB-3035 add authRequired param for WebAction

* CB-3035 add authRequired param for WebAction

* CB-2881 refactor: replace public permission with authentication check

* CB-3035 empty user permissions fix

* CB-2881 fix: validate resource keys

* CB-3035 user with no teams login fix

* CB-2881 remove user teams validation

* CB-2881 fix: check is connection is available in ResourceSqlDataSource

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
2023-01-26 14:58:08 +03:00
alexandkseniaguzeeva 29b4e81654 CB-2719 filter ce product deps (#1403)
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
2023-01-11 09:51:12 +03:00
AinurandAleksey Potsetsuev 913e136375 CB-2952 event notification fixes (#1346)
* CB-2952 do not save event if connection config isn't changed

* CB-2952 fix: don't show synchronization messages in configuration mode

* CB-2952 check changes of connection config in serializer

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
2022-12-07 12:44:23 +03:00
AinurandAleksey Potsetsuev 8bc81af2f6 Feat/cb 2599/data synchronization (#1282)
* CB-2599 gql schema add enums for events

* CB-2499 feat: datasource update

* CB-2599 fix rm resource events

* CB-2599 delete resource event fix

* CB-2599 resource event fixes

* CB-2599 feat: implement rmMoveResource

* CB-2599 resource event fixes

* CB-2599 add session id to event

* CB-2599 update configuration once after event changes

* CB-2599 mq add initiator id to the header

* CB-2599 rename rm node with event

* CB-2599 cb event fixes

* CB-2599 key value interceptor fixes

* CB-2599 add event for updating rm resource

* CB-2599 set resource property from event

* CB-2599 feat: resource update events

* CB-2599 sort rm nodes when add it

* CB-2599 feat: track resource usage

* CB-2599 feat: display event metadata

* CB-2599 rm resource set content update event

* CB-2599 fix: open action handler

* CB-2599 persist data source create

* CB-2599 mq filter instance configuration changed fix

* CB-2599 fix: resource usage tracking

* CB-2599 move folder fix

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
2022-11-29 20:51:24 +03:00
Wroud 541a16e4cf CB-2501 chore: codemirror deps update 2022-10-04 18:54:04 +03:00
Wroud e2bc7b0f3d CB-2501 refactor: plugins structure 2022-10-04 16:32:09 +03:00
Wroud 30380c7b24 feat(plugin-root): CB-2030 offline mode notification 2022-08-23 22:35:58 +03:00
Konstantin Vasilev 35871dd683 feat(plugin-root): CB-2269 fix session expired dialog 2022-08-16 11:19:52 +03:00
Konstantin Vasilev 6cf4dff4b7 feat(plugin-root): CB-2268 Rename session remaingin time field 2022-08-12 13:21:57 +03:00
Konstantin Vasilev ed72464633 feat(root, sdk, auth): CB-2268 Use api request instead of cookie for session expiring 2022-08-11 18:13:14 +03:00
Wroud 30c42b3fcc refactor: CB-2243 add navigation-tabs, root, tools-panel, top-app-bar, version plugins 2022-07-20 01:28:57 +03:00