Commit Graph
4283 Commits
Author SHA1 Message Date
alexandDaria Marutkina df49cef865 CB-6208 adjust z index (#3270)
* CB-6208 adjust z index

* CB-6208 adjust z index to menus

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2025-02-19 11:08:01 +01:00
sergeyteleshevandEvgenia 356950bb78 CB-5612 JSON view - filter is cleared after switching to JSON tab (#3264)
* CB-5612 sets where filter on context menu filter actions

* CB-5612 cleanup

---------

Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
2025-02-19 17:47:36 +08:00
sergeyteleshevandDaria Marutkina 0aafa78926 CB-5863 Redirect to the Server Configuration page when refreshing the Identity Providers page (#3257)
* CB-5863 loads administration items loaders before redirects

* CB-5863 removes redirect blockers for administration routes

* CB-5863 loads route loaders on route change

* CB-5863 cleanup

* CB-5863 reverts administration.tsx changes

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2025-02-19 17:46:57 +08:00
sergeyteleshevandDaria Marutkina d3ed80219e CB-6135 Database objects do not open after disconnecting (#3254)
* CB-6135 allows to reconnect to the table

* CB-6135 fixes linter issues

* CB-6135 reverts freeze logic

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2025-02-19 17:46:13 +08:00
04388a7cfe CB-5834 fixes shrinking for properties table (#3260)
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: Alexey <wrouds@gmail.com>
2025-02-19 17:45:20 +08:00
sergeyteleshevandEvgenia 0fea710705 CB-5698 allows to create user with 1 character in username (#3249)
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
2025-02-19 17:44:31 +08:00
4cdfa5b07f Cb 6041 system information (#3245)
* CB-6041 add system information plugin

* CB-6041 api for system information

* CB-6041 api for system information

* CB-6041 api for system information

* CB-6041 simplify system info ui

* CB-6041 remove extra props

* CB-6041 api for internal database information

* CB-6041 remove hint

* CB-6041 add missing field

* CB-6041 use categories for database info

* CB-6041 add categories

* CB-6041 add category to copy info

* CB-6041 code style fix

* CB-6041 fix get property ids

* CB-6041 updates react version to 19

---------

Co-authored-by: Ainur <ainur.iagudin@dbeaver.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: Ainur <59531286+yagudin10@users.noreply.github.com>
Co-authored-by: Alexander Skoblikov <aleksandr.skoblikov@dbeaver.com>
Co-authored-by: Serge Rider <serge@jkiss.org>
Co-authored-by: sergeyteleshev <iamsergeyteleshev@gmail.com>
2025-02-12 12:44:07 +01:00
Serge Rider f542534fdc dbeaver/pro#4166 25.0.0 version bump 2025-02-11 21:17:35 +01:00
2fc1ee9e1b CB-6203 api for flat files connection (#3238)
* CB-6203 api for flat files connection

* CB-6203 api for flat files connection

* CB-6203 change font style to italic for temp connections

* CB-6203 add copy action

* CB-6203 fixes

* CB-6203 fixes

* CB-6203 fixes

* chore: update vite assets plugin

* CB-6203 expand node on file open

* CB-6203 fixes naming

* CB-6203 update license snippet

* CB-6203 fixes naming

---------

Co-authored-by: naumov <iamemptyhuh@gmail.com>
Co-authored-by: Wroud <wrouds@gmail.com>
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
2025-02-11 19:51:13 +01:00
a76dc9cdbf CB-6219 refactor: migrate to react 19 (#3252)
* CB-6219 refactor: migrate to react 19

* chore: tune backend build

* chore: fix loaders

---------

Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2025-02-12 00:55:20 +08:00
alexandDaria Marutkina 6af85da676 CB-6119 await promise (#3235)
* CB-6119 await promise

* CB-6119 move loading logic to the parent component

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2025-02-11 20:57:42 +08:00
sergeyteleshevandEvgenia 71231c3a76 CB-6153 Fix 'Enables' in settings (#3250)
* CB-6153 fixes translations

* CB-6153 adds new translation fixes

---------

Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
2025-02-11 17:53:49 +08:00
0048ad88e4 CB-6131 get loaders from all tabs, not only visible (#3210)
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2025-02-10 18:18:57 +01:00
alexandEvgenia 9e9ec13db0 CB-6128 add tooltips to tabs (#3221)
* CB-6128 add tooltips to tabs

* CB-6128 add project to the tooltip

* CB-6128 remove code duplication

* CB-6128 change file name

---------

Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
2025-02-10 21:48:35 +08:00
sergeyteleshev 2271433992 CB-5327 makes admin panel items not flickery (#3243) 2025-02-10 19:06:18 +08:00
sergeyteleshev 97411d2a3e CB-6215 makes object viewer linking feature be registered again (#3244) 2025-02-08 01:25:04 +08:00
sergeyteleshevandEvgenia 8e4ae5ed6a CB-1371 keeps focus in the input field for where filter after the saving (#3239)
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
2025-02-08 01:23:47 +08:00
alexandEvgenia 408565ee64 CB-5212 adjust readonly behaviour (#3237)
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
2025-02-06 19:31:17 +08:00
Sychev AndreyandEvgenia 107436a8c0 CB-6181 fix: show save/cancel buttons in json docs (#3222)
* CB-6181 fix: show save/cancel buttons in json docs

* CB-6181 refactor: change condition for SAVE/CANCEL buttons

The problem is that for select 1 in TE we get different result from other product, because in CE/EE we use ResultSetFooterMenuService, while for TE we use regular TableFooterMenuService. model.source.isReadOnly flag doesn't return true anymore since we extracted hasRowIdentifier flag from it, so we get redundant buttons in tables like that in TE.

Since the only difference is products where we are executing this script, it's quite hard to detect it inside a component. I decided to check editor's features, they are empty in this case (select 1) in all products, so we can be 100% sure that if there are no features, we don't need any buttons.

The other problem that for Document type of data format we also don't have features (and we use the same footer menu service). If it's not read-only, we need to have those buttons to save/cancel edits. The first solution is to check data format is Document (or check the editor type or to try get action with needed type). The other solution that I used is to check hasRowIdentifier flag(hasElementIdentifier) because editable documents will have it true, while datasets like select 1 don't have them. It looks more generic for me and should work in more cases in future

* СB-6181 refactor: update isReadonly flag for resultset

---------

Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
2025-02-06 19:30:57 +08:00
Alexey fbe4c7fcbb dbeaver/dbeaver-vscode#77 fix: eslint (#3233)
* dbeaver/dbeaver-vscode#77 fix: eslint

* chore: update jdk version to 21
2025-02-05 18:50:35 +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
07de3cd668 CB-6174 feat: inverse overlay (#3215)
* CB-6174 feat: inverse overlay

* CB-6174 change icon

* CB-6174 adjust height

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
Co-authored-by: naumov <iamemptyhuh@gmail.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2025-02-04 21:32:17 +08:00
alex a1a92d513c CB-6195 hide component if not supported (#3226) 2025-01-30 16:17:08 +01:00
Serge Rider 7e512fe5ed dbeaver/pro#4033 24.3.5 version bump 2025-01-28 19:51:01 +01:00
2199883eb9 CB-6132 Read only connection setting (#3213)
* CB-6132 feat: add read-only setting to connection's expert block

* CB-6132 refactor: add readonly property for the new field

* CB-6132 set read only param for data source container

* CB-6132 refactor: add locales

* CB-6132 refactor: change eng message

* CB-6132 fix read only for creating connection

---------

Co-authored-by: Ainur <ainur.iagudin@dbeaver.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: sergeyteleshev <iamsergeyteleshev@gmail.com>
2025-01-28 18:11:54 +01:00
19c4ec49bd CB-3753-1809-fr-add-field-hints-in-the-filter-field (#3151)
* CB-3753 adds base for input autocomplete

* CB-5373 adds InputAutocompletion base

* CB-3753 removes unneeded code + fixes bugs with current word selection

* CB-3753 replaces with existing menu

* CB-3753 refactor

* CB-3753 fixes menu visibility

* CB-3753 adds autocomplete for where filters from result set column names

* CB-3753 cleanup

* CB-3753 cleanup

* CB-3753 adds base hints

* CB-3753 fixes bug with not available arrow option selection

* CB-3753 cleanup

* CB-3753 pr fixes

* CB-3753 removes redundant useEffect with visibility logic

* Revert "CB-3753 removes redundant useEffect with visibility logic"

This reverts commit 92e67143a7.

* CB-3753 adds fuzzy search with Fuse.js library

* CB-3753 cleanup

* CB-3753 adds context input ref

* CB-3753 fixes bugs

* CB-3753 removes unused lib in core-utils

* CB-3753 pr fixes

* CB-3753 replaces fuse.js with minisearch

* CB-3753 fixes styles for menu

* CB-3753 moves InputAutocompletionMenu out of the InlineEditor

* CB-3753 adds positioning to the contextInput suggestions via button anchor

* CB-3753 cleanup

* CB-3753 fixes jumping menu

* CB-3753 cleanup

* CB-3753 fixes bug with incorrect replacement

* CB-3753 cleanup

* CB-3753 adds useSearch hook

* CB-3753 cleanup

* CB-3753 pr fixes

* CB-3753 adds contextMenuPosition instead of mouseContextMenu + makes AutocompleteMenu use this context

* CB-3753 pr fixes

* CB-3753 cleanup

* CB-3753 cleanup

* CB-3753 cleanup

* CB-3753 cleanup

* Revert "CB-3753 cleanup"

This reverts commit 732ca111d0.

* CB-3753 pr fixes

* CB-3753 cleanup

* CB-3753 pr fixes

* CB-3753 pr fixes

* CB-3753 pr fixes

* CB-3753 cleanup

* CB-3753 adds word separator + few new DB keywords to suggestions

* CB-3753 fixes filter when applying autocomplete

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2025-01-28 18:08:50 +01:00
Sychev AndreyandEvgenia 1bf783537b CB-5992 fix: limit maximum fraction digits in chart legend (#3216)
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
2025-01-28 17:20:06 +01:00
f6ae6ecdfe CB-4066 Migrate Team form to form template (#3196)
* CB-4066 refactors team structure

* CB-4066 refactors Team form to use new API

* CB-4066 adds TeamProjects form part to the TeamsForm

* CB-4066 cleanup

* CB-4066 cleanup

* CB-4066 pr fixes

* CB-4066 pr fixes

* CB-4066 fixes title and error key for team creation

* CB-4066 qa fixes

* CB-4066 qa fixes

* CB-4066 fixes bug with team editing

* CB-3753 pr fixes

* CB-4066 fixes validation error with wrong teamId

---------

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-01-27 20:34:58 +03:00
Sychev AndreyandEvgenia 8fe583d9ae CB-6152 restrict editing bool and hide actions in datasets (#3209)
* CB-6152 fix: Restrict editing BOOL in read-only tables

* CB-6152 fix: add condition for actions

* CB-6152 chore: update TS references

* CB-6152 fix: don't show extra button for not editable tables

---------

Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
2025-01-27 20:33:32 +03:00
Sychev AndreyandDaria Marutkina ef8eb7b8d8 CB-5126 fix: focus init button in SqlEditorOverlay (#3193)
* CB-5126 fix: use useFocus hook

* CB-5126 use updateFocus

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2025-01-27 16:41:42 +03:00
alexandDaria Marutkina bfd435dc5e CB-5798 remove hardcoded max width (#3206)
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2025-01-24 11:44:49 +03:00
alexandEvgenia 8831ad05fa CB-5968 export user form (#3198)
* CB-5968 export user form

* CB-5968 bind method

---------

Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
2025-01-23 16:04:06 +03:00
alexandEvgenia 254635d5b0 CB-6090 add new types (#3197)
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
2025-01-22 21:47:16 +03:00
alex 636ec28312 CB-6129 add tooltips (#3202)
* CB-6129 add tooltips

* CB-6129 simplify syntax
2025-01-22 21:46:14 +03:00
DenisSinelnikov cd7dcb40c8 CB-5574. Added new api for get manager, added flap in server configur… (#3161) 2025-01-22 15:12:45 +00:00
serge-rider e708c1b810 dbeaver/pro#3956 24.3.4 version bump 2025-01-14 19:31:04 +01:00
3b0a4e7d33 CB-6063 feat: add ability to import data without PK (#3188)
* CB-6063 feat: add ability to import data without PK

* CB-6063 feat: add ability to insert rows to tables w/o PK using actions

removes isImportAllowed flag, adds hasRowIdentifier, uses it in place of forbidden actions

* CB-6063 refactor: use only false value for hasRowIdentifier flag

* CB-6063 fix: revert logic in hasRowIdentifier

* CB-6063 refactor: rename property

* CB-6063 fix: return lock icon back for tables w/o identifier

* CB-6063 fix: hasRowIdentifier in getResult

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: Ainur <59531286+yagudin10@users.noreply.github.com>
2025-01-14 19:23:32 +01:00
7a83252490 CB-5369. Added API for transaction log for commits (#3183)
* CB-5369. Added API for transaction log for commits

* CB-5369. Refactor after review

* CB-5369 add transaction logs table

* CB-5369. Added id for data

* CB-5369 fix typo

* CB-5369. Added event for get count

* CB-5369. Refactor event

* CB-5369. Refactor event

* CB-5369. Refactor after review

* CB-5369. Refactor after review

* CB-5369. Added connectionId to event

* CB-5369 support count event

* CB-5369. Rename eventId

* CB-5369 adjust count styles

* CB-5369 format time

* CB-5369 add missing deps

* CB-5369 remove extra important flags

* CB-5369 review fixes

* CB-5369 remove extra import

---------

Co-authored-by: naumov <iamemptyhuh@gmail.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2025-01-14 19:12:10 +01:00
Ainur 1d4c00e5fb CB-6051 ability to download drivers (#3155) 2025-01-14 15:42:02 +00:00
Sychev AndreyandDaria Marutkina c3fcf37b3f CB-5756 redesign user profile (#3184)
* CB-5756 feat: redesign user profile

* CB-5756 refactor: return disabled prop to UserProfileFormInfo

* CB-5756 feat: add confirmation dialog

When closing panel with unsaved password changes, add localization for that case.

* CB-5756 fix: onChange handler and comparing the state

* CB-5756 fix: build

* CB-5756 refactor: change useState to useObservableRef

* CB-5756 refactor: swap logError to logException

* CB-5756 refactor: use built-in inputs onChange

* CB-5756 refactor: swap useService to useResource hook

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2025-01-13 17:10:19 +03:00
alexandDaria Marutkina 06f8b448ca CB-5867 show objects description (#3170)
* CB-5867 show objects description

* CB-5867 add description only to the connection tree

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2025-01-10 20:43:17 +03:00
Anastasiya f4b0a15b70 Fix incorrect punctuation in the Russian localization (#3187) 2025-01-09 14:01:17 +01:00
sergeyteleshev afc8d7c52b CB-6060 makes tree selection resource more universal + fixes scripts bug with disabled folder creation (#3181) 2025-01-09 14:39:18 +03:00
Sychev AndreyandDaria Marutkina fa1b07ee6b CB-6097 Fix: The Show duplicates button in the Grouping panel does not work (#3176)
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2025-01-07 12:48:24 +03: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
serge-rider 4ced9189e1 dbeaver/pro#3921 24.3.3 version bump 2024-12-30 18:13:05 +01:00
AnastasiyaandEvgenia 70b6fc25a9 CB-6088 fix upper cases in localization; add localization (#3168)
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-12-30 16:46:47 +01:00
sergeyteleshevandEvgenia efd0be6a1a Cb 5448 sql assist doesnt work after alias with enabled use long object names (#3140)
* CB-5448 adds replacementOffset logic to autocomplete so we have table long names setting

* CB-5448 cleanup

* CB-5448 cleanup

* CB-5448 pr fixes

---------

Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-12-30 11:41:30 +01:00
ca83a1f167 CB-5734 return template configuration for auth provider (#3162)
* CB-5734 return template configuration for auth provider

* CB-5734 feat: fetch templateConfiguration

---------

Co-authored-by: Sychev Andrey <44414066+SychevAndrey@users.noreply.github.com>
Co-authored-by: Andrey Sychev <nukemoore@gmail.com>
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-12-27 17:58:15 +01:00
3c73cb2aa8 CB-4756 feat: save grouping panel state between remounts (#3158)
Co-authored-by: Evgenia <139753579+EvgeniaBzzz@users.noreply.github.com>
Co-authored-by: sergeyteleshev <iamsergeyteleshev@gmail.com>
2024-12-26 11:00:55 +01:00