Commit Graph
1578 Commits
Author SHA1 Message Date
b58a7bb63b CB-3072-RM-metadata-for-removed-script-still-exists (#1430)
* CB-3072 RM: metadata for removed script still exists

Implements recursive resource properties removing

* CB-3072 RM: metadata for removed script still exists

Fixes code style issues

* CB-3072 RM: metadata for removed script still exists

Fixes code style issues

---------

Co-authored-by: Iaroslav Emelianov <iaroslav.emelianov@dbeaver.com>
Co-authored-by: MarinaVorobeva21 <98399603+MarinaVorobeva21@users.noreply.github.com>
2023-02-10 17:24:05 +03:00
Ainur 38b76b7d8a CB-3079 access to user rm projects for admin (#1450) 2023-02-10 14:16:12 +03: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
Yaroslav EmelyanovandIaroslav Emelianov 492bcb7abb CB-2970 RM: Script-connection assosiating is removed after opened script/folder renaming (back-end) (#1434)
* CB-2970 RM: Script-connection assosiating is removed after opened script/folder renaming (back-end)

Implements recursive resource properties moving

* CB-2970 RM: Script-connection assosiating is removed after opened script/folder renaming (back-end)

Fixes code style issues: missing javadocs for new methods

* CB-2970 RM: Script-connection assosiating is removed after opened script/folder renaming (back-end)

Fixes code style issues: missing javadocs for new methods
Fixes restoration of the old path in cases of repetition in names in the path (newFolder/newFile/newFolder/newFile —> name/newFile/newFolder/newFile)

* CB-2970 RM: Script-connection assosiating is removed after opened script/folder renaming (back-end)

Moves moveResourcePropertiesBatch to WebProjectImpl from BaseProjectImpl;
Makes BaseProjectImpl#flushMetadata sync by default for web projects.

* CB-2970 RM: Script-connection assosiating is removed after opened script/folder renaming (back-end)

Implements isMultiuser() = true for BaseWebApplication

---------

Co-authored-by: Iaroslav Emelianov <iaroslav.emelianov@dbeaver.com>
2023-02-01 20:51:10 +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
Alexander Skoblikov 33831fd0e7 update test log level (#1441) 2023-01-30 21:22:23 +03:00
serge-rider 167ac0bfa9 22.3.4 config 2023-01-30 19:22:41 +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
serge-rider d932094cbd Revert "CB-2970 RM: Script-connection assosiating is removed after opened script/folder renaming (back-end) (#1425)"
This reverts commit 311287367b.
2023-01-25 19:26:18 +03:00
Yaroslav Emelyanov 311287367b CB-2970 RM: Script-connection assosiating is removed after opened script/folder renaming (back-end) (#1425)
* CB-2970 RM: Script-connection assosiating is removed after opened script/folder renaming
2023-01-24 20:28:31 +03: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
serge-rider 996799bc1a Merge remote-tracking branch 'origin/devel' into devel 2023-01-18 20:36:47 +03:00
serge-rider 88d10130ac CB-3077 NPE in schema selector fix 2023-01-18 20:34:47 +03:00
serge-rider de7e757c2b CB-3077 NPE in schema selector fix 2023-01-18 20:32:46 +03:00
Ainur 91b6fe118d CB-3013 snowflake open tables fix (#1421) 2023-01-18 19:49:54 +03:00
serge-rider 2dbcc2c0f1 22.3.3 config 2023-01-18 16:02:29 +03:00
Alexander Skoblikov 6d06ab766f update workspace path in eclipse run configs (#1420) 2023-01-16 20:22:58 +03:00
b814110578 dbeaver/pro#143 te remote event handle (#1409)
* CB-3054 send event if connection name was changed

* CB-3053 use smSession id in events

* CB-3054 fix rename event

* CB-3054 use equalSettings method to compare changes

* dbeaver/pro#143 Datasources refresh API

* dbeaver/pro#143 Handle datasource events + partial ds load

* CB-3054 update headless sessions on pink

Co-authored-by: Aleksandr Skoblikov <aleksandr.skoblikov@dbeaver.com>
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
2023-01-16 18:04:16 +03:00
Georgii Gvinepadze 877a09245e dbeaver/pro#1344 update Copyright
Signed-off-by: Georgii Gvinepadze <fireshowel@gmail.com>
2023-01-16 16:33:05 +04:00
Alexander Skoblikov 917e5b9b53 add rm service to run config (#1418) 2023-01-13 20:13:24 +03:00
Alexander Skoblikov 51d2edfc5c compilation fix (#1417) 2023-01-13 17:27:28 +03:00
Ainurandkseniaguzeeva 21d6920b11 CB-2985 send mq messages for creating deleting folders (#1402)
* CB-2985 send mq messages for creating deleting folders

* CB-2985 create folder api fix

Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
2023-01-11 01:02:23 +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
serge-rider 54aaf01dc3 dbeaver/pro#143 Redundant logging removed 2023-01-09 11:55:31 +03:00
serge-rider b2087de77f NPE fix 2023-01-06 21:11:24 +03:00
serge-rider 60b0938b54 22.3.2 config 2023-01-05 20:00:58 +03:00
Ainur f3f740cf0e CB-3012 dynamo db creds fix (#1406) 2023-01-05 18:11:54 +03:00
Ainur 32e48751b3 CB-2770 save config when changing default navigator settings (#1401) 2023-01-05 18:09:19 +03: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
Ainur f3e88f58c7 CB-2788 validate path when rename rm resource (#1383) 2022-12-28 16:25:04 +01:00
AinurandAlexander Skoblikov 76ca7582cf CB-2462 sync tokens naming (#1361)
Co-authored-by: Alexander Skoblikov <aleksandr.skoblikov@dbeaver.com>
2022-12-28 16:24:01 +01: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
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
Ainurandkseniaguzeeva f6920d39e1 CB-2226 refresh user permissions when updating session state (#1363)
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
2022-12-21 22:08:02 +03:00
serge-rider fc83ba7805 dbeaver/pro#1322 Deps version removed 2022-12-21 13:32:42 +01:00
serge-rider 5f34290a0e 22.3.1 config 2022-12-20 13:00:43 +01:00
serge-rider cef45a3e1f CB-2865 Schema fix 2022-12-19 16:04:45 +01:00
Ainur 2746a9b727 CB-2880 grant anonymous access after restart (#1327)
* CB-2880 grant anonymous access after restart
2022-12-16 21:21:54 +03:00
Serge Rider 8f8759586d dbeaver/pro#1253 team edition datasets (#1364)
* dbeaver/pro#1253 Resource types mode, project permissions refactoring, GQL endpoint

* dbeaver/pro#1253 Resource type file extensions
2022-12-16 19:24:19 +03:00
alex eff864b695 CB-2855 update graphql console (#1357) 2022-12-12 14:40:45 +01:00
serge-rider 7a9f10bdb7 cloudbeaver.io links update 2022-12-12 11:59:52 +01:00
Ainur 95d2a926e7 CB-2962 get default auth model fix (#1349) 2022-12-07 18:38:36 +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
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
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
Serge Rider a1920519fd 22.3.0 config 2022-11-28 15:14:00 -05:00
Serge Rider ec7a4a5357 dbeaver/pro#1257 Subject mata parameters API (#1325)
* dbeaver/pro#1257 Subject mata parameters API

* dbeaver/pro#1257 Access and teams membership view. Project access editor.

* dbeaver/pro#1257 Project permission editor. Permission read performance

* dbeaver/pro#1257 Teams and users membership edit. Security controller refactoring of current user specific functions.

* dbeaver/pro#1257 Users create/delete
2022-11-28 20:26:21 +03:00
Alexander Skoblikov c673007f9d Cb 2568 ee restore user session after restart (#1312)
* CB-2568 restore user session after server restart
2022-11-28 19:14:42 +03:00