Commit Graph
3451 Commits
Author SHA1 Message Date
AlexeyandAleksandr Skoblikov b90f7f7e65 CB-3491 fix: restrict projects list loading (#1667)
* CB-3491 fix: restrict projects list loading

* CB-3491 allow listUserProfileProperties without license

---------

Co-authored-by: Aleksandr Skoblikov <aleksandr.skoblikov@dbeaver.com>
2023-05-18 14:33:23 +03:00
33e132172d CB-3258 try to get container id for aws product (#1655)
* CB-3258 try to get container id for aws product

* CB-3258 rename hostName -> containerId

---------

Co-authored-by: naumov <iamemptyhuh@gmail.com>
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-05-17 20:20:27 +03:00
Alexeyanddariamarutkina 08c2b23422 CB-3372 json formatting (#1664)
* CB-3372 feat: codemirror6 autocomplete

* CB-3372 feat: autocomplete icons

* CB-3371 feat: sql editor syntax highlight

* CB-3371 fix: syntax highlight blinking

* CB-3371 fix: editor extensions state

* CB-3372 chore: code cleanup

* CB-3372 fix: remove useSqlDIalectAutocompletion

* CB-3372 fix: add useSqlDIalectAutocompletion

* CB-3372 feat: experimental context menu

* CB-3372 feat: use new sql editor

* CB-3372 chore: remove sql script parser

* CB-3372 fix: rounded menu

* CB-3372 fix: event preventDefault on dialog

* CB-3372 fix: context menu styles

* CB-3372 feat: remove old codemirror

* CB-3372 fix: numbers completion & extensions caching

* CB-3372 fix: table display

* CB-3372 fix: decrease sql editor font size

* CB-3372 fix: copy in readonly mode & autocompletion in safari on MacOS

* CB-3372 fix: value panel styles

* CB-3372 fix: menu bar styles

* CB-3372 fix: menu bar and inline editor styles

* CB-3372 fix: menu and inline editor styles

* CB-3372 chore: update bundle

* CB-3372 fix: json formatting

* CB-3372 fix: sql editor styles

---------

Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-05-17 19:05:52 +03:00
Alexeyanddariamarutkina 64040bc3a3 CB-3372 feat: codemirror6 autocomplete (#1646)
* CB-3372 feat: codemirror6 autocomplete

* CB-3372 feat: autocomplete icons

* CB-3371 feat: sql editor syntax highlight

* CB-3371 fix: syntax highlight blinking

* CB-3371 fix: editor extensions state

* CB-3372 chore: code cleanup

* CB-3372 fix: remove useSqlDIalectAutocompletion

* CB-3372 fix: add useSqlDIalectAutocompletion

* CB-3372 feat: experimental context menu

* CB-3372 feat: use new sql editor

* CB-3372 chore: remove sql script parser

* CB-3372 fix: rounded menu

* CB-3372 fix: event preventDefault on dialog

* CB-3372 fix: context menu styles

* CB-3372 feat: remove old codemirror

* CB-3372 fix: numbers completion & extensions caching

* CB-3372 fix: table display

* CB-3372 fix: decrease sql editor font size

* CB-3372 fix: copy in readonly mode & autocompletion in safari on MacOS

* CB-3372 fix: value panel styles

* CB-3372 fix: menu bar styles

* CB-3372 fix: menu bar and inline editor styles

* CB-3372 fix: menu and inline editor styles

* CB-3372 chore: update bundle

---------

Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-05-17 17:32:09 +03:00
a219593e1d CB-3303-edit-driver-settings (#1607)
* CB-3305 api for driver editing

* CB-3305 gql api for driver provider list

* CB-3303 feat: file uploading API

* CB-3303 feat: support gql request in file upload API

* CB-3303 code style fix

* CB-3376 file uploading mechanism

* CB-3303 feat: gql sdk extension API

* CB-3303 feat: gql sdk extensions API rename

* CB-3303 add driver mutations, update drivers resource

* CB-3303 move driver gql functions to another service

* CB-3305 web driver config fix

* CB-3305 driver config use same fields as in driver info

* CB-3437 add driver service to the codegen.yml

* CB-3437 add driver providers

* CB-3376 delete used driver library after restart server

* CB-3376 driver library add fix

* CB-3306 include driver libraries

* CB-3303 return empty driver properties array if there is the error

* CB-3303 fix conflicts

* CB-3437 reuse defaults

* CB-3303 feat: add sub-secondary color

* CB-3303 fix: use sub-secondary color in tables

* CB-3305 delete driver libraries fix

* CB-3376 driver libraries save delete fix

* CB-3437 naming

* CB-3376 do not delete jar library file from the server

* CB-3376 create file controller fix

* CB-3305 move drivers api to ee

* CB-3305 move drivers api to ee

* CB-3376 file controller use same path

* CB-3305 move driver provider list to ee

* CB-3303 move mutations to the EE

---------

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
Co-authored-by: Tatiana Fokina <tatiana.fokina@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-05-17 13:42:55 +03:00
Tatiana Fokina 037a35d926 CB-3264 add border radius (#1659) 2023-05-16 02:54:38 +03:00
Ainurandnaumov 64a2251f8a CB-3313 add supported configuration types for dynamic driver properties (#1637)
* CB-3313 add supported configuration types for dynamic driver properties

* CB-3312 support supported configuration types

* CB-3260 naming

---------

Co-authored-by: naumov <iamemptyhuh@gmail.com>
2023-05-10 18:56:27 +03:00
Alexey 71f39028dd CB-3386 fix: cleanup of useDynamicDataContext (#1638)
* CB-3386 fix: cleanup of useDynamicDataContext
CB-3386 fix: add suspense loader for data presentation

* CB-3386 fix: reset constraints only if we change dataFormat of the result
2023-05-03 21:47:02 +03:00
alex ddee022ea0 CB-3326 outdate alias (#1639) 2023-05-03 18:51:45 +03:00
ed74196961 Cb 3369 codemirror 6 (#1613)
* CB-3369 add new codemirror version to the devtools

* CB-3369 add new sql editor plugin

* CB-3369 add basic extensions

* CB-3369 support dnd for the cm@6

* CB-3369 add branding

* CB-3374 update some components to the new editor

* CB-3369 fix conflcts

* CB-3369 support active and running query status

* CB-3369

* CB-3369 review fixes

* CB-3369 raise internal codemirror keyboard events

* CB-3370 change caret color & review fixes

* CB-3369 add default bindings

* CB-3369 remove blink on switch

* CB-3369 use layout effect

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: Alexey <wrouds@gmail.com>
2023-04-28 23:06:21 +03:00
alexanddariamarutkina c5fe164505 CB-3220 exclude private auth providers from easy config (#1633)
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-04-27 15:06:26 +02:00
alex 5c3453329b CB-1622 allow to reset "where input" manual query (#1636) 2023-04-27 14:08:19 +02:00
alex bca7921aad chore: version bump 23.0.4 (#1634) 2023-04-25 22:04:00 +02:00
alex 6765c82c1b CB-3417 fix grouping placeholder grammar (#1630) 2023-04-25 20:24:04 +02:00
alex d06a99295b CB-3266 disable combobox if there is only one item (#1627) 2023-04-25 20:23:31 +02:00
Alexey a2a612ebf6 CB-3405 fix: skip update request on service worker first installation (#1629) 2023-04-24 20:46:49 +03:00
alex 05ab5b4512 CB-3265 remove select effect for update version Cell (#1626) 2023-04-24 20:30:32 +03:00
alex 6831eb0523 CB-3176 accept all formats as ssh key in ssh key uploader (#1628) 2023-04-24 20:30:12 +03:00
Alexey 835d3bf499 CB-3302 fix: reset database data model (#1619) 2023-04-19 21:44:44 +03:00
Alexey 583824ad0c CB-3311 feat: check for service worker update in the background (#1618) 2023-04-19 21:36:03 +03:00
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