Commit Graph
3351 Commits
Author SHA1 Message Date
Alexey 1c133405c0 CB-3128 fix: log viewer splitter (#1466)
* CB-3128 fix: log viewer splitter

* CB-3128 chore: styles

* CB-3128 fix: update nav tree on connection create
2023-02-10 18:32:46 +03:00
Alexey 0fd88f3be2 fix(tests): circular dependencies (#1465) 2023-02-10 16:37:17 +03:00
alex c2c7a94936 chore: add some tests (#1358)
* chore: add some tests

* mock date in generateFileName test
2023-02-10 13:41:14 +01:00
25f859a043 CB-2867 support dataset in UI (#1436)
* CB-2867 dataset plugin

* CB-2867 - add original sql query to resultset

* CB-2867 move originalQuery to execute info

* CB-2867 feat: read originalQuery for query results

* CB-2867 refactor: rename scripts plugin & resources tree type filter

* CB-2867 fix: import

* CB-2867 fix: file extensions type

* CB-2867 fix: file extensions type

* CB-2867 refactor: data tools bar styles

* CB-2867 send query with all filters to gql

* CB-2867 chore: implement getKeyRef for CachedMapResource

* CB-2867 refactor: ProjectNavNodeService

* CB-2867 chore: update go-split

* CB-2867 refactor: rename originalQuery to fullQuery

* CB-2867 refactor: add resource onUse data

* CB-2867 refactor: add sql data source script feature

* CB-2867 refactor: add metadata to sql datasource

* CB-2867 refactor: add datasource outdate

* CB-2867 feat: provided database models for SqlDataSource

* CB-2867 fix invalid resource parent node

* CB-2867 fix: styles

* CB-2867 do not return extra nodes in root navigator model

* CB-2867 fix: nav tree project hide for TE single project

* CB-2867 fix: pass schema & catalog info to data source

* CB-2867 chore: code review

---------

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
Co-authored-by: Wroud <wroud@yandex.ru>
2023-02-08 17:46:17 +03:00
alex c4315eb2d1 CB-2577 validate host field (#1365) 2023-02-08 09:28:39 +03:00
Alexey 75aa730d8f chore: update version 22.3.4 (#1449) 2023-02-02 07:01:36 +03:00
alex e0a11349c9 CB-3081 fix active proposal (#1447) 2023-02-01 19:49:55 +01:00
d340a7db11 CB-3019 make a request If the prev request returns max results (#1426)
* CB-3019 make a request If the prev request returns max results

* CB-3019 pass current position if hints limit is met

* CB-3019 remove placeholder logic

* CB-3019 code style

* CB-3019 inline hintsGetter

* CB-3019 move this.hintsLimitIsMet inside fn body

---------

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
Co-authored-by: MarinaVorobeva21 <98399603+MarinaVorobeva21@users.noreply.github.com>
2023-01-31 18:21:32 +03:00
AlexeyandMarinaVorobeva21 25aee8cf86 CB-3056 events synchronisation (#1431)
* CB-3056 fix: link nav node info with nav tree resource

* CB-3056 fix: don't reset observable on disconnect

---------

Co-authored-by: MarinaVorobeva21 <98399603+MarinaVorobeva21@users.noreply.github.com>
2023-01-31 17:24:22 +03:00
8440d0871c CB-2951 add default script folder detection (#1367)
* CB-2951 add default script folder detection

* CB-2951 Create special folder on demand

* CB-2951 create path on demand

* CB-2951 feat: resource type filter for resources tree

* CB-2951 chore: localization

* CB-2951 refactor: folders

* CB-2951 fix: resource type folder behaviour

* CB-3002 special folders remove features

* CB-2951 fix: display only project name for distributed mode

* CB-2951 default folder fix

---------

Co-authored-by: serge-rider <serge@jkiss.org>
Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
Co-authored-by: Ainur <yagudin10@yandex.ru>
2023-01-31 05:36:46 +03:00
alexandAleksey Potsetsuev 468b31454e remove core-cli from deps list (#1440)
* remove core-cli from deps list

* chore: update yarn.lock

---------

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
2023-01-28 06:42:28 +03:00
Alexey 8c9633e3b9 chore: update yarn lock (#1437) 2023-01-27 15:20:57 +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
alexandMarinaVorobeva21 df4952a428 CB-3029 add information about recursive deletion (#1422)
* CB-3029 add information about recursive deletion

* CB-3029 change locales

* CB-3029 patch basic confirmation dialog instead of creating a new one

* CB-3029 change message

Co-authored-by: MarinaVorobeva21 <98399603+MarinaVorobeva21@users.noreply.github.com>
2023-01-18 18:48:27 +01:00
443be1bd3e CB-2699 oracle package body api (#1408)
* CB-2699 oracle package body api

* CB-2699 support extended ddl

* CB-2699 add outdated logic

* CB-2699 return multiple ids

* CB-2699 fix import

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
Co-authored-by: naumov <iamemptyhuh@gmail.com>
Co-authored-by: MarinaVorobeva21 <98399603+MarinaVorobeva21@users.noreply.github.com>
2023-01-18 18:47:46 +01:00
alex eceabf9e71 CB-2851 change footer design for the blob types (#1390) 2023-01-11 09:51:47 +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
d3ccba8edf CB-2305 open empty folders when in the folder view (#1392)
* CB-2305 open empty folders when in the folder view

* CB-2305 fix: folders expanding

* CB-2305 fix: collapse unloaded elements in nav-tree

Co-authored-by: MarinaVorobeva21 <98399603+MarinaVorobeva21@users.noreply.github.com>
Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
2023-01-11 09:50:46 +03:00
d12cae8b0d CB-2623 add log event (#1379)
* CB-2623 add log event

* CB-2623 gql add session log event

* CB-2672 subscribe to logs update

* CB-2672 remove timeout logic

* CB-2672 remove logs

* CB-2623 session logs progress fix

Co-authored-by: naumov <iamemptyhuh@gmail.com>
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
2023-01-11 01:01:42 +03:00
Alexey b24e8272a8 chore: update version 22.3.3 (#1410) 2023-01-10 13:02:36 +03:00
alexandMarinaVorobeva21 6de1866353 CB-1511 treat empty value as 1 instead of 0 (#1388)
Co-authored-by: MarinaVorobeva21 <98399603+MarinaVorobeva21@users.noreply.github.com>
2023-01-05 16:37:40 +01:00
196b878067 CB-2914 filter events (#1376)
* CB-2914 fix: use resource api for log viewer

* CB-2914 fix: lazy load network handlers

* CB-2914 project events filter

* CB-2912 use correct gson instance

* CB-2914 update gql

* CB-2914 refactor: property name

* CB-2914 fix projects filter

* CB-2914 ws client tests

* CB-2914 ws improve

* CB-2914 refactor: remove TopicEventHandler `on` overloads

* CB-2914 fix: filter private project in connections administration

* CB-2914 improve logs

* CB-2914 test logs

* CB-2914 remove test logs

Co-authored-by: Aleksandr Skoblikov <aleksandr.skoblikov@dbeaver.com>
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
2023-01-05 13:48:46 +03:00
alexandAinur 8c4f354d0d CB-2984 make options tab readonly if auth model is profile (#1385)
Co-authored-by: Ainur <59531286+yagudin10@users.noreply.github.com>
2022-12-29 17:26:19 +01:00
alex 359b32746e CB-2686 always show new properties (#1384) 2022-12-28 15:50:18 +01:00
alexandkseniaguzeeva be1ad7a766 Cb 3005 show auth role (#1374)
* CB-3005 show auth role in user profile

* CB-3005 code style

* CB-3005 pass authRole to current user

Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
2022-12-28 15:49:36 +01:00
alexandkseniaguzeeva af92e07d9d CB-2922 exclude disabled users from access tabs (#1380)
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
2022-12-28 15:48:40 +01:00
alex a00888fa3b CB-2529 disable editing by shortcuts in readonly mode (#1386) 2022-12-28 15:48:07 +01:00
alex f98cf8e5f6 CB-2948 sort connections in user connections access dialog (#1382) 2022-12-28 15:47:23 +01:00
alex 40fb43e314 CB-2550 check that team is not granted yet (#1375) 2022-12-27 14:05:47 +01:00
Alexey ea7721a57c chore: update version 22.3.2 (#1377) 2022-12-22 17:22:31 +03:00
Alexeyandkseniaguzeeva f7f6e6ed49 CB-2960 feat: load only active project data (#1352)
* CB-2960 feat: load only active project data

* CB-2960 feat: add ConnectionInfoActiveProjectKey

* CB-2960 feat: load only global project for administration

* CB-2960 feat: update merge

* CB- 2960 fix: unnecessary connections update

* CB-2960 fix: don't reset template connection on every connectionInfo update

Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
2022-12-22 16:40:51 +03:00
Alexeyandkseniaguzeeva 6f0defa2ef cb-2961/table sticky header (#1341)
* CB-2961 fix: table's header sticky styles

* CB-2961 styles: add MenuBarSmallItem

* CB-2961 chore: use color instead of shadow for splitter

* CB-2961 styles: log viewer message details panel

* CB-2961 fix: menu bar small item click area

Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
2022-12-22 15:18:54 +03:00
AlexeyandAleksandr Skoblikov f5a2799ec9 CB-2912 refactor: use websocket (#1348)
* CB-2912 refactor: use websocket

* CB-2912 chore: disable websocket by default

* CB-2912 feat: websocket events

* CB-2912 feat: websocket protocol

* CB-2912 fix: gql schema

* CB-2912 feat: update sdk

* CB-2912 chore: remove deprecated code

* CB-2912 feat: dynamic events subscription

* CB-2912 fix: container resource api

* CB-2923 test websocket

* CB-2923 refactor event model

* CB-2923 dynamic ws event deserializer

* CB-2912 chore: update schema

* CB-2923 separate events for create/delete/update action

* CB-2923 manifest fix

* CB-2923 update qql schema

* CB-2923 update eclipse configuration

* CB-2912 feat: update websocket api

* CB-2923 update client event model

* CB-2912 feat: resource connection

* CB-2923 support new event types

* CB-2912 chore: update schema

* CB-2923 websocket ping pong

* CB-2912 fix: rename topic to topicId in WebSocketClientEvent

* CB-2923 send event if datasource description was changed

* CB-2923 split WebSession

* CB-2912 fix: resources connection

* CB-2912 websocket client (#1370)

* CB-2989 create ws client

* CB-2912 refactor: rename useResource

* CB-2912 resolve conflicts

* CB-2912 fix: use wss with https protocol

Co-authored-by: Aleksandr Skoblikov <aleksandr.skoblikov@dbeaver.com>
2022-12-22 14:04:03 +03:00
alex f74bbc91a4 CB-2904 select shared connection by default (#1373) 2022-12-21 19:23:12 +01:00
5131bac044 CB-2838 exclude non secured properties from auth dialog if they are s… (#1353)
* CB-2838 exclude non secured properties from auth dialog if they are saved

* CB-2838 don't check if the value is saved or not

* CB-2838 hide properties from test connection dialog

Co-authored-by: Ainur <yagudin10@yandex.ru>
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
2022-12-20 20:07:38 +03:00
alexandkseniaguzeeva 4da17eb668 CB-2968 preload possible drivers (#1362)
* CB-2968 preload possible drivers

* CB-2968 load all drivers at once

Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
2022-12-20 20:04:36 +03:00
alexandAleksandr Skoblikov 318c55643d CB-2583 include only project's connection names (#1350)
Co-authored-by: Aleksandr Skoblikov <aleksandr.skoblikov@dbeaver.com>
2022-12-13 22:08:31 +03:00
alex 034a343fd7 CB-2783 show description when only one possible project (#1356) 2022-12-13 22:05:04 +03:00
Alexey 23d028ccb9 CB-2959 chore: update deps (#1351) 2022-12-13 22:04:18 +03:00
serge-rider 7a9f10bdb7 cloudbeaver.io links update 2022-12-12 11:59:52 +01:00
alex 6131674693 CB-2781 close connection search dialog on logout (#1343)
* CB-2781 close connection search dialog on logout

* CB-2781 remove extra subscription
2022-12-07 12:48:37 +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
Alexey 0c058ad7a9 CB-2953 fix: connection insertion in nav-tree (#1338)
* CB-2953 fix: connection insertion in nav-tree

* CB-2953 fix: double check node parent
2022-12-05 21:25:58 +03:00
Alexey 33ea5dbc5c chore: update version 23.3.1 (#1339) 2022-12-05 16:22:09 +03:00
alexandAleksandr Skoblikov f138502a1d CB-2937 add ssh key field to the auth dialogs (#1334)
* CB-2937 add ssh key field to the auth dialogs

* CB-2937 compute 'required' inside component

* CB-2927 read ssh key in initConnection

* CB-2927 update ssh key on connect

* CB-2937 check key on in key auth

Co-authored-by: Aleksandr Skoblikov <aleksandr.skoblikov@dbeaver.com>
2022-12-05 14:17:46 +03:00
AinurandAleksey Potsetsuev fb42711875 CB-2832 add event for datasource folders (#1331)
* CB-2832 add event for datasource folders

* CB-2832 feat: sync connection folders

* CB-2832 add event for datasource folders

* CB-2832 fix: connection update behaviour

* CB-2832 fix: node deletion

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
2022-12-02 12:21:56 +03:00
Alexander Skoblikovandnaumov dd44c55533 CB-2809 qql api for defaultAuthRole (#1319)
* CB-2809 qql api for defaultAuthRole
        set default team for all created users

* CB-2911 add default role for the user

* CB-2809 resolve conflicts

* CB-2809 do not throw error if we try to set exists user's team

Co-authored-by: naumov <iamemptyhuh@gmail.com>
2022-12-01 14:10:59 +03:00
Alexey 734a5568f7 CB-2931 fix: elements-tree min width (#1332) 2022-11-30 09:18:44 +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
alex 69b99d85e3 CB-2905 load projects info on form init (#1328)
* CB-2905 load projects info on form init

* CB-2905 naming

* CB-2905 load projects in the configure stage
2022-11-29 21:38:56 +04:00