Commit Graph
5760 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
serge-rider d3a014cbb6 23.0.3 config 2023-04-16 07:59:19 +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
8f96e8375a CB-3215 event improvements (#1592)
* CB-3215 use generics in event handlers

* CB-3215 create default event handler

* CB-3215 get supported topic ids from event descriptor

---------

Co-authored-by: Alexander Skoblikov <aleksandr.skoblikov@dbeaver.com>
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-04-13 16:42:22 +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
dariamarutkina 21d86e4797 Merge pull request #1598 from dbeaver/dariamarutkina-patch-2
CB_2302 chore: update README
2023-04-10 10:02:34 +02:00
dariamarutkina 559d79e15c CB_2302 chore: update README 2023-04-10 10:02:13 +02: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
Ainur 5fc9a35579 CB-2997 jetty server bundle (#1587)
* CB-2997 jetty server bundle

* CB-2997 remove jetty dependencies
2023-04-06 19:26:48 +03:00
Alexander SkoblikovandAleksey Potsetsuev d03118490a CB-2533 azure cloud explorer (#1583)
* CB-3236 feat: support requesting a configuration authentication

* CB-3238 azure cloud

---------

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
2023-04-05 21:21:53 +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
Yaroslav Emelyanov 0a28421aaf CB-1577-H2-driver-update (#1538)
* CB-1577 H2 driver update

Implements migrator

* CB-1577 H2 driver update

Registers the h2_v2 driver

* CB-1577 H2 driver update

Reimplements migrator

* CB-1577 H2 driver update

Renames WorkPaths to WorkspacePaths

* CB-1577 H2 driver update

Updates default configs to use H2 v2

* CB-1577 H2 driver update

Implements config update

* CB-1577 H2 driver update

Fixes implementation

* CB-1577 H2 driver update

Updates h2 v2 driver version to latest

* CB-1577 H2 driver update

Fixes copyright

* CB-1577 H2 driver update

Changes logging level for cases where migration is not needed

* CB-1577 H2 driver update

Reverted 'driver' -> 'driverProvider' renaming

* CB-1577 H2 driver update

Changes the H2 v1 detection method to check files instead of a driver error.

* CB-1577 H2 driver update

Implements trace file backup;
Fixes url reload after migration

* CB-1577 H2 driver update

Updates the h2 filename in default configurations.

* CB-1577 H2 driver update

Fixes code style issues

* CB-1577 H2 driver update

Fixes constants naming

* CB-1577 H2 driver update

Fixes h2v2 url after migration

* CB-1577 H2 driver update

Fixes H2Migrator NPE
2023-04-04 14:44:39 +03:00
AinurandAlexander Skoblikov d474f76c3e CB-2388 split cb application (#1571)
* CB-2388 split cb application

* CB-2388 rename ce app

* CB-2388 fix conflicts

---------

Co-authored-by: Alexander Skoblikov <aleksandr.skoblikov@dbeaver.com>
2023-04-04 14:33:12 +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
serge-rider e04e2d4c37 dbeaver/pro#1492 Fix CB run scripts 2023-04-03 19:28:03 +03:00
Serge Rider ce917c4e4f dbeaver/pro#1492 Migrate to Java 17. Add extra jvm options (#1577) 2023-04-03 14:35:15 +03:00
serge-rider 934dbe6154 23.0.2 config 2023-04-03 12:39:13 +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
Alexander Skoblikov 2107f4f968 CB-3164 file based lock controller; lock project when we try update d… (#1564)
* CB-3164 file based lock controller; lock project when we try update datasources
2023-03-30 16:33:38 +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
Alexander Skoblikov 78e16f3ffc CB-3280 skip project node for extensions (#1573) 2023-03-30 14:16:55 +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
dariamarutkina 0430a3df1d Merge pull request #1570 from dbeaver/dariamarutkina-patch-1
CB_2301 chore: update README
2023-03-27 10:56:56 +02:00
dariamarutkina c26e9dce0c CB_2301 chore: update README 2023-03-27 10:56:29 +02: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
ba885fb7eb CB-3078 te secret events (#1535)
* CB-3078 te secret events

* CB-3078 use default message handler for secret messages

---------

Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: Alexander Skoblikov <aleksandr.skoblikov@dbeaver.com>
2023-03-23 05:31:06 +03:00
Alexander Skoblikovanddariamarutkina 2e16169509 CB-3261 validate empty project id (#1550)
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-03-23 00:56:07 +03:00
d744f7f22c CB-3048 [Bug]: Lots of small files that leads to out of inodes on fil… (#1515)
* CB-3048 [Bug]: Lots of small files that leads to out of inodes on filesystem

Sets the MaxInactiveInterval to the SessionHandler

* CB-3048 [Bug]: Lots of small files that leads to out of inodes on filesystem

Implements the use of the current CBApplication instead of CBPlatform in CBJettyServer

---------

Co-authored-by: Iaroslav Emelianov <iaroslav.emelianov@dbeaver.com>
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-03-23 00:55:51 +03:00
e9011eb646 CB-3152 allow multiple ws connections in same session (#1534)
Co-authored-by: Serge Rider <serge@jkiss.org>
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-03-23 00:54:12 +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
Ainur 1426c07af4 CB-3207 use separate qm client for session (#1531)
* CB-3207 use separate qm client for session

* CB-3207 code style fix
2023-03-21 22:52:08 +03:00