Commit Graph
1547 Commits
Author SHA1 Message Date
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
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
Ainurandkseniaguzeeva f6920d39e1 CB-2226 refresh user permissions when updating session state (#1363)
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
2022-12-21 22:08:02 +03:00
serge-rider fc83ba7805 dbeaver/pro#1322 Deps version removed 2022-12-21 13:32:42 +01:00
serge-rider 5f34290a0e 22.3.1 config 2022-12-20 13:00:43 +01:00
serge-rider cef45a3e1f CB-2865 Schema fix 2022-12-19 16:04:45 +01:00
Ainur 2746a9b727 CB-2880 grant anonymous access after restart (#1327)
* CB-2880 grant anonymous access after restart
2022-12-16 21:21:54 +03:00
Serge Rider 8f8759586d dbeaver/pro#1253 team edition datasets (#1364)
* dbeaver/pro#1253 Resource types mode, project permissions refactoring, GQL endpoint

* dbeaver/pro#1253 Resource type file extensions
2022-12-16 19:24:19 +03:00
alex eff864b695 CB-2855 update graphql console (#1357) 2022-12-12 14:40:45 +01:00
serge-rider 7a9f10bdb7 cloudbeaver.io links update 2022-12-12 11:59:52 +01:00
Ainur 95d2a926e7 CB-2962 get default auth model fix (#1349) 2022-12-07 18:38:36 +03:00
AinurandAleksey Potsetsuev 913e136375 CB-2952 event notification fixes (#1346)
* CB-2952 do not save event if connection config isn't changed

* CB-2952 fix: don't show synchronization messages in configuration mode

* CB-2952 check changes of connection config in serializer

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
2022-12-07 12:44:23 +03:00
alexandAleksandr Skoblikov f138502a1d CB-2937 add ssh key field to the auth dialogs (#1334)
* CB-2937 add ssh key field to the auth dialogs

* CB-2937 compute 'required' inside component

* CB-2927 read ssh key in initConnection

* CB-2927 update ssh key on connect

* CB-2937 check key on in key auth

Co-authored-by: Aleksandr Skoblikov <aleksandr.skoblikov@dbeaver.com>
2022-12-05 14:17:46 +03:00
AinurandAleksey Potsetsuev fb42711875 CB-2832 add event for datasource folders (#1331)
* CB-2832 add event for datasource folders

* CB-2832 feat: sync connection folders

* CB-2832 add event for datasource folders

* CB-2832 fix: connection update behaviour

* CB-2832 fix: node deletion

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
2022-12-02 12:21:56 +03:00
Alexander Skoblikovandnaumov dd44c55533 CB-2809 qql api for defaultAuthRole (#1319)
* CB-2809 qql api for defaultAuthRole
        set default team for all created users

* CB-2911 add default role for the user

* CB-2809 resolve conflicts

* CB-2809 do not throw error if we try to set exists user's team

Co-authored-by: naumov <iamemptyhuh@gmail.com>
2022-12-01 14:10:59 +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
Serge Rider a1920519fd 22.3.0 config 2022-11-28 15:14:00 -05:00
Serge Rider ec7a4a5357 dbeaver/pro#1257 Subject mata parameters API (#1325)
* dbeaver/pro#1257 Subject mata parameters API

* dbeaver/pro#1257 Access and teams membership view. Project access editor.

* dbeaver/pro#1257 Project permission editor. Permission read performance

* dbeaver/pro#1257 Teams and users membership edit. Security controller refactoring of current user specific functions.

* dbeaver/pro#1257 Users create/delete
2022-11-28 20:26:21 +03:00
Alexander Skoblikov c673007f9d Cb 2568 ee restore user session after restart (#1312)
* CB-2568 restore user session after server restart
2022-11-28 19:14:42 +03:00
Ainur 6cedd2dfe8 CB-2834 move folder fix (#1309)
* CB-2834 move folder fix
2022-11-28 18:16:52 +03:00
Alexander Skoblikov 90a5069847 CB-2806 store encryption type in user secret (#1321) 2022-11-28 14:05:52 +03:00
Alexander Skoblikov 3cc71a7d62 CB-2874 fix npe in connection search (#1322) 2022-11-25 14:17:24 +03: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
Alexander Skoblikov 93113bd867 CB-2908 do not set admin permission in multi node (#1318) 2022-11-23 21:10:42 +03:00
Alexander Skoblikov 60bab9a280 CB-2546 fix granted permission subject id (#1313) 2022-11-23 15:47:55 +03:00
Serge Rider 6d747331e5 Merge remote-tracking branch 'origin/devel' into devel 2022-11-21 14:25:25 -05:00
Serge Rider 0090e1664c CB-2821 Web cloud config provider fix 2022-11-18 16:09:44 -05:00
Alexander Skoblikov 6f47c8f935 unexpected error in update session (#1299) 2022-11-18 19:37:28 +03:00
Ainur 7071873b75 CB-2858 update in memory projects (#1267) 2022-11-18 00:05:33 +03:00
Ainur 010e21ad26 CB-2872 do not return project databases for node parents (#1272) 2022-11-18 00:04:38 +03:00
Ainur b1ab382c39 CB-2815 update datasources in private project (#1271) 2022-11-18 00:04:01 +03:00
Alexander Skoblikovandnaumov 82634fa59d CB-2873 ssh creds saving doesnt work when database creds arent saved (#1296)
* CB-2873 revert loader behaviour, otherwise state mutates

* CB-2886 always send ssh config

Co-authored-by: naumov <iamemptyhuh@gmail.com>
2022-11-17 17:13:57 +03:00
Alexander Skoblikov b5c34da6ec CB-2675 force add public permission for users (#1289) 2022-11-17 00:36:40 +03:00
Alexander Skoblikov 89f8313da0 CB-2764 empty default team perms for TE (#1281) 2022-11-16 17:01:37 +03:00
Alexander Skoblikov d7726de3a0 CB-2759 aws configuration service (#1279) 2022-11-16 14:11:06 +03:00
Alexey 546a408023 Merge pull request #1266 from dbeaver/tech/CB-2149
CB-2149 add showReadOnlyConnectionInfo property
2022-11-15 20:46:07 +03:00
Alexey a2ac10d33c Merge pull request #1280 from dbeaver/tech/CB-2666
CB-2860 sort accessible projects fix
2022-11-15 20:44:00 +03:00
e8e8a6a3a1 CB-2689 shared datasource creds (#1248)
* CB-2689 shared datasource creds

* CB-2689 add share credentials checkbox

* CB-2689 init connection properties api

* CB-2804 Disable secret controller for base webapp. Refactor saved secret check

* CB-2804 Add new isCredentialsSaved function to determine that credentials were saved for current user.

* CB-2804 Test connection fix

* CB-2804 Fix authNeeded flag

* CB-2805 don't show shared credentials checkbox for the private project

* CB-2689 Remove redundant API

* CB-2805 clean sdk

* CB-2805 add authNeeded include to the DBAuthDialogController

Co-authored-by: naumov <iamemptyhuh@gmail.com>
Co-authored-by: Serge Rider <serge@jkiss.org>
2022-11-15 19:19:59 +03:00
Serge Rider 301e416c35 22.2.5 config 2022-11-15 07:50:13 -05:00
Ainur 7def2bc105 Merge remote-tracking branch 'origin/devel' into tech/CB-2666 2022-11-14 18:07:14 +01:00
Ainur 7dcb9e7101 Merge remote-tracking branch 'origin/devel' into tech/CB-2149 2022-11-14 09:02:52 +01:00
Serge Rider 53ad274ad5 Tasks config save/load fix 2022-11-12 11:18:06 -05:00
Serge Rider 15e2b7ea5f #1259 Security model refactoring. Move to model.sm. (#1273) 2022-11-11 21:32:48 +03: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
Ainur 28706d967b Merge remote-tracking branch 'origin/devel' into tech/CB-2149 2022-11-11 11:22:39 +01:00
Oksana Cherniavskaia c25ce3e31e CB-2797 TE. Support deleting connection folders (#1256) 2022-11-10 20:28:23 +03:00
Alexander SkoblikovandAleksey Potsetsuev bc4677ccde CB-2830 send auth provider in auth info (#1263)
* CB-2830 send auth provider in auth info

* CB-1424 feat: provider / configuration logout

* CB-1424 fix: provider logout

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
2022-11-10 20:20:21 +03:00
Ainur 10d2e7e4ff CB-2860 sort accessible projects fix 2022-11-10 16:37:30 +01:00
Serge Rider ac290d4bf6 dbeaver/pro#138 Resource move support added. Properties move implementation. (#1269) 2022-11-10 16:33:30 +03:00
Ainur f1ed8f15bd CB-2861 do not show connection config in gql api 2022-11-08 15:17:28 +01:00