Commit Graph
163 Commits
Author SHA1 Message Date
serge-rider 1f8ed6231a Copyrights and release date updates 2024-03-14 08:51:10 +01:00
Ainurandnaumov c5930852b9 CB-4696 truncate string value fix (#2456)
* CB-4696 truncate content string value fix

* CB-4696 extend isText check to show quota message

---------

Co-authored-by: naumov <iamemptyhuh@gmail.com>
2024-03-12 15:55:19 +01:00
alexandEvgenia Bezborodova 2894b21960 CB-4779 mark rows and columns getters as computed values (#2430)
* CB-4779 mark rows and columns getters as computed values

* CB-4779 wrap keys in computed

* CB-4779 remove unused import

---------

Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-03-01 12:23:54 +01:00
AlexeyandDaria Marutkina e4e8fb92ae CB-4681 fix: content downloading in value panel (#2417)
* CB-4681 fix: content downloading in value panel

* CB-4681 fix: review

* CB-4681 fix: review

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-02-27 23:53:06 +03:00
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
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
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
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
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
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
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
alexandAlexey 713082215f CB-3197 add interface comments (#2018)
* CB-3197 add interface comments

* CB-3197 make comments cleaner

* CB-3197 add comment for the indeterminateSelected

* CB-3197 fix code style

---------

Co-authored-by: Alexey <wrouds@gmail.com>
2023-09-28 13:46:02 +03:00
8a685ef47e Cb 1036 server output log sql editor (#1999)
* CB-2551. Fixed additional auth for disabled user

* CB-3923. Added output reader logs

* CB-3923. Added output reader logs

* CB-3923. Refactor after review

* CB-3923. Refactor after review

* CB-3923. Refactor after review

* CB-3923. Refactor after review

* CB-3923. Refactor after review

* CB-3923. Refactor after review

* CB-3923. Refactor after review

* CB-3923. Refactor after review

* CB-3923. Refactor after review

* CB-3924: add show output button

* CB-3924: add output event handler and resource

* CB-3924: add server output logs panel

* CB-3924: fix bugs

* CB-3923. Fixed checkstyle

* CB-3924: fixes after review

* CB-3923. Refactor after review

* CB-3924: fixes after review

* CB-3924: add line wrapper extension for editor

* CB-3923. Refactor after review

* CB-3924: show output logs for current context

* CB-3924: fixes after review

* CB-3924: add output logs icon

* CB-3924: fixes after review

* CB-3924: fixes after review

* CB-3924: fixes after review

* CB-3924: fix bug with not updated menus

* CB-3924. Fix boolean type

---------

Co-authored-by: Dmitry Osipov <teunlao@gmail.com>
Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-09-20 13:02:29 +03:00
Alexey 5030094f1f CB-3598 fix: react rendering errors (#1990) 2023-09-13 15:04:45 +03:00
alex 006dd209ee CB-3998 delete unsupported actions in updateResults (#1993) 2023-09-12 10:47:52 +03:00
AlexeyandDaria Marutkina 11507c362d CB-895 feat: columns rearrangement (#1903)
* CB-895 feat: columns rearrangement

* CB-895 chore: remove unused vars

* CB-895 chore: pr review fixed

* CB-895 fix: rearranged columns size calculation

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-08-16 12:17:22 +03:00
Alexey 2b25b3ac8e Chore/prettier (#1706)
* chore: add prettier

* chore: format code
2023-05-28 02:42:14 +03:00
alex 52c171f4dc CB-3185 stop executing on cancel (#1696) 2023-05-26 15:20:54 +02:00
alex 5c3453329b CB-1622 allow to reset "where input" manual query (#1636) 2023-04-27 14:08:19 +02:00
Alexey 835d3bf499 CB-3302 fix: reset database data model (#1619) 2023-04-19 21:44:44 +03:00
dfb8f1a5ad CB-3302 api for group by query (#1600)
* CB-3302 api for group by query

* CB-3302 rename grouping function

* CB-3302 feat: grouping panel

* CB-3393 fix: grouping errors handling

* CB-3327 fix: enable constraints for simple mode tables

---------

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
Co-authored-by: dariamarutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-04-19 16:23:47 +03:00
Alexey e1f9f1858b chore: update copyright year to 2023 (#1579) 2023-03-31 16:54:30 +03:00
Tatiana Fokina a608ea5ae2 CB-1134 hide value panel for empty result (#1574) 2023-03-30 15:56:37 +03:00
alex ef4eae6520 CB-3111 preserve leading spaces (#1458) 2023-02-15 11:11:58 +03:00
25f859a043 CB-2867 support dataset in UI (#1436)
* CB-2867 dataset plugin

* CB-2867 - add original sql query to resultset

* CB-2867 move originalQuery to execute info

* CB-2867 feat: read originalQuery for query results

* CB-2867 refactor: rename scripts plugin & resources tree type filter

* CB-2867 fix: import

* CB-2867 fix: file extensions type

* CB-2867 fix: file extensions type

* CB-2867 refactor: data tools bar styles

* CB-2867 send query with all filters to gql

* CB-2867 chore: implement getKeyRef for CachedMapResource

* CB-2867 refactor: ProjectNavNodeService

* CB-2867 chore: update go-split

* CB-2867 refactor: rename originalQuery to fullQuery

* CB-2867 refactor: add resource onUse data

* CB-2867 refactor: add sql data source script feature

* CB-2867 refactor: add metadata to sql datasource

* CB-2867 refactor: add datasource outdate

* CB-2867 feat: provided database models for SqlDataSource

* CB-2867 fix invalid resource parent node

* CB-2867 fix: styles

* CB-2867 do not return extra nodes in root navigator model

* CB-2867 fix: nav tree project hide for TE single project

* CB-2867 fix: pass schema & catalog info to data source

* CB-2867 chore: code review

---------

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
Co-authored-by: Wroud <wroud@yandex.ru>
2023-02-08 17:46:17 +03:00
Konstantin Vasilev ccd864470c feat: CB-2212 add resultIndex parameter to isReadonly method 2022-08-15 15:20:15 +03:00
Wroud f0aaf924fb refactor: CB-2372 projects API 2022-08-02 14:31:38 +03:00
Wroud 30c42b3fcc refactor: CB-2243 add navigation-tabs, root, tools-panel, top-app-bar, version plugins 2022-07-20 01:28:57 +03:00
Wroud e94e9c7cf5 refactor: CB-2097 update react-data-grid 2022-06-09 17:18:43 +03:00
Naumov Alexey 3585f0b4aa fix(plugin-data-viewer): CB-2141 naming 2022-06-07 21:59:27 +02:00
Naumov Alexey 0f6c67bdcf fix(plugin-data-viewer): CB-2141 hide save option if there is no primary key 2022-06-07 21:09:41 +02:00
Wroud 8838671327 chore: remove unused code 2022-04-22 21:08:17 +03:00
Naumov Alexey 382e50186b feat(plugin-data-viewer): CB-1914 add quotas service 2022-04-18 12:04:42 +02:00
Naumov Alexey de5ae3e025 feat(plugin-data-viewer): CB-1914 add quotas to the value panel 2022-04-15 13:51:50 +02:00
Naumov Alexey 2ae7649919 fix(plugin-data-viewer): CB-1500 remove extra generic 2022-04-14 16:31:42 +02:00
Naumov Alexey acb605b81a feat(plugin-data-viewer): CB-1500 naming 2022-04-14 13:46:27 +02:00
Naumov Alexey 57f7d0b4ae feat(plugin-data-viewer): CB-1500 possibility to save and see large lobs 2022-04-13 13:55:12 +02:00
Wroud eef91edb88 feat(plugin-data-viewer): CB-1233 disable rows adding / deleting in readonly tables 2022-03-16 20:19:54 +03:00
Naumov Alexey 53a6c0199b fix(plugin-data-viewer): CB-1332 CB-1333 support dataFilter object feature 2022-03-14 19:39:58 +03:00
Naumov Alexey dccdf229dc fix(plugin-data-viewer): CB-1737 find column by position 2022-03-01 16:02:52 +03:00
Naumov Alexey fe3e7bda59 fix(plugin-data-viewer): CB-1737 2022-03-01 16:01:35 +03:00
Naumov Alexey 719cab2ec5 fix(plugin-data-viewer): CB-1574 check results length 2022-02-21 21:20:28 +03:00
Naumov Alexey b43dec6b9b fix(plugin-data-viewer): CB-1574 sync constraints if position has changed 2022-02-21 13:43:27 +03:00
Naumov Alexey 6752765c90 fix(core-sdk): CB-1568 attribute -> attributePosition 2022-02-15 20:19:41 +03:00
Nikita Akilov fac1d3954d dbeaver/dbeaver-ee#1372 update copyright for year 2022 2022-01-18 19:47:55 +03:00