Skip to content

Commit

Permalink
Merge branch 'devel' into CB-5833-fix-e-mails-recognition-for-sso
Browse files Browse the repository at this point in the history
  • Loading branch information
EvgeniaBzzz authored Nov 8, 2024
2 parents d82c36c + addeeb0 commit 3109180
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ type SQLResultColumn {
precision: Int

required: Boolean!
autoGenerated: Boolean!

readOnly: Boolean!
readOnlyStatus: String
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ public boolean isRequired() {
return attrMeta.isRequired();
}

@Property
public boolean isAutoGenerated() {
return attrMeta.isAutoGenerated();
}

@Property
public boolean isReadOnly() {
return DBExecUtils.isAttributeReadOnly(attrMeta);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ mutation getSqlExecuteTaskResults($taskId: ID!) {
position
precision
required
autoGenerated
readOnly
readOnlyStatus
scale
Expand Down
1 change: 1 addition & 0 deletions webapp/packages/core-utils/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,4 @@ export * from './getProgressPercent.js';
export * from './types/UndefinedToNull.js';
export * from './bindFunctions.js';
export * from './getDomainFromUrl.js';
export * from './isNumber.js';
10 changes: 10 additions & 0 deletions webapp/packages/core-utils/src/isNumber.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/*
* CloudBeaver - Cloud Database Manager
* Copyright (C) 2020-2024 DBeaver Corp and others
*
* Licensed under the Apache License, Version 2.0.
* you may not use this file except in compliance with the License.
*/
export function isNumber(value: any): boolean {
return !isNaN(parseFloat(value)) && isFinite(value);
}
2 changes: 1 addition & 1 deletion webapp/packages/plugin-connection-search/src/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* you may not use this file except in compliance with the License.
*/
export default [
['plugin_connection_search_action_search_label', 'Find Local Database'],
['plugin_connection_search_action_search_label', 'Find Database'],
['plugin_connection_search_settings_disable', 'Disable "{alias:plugin_connection_search_action_search_label}"'],
['plugin_connection_search_settings_disable_description', 'Disable the ability to search connections on a specific address'],
];
2 changes: 1 addition & 1 deletion webapp/packages/plugin-connection-search/src/locales/fr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* you may not use this file except in compliance with the License.
*/
export default [
['plugin_connection_search_action_search_label', 'Trouver une base de données locale'],
['plugin_connection_search_action_search_label', 'Find Database'],
['plugin_connection_search_settings_disable', 'Disable "{alias:plugin_connection_search_action_search_label}"'],
['plugin_connection_search_settings_disable_description', 'Disable the ability to search connections on a specific address'],
];
2 changes: 1 addition & 1 deletion webapp/packages/plugin-connection-search/src/locales/it.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* you may not use this file except in compliance with the License.
*/
export default [
['plugin_connection_search_action_search_label', 'Find Local Database'],
['plugin_connection_search_action_search_label', 'Find Database'],
['plugin_connection_search_settings_disable', 'Disable "{alias:plugin_connection_search_action_search_label}"'],
['plugin_connection_search_settings_disable_description', 'Disable the ability to search connections on a specific address'],
];
2 changes: 1 addition & 1 deletion webapp/packages/plugin-connection-search/src/locales/ru.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* you may not use this file except in compliance with the License.
*/
export default [
['plugin_connection_search_action_search_label', 'Найти локальную базу данных'],
['plugin_connection_search_action_search_label', 'Найти базу данных'],
['plugin_connection_search_settings_disable', 'Отключить "{alias:plugin_connection_search_action_search_label}"'],
['plugin_connection_search_settings_disable_description', 'Отключить возможность поиска подключений по заданному адресу'],
];
2 changes: 1 addition & 1 deletion webapp/packages/plugin-connection-search/src/locales/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* you may not use this file except in compliance with the License.
*/
export default [
['plugin_connection_search_action_search_label', '查找本地数据库'],
['plugin_connection_search_action_search_label', 'Find Database'],
['plugin_connection_search_settings_disable', 'Disable "{alias:plugin_connection_search_action_search_label}"'],
['plugin_connection_search_settings_disable_description', 'Disable the ability to search connections on a specific address'],
];

0 comments on commit 3109180

Please sign in to comment.