Commit Graph
55 Commits
Author SHA1 Message Date
Alexey 0fd88f3be2 fix(tests): circular dependencies (#1465) 2023-02-10 16:37:17 +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
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
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
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
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
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
Alexey e92f57f211 CB-2704 fix: splitter (#1323)
* CB-2704 fix: splitter

* CB-2704 chore: set default width for elements-tree
2022-11-28 16:06:17 +03:00
Alexey d43975af49 Merge pull request #1287 from dbeaver/bugfix/CB-609-sandwich-menu
Bugfix/cb 609 sandwich menu
2022-11-22 17:32:44 +03:00
Aleksey Potsetsuev f223071d21 CB-2757 fix: nav tree refresh on projects change 2022-11-21 20:04:42 +03:00
Evgenii Artemov fb7771c82b (TreeNode & NodeControl) reduce useless space 2022-11-16 12:11:09 +04:00
Evgenii Artemov 631c70c7e9 (TreeNodeMenuStyles) reduce margin between menu & ellipsis 2022-11-15 22:53:57 +04:00
Aleksey Potsetsuev 7c1945ab9c CB-2647 refactor: move datasource selector to app bar context menu 2022-11-02 20:02:32 +03:00
Aleksey Potsetsuev 0fc139d42c CB-2647 refactor: use new context menu API for top app bar 2022-10-31 21:43:16 +03:00
Wroud 541a16e4cf CB-2501 chore: codemirror deps update 2022-10-04 18:54:04 +03:00
Wroud e2bc7b0f3d CB-2501 refactor: plugins structure 2022-10-04 16:32:09 +03:00
Wroud f601a5fd2c CB-2479 fix: elements tree subscribe to projects 2022-09-21 17:30:10 +03:00
Wroud cb36475eed CB-2479 refactor: circular dependency 2022-09-20 17:30:50 +03:00
Wroud d14396139d CB-2479 fix: hide project settings from tree for single active project 2022-09-20 17:12:32 +03:00
Wroud abf2ef4e5f CB-2479 fix: sync elements tree with active projects 2022-09-20 15:36:31 +03:00
Wroud f2fdeef73b CB-2479 feat: active projects selection 2022-09-18 15:35:42 +03:00
Wroud 4feaf7f0e7 CB-2406 fix: resources movement & tree settings observing 2022-09-17 01:10:58 +03:00
Wroud aef831b84b CB-2406 feat: group by project 2022-09-15 18:14:16 +03:00
Wroud bf6fb005e2 CB-2406 fix: project selection & script deletion 2022-09-14 21:24:14 +03:00
Wroud 5854cf89ee CB-2588 feat: Hide single project label in nav & resources tree 2022-09-14 16:54:36 +03:00
Wroud 9984aa6495 Merge remote-tracking branch 'origin/devel' into CB-2344-projects-administration 2022-09-13 20:53:47 +03:00
Wroud 7f1ded6ea2 CB-2324 refactor: localization aliases 2022-09-13 20:52:04 +03:00
Wroud 1529548973 CB-2344 fix: display single project label 2022-09-12 10:15:34 +03:00
Wroud 649973fd34 CB-2344 fix: display single project label 2022-09-12 10:07:49 +03:00
Wroud b634b236df CB-2344 feat: display projects in resource manager 2022-09-09 15:28:57 +03:00
Wroud 6e987e72cd fix(plugin-navigation-tree): CB-2530 no results placeholder 2022-09-06 09:31:14 +03:00
Wroud 685bdc2052 fix(plugin-navigation-tree): CB-2453 observing state 2022-08-31 18:00:50 +03:00
Wroud 1819636fab feat(plugin-navigation-tree): CB-2453 remove expand from projects in nav tree 2022-08-31 16:52:46 +03:00
Wroud 575c3dfcc3 fix(plugin-navigation-tree): CB-2219 load tree on show action 2022-08-29 18:07:44 +03:00
Konstantin Vasilev 9dbe2169b3 Merge pull request #1069 from dbeaver/fix/CB-2360-delete-notifications
fix(core-navigation-tree, plugin-navigation-tree): CB-2360 Do not duplicate confirmation when deleting tables
2022-08-26 10:28:12 +03:00
Wroud 0fc67f4955 fix(tests): mock server 2022-08-25 14:56:45 +03:00
Alexey 4deccb27df Merge pull request #1074 from dbeaver/fix/CB-2325/placeholder-message
fix: CB-2325 placeholder message in nav tree
2022-08-25 14:43:34 +03:00
Alexey bae831054c Merge pull request #1075 from dbeaver/feat/CB-2453/projects-style-nav-tree
feat(plugin-navigation-tree): CB-2453 projects for nav tree
2022-08-25 13:02:33 +03:00
Wroud 43f5fad276 feat(plugin-navigation-tree): CB-2453 projects for nav tree 2022-08-24 11:52:34 +03:00
Wroud 395e233839 fix: CB-2325 placeholder message in nav tree 2022-08-24 11:43:05 +03:00
Konstantin Vasilev d5169480de fix(core-navigation-tree, plugin-navigation-tree): CB-2360 Do not duplicate confirmation when deleting tables 2022-08-23 16:38:01 +03:00
Wroud e63e93f0b7 fix(plugin-navigation-tree): CB-2420 duplicate's filtering 2022-08-23 14:16:04 +03:00
Konstantin Vasilev fd2f966143 fix(plugin-navigation-tree): CB-2432 Fix error after logout 2022-08-15 16:28:47 +03:00
Wroud d95c1dd622 fix(plugin-navigation-tree): CB-2372 canMove detection 2022-08-05 19:05:41 +03:00