Commit Graph
407 Commits
Author SHA1 Message Date
Tatiana Fokinaanddariamarutkina 17510f2de1 CB-3608 memoize parse script (#1805)
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-07-10 14:55:24 +03:00
Alexey 9f885eac34 chore: prettier project (#1800) 2023-07-05 14:05:39 +04:00
alexandAleksandr Skoblikov 3642bbfa41 CB-3451 git integration (#1782)
* CB-3570 add manual save

* CB-3451 git settings api

* CB-3451 migrate to the new config model

* CB-3451 improve locks, update gql

* CB-3451 fix RM configuration

* CB-3570 resolve conflicts

* CB-3451 checkout remote branch

* CB-3451 review fix

* CB-3451 improve logs/fix private project access

* CB-3570 review fixes

* CB-3570 remove hasChanges flag

* CB-3570 debounce saveProperties

---------

Co-authored-by: Aleksandr Skoblikov <aleksandr.skoblikov@dbeaver.com>
2023-07-04 21:35:38 +03:00
Tatiana Fokinaanddariamarutkina ba48b282fd Cb 3536 add settings panel (#1787)
* CB-3536 add settings panel

* CB-3536 filter settings by group

* CB-3536 PR fixes, add settings to panel

* CB-3536 export settings group

* CB-3536 add translations, fix indentation

* CB-3536 refactor translations

---------

Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-06-30 15:22:20 +04:00
Alexeyanddariamarutkina 8292eb3ac9 CB-3517 styling (#1768)
* feat: CB-3517 css-modules for styling components

* CB-3517 refactor: use new styles system for Menu

* CB-3517 refactor: new styling system

* CB-3517 fix: log viewer styles

* CB-3517 chore: remove extra styles

* CB-3517 fix: context menu offset

* CB-3517 chore: review code cleanup

* CB-3517 chore: revert some changes

* CB-3517 chore: revert some changes

* CB-3517 chore: revert some changes

* CB-3517 fix: tabs padding

* CB-3517 fix: tab and checkbox styles

* CB-3517 chore: increase result tabs in sql editor

---------

Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-06-27 19:57:01 +04:00
Alexeyanddariamarutkina d4739a0dba Feat CB-3293 node info transformer (#1778)
* CB-3293 feat: node info transformer

* CB-3293 feat: hide resource extension in nav-tree

* CB-3293 feat: rename resources without extension

* CB-3293 fix: resource folder renaming

* CB-3293 fix: add resource delete confirmation

* CB-3293 chore: remove unused code

* CB-3293 fix: resource deletion

* CB-2393 chore: unify delete confirmation dialog

---------

Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-06-27 13:46:55 +04:00
869a87fa13 CB-3546 add mac specific keys property (#1744)
* CB-3546 add mac specific keys property

* CB-3546 use common and OS specific keys, add windows keys

* CB-3546 remove label, use keys for label

---------

Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2023-06-20 14:02:11 +03:00
Alexey 9afb071539 Revert "feat: CB-3517 css-modules for styling components (#1732)" (#1766)
This reverts commit f294ca7767.
2023-06-14 17:06:33 +03:00
Alexey f294ca7767 feat: CB-3517 css-modules for styling components (#1732)
* feat: CB-3517 css-modules for styling components

* CB-3517 refactor: use new styles system for Menu

* CB-3517 refactor: new styling system

* CB-3517 fix: log viewer styles

* CB-3517 chore: remove extra styles

* CB-3517 fix: context menu offset

* CB-3517 chore: review code cleanup
2023-06-13 18:50:43 +03:00
Alexey bb71605347 Chore/update configs (#1723)
* chore: update configs

* chore: update typescript version
2023-06-01 22:17:04 +03:00
Alexey 2b25b3ac8e Chore/prettier (#1706)
* chore: add prettier

* chore: format code
2023-05-28 02:42:14 +03:00
alex 52c171f4dc CB-3185 stop executing on cancel (#1696) 2023-05-26 15:20:54 +02:00
Alexeyanddariamarutkina a681956912 CB-3506 feat: increase max sql file size (#1687)
* CB-3506 feat: increase max sql file size

* CB-3506 chore: revert setting name

---------

Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-05-25 14:14:20 +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
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
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
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
Alexey ea785d330f CB-3091 fix: sql auto completion (#1585) 2023-04-04 18:13:22 +03:00
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