Commit Graph
3431 Commits
Author SHA1 Message Date
Alexeyandmr-anton-t 736fd39d08 CB-3300 feat: dataset editing (#1614)
* CB-3300 feat: dataset editing

* CB-3300 chore: remove unused styles

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2023-04-19 19:01:44 +03:00
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
dfb8f1a5ad CB-3302 api for group by query (#1600)
* CB-3302 api for group by query

* CB-3302 rename grouping function

* CB-3302 feat: grouping panel

* CB-3393 fix: grouping errors handling

* CB-3327 fix: enable constraints for simple mode tables

---------

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-04-19 16:23:47 +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 48dee829a7 fix: teams meta params (#1616) 2023-04-19 01:33:23 +03:00
Tatiana Fokinaanddariamarutkina a1cc8c6eb4 CB-3364 renamed notification on server restart, renamed session lifetime title in server config (#1606)
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-04-18 22:00:26 +03:00
Tatiana FokinaandAleksey Potsetsuev 1d1ad96f20 CB-3163 text overflow in header (#1595)
* CB-3163 fixed overflow, applied new style

* CB-3163 feat: fixed table header

* CB-3163 fix: connections table styles

* CB-3163 fix styles, add overflow to users and auth configurations tables

* CB-3163 fix styles

* CB-3163 remove unnecessary styles

---------

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
2023-04-18 14:57:46 +03:00
Alexey 7fcaa21ff7 CB-3281 fix: sync script (#1610) 2023-04-18 14:57:10 +03:00
Alexey b4259e1c48 CB-3318 fix: make cached value observable (#1609) 2023-04-18 14:56:42 +03:00
Alexey f9070bc150 chore: version 23.0.3 (#1611) 2023-04-17 13:04:25 +03:00
Tatiana Fokinaanddariamarutkina 3e9b14d59b CB-3289 remove connection management tab (#1605)
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-04-14 12:48:52 +03:00
Alexeyanddariamarutkina 1bd4e60cff CB-2484 feat: sql editor history (#1590)
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-04-11 00:06:35 +03:00
Tatiana Fokinaandmr-anton-t cd67c41829 CB-2762 fix and rename filterUndefined function (#1591)
* CB-2762 fix and rename filterUndefined function

* CB-2762 fix code style

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2023-04-07 17:28:36 +03:00
Alexey a532fc5da2 CB-3315 fix: temp map clear task correctly (#1589) 2023-04-05 18:41:07 +03:00
Alexeyanddariamarutkina 737e61009d CB-3273 fix: connection menu loaders (#1586)
* CB-3273 fix: connection menu loaders

* CB-3273 fix: invert equality

* CB-3273 fix: attach loader to change credentials action

---------

Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-04-05 18:40:54 +03:00
Tatiana Fokina d37518a75c Cb 1134 remove the value panel from resultsets without results (#1582) 2023-04-04 18:14:13 +03:00
Alexey ea785d330f CB-3091 fix: sql auto completion (#1585) 2023-04-04 18:13:22 +03:00
Alexey e659a64cbd CB-3274 fix folders sync (#1568)
* CB-3274 fix: connection / resource folders sync

* CB-3274 fix: connection folders caching

* CB-3274 fix: dialog error handling

* CB-3274 fix: nav tree folders mode

* CB-3274 fix: nav tree performance

* CB-3263 fix: new folders validation

* CB-3263 fix: commit includes to alias transformation

* CB-3274 chore: clear code
2023-04-04 12:52:35 +03:00
Alexey e1f9f1858b chore: update copyright year to 2023 (#1579) 2023-03-31 16:54:30 +03:00
Alexey e930923e8f CB-3236 feat: support requesting a configuration authentication (#1580) 2023-03-31 16:54:01 +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
Tatiana Fokina a608ea5ae2 CB-1134 hide value panel for empty result (#1574) 2023-03-30 15:56:37 +03:00
Tatiana Fokina a6284343b1 CB-3287 update database auth dialog, use isHidden (#1572) 2023-03-30 15:56:16 +03:00
Alexey a59128772c chore: version 23.0.2 (#1575) 2023-03-29 16:40:13 +03:00
Tatiana Fokinaanddariamarutkina bb4d65d341 CB-3073 add ddl resource, remove ddl controller (#1563)
* CB-3073 add ddl resource, remove ddl controller

* CB-3073 Remove loader, load active project connections

---------

Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-03-28 13:56:31 +03:00
837d321b3f CB-2888 project sync (#1508)
* CB-3115 Add new create/delete project events

Implements new events

* CB-3115 Add new create/delete project events

Renames WSProjectLifeCycleEvent to WSProjectLifeCycleEvent
Adds BaseWebSession#addSessionEvent call in WsProjectLifeCycleEventHandler

* CB-3127 events for project permissions

* CB-2888 TE: Add synchronization for projects

Renames WSProjectUpdatedEventHandler to WSAbstractProjectEventHandler and
 WsProjectLifeCycleEventHandler to WSProjectUpdatedEventHandler

* CB-3127 code style fix

* CB-3127 rename parameters

* CB-3114 support project remove/add event

* CB-3127 event filter fix

* CB-2888 TE: Add synchronization for projects

Moves validateEvent call to WSAbstractProjectEventHandler;
Adds the use of an implementation class logger to the WSAbstractProjectEventHandler.

* CB-2888 TE: Add synchronization for projects

Fixes missed copyright

* CB-3127 filter event fix

* CB-2888 fix type naming

* CB-3127 project update event add remove connections from session

* CB-2888 TE: Add synchronization for projects

Adds dispatch of project creation/deletion events to WebServiceRM

* CB-3127 load connections when creating web project

* CB-3114 update active projects on active project remove

* CB-3114 update active projects via handler on project delete

* CB-2888 mark root tree as outdated on project add event

* CB-2888 move tree outdate logic to the useElementsTree hook

* CB-2888 fix conflict with devel

---------

Co-authored-by: Iaroslav Emelianov <iaroslav.emelianov@dbeaver.com>
Co-authored-by: naumov <iamemptyhuh@gmail.com>
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: Alexander Skoblikov <aleksandr.skoblikov@dbeaver.com>
2023-03-23 16:42:08 +03:00
alex 5588702c61 CB-3269 increase children limit to 1000 (#1557) 2023-03-22 17:48:31 +03:00
Alexey d3ae64ed47 Fix/cb 3150/resource remove loaded keys (#1561)
* CB-3214 fix: theme / language change

* CB-3214 fix: resources & nav tree synchronization
2023-03-22 14:55:34 +03:00
alexanddariamarutkina 3ee7f45f8a CB-3187 close all dialogs on nav to settings (#1544)
* CB-3187 close all dialogs on nav to settings

* CB-3187 execute loop on the copy of the dialog's list

* CB-3187 add jsdoc

---------

Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-03-22 08:19:13 +03:00
alexanddariamarutkina ad6a9a438b CB-3181 always subscribe to the projects resource (#1521)
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-03-22 08:18:10 +03:00
Alexey d65ae7e97a Fix/cb 3150/resource remove loaded keys (#1560)
* CB-3150 fix: project type
2023-03-21 11:44:12 +03:00
Alexey 56949408b1 CB- 3150 fix tests (#1559)
* CB-3150 fix: tests

* CB-3150 fix: use node v18 for tests
2023-03-21 11:32:23 +03:00
730a156434 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>
2023-03-20 15:52:14 +03:00
5af963a36c CB-3144 Fix styles for sql editor tab (#1504)
* CB-3144 Fix styles for sql editor tab

* CB-3144 fix tabs displaying

---------

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-03-19 18:18:08 +03:00
Alexey a5eb46c395 CB-510 CB-1270 CB-3150 CB-3177 PWA add service worker for caching resources (#1554)
CB-3150 feat: PWA (add service worker for resources caching)
2023-03-19 18:07:47 +03:00
4b978b5f68 CB-3168 readonly server url (#1509)
* CB-3168 fix: readonly serverURL for distributed mode

* CB-3170 read server url from dc

---------

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-03-17 20:20:29 +03:00
Alexey 80e16cd327 Fix/cb 3150/resource remove loaded keys (#1553)
* CB-3150 tests: add data-testid attr
2023-03-17 18:52:27 +03:00
Alexey 9f47d31bc2 Fix/cb 3150/resource remove loaded keys (#1552)
* CB-3150 fix: nested alias resolving
2023-03-17 13:40:30 +03:00
Alexey f360da78af Fix/cb 3150/resource remove loaded keys (#1551)
* CB-3150 fix: schema selector
2023-03-17 13:06:39 +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
alexanddariamarutkina 27f7c1c20c CB-2940 check validation status in the submit task (#1543)
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-03-16 18:17:42 +03:00
Alexey 9a9aea86f7 Fix/cb 3150/resource remove loaded keys (#1549)
* CB-3150 fix: revert nodes limit
2023-03-16 18:13:58 +03:00
Alexey 8dd87cecec CB-3150 refactor: remove loadedKeys from resources (#1489)
* CB-3150 refactor: remove loadedKeys from resources

* CB-3150 refactor: Resources API
2023-03-16 18:00:58 +03:00
Alexey a69fecc652 Refactor/cb 3214/suspense (#1530)
* CB-3214 feat: enable strict mode for development

* CB-3214 refactor: loaders

* CB-3214 fix: NodeManagerUtils.parentsFromPath remove node from parents list

* CB-3214 fix: nav tree node preload
2023-03-08 15:44:42 +03:00
Alexey 25b72cf341 CB-3214 suspense (#1528)
* CB-3214 feat: enable strict mode for development

* CB-3214 refactor: loaders

* CB-3214 fix: NodeManagerUtils.parentsFromPath remove node from parents list
2023-03-07 19:24:52 +03:00
Alexey b5bef7f226 CB-3214 suspense (#1527)
* CB-3214 feat: enable strict mode for development

* CB-3214 refactor: loaders
2023-03-07 18:14:30 +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
92aab55aa3 CB-3097 add datasource info for sql parser (#1485)
* CB-3097 add datasource info for sql parser

* CB-3097 fix: remove sql query delimiter truncation

---------

Co-authored-by: MarinaVorobeva21 <98399603+MarinaVorobeva21@users.noreply.github.com>
Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
2023-03-01 20:48:05 +03:00
Alexey 26a9ef1271 CB-3172 fix: application loader (#1513) 2023-03-01 10:19:54 +03:00
5824cba180 CB-2693 Enable Access Management tab for invalid license (#1459)
* CB-2693 Enable Access Management tab for invalid license

* CB-2693 feat: filterOnlyActive API for administration pages

* CB-2693 check next route for license page

* CB-2693 PR fixes

* CB-2693 fix permissions

---------

Co-authored-by: Wroud <wroud@yandex.ru>
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-02-28 22:24:14 +03:00