Commit Graph
5658 Commits
Author SHA1 Message Date
2e45dcbbc5 CB-3105 fix: websocket retry / repeat delay (#1457)
* CB-3105 fix: websocket retry / repeat delay

* CB-3105 chore: codestyle

* CB-3105 improve logs

* CB-3105 fix: stop reconnecting to websocket if session expired

---------

Co-authored-by: Alexander Skoblikov <aleksandr.skoblikov@dbeaver.com>
Co-authored-by: Serge Rider <serge@jkiss.org>
2023-02-22 16:39:50 +03:00
AinurandMarinaVorobeva21 25d6537369 CB-2975 datasource send event fix (#1424)
* CB-2975 datasource send event fix

* CB-2975 resolve secrets when updating the connection

---------

Co-authored-by: MarinaVorobeva21 <98399603+MarinaVorobeva21@users.noreply.github.com>
2023-02-22 14:37:00 +03:00
Alexeyandmr-anton-t a86ff0669e CB-2553 fix: correctly detect schema in SQL Editor (#1488)
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2023-02-22 14:09:15 +03:00
alex 5b5c9834ed CB-1522 disable native text selection effect (#1479) 2023-02-22 14:04:05 +03:00
dariamarutkina bfe253b7fe Merge pull request #1484 from dbeaver/dariamarutkina-patch-1
CB_2235 chore: update README
2023-02-20 18:31:01 +01:00
dariamarutkina d39b41d2f7 CB_2235 chore: update README 2023-02-20 18:30:08 +01: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
alex 6342eb76be Cb 3142 node editing issue (#1481)
* CB-3142 disable DnD while the node in the editing mode

* CB-3142 fix conflicts

* CB-3142 use shorter syntax
2023-02-17 15:54:02 +03:00
Ainurandnaumov d97f645945 CB-3062 extra fields for events (#1429)
* CB-3062 extra fields for events

* CB-3062 code style fixes

---------

Co-authored-by: naumov <iamemptyhuh@gmail.com>
2023-02-17 14:55:19 +03:00
Alexey 2d5e63c028 CB-3070 fix: styles priority (#1480) 2023-02-16 18:17:48 +03:00
Alexey 4534028fc8 chore: version update 22.3.5 (#1476) 2023-02-16 11:48:59 +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
Alexander Skoblikov b1908ccbbc CB-3080 reconnect ws client (#1472) 2023-02-15 17:44:38 +03:00
Alexey 8bcaae9140 CB-1688 feat: properties table reset default (#1475) 2023-02-15 17:00:43 +03:00
Alexey 82533abb28 fix: tests dependencies (#1474) 2023-02-15 14:53:15 +03:00
Tatiana FokinaandAleksey Potsetsuev 9fa9cc05f7 Cb 2824 add grouping for connections in multiple mode (#1473)
* CB-2824 add column 'project' to connections table

* CB-2824 Refactor code

* CB-2824 Refactor code

* CB-2824 fix: sort connections by project

---------

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
2023-02-15 14:15:16 +03:00
alexandMarinaVorobeva21 4401081bf1 CB-3042 always subscribe to resource events if rm is enabled (#1464)
* CB-3042 always subscribe to resource events if rm is enabled

* CB-3042 subscribe via component

* CB-3042 fix code style

* CB-3042 update resources on project change

---------

Co-authored-by: MarinaVorobeva21 <98399603+MarinaVorobeva21@users.noreply.github.com>
2023-02-15 11:13:00 +03:00
alex ef4eae6520 CB-3111 preserve leading spaces (#1458) 2023-02-15 11:11:58 +03:00
alex d4099b9dfe CB-3101 update links (#1443) 2023-02-15 11:11:23 +03:00
3f687ac419 CB-3100 rm event for creating project (#1453)
* CB-3100 rm event for creating project

* CB-3100 fix: display projects in multiproject mode

---------

Co-authored-by: Wroud <wroud@yandex.ru>
Co-authored-by: MarinaVorobeva21 <98399603+MarinaVorobeva21@users.noreply.github.com>
Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
2023-02-15 11:09:59 +03:00
662bad583e CB-2570 support passing args to auth (#1439)
* CB-2570 support passing args to auth

* CB-2570 add private param to auth provider

* CB-2606 hide private provider

* CB-2606 revert AuthenticationProvider code

---------

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
Co-authored-by: MarinaVorobeva21 <98399603+MarinaVorobeva21@users.noreply.github.com>
Co-authored-by: Ainur <yagudin10@yandex.ru>
2023-02-15 11:08:11 +03:00
Serge Rider e2c6091627 dbeaver/pro#1387 Fix SQL completion tests (#1461) 2023-02-14 18:36:28 +03:00
Alexander SkoblikovandAleksey Potsetsuev 06e7a26a88 CB-2899 add redirect param to servlets (#1446)
* CB-2899 add redirect param to servlets

* CB-2899 fix redirect with enabled anonymous mode

* CB-2899 fix invalid parameter name

* CB-2899 fix: close login form on federate auth finish

---------

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
2023-02-14 16:47:24 +03:00
Alexey ea0fc98c88 CB-2519 fix: sql editor context detection (#1470) 2023-02-14 16:10:17 +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
serge-rider 31865132c4 22.3.5 config 2023-02-11 10:21:57 +03:00
Alexey 1c133405c0 CB-3128 fix: log viewer splitter (#1466)
* CB-3128 fix: log viewer splitter

* CB-3128 chore: styles

* CB-3128 fix: update nav tree on connection create
2023-02-10 18:32:46 +03:00
b58a7bb63b CB-3072-RM-metadata-for-removed-script-still-exists (#1430)
* CB-3072 RM: metadata for removed script still exists

Implements recursive resource properties removing

* CB-3072 RM: metadata for removed script still exists

Fixes code style issues

* CB-3072 RM: metadata for removed script still exists

Fixes code style issues

---------

Co-authored-by: Iaroslav Emelianov <iaroslav.emelianov@dbeaver.com>
Co-authored-by: MarinaVorobeva21 <98399603+MarinaVorobeva21@users.noreply.github.com>
2023-02-10 17:24:05 +03:00
Alexey 0fd88f3be2 fix(tests): circular dependencies (#1465) 2023-02-10 16:37:17 +03:00
alex c2c7a94936 chore: add some tests (#1358)
* chore: add some tests

* mock date in generateFileName test
2023-02-10 13:41:14 +01:00
Ainur 38b76b7d8a CB-3079 access to user rm projects for admin (#1450) 2023-02-10 14:16:12 +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 c4315eb2d1 CB-2577 validate host field (#1365) 2023-02-08 09:28:39 +03:00
MarinaVorobeva21 2b9f052558 Merge pull request #1456 from dbeaver/MarinaVorobeva21-patch-4
CB_2234 chore: update README
2023-02-06 19:56:11 +01:00
MarinaVorobeva21 bd862754d4 CB_2234 chore: update README 2023-02-06 19:55:49 +01:00
Alexey 75aa730d8f chore: update version 22.3.4 (#1449) 2023-02-02 07:01:36 +03:00
alex e0a11349c9 CB-3081 fix active proposal (#1447) 2023-02-01 19:49:55 +01:00
Yaroslav EmelyanovandIaroslav Emelianov 492bcb7abb CB-2970 RM: Script-connection assosiating is removed after opened script/folder renaming (back-end) (#1434)
* CB-2970 RM: Script-connection assosiating is removed after opened script/folder renaming (back-end)

Implements recursive resource properties moving

* CB-2970 RM: Script-connection assosiating is removed after opened script/folder renaming (back-end)

Fixes code style issues: missing javadocs for new methods

* CB-2970 RM: Script-connection assosiating is removed after opened script/folder renaming (back-end)

Fixes code style issues: missing javadocs for new methods
Fixes restoration of the old path in cases of repetition in names in the path (newFolder/newFile/newFolder/newFile —> name/newFile/newFolder/newFile)

* CB-2970 RM: Script-connection assosiating is removed after opened script/folder renaming (back-end)

Moves moveResourcePropertiesBatch to WebProjectImpl from BaseProjectImpl;
Makes BaseProjectImpl#flushMetadata sync by default for web projects.

* CB-2970 RM: Script-connection assosiating is removed after opened script/folder renaming (back-end)

Implements isMultiuser() = true for BaseWebApplication

---------

Co-authored-by: Iaroslav Emelianov <iaroslav.emelianov@dbeaver.com>
2023-02-01 20:51:10 +03: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
AlexeyandMarinaVorobeva21 25aee8cf86 CB-3056 events synchronisation (#1431)
* CB-3056 fix: link nav node info with nav tree resource

* CB-3056 fix: don't reset observable on disconnect

---------

Co-authored-by: MarinaVorobeva21 <98399603+MarinaVorobeva21@users.noreply.github.com>
2023-01-31 17:24:22 +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
Alexander Skoblikov 33831fd0e7 update test log level (#1441) 2023-01-30 21:22:23 +03:00
serge-rider 167ac0bfa9 22.3.4 config 2023-01-30 19:22:41 +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
Alexey 8c9633e3b9 chore: update yarn lock (#1437) 2023-01-27 15:20:57 +03:00
serge-rider 649e654b44 Merge remote-tracking branch 'origin/devel' into devel 2023-01-26 17:05:49 +03:00
serge-rider 050a157d3f dbeaver/pro#1336 Java17 backward compatibility option added 2023-01-26 17:04:08 +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
serge-rider d932094cbd Revert "CB-2970 RM: Script-connection assosiating is removed after opened script/folder renaming (back-end) (#1425)"
This reverts commit 311287367b.
2023-01-25 19:26:18 +03:00
Yaroslav Emelyanov 311287367b CB-2970 RM: Script-connection assosiating is removed after opened script/folder renaming (back-end) (#1425)
* CB-2970 RM: Script-connection assosiating is removed after opened script/folder renaming
2023-01-24 20:28:31 +03:00