467 Commits
Author SHA1 Message Date
cb897343bd Cb 4457 subcollections firestore (#2338)
* CB-4457. Add api for read subcollections firestore

* CB-4457. Move firestore to ee module

* CB-4457. Move firestore to ee module

* CB-4457. Added annotations for firestore

* CB-4457. Added metaData

* CB-4457. Fixed build

* CB-4457 add hasChildrenCollection flag

* CB-4457. Add new resultsRow

* CB-4457. Renamed SQLResultRowMetaData parameters

* CB-4457 add rows with metadata to schema

* CB-4457. Fix gql

* CB-4457. Added logic to get Firestore subcollection

* CB-4457. Refactor result, rename gql, added new type to return gql

* CB-4457. Revert list to map

* CB-4457. Get Subcollections info

* CB-4457. Refactor code

* Added sceleton for insert subcollection

* CB-4457. Added isSupportsDataFilter flag for subcollection

* CB-4457 add locales

* CB-4457. Added isSupportsDataFilter flag for subcollection

* CB-4457. Added update/insert logic for subcollection

* CB-4457 support collection editing

* CB-4457. Refactor after review, moved hierarchical model to ee.

* CB-4457 add SerializableKey

* CB-4457 keep only new rowsWithMetaData api

* CB-4457 review fixes

* CB-4457 review fixes

* CB-4457. Refactor after review. Added logic for delete

* CB-4457 pass metadata in deleted rows

* CB-4457 check row for undefined

* CB-4457 pass metadata when editing json

* CB-4457. Refactor edit, fix icons

* CB-4457. Refactor makeDocumentInputValue, created new method for locator

* CB-4457 try to get the current metadata for row

* CB-4457 clear cache on result update

* CB-4457 remove extra check

* CB-4457. Fixed npe

---------

Co-authored-by: DenisSinelnikov <denis.sinelnikov@dbaever.com>
Co-authored-by: naumov <iamemptyhuh@gmail.com>
Co-authored-by: Aleksei Potsetsuev <wrouds@gmail.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-02-13 18:29:22 +01:00
alexandDaria Marutkina 9828b1de1e CB-4567 add disableCopyData settings (#2378)
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-02-13 13:45:05 +01:00
alexandDaria Marutkina 426ab15bfc CB-4651 change wrap lines icons (#2371)
* CB-4651 change wrap lines icons

* CB-4651 remove icons from icons.svg

* CB-4651 add different size of icons

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-02-12 13:06:40 +03:00
898e7d9b9d CB-4570 add correct limits for text and blob columns in value panel (#2351)
* CB-4570 add correct limits for text and blob columns in value panel

* CB-4570 pr fixes

* CB-4570 adds shorter versions of limit messages

* CB-4570 pr fixes

* CB-4570 pr fixes

* CB-4570 code cleanup

* CB-4570 show more button moved to quota container

* CB-4570 code cleanup

* CB-4570 code cleanup

* CB-4570 quota placeholder to module css

* CB-4570 refactor: limit info in content action

* CB-4570 cleanup

* CB-4570 refactor: result set binary file implementation

* CB-4570 code clean

* CB-4570 adds QuotaPlaceholder getLimitInfo logic

* CB-4570 adds quota placeholder logic to not render when size is not truncated

* CB-4570 fix: shouldShowPasteButton reverted

* CB-4570 fix: show quota placeholder correctly

* CB-4570 code clean

* Revert "CB-4570 fix: show quota placeholder correctly"

This reverts commit d86b35e47a.

* CB-4570 fix: truncate image and text depending on current value panel presentation tab id

* Revert "Revert "CB-4570 fix: show quota placeholder correctly""

This reverts commit d5df008e89.

* CB-4570 code clean

* CB-4570 chore: dataContent has no image mentions

---------

Co-authored-by: s.teleshev <s.teleshev@mu.se>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-02-09 19:31:56 +03:00
8585af7f1a Cb 4429 change divider behavior (#2335)
* CB-4429 adds visible buttons for resizers

* CB-4429 adds auto margin to dividers

* CB-4429 fix initial auto margin

* CB-4429 adds auto margins without hook

* CB-4429 split controls cleanup

* CB-4429 hide content if panel minimized

* CB-4429 remove ts ignore

* CB-4429 Pane cleanup

* CB-4429 update go-split

* CB-4429 pane renders null if it is minimized splitter

* CV-4429 removed children memoization in Pane component

* CB-4429 fix: hide content if maximized pane

* CB-4429 chore: update go-split version

* CB-4429 update go-split lib

---------

Co-authored-by: s.teleshev <s.teleshev@mu.se>
Co-authored-by: Aleksei Potsetsuev <wrouds@gmail.com>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-01-31 20:34:52 +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
f41c485ba0 Cb 4382 anonymous access restricted error (#2302)
* CB-4382 fixed anonymous error

* CB-4382 move EAdminPermission to root-resources in order to FeatureResource can import it

* CB-4282 EAdminPermission moved to core-root

* CB-4382 update-ts-references

* СB-4382 removed unneeded deps in packages

* CB-4282 revert needed deps to be present

* CB-4382 reverted popperjs for plugin-data-spreadsheet-new

* CB-4382 TE error fix for fast opening admin server settings

* CB-4382 update yarn lock

---------

Co-authored-by: s.teleshev <s.teleshev@mu.se>
Co-authored-by: Alexey <wrouds@gmail.com>
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
2024-01-25 17:42:58 +03:00
AlexeyandEvgenia Bezborodova 544f3a8dd3 CB-4539 fix: value panel auto type detection (#2320)
* CB-4539 fix: value panel auto type detection

* CB-4539 feat: add wrap lines action

* CB-4539 fix: remove extra button

* CB-4539 chore: enable line wrapping by default

* CB-4539 fix: quota message

---------

Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-01-23 19:35:00 +03:00
76454a352d CB-4546 shows hex/base64 only on blob column selection (#2314)
Co-authored-by: s.teleshev <s.teleshev@mu.se>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-01-22 18:38:19 +03:00
5db30be61b CB-4285 read full value from text cell (#2288)
* CB-4494 api for reading full value from text cell

* CB-4494 apply function fix

* CB-4285 graphql getFileFullText for files

* CB-4285 textValuePresentation refactor

* CB-4285 textValuePresentation refactor - removed unneeded fields

* CB-4285 textValuePresentation canSave in data ref

* CB-4285 paste full text button

* CB-4285 observable map for full text in textValuePresentation

* CB-4285 reset cases comment removed (all works cool)

* СB-4285 buttons in tools container is now nearby each other

* CB-4285 use content action for caching full texts

* CB-3842 use only one row in getting full value

* CB-3842 use not null at read lob value

* CB-4285 schema changes for sqlReadString and sqlReadLobValue

* CB-4285 TextValuePresentation refactor

* CB-4285 useTextValue refactor

* CB-4285 PR comments applied

* CB-4285 view full text button for ValuePanel + remove truncated warning if loaded full text

---------

Co-authored-by: s.teleshev <s.teleshev@mu.se>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-01-17 20:02:17 +03:00
alexandDaria Marutkina bb743ac5b0 CB-3955 hide presentation bar in statistics mode (#2289)
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-01-11 17:28:26 +01:00
AlexeyandDaria Marutkina b0586e7ccb CB-4401 feat: save value panel state per column (#2272)
* CB-4401 feat: save value panel state per column

* CB-4401 fix: pr review

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-01-11 14:53:55 +03:00
AlexeyandDaria Marutkina 008f7f9659 CB-4344 fix: table column width calculation (#2273)
* CB-4344 fix: table column width calculation

* CB-4344 fix: pr review

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-01-10 13:08:28 +03:00
serge-rider 904375aa66 dbeaver/pro#2341 Copyright update 2024-01-10 10:31:38 +03:00
0f253672dd Cb 4461 json and xml formatting doesnt work in value panel 🔥 (#2268)
* CB-4461 fix: json and xml formats properly

* CB-4461 fix: edited cell can show its unformatted string value

* CB-4461 fix: panel value - on empty selected cell return empty string

---------

Co-authored-by: s.teleshev <s.teleshev@mu.se>
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2024-01-03 17:14:18 +01:00
alex d719008944 CB-3972 safe way to get action check for the document (#2261) 2024-01-03 13:46:39 +03:00
s.teleshev 071fec6b77 CB-3555 setBinaryFileValue helper 2023-12-29 11:26:11 +01:00
s.teleshev 82fa392ff4 CB-3555 add licenses 2023-12-28 13:45:01 +01:00
s.teleshev 0faf4f7076 CB-3555 useTextValue cleanup 2023-12-28 12:02:05 +01:00
s.teleshev 56333d524e CB-3555 fix: json columns shows correctly 2023-12-28 11:45:50 +01:00
s.teleshev 7a14f903ba CB-3555 code cleanup 2023-12-28 11:45:30 +01:00
s.teleshev b9210072ab CB-3555 use auto format cleanup 2023-12-27 14:07:59 +01:00
s.teleshev 3557e54d1f CB-3555 hide html/xml/json tabs for blob value panel 2023-12-27 14:05:44 +01:00
s.teleshev 046a540ff8 CB-3555 feat: hex/base64 tabs shows content correctly 2023-12-27 14:03:12 +01:00
s.teleshev b5f884efcb CB-3555 fix: show base64/hex in blobs only 2023-12-27 12:53:06 +01:00
s.teleshev da0ea15f17 CB-3555 :feat adds format blob to string helpers 2023-12-27 11:18:35 +01:00
s.teleshev c671532ebf CB-3555 feat: add hex and base64 tabs 2023-12-26 14:47:56 +01:00
s.teleshev a9d1d42378 CB-3555 fix: add proper interfaces to TextValuePresentation tab has all correctly working props 2023-12-26 14:46:39 +01:00
s.teleshev e9601257a3 CB-3555 isImageValuePresentationAvailable 2023-12-26 14:13:21 +01:00
s.teleshev bbee98292d CB-4385 rollback IconButton styles in TableFooter 2023-12-19 13:09:57 +01:00
s.teleshev a9bede499a Merge branch 'devel' into CB-4385-migration-from-reshadow-to-module-styles 2023-12-18 23:10:09 +01:00
s.teleshev 03b83ebf73 CB-4395 :refactor IconButton outer styles passed correctly 2023-12-16 19:52:03 +01:00
Evgenia Bezborodova db1ea4451e Merge branch 'devel' into CB-4386-unify-feature-naming 2023-12-14 19:14:23 +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
Evgenia Bezborodova 69aaaf00b7 Merge branch 'devel' into CB-4386-unify-feature-naming 2023-12-14 17:14:50 +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
s.teleshev 985cc8078b CB-4386 chore: replace revert to cancel 2023-12-13 21:29:58 +01:00
923dadee86 CB-3961 removed ADMINISTRATION_TOOLS_PANEL_STYLES from core-administr… (#2171)
* CB-3961 removed ADMINISTRATION_TOOLS_PANEL_STYLES from core-administration

* Revert "CB-3961 removed ADMINISTRATION_TOOLS_PANEL_STYLES from core-administration"

This reverts commit 50bb0160c8.

* CB-3961 removed reshadow from core-administration

* CB-3961 styles for table has gray color

* CB-3961 ToolsPanel has 2 modes: surface and secondary

* CB-3961 primary/secondary toolsPanel styles fix

* CB-3961 table footer height is 30px

* CB-3961 table footer height is initial

* CB-3961 no border for footer table + min-height 32 px as it was

* CB-3961 no border for footer in table

* CB-3961 remove EE border bottom at ToolsPanel

* CB-3961 remove EE border bottom at ToolsPanel

---------

Co-authored-by: s.teleshev <s.teleshev@mu.se>
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2023-12-12 18:11:59 +03:00
Alexey c6e8d27e31 fix: deployment (#2134) 2023-11-15 18:41:47 +03:00
7de1d8ce66 CB-3777 api for getting row count (#2100)
* CB-3777 api for getting row count

* CB-4176 add rows total count

* CB-4177 count rows from sql queries

* CB-4176 review fixes

* CB-3777 refactor: use active task instead of currentTask in database datasource

* CB-3777 fix: don't use private params

* CB-4176 revert currentTask

* CB-4176 add error message

* CB-4176 add tooltip

* CB-4176 change locales

---------

Co-authored-by: naumov <iamemptyhuh@gmail.com>
Co-authored-by: Aleksei Potsetsuev <wrouds@gmail.com>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-11-14 17:28:27 +03:00
alexandmr-anton-t 3831abc880 CB-4038 add action icon button (#2064)
* CB-4038 add action icon button

* CB-4038 update styles in image value panel

* CB-4038 keep default styles export

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2023-10-17 18:34:52 +03:00
ab985673b0 CB-3704 feat(plugin-data-viewer): blob uploading (#2027)
* CB-3704 feat(plugin-data-viewer): blob uploading

* CB-3704 fix: check  truncated value correctly

* CB-4051. Added upload big files

* CB-4051. remove unusable files

* CB-3704 feat: upload blobs

* CB-4051. Refactor after discussion with front-end

* CB-4051. Merge develop

* CB-4051. Fixed imports

* CB-3704 fix: upload blobs for new rows

* CB-4051. Fixed added new row with file

* fix: reset editing state

* CB-4051. Fixed after review

* CB-4051. revert

* CB-4051. Fixed doc, imports, style

* CB-4051. Fixed checkstyle

* revert

* CB-4051. Refactor after review, added handler for delete temp folder

* CB-3704 chore: update ts project references

* CB-3704 fix: rename file upload name

* CB-3704. delete comments

* CB-3704. Refactor after review

* CB-3074. Rename job

* CB-3704. Fix save for json

* CB-3704 fix: boolean value representation

* CB-3704 fix: downloadable data detection

* CB-3704 fix: downloadable data detection

* CB-3704. Fixed boolean null value

* CB-3704 fix: truncate long strings for display data

* CB-3704 fix: transform complex values

* CB-3704. Fixed json update

* CB-3704 fix: display value

* CB-3704 fix: data set

* CB-3704 fix: keep content type when editing content values

* CB-3704 feat: add download button for

* CB-3704. Rename event

---------

Co-authored-by: Denis Sinelnikov <denis.sinelnikov@dbeaver.com>
Co-authored-by: DenisSinelnikov <142215442+DenisSinelnikov@users.noreply.github.com>
Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-10-16 16:47:11 +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
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
66c1f94464 Cb 3861 Migrate Simple component to CSS modules (#2009)
* feat: migrate Body to css-modules

* feat: migrate Main to css-modules

* feat: migrate AppRefreshButton to css-modules

* feat: migrate Button to css-modules

* feat: migrate Cell to css-modules

* feat: migrate Code to css-modules

* feat: migrate DisplayError to css-modules

* feat: migrate ErrorBoundary to css-modules

* feat: migrate ExceptionMessage to css-modules

* feat: migrate Iframe to css-modules

* feat: migrate InfoItem to css-modules

* feat: migrate Link to css-modules

* feat: migrate StatusMessage to css-modules

* feat: migrate TextPlaceholder to css-modules

* feat: migrate TimerIcon to css-modules

* feat: migrate UploadArea to css-modules

* feat: migrate ConnectionMark to css-modules

* feat: Expandable ConnectionMark to css-modules

* feat: migrate RightArea, Split styles to css-modules

* feat: fixes after review

* feat: fixes after review

* feat: fixes after review

* feat: fixes after review

* fix: fixes after review

* fix: iframe style import

* fix: fix ui bugs after tests

* fix: versionChecker styles

* fix: properties-table add button styles

* fix: table-viewer border styles

* CB-3861 fix: styles

* CB-3861 fix: styles

* fix: fix test error

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
2023-10-04 16:21:23 +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