137 Commits
Author SHA1 Message Date
3cdcb07646 CB-3268 feat: admin users pagination (#1821)
* CB-3268 feat: admin users pagination

* CB-3268 fix: code style

* CB-3268 feat: filter users by enabled state

* CB-3268 feat: limit users loading

* CB-3268 fix: use limit/offset pagination

* CB-3268 fix pagination api

* CB-3268 fix users query

* CB-3268 fix: users refresh

---------

Co-authored-by: Aleksandr Skoblikov <aleksandr.skoblikov@dbeaver.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-07-27 15:27:14 +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
dda35760eb CB-3612 provisioning api (#1804)
* CB-3612 provisioning api

* CB-3612 review fixes

* CB-3486 rename getters

* CB-3486 azure ad get users info

* CB-3612 add filter to gql

* CB-3612 get resource token only after calling gql func

* CB-3486 fix front errors

* CB-3486 add translation

---------

Co-authored-by: Ainur <yagudin10@yandex.ru>
Co-authored-by: Tatiana Fokina <tatiana.fokina@dbeaver.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-07-19 20:30:58 +03:00
632c93f246 CB-3519 ability-to-unlink-sso-credentials-from-user (#1822)
* CB-3670 delete user credentials api

* CB-3669 add ability to remove user creds

* CB-3669 use modules

---------

Co-authored-by: naumov <iamemptyhuh@gmail.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-07-19 12:26:22 +03:00
alexanddariamarutkina 9b43e2f158 CB-3595 remove scroll behaviour (#1791)
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-06-28 22:49:29 +02: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
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
Alexander SkoblikovandAleksey Potsetsuev 0fb82dc6e1 CB-3511 display correct user's origin info (#1691)
* CB-3511 display correct user's origin info

* CB-3511 fix: remove origin auth request for users form

---------

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
2023-05-24 23:34:30 +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
alexanddariamarutkina c5fe164505 CB-3220 exclude private auth providers from easy config (#1633)
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-04-27 15:06:26 +02:00
Alexey 48dee829a7 fix: teams meta params (#1616) 2023-04-19 01:33:23 +03:00
Tatiana FokinaandAleksey Potsetsuev 1d1ad96f20 CB-3163 text overflow in header (#1595)
* CB-3163 fixed overflow, applied new style

* CB-3163 feat: fixed table header

* CB-3163 fix: connections table styles

* CB-3163 fix styles, add overflow to users and auth configurations tables

* CB-3163 fix styles

* CB-3163 remove unnecessary styles

---------

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
2023-04-18 14:57:46 +03:00
Alexey e1f9f1858b chore: update copyright year to 2023 (#1579) 2023-03-31 16:54:30 +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 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
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
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
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
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
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
alexandkseniaguzeeva af92e07d9d CB-2922 exclude disabled users from access tabs (#1380)
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
2022-12-28 15:48:40 +01:00
alex f98cf8e5f6 CB-2948 sort connections in user connections access dialog (#1382) 2022-12-28 15:47:23 +01:00
alex 40fb43e314 CB-2550 check that team is not granted yet (#1375) 2022-12-27 14:05:47 +01: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
alex 69b99d85e3 CB-2905 load projects info on form init (#1328)
* CB-2905 load projects info on form init

* CB-2905 naming

* CB-2905 load projects in the configure stage
2022-11-29 21:38:56 +04:00
alex 9cc8d414df CB-2697 don't mutate server config if AnonymousAccess is disabled (#1317) 2022-11-26 16:27:52 +04:00
Serge RiderandAleksey Potsetsuev 7320bad225 CB-2821 cloud config refactoring (#1306)
* CB-2821 Federated auth enhancements (pass provider config)

* CB-2821 Pass license role in AWS role attribute

* CB-2821 chore: remove aws proxy user

* CB-2821 Cloud DS origin fix

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
2022-11-23 23:24:30 +03:00
Aleksey Potsetsuev f3e6067291 CB-2896 feat: lazy origin loading 2022-11-21 19:09:54 +03:00
naumov ab8e15de75 Merge branch 'devel' into CB-2337-users-table-filtering 2022-11-16 11:02:48 +03:00
naumov 1385267bef CB-2337 remove filters logic from table hook 2022-11-14 22:39:38 +03:00
naumov 4d175e27a2 CB-2337 remove controller 2022-11-11 21:17:59 +04:00
naumov 4163be160b CB-2337 remove unused code 2022-11-11 21:16:12 +04:00
naumov a61a41534a CB-2337 code style fixes 2022-11-11 20:56:40 +04:00
Serge Riderandnaumov 3823c61cf8 Cb 2798 show parameters tab on teams (#1249)
* CB-2798 Meta parameters API + refactoring

* CB-2798 Meta parameters API + refactoring

* CB-2798 Team meta parameters save API

* CB-2798 Team meta parameters read binding

* CB-2798 show parameters in the team form

* CB-2798 change locale token

* CB-2798 reset includes in the loader method

* CB-2798 Admin service merge

* CB-2798 refresh team after update

* CB-2798 mark outdated instead of the hard refresh

Co-authored-by: naumov <iamemptyhuh@gmail.com>
2022-11-11 18:35:42 +03:00
naumov 180b49828b CB-2337 add filtering to the users table 2022-11-11 17:33:11 +04:00
Alexey 596b40f2fd Merge pull request #1257 from dbeaver/refactor/cb-2647/top-app-bar
CB-2647 top bar menu redesign
2022-11-09 11:24:33 +03:00
naumov e6009c0a56 CB-2047 remove Delete button and fix row hover effect 2022-11-08 00:44:18 +04:00
Aleksey Potsetsuev f8dc7cfd60 Merge remote-tracking branch 'origin/devel' into refactor/cb-2647/top-app-bar 2022-11-01 18:37:13 +03:00
Aleksey Potsetsuev c58118aef3 CB-2793 fix: remove connection access tab if no global project available 2022-10-31 22:28:13 +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
Aleksey Potsetsuev 1e93355cc7 Merge remote-tracking branch 'origin/devel' into refactor/cb-2702/remove-global-project-const 2022-10-28 11:06:05 +03:00
naumov 43af8b83f0 Merge branch 'devel' into fix/CB-2791-remove-permissions-group 2022-10-26 18:30:34 +04:00