Commit Graph
389 Commits
Author SHA1 Message Date
sergeyteleshevandDaria Marutkina fb9cd47bed CB-5357 Expiring license notification is not shown after login (#2767)
* CB-5357 resolves auth dialog on successful login (removes no license notification bug on login)

* CB-5357 fix: do not show 2 notifications

* CB-5357 reverts authPromise logic

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-07-14 17:42:24 +03:00
Alexey f88eb8610c chore: remove unused npm command (#2771) 2024-07-09 16:45:49 +03:00
e259606422 CB-4885 feat: components registry (#2745)
* CB-4885 feat: components registry

* CB-4885 fix: table data loading behaviour

* CB-4885 chore: remove unused comments

* CB-4885 fix: dispose tables correctly

* CB-4885 fix: cache invalidation

* CB-4885 fix: nav tree state persistence

* CB-4885 fix: database disconnect detection

* CB-4885 fix: auto refresh on error

* CB-4885 fix: auto refresh behaviour

* CB-4885 fix: auto refresh behaviour

* CB-4885 fix: top menu bar styles

* CB-4885 fix: auto refresh error handling

* CB-4885 chore: add comment about implementation

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
2024-07-02 20:00:39 +02:00
4433018ed2 Cb 5124 add a notification about the upcoming expiration of the license add to status (#2733)
* CB-5124. Add license status to /status api

* CB-5124. Add license status to /status api

* CB-5124 adds reminder for soon expiring license

* CB-5124. Refactor after review

* CB-5153 adds core-website package

* CB-5124 updates TS references

* CB-5124 refactors website links service

* CB-5124 pr fixes

* CB-5124 update TS references

* CB-5124 removes WebSiteLinks from coreWebsiteManifest

---------

Co-authored-by: sergeyteleshev <iamsergeyteleshev@gmail.com>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-06-28 17:14:33 +00: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
Alexey 422e6283df CB-5276 fix: auth fallback (#2712) 2024-06-14 17:30:57 +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
4cb171ed19 CB-5180 rename .m -> .module (#2679)
Co-authored-by: Alexey <wrouds@gmail.com>
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2024-06-04 20:31:45 +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
b40646e69b Cb 4931 auth dialog focus (#2602)
* CB-4931 focus first child of the auth form

* CB-4931 focus dialog from inner component

---------

Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-05-14 19:27:09 +02: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
674c522d55 Cb 5076 remove reshadow leftovers (#2582)
* CB-3960 removes unused SlideBox styles

* CB-3960 makes menu panel reshadowless

* CB-3960 makes menu bar small item reshadowless

* CB-3960 removes reshadow from loaders

* CB-5076 some reshadow

* CB-5076 makes auto refresh reshadowless

* CB-5076 removes reshadow from result set grouping presentation

* CB-5076 makes data grid reshadowless

* CB-5076 makes object viewer table reshadowless

* CB-5076 makes value panel GIS presentation reshadowless

* CB-5076 removes reshadow's all dependencies

* CB-5076 removes ComponentStyles from tsx files

* CB-5076 fixes shortcut dialog titles paddings

* CB-5076 federated auth providers has more space for providers list container

* CB-5076 removes unneeded global from base scss

* CB-5076 import base styles as regular styles (not moduled)

* CB-5076 fix: styles

* CB-5076 chore: add packageManager

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
Co-authored-by: Aleksei Potsetsuev <wrouds@gmail.com>
2024-05-09 13:17:13 +03:00
Alexeyandmr-anton-t 8f87ec6618 Fix/cb-5019/components unification (#2560)
* CB-4629 fix: group close button

* CB-4629 fix: value presentation

* CB-4629 fix: tab focusing

* CB-5019 refactor: unify filter components

* CB-5019 fix: group title header styles

* CB-5019 fix: remove duplicated close button for creation forms

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2024-04-26 06:34:52 +03:00
b701d21d89 Cb 4268 force logout (#2549)
* CB-4703. Hide private ssl key, added new parameter to features

* CB-4631. Fix Build

* CB-4703. Hide private ssl key, added new parameter to features

* CB-4631. Fix Build

* CB-4631. Added logic

* CB-4728. Refactor after review

* CB-4268: adds too many session checkbox for local and federated authentication

* CB-4268 ux improve for force session dialog. do not close main popup if confirm dialog rejected

* CB-4268 cleanup

* CB-4268 adds too-many-sessions-plugin to close error of the external window while logging in

* CB-4268 cleanup

* CB-4268 cleanup

* CB-4268 auth dialog: removes unneeded state

* CB-4268. Add logic to force logout for federated users

* CB-4268. Added redirect for Federated users

* CB-4268. Update script

* CB-4268 split force session dialog checkbox for each tab its own instance

* CB-4268 set exceptions for each auth tab individually

* CB-4268 show error for all auth tabs

* CB-4268. Update script, refactor event for user

* CB-4268. Fixed force logout for sso

* CB-4268. Fixed class cast exception

* CB-4268. Refactor after review

* Revert "CB-4268 show error for all auth tabs"

This reverts commit 996bdfebdb.

* Revert "CB-4268 set exceptions for each auth tab individually"

This reverts commit dbeca03a31.

* Revert "CB-4268 split force session dialog checkbox for each tab its own instance"

This reverts commit cf79208d41.

* CB-4268 show error for all auth dialog tabs

* CB-4268 resets error state on auth dialog tab change

* CB-4268 fix: reset error state only on tab change

* CB-4268 auth login function cleanup

* CB-4268. Refactor after review, cleanup code

* CB-4268 removes too-many-sessions plugin

* CB-4268 removes unneeded translations

* CB-4268 fix: show login button only for non federated auth tabs

* CB-4268 refactor: reset error on switching auth mode

* CB-4268 stop resetting error with flag for auth dialog

* CB-4268 stop resetting error with flag for auth dialog (reset error default true)

* CB-4268 rename to ssoError.html

* CB-4268. Rename parameter for html

* CB-4268. Revert

* CB-4854. Refactor after review

* CB-4854. Refactor after review

* CB-4268 adds tooltip for force logout checkbox

* CB-4268 changes force sessions popup title to shorter version

---------

Co-authored-by: sergeyteleshev <iamsergeyteleshev@gmail.com>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-04-25 13:20:24 +00: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
sergeyteleshevandmr-anton-t a6a01c2896 CB-4910-broken-layout-for-login-identity-providers-form (#2498)
* authorization-federated-auth-providers-has-correct-layout

* Revert "authorization-federated-auth-providers-has-correct-layout"

This reverts commit cfd97b045d.

* fix: configList layout with container

* CB-4910 centers buttons in configuration list

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2024-03-27 09:01:29 +03:00
23de1131b9 CB-4654 removes reshadow from plugin-authentication (#2480)
* CB-4654 removes reshadow from plugin-authentication

* CB-4654 ConfigurationList uses container component

---------

Co-authored-by: s.teleshev <s.teleshev@mu.se>
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2024-03-21 20:32:06 +03:00
493d5a8161 CB-4469 tabs reshadow refactor (#2448)
* CB-4469 adds fundaments for refactor: baseTabStyles, baseTabActionStyles, verticalRotatedStyles + some implementations

* CB-4469 adds license for new styles

* CB-4469 tabs-box reshadowless

* CB-4469 updated references

* CB-4469 adds license + fix build

* CB-4469 adds license

* CB-4469 fix tab icon position

* CB-4469 object folders reshadowless

* CB-4469 makes vertical side tabs for sql editor and table reshadowless

* CB-4469 adds TabPanelListNew + ValuePanel tabs reshadowless

* CB-4469 adds reshadowless tabs in admin settings + object viewer tabs also

* СB-4479 fix: removed deprecated styles from some vertical tabs

* CB-4469 chore: removed unused borderTabStyles

* CB-4469 adds reshadowless tabs for side bars

* CB-4469 fix: reshadowless tabs has no redundant styles

* CB-4469 makes auth dialog reshadowless

* CB-4469 make reshadowless admin user settings

* CB-4469 makes TeamForm reshadowless

* CB-4469 makes UserForm reshadowless

* CB-4469 makes ConnectionForm reshadowless + removes deprecated styles from bunch of tabs

* CB-4469 makes reshadowless TextValuePresentation in ValuePanel

* CB-4469 makes reshadowless user info form

* CB-4469 removed redundant styles from user info form

* CB-4469 makes sql result tabs reshadowless

* CB-4469 makes export data tabs reshadowless

* CB-4469 makes create connection for templates reshadowless

* CB-4469 deletes deprecated tabs files

* CB-4469 update ts references

* CB-4469 adds missing licenses

* CB-4469 removes deprecated styles

* CB-4469 removes background for tabs in value panel

* CB-4469 removes done to do

* CB-4469 removes done to do

* CB-4469 removes css duplication from ValuePanelEditorTabs

* CB-4469 correct styles context for table viewer

* CB-4469 adds scontext outer of tabstate component

* CB-4469 navigation tabs bar tabsBox has outline: none

* CB-4469 fix: object viewer has correct background colors

* CB-4469 removed unneened comment

* CB-4469 chore: admin page context spreaded correctly in layout

* CB-4469 refactor cleanup

* CB-4469: adds tabList style for registry

* CB-4469 fix: correct tabs underline for create connection/template

* CB-4469 remove nested styles from useS() hooks in components

* CB-4469 removes redundant styles from ObjectFolders useS() hook

* CB-4469 fix: correct imports for core-ui tabs elements

* CB-4469 chore: TabMenu keeps old name

* CB-4469 refactor: isolate module styles from tab registry ones

* CB-4469 refactor: isolate module styles from tab registry ones [2]

* CB-4469 refactor: isolate module styles from tab registry ones [3]

* CB-4469 refactor: isolate module styles from tab registry ones [4]

* CB-4469 refactor: isolate module styles from tab registry ones [5]

* CB-4469 fix: users administration tabs has correct size

* CB-4469 marks tabsBox as deprecated component

* CB-4469 tabPanel refactor

* CB-4469 refactor: Tab styles decomposed to smaller extendable parts

* CB-4469 refactor: component directory - styles -> shared

* CB-4469 refactor: adds TabList styles for underline, vertical and vertical-rotated tabs

* CB-4469 refactor: adds to vertical rotated tabs module styles for icon and title

* CB-4469 refactor: rename baseTab to just tab

* CB-4469 refactor: adds TabList styles for SqlResultTabs registry

* CB-4469 chore: use fill component for createConntection

* CB-4469 fix: saves file history for SqlEditor and UsersAdministration

* CB-4469 fix: saves file history for SqlEditorTabs

* СB-4469 chore: code cleanup

* СB-4469 chore: code cleanup

* CB-4469: removed style dependency from tab component

* CB-4469 uses fill component instead of css styles in CreateConnection

* CB-4469 always show tabOuter class for autotests

* CB-4469 code cleanup

* CB-4469 fix: revert tab component to get back close icon for scripts/datasets in TE

* CB-4469 chore: rename administration files

* CB-4469 adds tab actions component

* CB-4469 refactor: removes tab actions style dep from Tab component

* CB-4469 removes duplication of menu logic in tabs

* CB-4469 adds predefined tab and tabList registries all over the app

---------

Co-authored-by: s.teleshev <s.teleshev@mu.se>
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2024-03-18 16:44:02 +01: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
0544547f27 CB-4039 logout with context (#2296)
* CB-4039 build logout redirect link on backend side

* CB-4039 fix return value

* CB-4039 adds logout with context for Okta Identity Provider

* CB-4039 backward compatibility fix

* CB-4039 add since annotation

* CB-4039 api return type fix

* CB-4039 logout extended

* CB-4039 okta logout redirect moved to AuthenticationService

* CB-4039 remove windowService dep

* CB-4039 removes old logic of identity provider logout links

* CB-4039 okta review changes

---------

Co-authored-by: s.teleshev <s.teleshev@mu.se>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-01-17 20:29:31 +03:00
serge-rider 904375aa66 dbeaver/pro#2341 Copyright update 2024-01-10 10:31:38 +03:00
9aace7c0ce Cb 4364 remove spaces at the beginning of the input fields (#2252)
* CB-4364 create connection trim to SSH fields

* CB-4364 create connection trim to SSL fields

* CB-4364 create connection SSH trim cleanup

* CB-4364 create main tab trim input values

* CB-4364 connection form driver properties trimmed

* CB-4364 trimmed team creation inputs

* CB-4364 trimmed identity providers inputs

* CB-4364 fix trimmed team creation inputs so it checks property type before trim

* CB-4364 trimmed server config service

* CB-4364 trimmed user form in admin settings

* CB-4364 trimmed auth form log:pass data

* CB-4364 options, ssh, ssl create connection tabs supports trim for all of the text inputs

* CB-4364 ssl tab service cleanup

* CB-4364 refactor: cleanup auth config

* CB-4364 refactor: cleanup user form info part

* CB-4364 refactor: SSH tab do not mutated state directly

* CB-4364 refactor: AuthDIalog tab do not mutated state directly

* CB-4364 refactor: connection options tab do not mutated state directly

* CB-4364 prepare config for server configuration service

* CB-4364 fix: trim driver properties if is custom ones

* CB-4364 auth, server config, userFormPart info cleanup

* CB-4364 trim password in format FormPart function

* CB-4364 connectionDriverProps cleanup

* CB-4364 fix: format user form info

* CB-4364 connectionDriverProps cleanup with keys

* CB-4364 fix: useInfoFormPart trim user id only on creation

* CB-4364 userFormInfoPart trim user id on create in format

---------

Co-authored-by: s.teleshev <s.teleshev@mu.se>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-01-03 18:57:38 +01:00
s.teleshev 6784715ba4 CB-4275 feat: app height set via js 2023-12-28 00:10:32 +01:00
eb1ff96487 CB-4356 useForm does not switch tabs like insane after press enter (#2211)
* CB-4334. Added new property for ObjectPropertyInfo.

* CB-4277. Fixed typo

* CB-4335 added to gql "required" property for form inputs

* CB-4335 added required properties to all inputs of ObjectPropertyInfoForm

* CB-4335 added to useForm submit events handling

* CB-4335 create connection form uses useForm hook (first iteration)

* CB-4335 required fix for render field

* CB-4335 actions not required fix for connection form

* CB-4335 identify providers forms uses useForm

* CB-4335 connection form has scroll and access tab

* enable panels tab switch on invalid text input for SSH and SSL tabs

* CB-4335 all dynamic fields shows correctly

* СB-4335 made textarea required

* CB-4335 user authorization and change password has useForms

* CB-4335 team meta uses useForms

* CB-4335 team form actions uses react context

* CB-4335 Add ConnectionFormActionsContext to
ConnectionFormBaseActions

* CB-4335 Remove unnecessary required attribute from
AuthProviderForm component

* CB-4356 useForm does not switch tabs like insane after press enter

* CB-4335. Added required parameter to AuthProviderInfo

* CB-4335 auth provider form has required property

* Revert "CB-4356 useForm does not switch tabs like insane after press enter"

This reverts commit 6f658eb51e.

* CB-4356 tab panel does not switch on each enter press

* CB-4356 clean code in tabPanel component

* CB-4356 TabPanelValidation handler for switching tabs

* CB-4356 cleanup for useExecutor, TabState, TabPanel components

* CB-4356 switch tabs simplified (cleanup)

* CB-4356 highlight invalid fields after tab being switched

* CB-4356 added license to TabPanelValidation

* CB-4356 remove unneeded dep from useExecutor

* CB-4356 chore: refactor tabs validation

* feat(CB-4356): clear tabs validation state before start new one

* Revert "feat(CB-4356): clear tabs validation state before start new one"

This reverts commit 76b0a9c5ce.

* CB-4356 reset invalid element before form validation

* CB-4356 fix: executor collection usage

* fix: required field should not be required if it is readonly

* CB-4356 fix: forms shows child content correctly

* Revert "CB-4356 fix: forms shows child content correctly"

This reverts commit 4fd046b690.

* CB-4356 fix: TeamForm show users tab correctly

* CB-4356 fix: ssh key doesnt required if it is saved

* CB-4356 remove unique id error in console

* CB-4356 fix: error with form validation

* Revert "CB-4356 fix: error with form validation"

This reverts commit 0dce34f8b4.

---------

Co-authored-by: Denis Sinelnikov <denis.sinelnikov@dbeaver.com>
Co-authored-by: s.teleshev <s.teleshev@mu.se>
Co-authored-by: Aleksei Potsetsuev <wrouds@gmail.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-12-18 13:03:19 +01:00
Alexeyandmr-anton-t 2f7c674ab9 CB-4332 refactor: migrate some parts of application to css-modules (#2194)
* CB-4332 refactor: migrate some parts of application to css-modules

* CB-4332 fix: aria attribute name

* CB-4332 refactor: remove ADMINISTRATION_TOOLS_PANEL_STYLES

* CB-4332 fix: inputs

* CB-4332 fix: conflicts

* СИ-4396 fix: sql editor sync

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2023-12-15 17:28:05 +03:00
0f00c234d3 CB-4058 errors in console (#2180)
* CB-4058 invalid authorization - invalid creds (no error)

* CB-4058 table error cause no error when ref is updated while render

* CB-4058 removed from console session expire logs after session being expired

* Revert "CB-4058 removed from console session expire logs after session being expired"

This reverts commit a506f4cbe7.

* CB-4058 session errors fix

* CB-4058 remove error from userInfo

* CB-4058 remove redundant code

* CB-4059 useAutoLoad session error fixed

* CB-4059 clean code after refactor

* CB-4059 clean code after refactor [2]

---------

Co-authored-by: s.teleshev <s.teleshev@mu.se>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: Alexey <wrouds@gmail.com>
2023-12-14 18:31:46 +03: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
alexandDaria Marutkina 65bb6661be CB-4272 rerender inputs on configuration change (#2155)
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-11-24 13:55:37 +01:00
a319b1fec3 CB-4196 add delete user functionality (#2121)
* CB-4196 add delete user functionality

* CB-4196 review fixes

* CB-4196 use div for Text component

* CB-4196 add onDelete callback

* CB-4197 delete user project after deleting user

* CB-4196 add project deletion error to session log

* CB-4196 make a disable dialog slightly larger

* CB-4196 change button styles

* CB-4197 add events for deleting user

* CB-4197 code style fix

---------

Co-authored-by: Alexey <wrouds@gmail.com>
Co-authored-by: Ainur <yagudin10@yandex.ru>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-11-15 23:09:22 +03:00
dfd572aa4c CB-4173 configurable iam provider (#2126)
* CB-4174 configurable iam provider

* CB-4174 refactor: display only available auth providers

* CB-4174 refactor: display only available auth providers

* CB-4174 refactor: display only available auth providers

* CB-4174 chore: remove unused config properties

---------

Co-authored-by: Aleksei Potsetsuev <wrouds@gmail.com>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-11-15 20:12:53 +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
49f321462e CB-3454 ai (#2033)
* CB-3999 add ai plugin

* CB-3454 review fixes

* CB-3454 gql since directive fix

* CB-3454 update tsconfig

* fix: npm dependencies

* CB-4045 add hint property

* CB-3454 add hints

---------

Co-authored-by: Ainur <yagudin10@yandex.ru>
Co-authored-by: Alexey <wrouds@gmail.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-10-13 17:03:33 +03:00
fe2c7b76be feat: migrate form-controls to css modules (#2041)
* feat: migrate form-controls to css modules

* fix: checkbox field styles

* fix: remove old field styles

* fix: styles bugs

* CB-3773 fix: styles

* CB-3773 fix: field description styles

* CB-3773 fix: radio button styles

---------

Co-authored-by: Alexey <wrouds@gmail.com>
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2023-10-10 20:19:40 +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
AlexeyandEvgeniaBzzz 0d41713c2d CB-3456 refactor: user form (#2010)
* CB-3456 chore: cleanup users administration

* CB-3456 chore: add label for user credentials column

* CB-3456 chore: add deprecation message to reshadow system

* CB-3456 chore: add deprecation message to ComponentStyle

* CB-3456 refactor: user form

* CB-3456 fix: eslint problems

* CB-3456 fix: after review

* CB-3456 fix: base form localization

* CB-3456 fix: remove unused import

* CB-3456 fix: user default team assignment

* CB-3456 chore: update git indexes

* CB-3456 fix: imports

* CB-3456 fix: enable user by default

* CB-3456 refactor: implement FormPart

* CB-3456 fix: make sh executable

* CB-3456 fix: make sh executable

* CB-3456 fix: handle form part exceptions on save

---------

Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-09-28 16:28:28 +03:00
alexandmr-anton-t 320d7e84ee CB-3860 migrate dialog to css modules (#1994)
* CB-3860 migrate dialog to css modules

* CB-3860 refactor all dialogs styles

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2023-09-13 16:39:27 +03:00
AlexeyandEvgeniaBzzz 8d8ac0b5df CB-3189 fix: add auth configuration link (#1950)
* CB-3189 fix: add auth configuration link

* CB-3189 fix: infinity rerenders

---------

Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-08-25 18:40:07 +03:00
alexandEvgeniaBzzz d2b72d3617 Cb 3880 auth dialog title changes (#1944)
* CB-3880 rework auth dialog titles

* CB-3880 add fallback for the empty string

* CB-3880 add 'additional' prefix

---------

Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-08-25 11:15:24 +02:00
alexandEvgeniaBzzz 9839a8fc26 CB-3849 hide password value in main auth dialogs (#1924)
* CB-3849 hide password value in main auth dialogs

* CB-3849 add mergeRefs hook

* CB-3849 hide ssh password value in auth connection form

* CB-3849 allow empty string

---------

Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-08-24 16:08:57 +03:00
Alexey acdb139739 Fix/cb-3887-cb-3888/cherry-pick (#1931) 2023-08-18 16:55:05 +03:00
35668e69b4 CB-3452 NTLM (#1919)
* CB-3837 separate flag for federated providers

* CB-3452 feat: support configurable auth providers

* CB-3452 fix: auth tab switching

* CB-3452 fix: auth dialog credentials reset

* CB-3837 separate flag for federated providers

* CB-3452 feat: support configurable auth providers

* CB-3452 fix: auth tab switching

* CB-3452 fix: auth dialog credentials reset

* CB-3836 ntlm auth provider

* CB-3452 fix: provider configuration tab id

* CB-3836 fix ntlm flow

* CB-3452 chore: add Integer type mapping

---------

Co-authored-by: Aleksei Potsetsuev <wrouds@gmail.com>
Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-08-16 22:41:02 +03:00
AlexeyandDaria Marutkina 044cafae24 CB-3724 feat: move user provisioning to users administration (#1871)
* CB-3724 feat: move user provisioning to users administration

* CB-3724 fix: display information that authentication method is disabled

* CB-3724 fix: auth dialog styles

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-08-10 01:35:08 +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
Alexey 8fba6107b2 CB-3740 fix: handle authentication errors (#1844)
* CB-3740 fix: handle authentication errors

* CB-3740 chore: add localization
2023-07-26 20:13:44 +03: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
bb70c6ec7d CB-3243 fix infinite login status check (#1729)
* CB-3243 fix infinite login status check wip

* CB-3243 fix: use single login entrypoint for AuthDialog

* CB-3243 fix: reset state in useAuthDialogState

---------

Co-authored-by: Alexey <wrouds@gmail.com>
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-06-15 11:47:26 +03:00