From cbceee6ec381e6bc20a570b7dc66349d9f09570a Mon Sep 17 00:00:00 2001 From: Anastasiya <45152336+LonwoLonwo@users.noreply.github.com> Date: Fri, 18 Oct 2024 19:38:56 +0300 Subject: [PATCH 1/4] dbeaver/tech-docs#654 update gql comments, remove outdated info (#3012) --- .../schema/service.core.graphqls | 45 +++++++++++-------- 1 file changed, 26 insertions(+), 19 deletions(-) diff --git a/server/bundles/io.cloudbeaver.server/schema/service.core.graphqls b/server/bundles/io.cloudbeaver.server/schema/service.core.graphqls index e89cd4bbfa..bcd3ffb4df 100644 --- a/server/bundles/io.cloudbeaver.server/schema/service.core.graphqls +++ b/server/bundles/io.cloudbeaver.server/schema/service.core.graphqls @@ -514,18 +514,21 @@ input ConnectionConfig { # Host, port, serverName, databaseName are also stored in mainPropertyValues for custom pages mainPropertyValues: Object @since(version: "24.1.2") - # Connection url jdbc:{driver}://{host}[:{port}]/[{database}] + # Return connection URL jdbc:{driver}://{host}[:{port}]/[{database}] url: String - # Properties + + # Return properties list properties: Object - # Keep-Alive interval + # Return keep-alive interval keepAliveInterval: Int + + # Return auto-commit connection state autocommit: Boolean - # Template connection + # Return template connection state template: Boolean - # Read-onyl connection + # Return read-only connection state readOnly: Boolean # User credentials @@ -536,12 +539,10 @@ input ConnectionConfig { selectedSecretId: ID @since(version: "23.3.5") credentials: Object - # Map of provider properties (name/value) - + # Return map of provider properties (name/value) providerProperties: Object - # Network handlers. Map of id->property map (name/value). - + # Return network handlers configuration. Map of id->property map (name/value). networkHandlersConfig: [NetworkHandlerConfigInput!] #### deprecated fields @@ -565,15 +566,16 @@ input ConnectionConfig { #################################################### extend type Query { - # Returns server config + # Return server config serverConfig: ServerConfig! + # Return product settings productSettings: ProductSettings! @since(version: "24.0.1") - # Returns session state ( initialize if not ) + # Return session state ( initialize if not ) sessionState: SessionInfo! - # Session permissions + # Return session permissions sessionPermissions: [ID]! # Get driver info @@ -581,9 +583,10 @@ extend type Query { authModels: [DatabaseAuthModel!]! networkHandlers: [NetworkHandlerDescriptor!]! - # List of user connections. + # Return list of user connections userConnections( projectId: ID, id: ID, projectIds: [ID!] ): [ ConnectionInfo! ]! - # List of template connections. + + # Return list of template connections by project ID templateConnections( projectId: ID ): [ ConnectionInfo! ]! # List of connection folders @@ -613,21 +616,25 @@ extend type Mutation { # Refresh session connection list refreshSessionConnections: Boolean - # Refreshes session on server and returns its state + # Change session language to specified changeSessionLanguage(locale: String): Boolean - # Create new custom connection. Custom connections exist only within the current session. + # Create new custom connection createConnection( config: ConnectionConfig!, projectId: ID ): ConnectionInfo! + # Update specified connection updateConnection( config: ConnectionConfig!, projectId: ID ): ConnectionInfo! + # Delete specified connection deleteConnection( id: ID!, projectId: ID ): Boolean! + # Create new custom connection from template createConnectionFromTemplate( templateId: ID!, projectId: ID!, connectionName: String ): ConnectionInfo! - # Create new folder + # Create new folder for connections createConnectionFolder(parentFolderPath: ID, folderName: String!, projectId: ID ): ConnectionFolderInfo! + # Delete specified connection folder deleteConnectionFolder( folderPath: ID!, projectId: ID ): Boolean! # Copies connection configuration from node @@ -636,7 +643,7 @@ extend type Mutation { # Test connection configuration. Returns remote server version testConnection( config: ConnectionConfig!, projectId: ID): ConnectionInfo! - # Test connection configuration. Returns remote server version + # Test network handler testNetworkHandler( config: NetworkHandlerConfigInput! ): NetworkEndpointInfo! # Initiate existing connection @@ -646,7 +653,7 @@ extend type Mutation { # Disconnect from database closeConnection( id: ID!, projectId: ID ): ConnectionInfo! - # Changes navigator settings for connection + # Change navigator settings for connection setConnectionNavigatorSettings( id: ID!, projectId: ID, settings: NavigatorSettingsInput!): ConnectionInfo! #### Generic async functions From 48a7a4f80633e1b9e2dcde23e88e9d6fb49fd777 Mon Sep 17 00:00:00 2001 From: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com> Date: Mon, 21 Oct 2024 12:16:04 +0300 Subject: [PATCH 2/4] Update README.md - RN 24.3.2 --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index cce2fd8ea8..037b73d0dc 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,15 @@ You can see a live demo of CloudBeaver here: https://demo.cloudbeaver.io ## Changelog +### 24.2.3. 2024-10-21 +- Important update: + - Connections Templates feature is declared as obsolete and will be removed in future releases. +- General: + - Data editor enhancements: Rows with focused cells are specially marked to make it easier to locate a position in large tables; + - DB2i driver has been updated to version 20.0.7; + - The URL mode for PostgreSQL now supports connecting to multiple databases; + - The issue with displaying BLOB data types in DuckDB has been resolved. + ### 24.2.2. 2024-10-07 - Schemas were added to the SQL autocompletion for PostgreSQL, H2, and SQL Server; - CloudBeaver can now correctly display negative dates for MySQL database; From b4db34ea4809e4734dea3e5625e6e106c0bf5bcb Mon Sep 17 00:00:00 2001 From: alex <48489896+devnaumov@users.noreply.github.com> Date: Mon, 21 Oct 2024 12:25:10 +0200 Subject: [PATCH 3/4] CB-5706 do not increase height (#3002) Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com> --- .../core-blocks/src/PropertiesTable/PropertyItem.module.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webapp/packages/core-blocks/src/PropertiesTable/PropertyItem.module.css b/webapp/packages/core-blocks/src/PropertiesTable/PropertyItem.module.css index e5f4de4251..2b044e1be9 100644 --- a/webapp/packages/core-blocks/src/PropertiesTable/PropertyItem.module.css +++ b/webapp/packages/core-blocks/src/PropertiesTable/PropertyItem.module.css @@ -56,6 +56,11 @@ display: flex; } +.remove, +.select { + margin: 0 2px; +} + .container:hover .remove { opacity: 1; } @@ -106,7 +111,6 @@ .button, .propertyValueSelector { composes: theme-form-element-radius from global; - margin: 2px; overflow: hidden; } From 5282175b7cee1d8a43fa5bc1e64a356e99e456e4 Mon Sep 17 00:00:00 2001 From: alex <48489896+devnaumov@users.noreply.github.com> Date: Tue, 22 Oct 2024 12:21:49 +0200 Subject: [PATCH 4/4] CB-5701 allow to choose provider by keyboard (#3008) Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com> --- .../AuthProviderForm/ConfigurationsList.tsx | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/webapp/packages/plugin-authentication/src/Dialog/AuthProviderForm/ConfigurationsList.tsx b/webapp/packages/plugin-authentication/src/Dialog/AuthProviderForm/ConfigurationsList.tsx index 79121c5031..bcdc9740da 100644 --- a/webapp/packages/plugin-authentication/src/Dialog/AuthProviderForm/ConfigurationsList.tsx +++ b/webapp/packages/plugin-authentication/src/Dialog/AuthProviderForm/ConfigurationsList.tsx @@ -17,6 +17,7 @@ import { import { Button, Cell, + Clickable, Container, Filter, getComputed, @@ -150,13 +151,15 @@ export const ConfigurationsList = observer(function ConfigurationsList({ const title = `${configuration.displayName}\n${configuration.description || ''}`; return ( login(false, provider, configuration)}> - : undefined} - description={configuration.description} - > - {configuration.displayName} - + + : undefined} + description={configuration.description} + > + {configuration.displayName} + + ); })}