Commit Graph
106 Commits
Author SHA1 Message Date
fdde4348a2 CB-3703 save product configuration from ui (#2334)
* CB-4560 api for saving product configuration

* CB-4560 save product config in te

* CB-4560 move update product config to mutations

* CB-3703 feat: extend base components

* CB-3703 feat: settings editor

* CB-3703 chore: review fixes

* CB-3703 chore: pr review

* CB-3703 feat: update server configuration icon

* CB-4560 add events

* CB-3703 fix: localization

* CB-3703 chore: localization

---------

Co-authored-by: Alexey <wrouds@gmail.com>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-01-31 20:33:05 +03:00
Alexey b0a34c7d75 CB-4541 refactor: tree (#2326)
* CB-4541 refactor: tree

* CB-4541 chore: revert test code
2024-01-24 12:31:48 +03:00
Alexey 6b124072e9 chore: performance improvements (#2319) 2024-01-21 16:18:35 +03:00
serge-rider 904375aa66 dbeaver/pro#2341 Copyright update 2024-01-10 10:31:38 +03:00
Alexeyandmr-anton-t 2f7c674ab9 CB-4332 refactor: migrate some parts of application to css-modules (#2194)
* CB-4332 refactor: migrate some parts of application to css-modules

* CB-4332 fix: aria attribute name

* CB-4332 refactor: remove ADMINISTRATION_TOOLS_PANEL_STYLES

* CB-4332 fix: inputs

* CB-4332 fix: conflicts

* СИ-4396 fix: sql editor sync

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2023-12-15 17:28:05 +03:00
0f00c234d3 CB-4058 errors in console (#2180)
* CB-4058 invalid authorization - invalid creds (no error)

* CB-4058 table error cause no error when ref is updated while render

* CB-4058 removed from console session expire logs after session being expired

* Revert "CB-4058 removed from console session expire logs after session being expired"

This reverts commit a506f4cbe7.

* CB-4058 session errors fix

* CB-4058 remove error from userInfo

* CB-4058 remove redundant code

* CB-4059 useAutoLoad session error fixed

* CB-4059 clean code after refactor

* CB-4059 clean code after refactor [2]

---------

Co-authored-by: s.teleshev <s.teleshev@mu.se>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: Alexey <wrouds@gmail.com>
2023-12-14 18:31:46 +03:00
Alexeyandmr-anton-t b83cd0d883 CB-4060 feat: remove data-testid attribute (#2166)
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2023-12-06 09:54:51 +03:00
AlexeyandDaria Marutkina 6299e73bcd CB-4091 fix: partial data loading with resource (#2132)
* CB-4091 fix: partial data loading with resource

* CB-4091 refactor: track outdated includes

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-11-15 15:44:01 +03:00
cb60358ae6 Cb 4112 open scripts datasets from virtual file systems (#2089)
* CB-4125 use base path

* CB-4112 feat: read objectId

* CB-4145 add required auth to fs system api

* CB-4145 move feature

* CB-4112 feat: open scripts from file systems

* CB-4125 improve file reading

* CB-4112 refactor: naming

* CB-4112 update schema

* CB-4112 fs by id gql

* CB-4112 unique fs id

* CB-4112 fix gql schema

* CB-4112 fix gql schema

* CB-4112 update manifest

* CB-4112 feat: require authentication for nav-tree

---------

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-10-31 17:18:32 +03:00
4f0fa25d83 CB-4123 servlet for upload download fs files (#2078)
* CB-4123 servlet for upload download fs files

* CB-4123 use variables in fs servlet

* CB-4123 use parameter nodepath in get

* CB-4123 upload file fix

* CB-4123 use project id and uri

* CB-4124 add upload/download context actions

* CB-4124 move fs extension to EE

* CB-4124 export NavigationNodeControl styles

* CB-4123 validate project permissions

* CB-4123 code style fix

* CB-4124 keep loader close to the title in notification

* CB-4123 prettify error

* CB-4113 resolve conflicts

---------

Co-authored-by: naumov <iamemptyhuh@gmail.com>
Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-10-30 20:10:53 +03:00
alexandmr-anton-t 3831abc880 CB-4038 add action icon button (#2064)
* CB-4038 add action icon button

* CB-4038 update styles in image value panel

* CB-4038 keep default styles export

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2023-10-17 18:34:52 +03:00
Alexey 4550a71298 Refactor CB-3819 resources (#2031)
* CB-3819 refactor: split resources to modules

* CB-3819 refactor: move resource API to separate package

* CB-3819 refactor: move resource API to separate package

* CB-3819 refactor: split to submodules

* CB-3819 chore: update ts configuration

* CB-3819 refactor: move administration top bar to separate plugin

* CB-3819 feat: update tests

* CB-3819 chore: add pre scripts

* CB-3819 fix: prebuild tests-runner

* chore: restore cache for jest-tests github action

* chore: update configs

* chore: add frontend build action

* chore: rename build frontend github action

* chore: include test dependencies

* fix: default product build script

* chore: update github action

* chore: rename validation github action

* chore: update typescript cache key

* chore: update naming for github actions

* chore: run tests on ubuntu

* CB-3819 fix: pre build tasks

* CB-3819 fix: ignore order

* CB-3819 fix: remove prettier from gql sdk
2023-10-05 23:36:54 +03:00
alexandAlexey 713082215f CB-3197 add interface comments (#2018)
* CB-3197 add interface comments

* CB-3197 make comments cleaner

* CB-3197 add comment for the indeterminateSelected

* CB-3197 fix code style

---------

Co-authored-by: Alexey <wrouds@gmail.com>
2023-09-28 13:46:02 +03:00
571d6b7c0a CB-3864 migrate tree to css modules (#2003)
* CB-3864 migrate tree to css modules

* CB-3864 migrate extra components

* CB-3864 review fixes

* CB-3864 move editing and dragging props from base nav components

* CB-3864 add styles to renderer

* CB-3864 fix aws styles

* CB-3864 remove padding in projects renderer

* CB-3864 fix node hover effect

* CB-3864 remove custom tags

* CB-3864 remove config changes

* CB-3864 review fixes

* CB-3864 move NavigationNodeControl styles closer to the component

* CB-3864 chore: code cleanup

---------

Co-authored-by: Alexey <wrouds@gmail.com>
Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2023-09-28 02:02:49 +03:00
Dmitriy OsipovandDaria Marutkina 39dfa3e05d CB-3862: migrate folder-explorer to css-modules (#1979)
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-09-13 16:39:55 +03:00
alexandmr-anton-t 320d7e84ee CB-3860 migrate dialog to css modules (#1994)
* CB-3860 migrate dialog to css modules

* CB-3860 refactor all dialogs styles

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2023-09-13 16:39:27 +03:00
Alexey 5030094f1f CB-3598 fix: react rendering errors (#1990) 2023-09-13 15:04:45 +03:00
Dmitriy Osipov ff32a5a577 CB-3970: move error handlers closer to components (#1983)
* CB-3970: move error handlers closer to components

* CB-3970: handle errors of opening navNode

* CB-3970 fix: interrupt executor instead of throwing error
2023-09-07 14:42:42 +03:00
Dmitriy OsipovandDaria Marutkina 534b02d5ee CB-3178: fix navigation tree tools styles (#1959)
* CB-3178: fix navigation tree tools styles

* CB-3178: refactoring css-modules

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-08-29 12:22:01 +03:00
Ainurandnaumov 7acaf2668d CB-1392 add plain name for database nodes (#1937)
* CB-1392 add plain name for database nodes

* CB-1392 support plain name

* CB-1392 don't show file type for rm node

* CB-1392 deprecate get full name from nav node

* CB-1392 do not send plain name if it is the same as name

* CB-1392 move getting plain name logic to the function

* CB-1392 gql add comment for deprecated param

---------

Co-authored-by: naumov <iamemptyhuh@gmail.com>
2023-08-24 16:40:11 +03:00
Dmitriy OsipovandEvgeniaBzzz 18c2d7bb02 CB-3762: fix inability to disable menu items (#1923)
* CB-3762: fix inability to disable menu items

* CB-3762 check that orderItems not added new actions

* CB-3762 fix order-items

---------

Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-08-23 11:29:30 +03:00
AlexeyandDaria Marutkina 617f3b45d7 CB-596 feat: pagination for database objects (#1891)
* CB-596 feat: pagination for database objects

* CB-596 chore: review fixes

* CB-596 fix: loading users

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-08-11 14:28:21 +03:00
Dmitriy OsipovandEvgeniaBzzz 4f4c637866 CB-3655 disable save button when name not changed (#1895)
Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-08-10 19:12:16 +03:00
5b077f3189 Cb 3667 navigator filters (#1863)
* CB-3667 Navigator filters model

* CB-3667 Navigator filters model + implementation

* CB-3667 Instructions

* CB-3668 add navigator filters plugin

* CB-3667 Input parameters fix

* CB-3668 add include & exclude tables

* CB-3667 Save filter settings

* CB-3667 register plugin

* CB-3667 Load filter settings

* CB-3668 rename plugin

* CB-3668 add css modules

* CB-3668 add dependencies

* CB-3668 review fixes

* CB-3668 hide delete button by default

---------

Co-authored-by: Serge Rider <serge@jkiss.org>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-08-01 17:00:31 +03:00
Tatiana Fokinaandmr-anton-t e33eb9fd60 Cb 3584 migrate containers to css modules (#1834)
* CB-3584 migrate containers, migrate form controls to css modules

* CB-3584 remove old container styles, fix layout props, fix styles

* CB-3584: Fix properties table filter style

* CB-3584 fix styles

* CB-3584 fix styles

* CB-3584 fix sizing styles

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2023-07-27 13:24:47 +03:00
Alexeyanddariamarutkina ab94dd837b CB-3641 fix: search in visible node name (#1815)
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-07-12 12:43:47 +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
Alexeyandmr-anton-t 377f6d4344 CB-3205 refactor: use RM API for nav-tree (#1771)
* CB-3205 refactor: use RM API for nav-tree

* CB-3205 fix: cached resource skipped outdate

* CB-3205 chore: revert CB-3513 fix (covered by another fix)

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2023-06-21 15:22:11 +03: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 d7e0c41a82 CB-3497 error message (#1699)
* CB-3497 fix: error message

* CB-3497 chore: update messages
2023-05-29 19:32:11 +03: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
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
Alexey b4259e1c48 CB-3318 fix: make cached value observable (#1609) 2023-04-18 14:56:42 +03:00
Alexey e659a64cbd CB-3274 fix folders sync (#1568)
* CB-3274 fix: connection / resource folders sync

* CB-3274 fix: connection folders caching

* CB-3274 fix: dialog error handling

* CB-3274 fix: nav tree folders mode

* CB-3274 fix: nav tree performance

* CB-3263 fix: new folders validation

* CB-3263 fix: commit includes to alias transformation

* CB-3274 chore: clear code
2023-04-04 12:52:35 +03:00
Alexey e1f9f1858b chore: update copyright year to 2023 (#1579) 2023-03-31 16:54:30 +03:00
837d321b3f CB-2888 project sync (#1508)
* CB-3115 Add new create/delete project events

Implements new events

* CB-3115 Add new create/delete project events

Renames WSProjectLifeCycleEvent to WSProjectLifeCycleEvent
Adds BaseWebSession#addSessionEvent call in WsProjectLifeCycleEventHandler

* CB-3127 events for project permissions

* CB-2888 TE: Add synchronization for projects

Renames WSProjectUpdatedEventHandler to WSAbstractProjectEventHandler and
 WsProjectLifeCycleEventHandler to WSProjectUpdatedEventHandler

* CB-3127 code style fix

* CB-3127 rename parameters

* CB-3114 support project remove/add event

* CB-3127 event filter fix

* CB-2888 TE: Add synchronization for projects

Moves validateEvent call to WSAbstractProjectEventHandler;
Adds the use of an implementation class logger to the WSAbstractProjectEventHandler.

* CB-2888 TE: Add synchronization for projects

Fixes missed copyright

* CB-3127 filter event fix

* CB-2888 fix type naming

* CB-3127 project update event add remove connections from session

* CB-2888 TE: Add synchronization for projects

Adds dispatch of project creation/deletion events to WebServiceRM

* CB-3127 load connections when creating web project

* CB-3114 update active projects on active project remove

* CB-3114 update active projects via handler on project delete

* CB-2888 mark root tree as outdated on project add event

* CB-2888 move tree outdate logic to the useElementsTree hook

* CB-2888 fix conflict with devel

---------

Co-authored-by: Iaroslav Emelianov <iaroslav.emelianov@dbeaver.com>
Co-authored-by: naumov <iamemptyhuh@gmail.com>
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: Alexander Skoblikov <aleksandr.skoblikov@dbeaver.com>
2023-03-23 16:42:08 +03:00
Alexey d3ae64ed47 Fix/cb 3150/resource remove loaded keys (#1561)
* CB-3214 fix: theme / language change

* CB-3214 fix: resources & nav tree synchronization
2023-03-22 14:55:34 +03:00
730a156434 CB-3154 save user creds to secrets in initConnection (#1502)
* CB-3154 save user creds to secrets in initConnection

* CB-3155 add tab 'change credentials'

* CB-2964 feat: lazy loaders

* CB-2964 add reconnect, display tab conditionally

* CB-2964 Init connection on dialog result

* CB-2964 fix logic

* CB-2964 Add logic

* CB-2964 Update ConnectionAuthService.ts

Co-authored-by: Alexey <wrouds@gmail.com>

---------

Co-authored-by: Tatiana Fokina <tatiana.fokina@dbeaver.com>
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
Co-authored-by: Tatiana Fokina <123386439+tfokina@users.noreply.github.com>
2023-03-20 15:52:14 +03:00
Alexey 9a9aea86f7 Fix/cb 3150/resource remove loaded keys (#1549)
* CB-3150 fix: revert nodes limit
2023-03-16 18:13:58 +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 b5bef7f226 CB-3214 suspense (#1527)
* CB-3214 feat: enable strict mode for development

* CB-3214 refactor: loaders
2023-03-07 18:14:30 +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
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
alex 5d3426d6bf CB-2669 fix dnd to the project (#1486)
* CB-2669 fix dnd to the project

* CB-2669 display only related projects
2023-02-23 16:30:43 +03:00
Tatiana FokinaandAleksey Potsetsuev c6e8b27582 CB-3076 Added root uri to broken images (#1451)
* Added root uri to broken images

* CB-3076 Fix connection mark loading, fix loader styles

* CB-3076 Refactor code, fix connection icon mask

* CB-3076 fix icon sizing

---------

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
2023-02-17 18:32:54 +03:00