Commit Graph
57 Commits
Author SHA1 Message Date
Alexey Potsetsuev ddf94efef0 dbeaver/pro#6016 fix: script sync (#3651) 2025-08-12 13:01:26 +08:00
9ee4701fd0 dbeaver/pro#6298 refactor: useResource (#3635)
* dbeaver/pro#6298 refactor: useResource

* fix: CachedResource isOutdated logic

* fix: linting

* fix: resource isOutdated tracking

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
2025-08-11 13:35:33 +08:00
8ebf7eba9c dbeaver/pro#5886 core api for permission management (#3519)
* dbeaver/pro#5886 new permissions api

* dbeaver/pro#5886 new permissions api

* dbeaver/pro#5886 test + forgotten commit

* dbeaver/pro#5886 test + forgotten commit, review fixes

* dbeaver/#5886 test + forgotten commits

* dbeaver/pro#5886 clean up CE repos

* dbeaver/pro#5886 gql api for global perms

* dbeaver/pro#5886 new perms validation

* dbeaver/pro#5886 remove unused class

* dbeaver/pro#5886 new api

* chore: update permission key

* dbeaver/pro#5087 feat: permissions management

* feat: check permission for query execution

* fix: override only restrictive permissions

* fix: permissions layer

* fix: status gutter duplication

* fix: script execution error message display

* fix: hide not available script execution actions

* dbeaver/pro#5886 anon perms fix, default value for global perms

* fix: hide settings groups only for specific settings

* feat: restore permissions

* refactor: after review

* fix: merge conflicts

* fix: type import

* fix: merge conflicts

* fix: linting

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
Co-authored-by: Wroud <wrouds@gmail.com>
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
Co-authored-by: sergeyteleshev <iamsergeyteleshev@gmail.com>
2025-07-23 03:56:43 +02:00
sergeyteleshevandEvgenia beecc84d14 [CB] SQL editor - ctrl+z during autosave scrolls the script to the top #5645 (#3470)
* dbeaver/pro#5645 removes scroll to top for sql editor

* removes floating second scroll bar on ctrl+z

* removes cursor jumping + removes scrolling to top

* reverts layout scroll behavior

* reverts layout scroll behavior 2

* removes unneeded cursorOffset

* removes offset and unused code

* reverts has insert property behavior

* remembers previous cursor position from history

* adds mobx action

* reverts insert property logic

* fixes cursor position during ctrl+z

* Revert "fixes cursor position during ctrl+z"

This reverts commit d1aac8e750.

* dbeaver/pro#5645 sets cursor in sync with code mirror onChange event

* eslint fix

---------

Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
2025-06-23 19:44:18 +08:00
154082e6bd vietnamese-localization (#3395)
* vietnamese-localization

* dbeaver/pro#3395 remove extra files

* dbeaver/pro#3395 remove tokens duplication

* dbeaver/pro#3395 fix formatting

* dbeaver/pro#3395 add locale on the backend

* dbeaver/pro#3395 add hardcoded ordering

---------

Co-authored-by: hanhvd <hanhvd@gmail.com>
Co-authored-by: naumov <iamemptyhuh@gmail.com>
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
Co-authored-by: Ainur <ainur.iagudin@dbeaver.com>
2025-05-08 16:21:35 +02:00
alex f286926526 dbeaver/pro#4412 remove license files from locales (#3385) 2025-04-17 16:52:42 +08:00
Alexey 9dc0863e3a dbeaver/pro#5417 feat: table statistics (#3383) 2025-04-16 22:50:16 +08:00
sergeyteleshev 143cbb0d88 Cb 6265 Return front unit tests after migration (#3338)
* СB-6265 sets up vitest instead of jest

* CB-6265 gets back core-utils tests

* СB-6265 gets back react-testing-library tests

* СB-6265 gets back some tests from another plugins

* CB-6265 renames dist -> lib in each plugin + removes all jest from the repo

* CB-6265 disables watch mode so build can go on

* CB-6265 extends tests types for react-testing-library

* CB-6265 reverts dist->lib rename cause it contains other assets also

* CB-6265 moves setupFiles to the vitest.config.ts

* CB-6265 pr fixes

* CB-6265 fixes tests run for Windows

* CB-6265 removes global: true in config + uses jest-dom/vitest lib to have extended expect types

* CB-6565 removes unused deps

* СB-6265 improves performance of the test x10 times

* CB-6265 gets back renderInApp, fixes vitest setup reset config for mocks, cleans up

* CB-6265 reset -> restore all mocks

* CB-6265 fixes unit tests

* CB-6265 vitest.setup.ts cleanup

* CB-6265 timestamp to date shows military time both: on unix and windows (win tests fix)

* CB-6265 improves tests running (sequential run instead of parallel)

* CB-6265 cleanup

* CB-6265 eslint fix

* CB-6265 eslint fix 2

* CB-6265 reverts useCombined handler

* CB-6265 reverts some tests

* CB-6265 removes all redundant timer configs

* Merge branch 'devel' into CB-6265-return-front-unit-tests-after-migration

* CB-6265 pr fixes

* CB-6265 fixes time for windows

* CB-6265 removes default fake timers before each test
2025-04-14 18:48:33 +08:00
2fc9c72908 dbeaver/dbeaver-vscode#77 refactor: yarn & vit migration (#3229)
* dbeaver/vscode#77 refactor: yarn & vit migration

* chore: configure eslint & typescript & prettier

* fix: chunk splitting & assets loading

* fix: enable corepack

* refactor: dev environment

* chore: remove corepack enable from build scripts

* chore: make script executable

* fix: SSL check in vite dev

* chore: update debug launch configs

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
2025-02-05 00:20:23 +08:00
Sychev AndreyandDaria Marutkina de6f9b7dae CB-5832 Add SQL editor shortcut to save script (#3167)
* CB-5832 feat: add shortcut for save as script action

* CB-5832 feat: add info about a shortcut to Shortcuts modal

* CB-5832 fix: ru localization

* CB-5832 refactor: use SqlEditorView for action registration

* CB-5832 refactor: use SqlEditorView for action registration

* CB-5832 refactor: check action in handler

* CB-5832 refactor: bind function in constructor

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2025-01-07 12:47:52 +03:00
sergeyteleshevandEvgenia 7c8c506870 CB-5290 handles messages and closing for readonly scripts (#3034)
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-11-06 14:37:25 +03:00
Alexey 6ad148850d refactor: migrate to pure esm CB-5684 (#2929)
* refactor: migrate to pure esm

* chore: revert `useDefineForClassFields` tsconf

* chore: remove patch.js
2024-09-21 07:06:37 +03:00
d2b6734dd3 Chinese localization (#2869)
* Add or improve Chinese translations

* Add or improve Chinese translations

* chore: Update Chinese translations

* chore: correct some translation

* fix: add mapping for all new zh files

---------

Co-authored-by: 李飞 <lif@tongfun.com>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-09-13 14:08:33 +00:00
alexandDaria Marutkina c8436f93e1 CB-4860 change save icon (#2773)
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-07-10 19:05:54 +03:00
Alexey f88eb8610c chore: remove unused npm command (#2771) 2024-07-09 16:45:49 +03:00
Alexey 1298f7e294 fix: prettier (#2765) 2024-07-05 16:26:31 +03:00
Alexey 9a471bed70 Refactor cb-4018 data context api (#2708)
* CB-4018 refactor: data context api

* CB-4018 refactor: data context api

* CB-4018 refactor: form parts api

* CB-4018 fix: pr review

* CB-4018 fix: track mobx dependencies in useDataContextLink

* CB-4018 fix: unsubscribe behaviour

* CB-3510 feat: data editing actions based on view (#2710)

* CB-3510 feat: data editing actions based on view

* CB-3510 fix: pr review

* CB-3510 fix: table bottom bar styles

* CB-4018 refactor: respect presentation in data viewer

* CB-4018 fix: remove gap in data viewer toolbar

* CB-4018 fix: isolate contexts in data viewer
2024-06-18 18:19:04 +03:00
240dab7c0f Added French translation files (fr.ts) to respective directories (#2670)
* Added French translation file for core-administration (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/core-administration/src/locales/ directory. This file contains the French translations for various administration-related strings used in the application. The translations include menu entries, configuration wizard titles, and success messages.

* Added French translation file for core-authentication (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/core-authentication/src/locales/ directory. This file contains the French translations for various authentication-related strings used in the application. The translations include settings group labels, options for disabling anonymous access, and password policy requirements such as minimum length, case sensitivity, digits, and special characters.

* Added French translation file for core-blocks (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/core-blocks/src/locales/ directory. This file contains the French translations for various core-blocks related strings used in the application. The translations include properties table labels, filter options, add/reset/remove property actions, placeholder texts, error messages, and validation messages.

* Added French translation file for core-browser-settings (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/core-browser-settings/src/locales/ directory. This file contains the French translations for various browser settings related strings used in the application. The translations include settings for cookies and general browser settings.

* Added French translation file for core-connections (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/core-connections/src/locales/ directory. This file contains the French translations for various connection-related strings used in the application. The translations include settings for connections, connection templates, error messages, authentication details, network handler configurations, and various tooltips and placeholder texts related to database connections and SSH tunnels.

* Added French translation file for core-localization (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/core-localization/src/locales/ directory. This file contains the French translations for various UI-related strings used in the application. The translations include messages for renaming, themes, navigation steps, loading states, error handling, clipboard operations, authentication, settings, file operations, and more.

* Added French translation file for core-navigation-tree (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/core-navigation-tree/src/locales/ directory. This file contains the French translation for the navigation tree settings group string used in the application.

* Added French translation file for core-projects (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/core-projects/src/locales/ directory. This file contains the French translation for the message indicating that a project is not found.

* Added French translation file for core-resource-manager (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/core-resource-manager/src/locales/ directory. This file contains the French translation for the resource manager settings group string used in the application.

* Added French translation file for core-settings-localization (fr.ts)

I have created the fr.ts file in the cloudbeaver/webapp/packages/core-settings-localization/src/locales/ directory. This file contains the French translations for the localization settings, including the labels and descriptions for language settings in the application.

* Added French translation file for core-settings-user (fr.ts)

I have created the fr.ts file in the cloudbeaver/webapp/packages/core-settings-user/src/locales/ directory. This file currently does not contain any translations, but it has been set up for future French translations for user settings in the application.

* Added French translation file for core-settings (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/core-settings/src/locales/ directory. This file contains the French translations for the interface and root settings groups used in the application.

* Added French translation file for core-theming (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/core-theming/src/locales/ directory. This file contains the French translations for the theming settings, including the labels and descriptions for the application color theme.

* Added French translation file for core-ui (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/core-ui/src/locales/ directory. This file contains the French translations for various UI-related messages used in the application, including messages for empty states, form save errors, and tab switching errors during form validation.

* Added French translation file for core-version-update (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/core-version-update/src/locales/ directory. This file contains the French translations for various version update-related messages used in the application, including messages about version status, refresh actions, and update instructions.

* Added French translation file for core-version (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/core-version/src/locales/ directory. This file contains the French translations for various version-related strings used in the application, including version information, release dates, tags, and error messages for loading version information.

* Added French translation file for core-view (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/core-view/src/locales/ directory. This file contains the French translations for various view-related strings used in the application, including layout settings, zoom actions, and labels for creating and editing items and folders.

* Added French translation file for plugin-administration (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/plugin-administration/src/locales/ directory. This file contains the French translations for various administration-related messages used in the application, including server configuration, welcome messages, security settings, and navigation options.

* Added French translation file for plugin-authentication-administration (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/plugin-authentication-administration/src/locales/ directory. This file contains the French translations for various authentication and administration-related messages used in the application, including user connections, access management, identity providers, and team management.

* Added French translation file for plugin-authentication (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/plugin-authentication/src/locales/ directory. This file contains the French translations for various authentication-related messages used in the application, including login, logout, user credentials, error messages, and identity provider configurations.

* Added French translation file for plugin-browser (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/plugin-browser/src/locales/ directory. This file contains the French translations for various update-related messages used in the application, including installation of the application, installation of updates, and restart messages with progress information.

* Added French translation file for plugin-connection-custom (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/plugin-connection-custom/src/locales/ directory. This file contains the French translations for various custom connection-related messages used in the application, including parameters, URL, main settings, driver properties, and connection actions like testing and creating connections.

* Added French translation file for plugin-connection-search (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/plugin-connection-search/src/locales/ directory. This file contains the French translation for the label used in the plugin-connection-search, specifically the message "Find Local Database" which is translated to "Trouver une base de données locale".

* Added French translation file for plugin-connection-template (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/plugin-connection-template/src/locales/ directory. This file contains the French translations for various strings used in the connection template plugin. The translations include labels and messages related to new connections, database connection dialogs, and connection templates. This addition will help French-speaking users interact with the connection template plugin more easily.

* Added French translation file for plugin-connections-administration (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/plugin-connections-administration/src/locales/ directory. This file contains the French translations for various connection-related strings used in the application. The translations include menu items for editing connections, confirmation messages for reconnection, and descriptions of the templates used by administrators to create reusable connection parameters.

* Added French translation file for plugin-connections (fr.ts)

I have added the fr.ts file to the cloudbeaver/webapp/packages/plugin-connections/src/locales/ directory. This file contains the French translations for various connection-related strings used in the application. The translations include messages for editing connections, connection status updates, and SSL settings.

* Added French translation file for plugin-data-export (fr.ts)

Added French translations for various data export-related strings in the plugin-data-export module. This includes translations for dialogs, notifications, and settings related to data export functionality.

* Added French translation file for plugin-data-import (fr.ts)

- Added French translations for the data import plugin.
- Included translations for various stages and messages related to data import process.

* Add French translation file for plugin-data-spreadsheet-new (fr.ts)

Added French translations for plugin-data-spreadsheet-new. This includes translations for various table and data grid related functionalities such as table editing, sorting, filtering, and error messages.

* Added French translation file for plugin-data-viewer (fr.ts)

This commit includes the French translation for the plugin-data-viewer module.

* Add French translation for Data Viewer plugin (fr.ts)

Added French translations for the Data Viewer plugin.

* Added French translation to plugin-datasource-context-switch (fr.ts)

Added French translations for the context switch plugin messages.

* Added French translation to plugin-datasource-transaction-manager (fr.ts)

Added French translations for the transaction manager plugin messages.

* Added French translation to plugin-gis-viewer (fr.ts)

Added French translations for the GIS viewer plugin messages.

* Added French translation to plugin-help (fr.ts)

Added French translations for the help plugin messages.

* Added French translation to plugin-log-viewer (fr.ts)

Added French translations for the log viewer plugin messages.

* Added French translation to plugin-navigation-tree-filters (fr.ts)

Added French translations for the navigation tree filters plugin messages.

* Added French translation to plugin-navigation-tree-rm (fr.ts)

Added French translations for the navigation tree remove plugin messages.

* Added French translation to plugin-navigation-tree (fr.ts)

Added French translations for the navigation tree plugin messages.

* Added French translation to plugin-object-viewer (fr.ts)

Added French translations for the object viewer plugin messages.

* Added French translation to plugin-product (fr.ts)

Added French translations for the product plugin messages.

* Added French translation to plugin-projects (fr.ts)

Added French translations for the projects plugin messages.

* Added French translation to plugin-resource-manager-administration (fr.ts)

Added French translations for the resource manager administration plugin messages.

* Added French translation to plugin-resource-manager-scripts (fr.ts)

Added French translations for the resource manager scripts plugin messages.

* Added French translation to plugin-resource-manager (fr.ts)

Added French translations for the resource manager plugin messages.

* Added French translation to plugin-root (fr.ts)

Added French translations for the root plugin messages.

* Added French translation to plugin-session-expiration (fr.ts)

Added an empty template for French translations for the session expiration plugin messages.

* Added French translation to plugin-settings-administration (fr.ts)

Added French translations for the settings administration plugin messages.

* Added French translation to plugin-settings-panel (fr.ts)

Added French translations for the settings panel plugin messages.

* Added French translation to plugin-sql-editor-navigation-tab-script (fr.ts)

Added French translations for the SQL editor navigation tab script plugin messages.

* Added French translation to plugin-sql-editor-navigation-tab (fr.ts)

Added French translations for the SQL editor navigation tab plugin messages.

* Added French translation to plugin-sql-editor-new (fr.ts)

Added French translations for the new SQL editor plugin messages.

* Added French translation to plugin-sql-editor-screen (fr.ts)

Added French translations for the SQL editor screen plugin messages.

* Added French translation to plugin-sql-editor (fr.ts)

Added French translations for the SQL editor plugin messages.

* Added French translation to plugin-sql-generator (fr.ts)

Added fr.ts to cloudbeaver/webapp/packages/plugin-sql-generator/src/locales

* Added French translation to plugin-task-manager (fr.ts)

Added French translations for the task manager plugin messages.

* Added French translation to plugin-tools-panel (fr.ts)

Added French translations for the tools panel plugin messages.

* Added French translation to plugin-user-profile-settings (fr.ts)

Added French translations for the user profile settings plugin messages.

* Added French translation to plugin-user-profile (fr.ts)

Added French translations for the user profile plugin messages.

* Added French translation to plugin-version-update-administration (fr.ts)

Added French translations for the version update administration plugin messages.

* Added French translation to product-default (fr.ts)

Added French translations for the default product plugin messages.

* CB-5266 registers french localization all over the app

* CB-5266 adds core-app localization from other PR

* CB-5266 shorter translate for log-viewer french action enable label

---------

Co-authored-by: sergeyteleshev <iamsergeyteleshev@gmail.com>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-06-14 17:52:23 +03:00
c3ae4acdfb Cb 5164 deps update (#2675)
* CB-5164 update sup deps

* CB-5164 update typescript and mobx

* CB-5164 update react

* CB-5164 fix: specify only major versions

* CB-5164 fix class format

---------

Co-authored-by: Aleksei Potsetsuev <wrouds@gmail.com>
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2024-06-05 13:29:38 +03:00
Alexey 8eaabce90b CB-5228 feat: fast frontend unit tests (#2677)
* fix: try to fix make docker container.sh

* fix: specify correct docker build scripts folder

* fix: validate branch to valid docker tag name

* feat: combined workflows

* feat: add readable names for github actions

* feat: add docker pull command comment

* fix: comment publishing comment with docker instructions

* feat: improve build & test performance

* feat: add option to skip cache

* fix: flush cache

* fix: flush cache

* feat: merge tests and build steps

* fix: github action outputs keys

* feat: add lint job

* feat: change file to trigger lint

* fix: omit webapp path

* fix: trigger lint

* fix: continue  on linting errors

* feat: add publishing container to github docker registry

* feat: add lint status

* chore: re-trigger-lint

* feat: add java checkstyle

* fix: java linting

* fix: github token

* fix: update jave checkstyle action

* chore: simplify frontend lint action

* chore: remove changed java files

* feat: revert lint trigger frontend

* feat: add docker credentials helper

* fix: remove credentials warning

* fix: tests and clean command

* CB-5228 feat: run frontend tests for every build

* fix: clean tasks

* feat: update cli tools
2024-05-31 21:34:57 +03:00
d280171b97 CB-4978 feat: handle app update (#2579)
* CB-4978 feat: handle app update

* CB-4978 fix: app loading status info

* feat: async module loading and preload api

* chore: disable SW in dev env

* CB-4978 feat: improve precaching

* CB-4978 fix: split style chunks in two file

* CB-4978 fix: App rebinding

* CB-4978 fix: styles specificity

* CB-4978 fix: app loading

* CB-4978 fix: styles specificity

* CB-4978 fix: flickering bad positioned loader

* CB-4978 fix: styles specificity

* CB-4978 fix: table presentation scrolls

* CB-4978 chore: add extra error logging

* CB-4978 chore: add extra error logging

* CB-4978 fix: toolbar scrolling

* CB-4978 fix: log viewer empty message

* CB-4978 fix: cell styles

* CB-4978 fix: tabs styles

* CB-4978 fix: tests

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
2024-05-14 09:16:46 +03:00
3e71a7a6ce Cb 4629 end user preferences (#2546)
* CB-4629 feat: enable user settings UI

* CB-4629 feat: localization

* CB-4629 feat: restore default settings

* CB-4629 feat: preferences menu

* CB-4629 chore: update ts references

* CB-4629 user preference store

* CB-4629 fix anonymous preferences

* CB-4629 nullable annotation

* CB-4629 refactor: context menu API

* CB-4629 fix: tools panel styles

* CB-4629 fix: remove outline for tab list

* CB-4629 fix: hide account tab in anonymous mode

* CB-4629 anonymous preferences

* CB-4629 read anonymous user parameters

* CB-4629 fix: zod validation and localization

* CB-4629 use websession preference store in completion context

* CB-4629 fix: revert tools styles

---------

Co-authored-by: Aleksei Potsetsuev <wrouds@gmail.com>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-04-16 17:25:57 +00:00
eaa26dfe52 CB-4619 user scope settings (#2471)
* CB-4619 feat: update gql schema

* CB-4808 bulk update user parameters

* CB-4808 param type fix

* CB-4619 feat: updateUserPreferences API


* CB-4619 refactor: settings api

* CB-4619 refactor: move file

* CB-4619 refactor: settings api

* CB-4619 fix: pr review

* CB-4619 refactor: remove web-based product settings

* CB-4619 fix: after pr review

* CB-4619 refactor: move product conf to cloudbeaver conf

* CB-4619 fix: hide settings bar and log exception with changing session language

* CB-4619 fix: revert after merge

* CB-4808 new settings api

* CB-4808 update product.conf format

* CB-4808 update product.conf format

* CB-4619 feat: support server provided settings

* CB-4619 feat: prettify settings

* CB-4619 chore: map sql editor settings group

* CB-4808 add use short/long object name settings to CloudBeaver

* CB-4808 update default product.conf

* CB-4808 mode short/long settings to SQLModelPreferences

* CB-4808 review fix

* CB-4619 refactor: unit tests

* CB-4619 fix: prevent websocket opening spam

* CB-4619 fix: dependencies

* CB-4619 fix: remove extra theme loading

* CB-4619 fix: rename settings alias resolver file

* CB-4619 fix: after review

* CB-4619 fix conflicts

* CB-4619 rename server property

* CB-4619 remove shortname property

* CB-4619 fix legacy product conf reading

* CB-4619 merge root and runtime configurations

* CB-4619 chore: remove log viewer setting

* CB-4619 integer fields with env variables fix

* CB-4619 fix: property naming

* CB-4619 fix: parseJSONFlat null values

* CB-4619 fix: settings loading

* CB-4619 fix: save only actual settings

---------

Co-authored-by: Aleksandr Skoblikov <aleksandr.skoblikov@dbeaver.com>
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-03-28 10:30:52 +00:00
Alexeyandmr-anton-t e13368db00 CB-4818 refactor: update NPM dependencies (#2450)
* CB-4818 refactor: update NPM dependencies

* CB-4818 chore: update react-data-grid fork

* CB-4818 fix: tests

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2024-03-07 14:32:43 +03:00
fdde4348a2 CB-3703 save product configuration from ui (#2334)
* CB-4560 api for saving product configuration

* CB-4560 save product config in te

* CB-4560 move update product config to mutations

* CB-3703 feat: extend base components

* CB-3703 feat: settings editor

* CB-3703 chore: review fixes

* CB-3703 chore: pr review

* CB-3703 feat: update server configuration icon

* CB-4560 add events

* CB-3703 fix: localization

* CB-3703 chore: localization

---------

Co-authored-by: Alexey <wrouds@gmail.com>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-01-31 20:33:05 +03:00
serge-rider 904375aa66 dbeaver/pro#2341 Copyright update 2024-01-10 10:31:38 +03:00
168fb9c272 CB-3952 unify validation for connection folders and rm resources (#2264)
* CB-3952 unify validation for connection folders and rm resources

* CB-3952 adjust folder name regex

* CB-3952 adjust resource file regex

* CB-3952 use trimmed value for regex test

---------

Co-authored-by: naumov <iamemptyhuh@gmail.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-01-03 18:13:45 +01:00
807365f42c CB-4306 update ce deps (#2206)
* CB-4306 update ce deps

* CB-4306 update yarn lock

* CB-4306 revert quadtree-ts

* CB-4306 lock version

* CB-4306 pass missed globals to the vm context

* CB-4306 revert prettier version

* CB-4306 add types

* CB-4306 fix: msw types

* CB-4306 refactor: remove reshadow types declaration

---------

Co-authored-by: Alexey <wrouds@gmail.com>
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2023-12-14 15:25:10 +03:00
AlexeyandEvgenia Bezborodova 76a440c482 CB-2974 feat: allow private connections selecting for sql editor (#2167)
* CB-2974 feat: allow private connections selecting for sql editor

* CB-2974 fix: typo

* CB-2974 chore: decrease message delay

---------

Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-11-28 15:57:25 +03:00
9949286788 Cb 4198 gcp file system support (#2115)
* CB-4198 uri fix for file systems

* CB-4114 feat: copy files in file systems

* CB-4198 fs api use node path

* CB-4198 apply changes in navigator node fix

* CB-4198 use node path for file systems

* CB-4198 add child node from servlet fix

* CB-4198 refactor: file system API

* CB-4198 fix: types

* CB-4198 fix: file rename behaviour

* CB-4198 rename node fix

---------

Co-authored-by: Aleksei Potsetsuev <wrouds@gmail.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-11-13 14:18:02 +03:00
cb60358ae6 Cb 4112 open scripts datasets from virtual file systems (#2089)
* CB-4125 use base path

* CB-4112 feat: read objectId

* CB-4145 add required auth to fs system api

* CB-4145 move feature

* CB-4112 feat: open scripts from file systems

* CB-4125 improve file reading

* CB-4112 refactor: naming

* CB-4112 update schema

* CB-4112 fs by id gql

* CB-4112 unique fs id

* CB-4112 fix gql schema

* CB-4112 fix gql schema

* CB-4112 update manifest

* CB-4112 feat: require authentication for nav-tree

---------

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-10-31 17:18:32 +03:00
Alexey 01bcf9479d fix: resolve npm dependencies (#2050)
* fix: resolve npm dependencies

* fix: types

* chore: add manual frontend cache actin running

* fix: github workflows

* fix: types

* fix: types

* fix: types
2023-10-09 16:25:07 +03:00
Alexey ff4c453f8d fix: webpack dev mode (#2048) 2023-10-06 17:29:29 +02:00
Alexey be5bb95154 fix: ts configs (#2047) 2023-10-06 15:35:07 +02:00
Alexey ece5e8f3f1 fix: unix paths (#2046) 2023-10-06 14:35:38 +02:00
Alexey 4550a71298 Refactor CB-3819 resources (#2031)
* CB-3819 refactor: split resources to modules

* CB-3819 refactor: move resource API to separate package

* CB-3819 refactor: move resource API to separate package

* CB-3819 refactor: split to submodules

* CB-3819 chore: update ts configuration

* CB-3819 refactor: move administration top bar to separate plugin

* CB-3819 feat: update tests

* CB-3819 chore: add pre scripts

* CB-3819 fix: prebuild tests-runner

* chore: restore cache for jest-tests github action

* chore: update configs

* chore: add frontend build action

* chore: rename build frontend github action

* chore: include test dependencies

* fix: default product build script

* chore: update github action

* chore: rename validation github action

* chore: update typescript cache key

* chore: update naming for github actions

* chore: run tests on ubuntu

* CB-3819 fix: pre build tasks

* CB-3819 fix: ignore order

* CB-3819 fix: remove prettier from gql sdk
2023-10-05 23:36:54 +03:00
f1507c3a7d CB-3602 fix: sql context management (#1942)
* CB-3602 fix: sql context management

* CB-3711 fix: sql context lifecycle

* CB-3602 Cleanup SQL processors/contexts on connection close

* CB-3602 Cleanup SQL processors/contexts on connection close

* CB-3602 fix: log sql script parsing errors

* CB-3602 fix: sql context info convertation

* CB-3602 fix: data concurrency loading

---------

Co-authored-by: Serge Rider <serge@jkiss.org>
Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-08-29 22:53:05 +03:00
alex 1d2e1cd823 CB-3656 add validation inside the save script dialog (#1847)
* CB-3656 add validation inside the save script dialog

* CB-3656 respect root folder
2023-08-02 17:35:23 +03:00
Alexeyanddariamarutkina 78c19187de Feat CB-3030 conflict resolving (#1814)
* CB-3030 feat: conflict resolving

* CB-3030 fix: display os specific key instead of mod

* CB-3030 fix: sql editor status

* CB-3030 fix: styles and data validation

* CB-3030 fix: sql editor styles

---------

Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-07-17 22:10:15 +03:00
d8585e6a37 CB-3654 fix: remove file extension from save notification (#1799)
* CB-3654 fix: remove file extension from save notification

* CB-3654 fix error message on saving rm resource

---------

Co-authored-by: Ainur <yagudin10@yandex.ru>
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-07-05 21:34:41 +04:00
Alexey 9f885eac34 chore: prettier project (#1800) 2023-07-05 14:05:39 +04:00
alexandAleksandr Skoblikov 3642bbfa41 CB-3451 git integration (#1782)
* CB-3570 add manual save

* CB-3451 git settings api

* CB-3451 migrate to the new config model

* CB-3451 improve locks, update gql

* CB-3451 fix RM configuration

* CB-3570 resolve conflicts

* CB-3451 checkout remote branch

* CB-3451 review fix

* CB-3451 improve logs/fix private project access

* CB-3570 review fixes

* CB-3570 remove hasChanges flag

* CB-3570 debounce saveProperties

---------

Co-authored-by: Aleksandr Skoblikov <aleksandr.skoblikov@dbeaver.com>
2023-07-04 21:35:38 +03:00
Tatiana Fokinaanddariamarutkina ba48b282fd Cb 3536 add settings panel (#1787)
* CB-3536 add settings panel

* CB-3536 filter settings by group

* CB-3536 PR fixes, add settings to panel

* CB-3536 export settings group

* CB-3536 add translations, fix indentation

* CB-3536 refactor translations

---------

Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-06-30 15:22:20 +04:00
Alexeyanddariamarutkina d4739a0dba Feat CB-3293 node info transformer (#1778)
* CB-3293 feat: node info transformer

* CB-3293 feat: hide resource extension in nav-tree

* CB-3293 feat: rename resources without extension

* CB-3293 fix: resource folder renaming

* CB-3293 fix: add resource delete confirmation

* CB-3293 chore: remove unused code

* CB-3293 fix: resource deletion

* CB-2393 chore: unify delete confirmation dialog

---------

Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-06-27 13:46:55 +04:00
Alexeyandmr-anton-t 377f6d4344 CB-3205 refactor: use RM API for nav-tree (#1771)
* CB-3205 refactor: use RM API for nav-tree

* CB-3205 fix: cached resource skipped outdate

* CB-3205 chore: revert CB-3513 fix (covered by another fix)

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2023-06-21 15:22:11 +03:00
alex fc9d941c1f Chore/cb 3504 update deps (#1741)
* CB-3504 update deps

* CB-3504 update leaflet deps

* CB-3504 remove hostName from queries
2023-06-13 14:40:04 +03:00
Alexey bb71605347 Chore/update configs (#1723)
* chore: update configs

* chore: update typescript version
2023-06-01 22:17:04 +03:00
Alexey d7e0c41a82 CB-3497 error message (#1699)
* CB-3497 fix: error message

* CB-3497 chore: update messages
2023-05-29 19:32:11 +03:00
Alexey 2b25b3ac8e Chore/prettier (#1706)
* chore: add prettier

* chore: format code
2023-05-28 02:42:14 +03:00
Alexeyandmr-anton-t 736fd39d08 CB-3300 feat: dataset editing (#1614)
* CB-3300 feat: dataset editing

* CB-3300 chore: remove unused styles

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2023-04-19 19:01:44 +03:00