Commit Graph
389 Commits
Author SHA1 Message Date
Alexey e1f9f1858b chore: update copyright year to 2023 (#1579) 2023-03-31 16:54:30 +03:00
5af963a36c CB-3144 Fix styles for sql editor tab (#1504)
* CB-3144 Fix styles for sql editor tab

* CB-3144 fix tabs displaying

---------

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-03-19 18:18:08 +03:00
alexandAlexey 91630ff9cb CB-3199 update deps (#1529)
* CB-3199 update deps

* CB-3199 update base deps

* CB-3199 change node-sass by sass

* CB-3199 temp downgrade required node version

* CB-3199 update graphql deps

* CB-3199 update uuid

* CB-3199 fix: rimraf add --glob

---------

Co-authored-by: Alexey <wrouds@gmail.com>
2023-03-16 18:57:31 +03:00
Alexey 8dd87cecec CB-3150 refactor: remove loadedKeys from resources (#1489)
* CB-3150 refactor: remove loadedKeys from resources

* CB-3150 refactor: Resources API
2023-03-16 18:00:58 +03:00
Alexey 1f553fe315 CB-3193 refactor: suspense for data loading (#1524)
* CB-3193 refactor: suspense for data loading

* CB-3193 refactor: errors api

* CB-3193 fix: remove warn message
2023-03-06 18:59:05 +03:00
92aab55aa3 CB-3097 add datasource info for sql parser (#1485)
* CB-3097 add datasource info for sql parser

* CB-3097 fix: remove sql query delimiter truncation

---------

Co-authored-by: MarinaVorobeva21 <98399603+MarinaVorobeva21@users.noreply.github.com>
Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
2023-03-01 20:48:05 +03:00
alex 9b45523f49 CB-3129 add filter script (#1505)
* CB-3129 add filter script

* CB-3129 fix naming
2023-02-28 07:16:14 +03:00
Alexey 98655926db CB-2907 feat: active views list (#1492)
* CB-2907 feat: active views list

* CB-2907 fix: validate execution context & display message that multi-tab is not supported

* CB-2907 fix: display multi-tab not supported message only for main app screen

* CB-2907 fix: disable multi-tab message

* CB-2907 fix: tests
2023-02-27 19:12:08 +03:00
AlexeyandMarinaVorobeva21 6e22c70c3f CB-3138 fix: unit tests dependencies (#1478)
Co-authored-by: MarinaVorobeva21 <98399603+MarinaVorobeva21@users.noreply.github.com>
2023-02-23 18:21:16 +03:00
Alexeyandalex f3ed85ee30 CB-3070 chore: fix bundles structure (#1445)
Co-authored-by: alex <48489896+devnaumov@users.noreply.github.com>
2023-02-16 11:44:33 +03:00
Alexey 82533abb28 fix: tests dependencies (#1474) 2023-02-15 14:53:15 +03:00
5df1fada92 CB-3087 hide private project for special roles (#1433)
* CB-3087 hide private project for special roles

* CB-3087 add new permission for private project access

* CB-2808 feat: add lm roles list

* CB-3070 feat: settings resolver API

* CB-3085 add plugins settings

* CB-3086 hide scripts for the viewer and editor

* CB-3085 hide tools panel

* CB-2808 resolve conflict

* CB-3085 fix splitter disabled mode

* CB-3085 add disabled state to the log viewer settings

* CB-3085 mark disabled as computed

* CB-2808 hide menu if all sub items are hidden

* CB-2808 hide connection's selector if connections are disabled

---------

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-02-13 14:07:38 +03:00
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
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
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
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
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
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 48081f0422 CB-2706 allow copy from sql editor in readonly mode (#1324)
* CB-2706 allow copy from sql editor in readonly mode

* CB-2706 use DEFAULT_CURSOR_BLINK_RATE only in the CodeEditor
2022-11-26 16:28:50 +04:00
Aleksey Potsetsuev 49095cf385 CB-2647 use auto loader for menu 2022-11-03 18:04:38 +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
39987507a5 CB-2660 add set resource property mutation to resource manager updated (#1214)
* CB-2660: Add set property mutation to resource manager

* CB-2660 fix: save resource property

* CB-2660 Modify graphql schema to allow properties in RMResource to be null

* CB-2660 fix: resource properties keys

* CB-2660 fix: codestyle

* CB-2660 Read resource properties in navigator model

* CB-2660 Respect nameMask parameter

* CB-2660 feat: bind execution context information

* CB-2660 fix: don't save properties for readonly scripts

* CB-2660 fix: don't link readonly scripts with datasource

* CB-2660 fix: script linking with datasource

* CB-2660 fix: sql editor context switch flickering

* CB-2660 fix(plugin-resource-manager): resource finding

Co-authored-by: Wroud <wroud@yandex.ru>
Co-authored-by: serge-rider <serge@jkiss.org>
Co-authored-by: Alexey <wrouds@gmail.com>
2022-10-17 23:06:28 +03:00
Wroud 15bc217275 Merge remote-tracking branch 'origin/devel' into fix/app-performance 2022-10-10 14:15:53 +03:00
Wroud 4a2ee3cc46 CB-2572 performance(plugin-sql-editor): throttling 2022-10-06 19:39:22 +03:00
Wroud 7520dc77a3 CB-2572 performance(plugin-sql-editor): throttling 2022-10-06 19:26:33 +03:00
Wroud 80b3f2766a CB-2572 performance(plugin-sql-editor): throttling 2022-10-06 19:18:02 +03:00
Wroud 563b730b48 CB-2572 performance(plugin-sql-editor): proper memoization 2022-10-06 18:06:13 +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 0d695d942d CB-2643 chore(plugin-sql-editor): lock button 2022-09-27 18:14:07 +03:00
Wroud 439b7d0570 CB-2643 chore(plugin-sql-editor): lock button 2022-09-27 16:48:00 +03:00
Wroud 66c7959596 CB-2479 chore: update lock icons 2022-09-25 16:27:26 +03:00
Wroud 992ed4a7ed CB-2479 feat: readonly mode for sql editor 2022-09-22 18:11:28 +03:00
Wroud 1c50080296 CB-2406 feat: readonly mode for sql editor 2022-09-14 18:15:40 +03:00
Konstantin Vasilev c0132ce152 Merge remote-tracking branch 'origin/devel' into fix/CB-2289-sql-suggest 2022-09-12 14:00:38 +03:00
Wroud 3b514c44df Merge remote-tracking branch 'origin/devel' into refactor/cb-2425/tabs-box-auto-select 2022-09-12 11:02:51 +03:00
Konstantin Vasilev 167c83e341 Merge remote-tracking branch 'origin/devel' into fix/CB-2289-sql-suggest 2022-09-09 17:39:32 +03:00
Wroud 1386973139 fix: performance SqlEditor activeSegmentMode memoisation 2022-09-09 17:28:13 +03:00
Alexey 328b18fcce Merge pull request #1139 from dbeaver/devel
Merge devel
2022-09-09 14:59:55 +03:00
Konstantin Vasilev 46205abe66 Merge remote-tracking branch 'origin/devel' into fix/CB-2112-format-sql 2022-09-09 12:17:03 +03:00
Wroud 035e636145 fix(core-events): CB-2565 autoClose prop for notifications 2022-09-08 10:05:40 +03:00
Wroud ac927586a3 refactor: CB-2503 DataContext find fn 2022-09-07 16:51:55 +03:00
Konstantin Vasilev d9d0a73c53 CB-2289 fix(plugin-sql-editor): Update suggestions for sql editor after schema change 2022-09-07 14:34:32 +03:00
Konstantin Vasilev be9a5804d4 CB-2112 fix(plugin-sql-editor): Format only current script 2022-09-06 13:44:26 +03:00
Wroud 5f793c58d5 refactor(core-blocks): CB-2425 TabsBox autoSelect property 2022-09-06 12:43:42 +03:00