Commit Graph
91 Commits
Author SHA1 Message Date
Alexey a4de35c8c6 CB-3870 fix(build): use proper env in babel config (#1916) 2023-08-15 12:50:26 +03:00
Alexey 3983595b5f fix(build): dependencies (#1913) 2023-08-15 01:18:18 +03:00
Dmitriy Osipov d6febf4c48 chore: add react-refresh-plugin for better dev experience" (#1874)
* chore: add react-refresh-plugin for better dev experience"

* chore: move plugin to babel.config.js

* fix tests for react-refresh
2023-08-15 00:03:27 +03:00
Alexey 1a06b4e17b fix(build): assets priority (#1905) 2023-08-14 13:21:45 +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 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
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
alex fc9d941c1f Chore/cb 3504 update deps (#1741)
* CB-3504 update deps

* CB-3504 update leaflet deps

* CB-3504 remove hostName from queries
2023-06-13 14:40:04 +03:00
Alexey bb71605347 Chore/update configs (#1723)
* chore: update configs

* chore: update typescript version
2023-06-01 22:17:04 +03:00
Alexey 3fb9419f53 fix: increase precache file size limit (#1721) 2023-06-01 14:43:01 +03:00
Alexey b4be2b76de Fix CB-3524 use resource mobx reaction (#1717)
* CB-3524 fix: mobx reaction dependencies

* CB-3524 fix: driver properties setting
2023-05-30 20:23:30 +03:00
Alexey 229452c262 Chore/prettier (#1707)
* chore: add prettier

* chore: format code

* chore: remove eslint ts integration

* chore: update webpack.config
2023-05-29 02:54:14 +03:00
Alexey 2b25b3ac8e Chore/prettier (#1706)
* chore: add prettier

* chore: format code
2023-05-28 02:42:14 +03:00
Alexey f905e8a375 Fix/jest/fake indexddb (#1680)
* test: fix indexeddb

* test: skip BrowserSettingsService
2023-05-19 12:43:51 +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
ed74196961 Cb 3369 codemirror 6 (#1613)
* CB-3369 add new codemirror version to the devtools

* CB-3369 add new sql editor plugin

* CB-3369 add basic extensions

* CB-3369 support dnd for the cm@6

* CB-3369 add branding

* CB-3374 update some components to the new editor

* CB-3369 fix conflcts

* CB-3369 support active and running query status

* CB-3369

* CB-3369 review fixes

* CB-3369 raise internal codemirror keyboard events

* CB-3370 change caret color & review fixes

* CB-3369 add default bindings

* CB-3369 remove blink on switch

* CB-3369 use layout effect

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: Alexey <wrouds@gmail.com>
2023-04-28 23:06:21 +03:00
Alexeyanddariamarutkina 200105f692 CB-3311 feat: application update message (#1597)
* CB-3311 feat: application update message

* CB-3311 fix: tests

* CB-3311 chore: code cleanup

* CB-3311 fix: use absolute path

---------

Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-04-19 17:10:05 +03:00
Alexey e1f9f1858b chore: update copyright year to 2023 (#1579) 2023-03-31 16:54:30 +03:00
Alexey 56949408b1 CB- 3150 fix tests (#1559)
* CB-3150 fix: tests

* CB-3150 fix: use node v18 for tests
2023-03-21 11:32:23 +03:00
Alexey a5eb46c395 CB-510 CB-1270 CB-3150 CB-3177 PWA add service worker for caching resources (#1554)
CB-3150 feat: PWA (add service worker for resources caching)
2023-03-19 18:07:47 +03:00
Alexey 80e16cd327 Fix/cb 3150/resource remove loaded keys (#1553)
* CB-3150 tests: add data-testid attr
2023-03-17 18:52:27 +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
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
AlexeyandAleksandr Skoblikov b55b021f68 fix/cb-3159/root-uri (#1499)
* CB-3159 fix: root_uri

* CB-3159 fix: prefetch icons

* CB-3159 force add slashes for rootUri

---------

Co-authored-by: Aleksandr Skoblikov <aleksandr.skoblikov@dbeaver.com>
2023-02-27 17:43:37 +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
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
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 23d028ccb9 CB-2959 chore: update deps (#1351) 2022-12-13 22:04:18 +03:00
Aleksey Potsetsuev e9f2a3f76d CB-2896 feat: lazy loading for connection info 2022-11-18 19:03:28 +03:00
Wroud 3f01fbc351 CB-2501 chore: webpack deps update 2022-10-04 19:01:27 +03:00
Wroud be84877788 CB-2468 fix: request auth for connection 2022-09-21 15:40:17 +03:00
Wroud edc012b733 CB-2503 build: keep class and function names 2022-09-09 17:44:54 +03:00
Wroud d4b805fddc fix: remove node's path dependency 2022-08-25 13:38:15 +03:00
Wroud e63e93f0b7 fix(plugin-navigation-tree): CB-2420 duplicate's filtering 2022-08-23 14:16:04 +03:00
alex 95c54085fe Merge pull request #1045 from dbeaver/feat/CB-2368-report-dependency
feat(core-cli): CB-2368 add allure support
2022-08-11 18:12:38 +03:00
Naumov Alexey 61330fb121 feat(core-cli): CB-2368 add allure support 2022-08-11 18:10:17 +03:00
Konstantin Vasilev 99aa80b8a1 feat(core-blocks): CB-2309 add font fallback to sso.html 2022-08-10 13:18:09 +03:00
Wroud ed149d849f feat(test): CB-2288 configure application testing environment 2022-07-15 03:52:43 +03:00
Wroud dd18c8e260 refactor: CB-2288 manifests 2022-07-15 03:21:14 +03:00
Wroud e5a23d5286 fix(build): yarn.lock 2022-07-13 17:17:41 +03:00
Wroud 4e5cd4503b feat(test): CB-2288 jest config pass with no tests 2022-07-13 02:58:44 +03:00
Wroud 30964b6576 feat(test): CB-2288 jest config coverage settings 2022-07-13 02:40:59 +03:00
Wroud 37b61a0484 feat(test): CB-2288 configure jsdom testing 2022-07-13 02:28:37 +03:00
Wroud bbcfead185 feat(test): CB-2288 app init test 2022-07-13 01:28:37 +03:00
Wroud 3a0a89094c feat(test): CB-2288 jest configuration 2022-07-13 00:30:14 +03:00
Wroud d8a8ad6a03 refactor: CB-2096 update react 2022-06-07 23:12:02 +03:00
Wroud de4c08dba1 build(core-cli): CB-2005 move d3 deps to separate chunk 2022-05-19 11:04:28 +03:00