Commit Graph
32 Commits
Author SHA1 Message Date
AlexeyandEvgenia Bezborodova 5779100b9a CB-4348 fix: parse sql script (#2212)
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-12-14 12:57:54 +03:00
AlexeyandEvgenia Bezborodova 76a440c482 CB-2974 feat: allow private connections selecting for sql editor (#2167)
* CB-2974 feat: allow private connections selecting for sql editor

* CB-2974 fix: typo

* CB-2974 chore: decrease message delay

---------

Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-11-28 15:57:25 +03:00
alexandEvgenia Bezborodova afe39be839 CB-4210 mark base source updated on load (#2150)
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-11-22 13:28:01 +01:00
Alexeyanddariamarutkina 78c19187de Feat CB-3030 conflict resolving (#1814)
* CB-3030 feat: conflict resolving

* CB-3030 fix: display os specific key instead of mod

* CB-3030 fix: sql editor status

* CB-3030 fix: styles and data validation

* CB-3030 fix: sql editor styles

---------

Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-07-17 22:10:15 +03: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
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
Alexey 2b25b3ac8e Chore/prettier (#1706)
* chore: add prettier

* chore: format code
2023-05-28 02:42:14 +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
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 e1f9f1858b chore: update copyright year to 2023 (#1579) 2023-03-31 16:54:30 +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
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
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
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 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
Alexey c8a066296c Merge pull request #1072 from dbeaver/fix/CB-2346/tab-unloading
fix(plugin-navigation-tabs): CB-2346 tab unloading handler
2022-08-26 14:57:39 +03:00
Wroud 69121eb1a4 feat(plugin-sql-editor): CB-2030 add isReadonly for ISqlDataSource 2022-08-23 22:39:14 +03:00
Wroud 70fb57f493 fix(plugin-navigation-tabs): CB-2346 tab unloading handler 2022-08-23 20:47:15 +03:00
Wroud f0aaf924fb refactor: CB-2372 projects API 2022-08-02 14:31:38 +03:00
Wroud 5f67f54a83 feat(plugin-sql-editor): CB-2029 script renaming 2022-07-12 14:34:53 +03:00
Wroud b82db3e48e fix(plugin-sql-editor): CB-2093 save execution context and and query change 2022-06-22 14:13:32 +03:00
Wroud 714d015780 fix(plugin-sql-editor): CB-2094 initial state 2022-06-22 13:36:57 +03:00
Wroud 3e8fd90748 feat(core-blocks): CB-2094 data source states indication 2022-06-22 13:27:33 +03:00
Wroud 8930cb0f3f feat(core-blocks): CB-2094 data source states 2022-06-22 13:25:24 +03:00
Wroud cb0c13b7f7 refactor(plugin-sql-editor): CB-2092 local state data source 2022-06-20 17:15:36 +03:00
Wroud 3c393c63bd refactor(plugin-sql-editor): CB-2093 factory naming 2022-06-20 13:57:21 +03:00
Wroud f2c2f7b9ef refactor(plugin-sql-editor): CB-2093 initial state for data source 2022-06-20 13:51:58 +03:00
Wroud 25decfcd81 refactor(plugin-sql-editor): CB-2093 memory data source 2022-06-20 13:45:37 +03:00