Commit Graph
62 Commits
Author SHA1 Message Date
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
Alexey 6ad148850d refactor: migrate to pure esm CB-5684 (#2929)
* refactor: migrate to pure esm

* chore: revert `useDefineForClassFields` tsconf

* chore: remove patch.js
2024-09-21 07:06:37 +03:00
b48684b65d CB-3823 refactor: introduce service provider (#2774)
* CB-3823 refactor: introduce service provider

* CB-3823 fix: tests

* CB-5361 api for db tools

* CB-3823 feat: table group

* CB-3823 feat: connection tools resource

* CB-3823 refactor: database result action

* CB-3823 feat: session manager

* CB-3823 fix: data viewer error tracking

* CB-5361 add tools for rm admin

* CB-3823 fix: review

* CB-5361 fixes after review

* CB-5361 add comment

* CB-5361 fix permissions

* CB-3823 fix: service provider

* CB-3823 fix: useController services fallback

---------

Co-authored-by: Ainur <ainur.iagudin@dbeaver.com>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-07-16 17:38:00 +02:00
Alexey 16e2920937 CB-5380 fix: grid loading (#2779) 2024-07-16 16:31:42 +03:00
Alexey 1be6ddaf1c CB-5342 fix: database data source tasks result (#2756)
* CB-5342 fix: database data source tasks result

* CB-5342 fix: database data source tasks tracking

* CB-5342 fix: add stop auto refresh button
2024-07-04 11:08:39 +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
AlexeyandEvgenia Bezborodova 674627ebea CB-4090 fix: catch throttle errors (#2651)
* CB-4090 fix: catch throttle errors

* CB-4090 fix: catch throttle errors

* CB-4090 fix: detect closed contexts

* CB-4090 fix: close results properly

---------

Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-05-24 15:52:50 +03:00
51ef899922 Cb 4270 row counter add cancel button for big tables (#2545)
* CB-4270 adds cancel option for load total count of rows in table

* CB-4270 adds ui for load total count of rows in table

* CB-4270 fix: task cancels in a true way

* CB-4270 cleanup

* CB-4270 cancel load total count on close table tab

* CB-4270 cancel load total count on close sql editor tab

* CB-4270 fix: cancel close only task if it is not already cancelled

* CB-4270 chore: tasks -> cancelLoadTotalCountTasks

* CB-4270 stops counting rows when tab closes

* CB-4270 reverts incorrect calls of cancelLoadTotalCount

* CB-4270 reverts ToolsActions unneeded props

* CB-4270 pr fixes

* СB-4270 cancel load total count for refresh action

* CB-4270 fix: place cancelLoadTotalCount to DatabaseDataSource

* CB-4270 fix: cancel load rows in refresh data in data source

* CB-4270 cancels load on close result set tab

* CB-4270 refactor: move cancelLoadTotalCount to resultsetdatasource

* CB-4270 cancel load total count execute only for resultsetdatasource

* CB-4270 adds constraint for TableFooterRowCount

* CB-4270 fix: do not load new value if cancelled rows loading

* CB-4270 cleanup

* Revert "CB-4270 cleanup"

This reverts commit f8bffa253a.

* CB-4270 pr fixes

* CB-4270 pr fixes

* CB-4270 deletes cross icon icon

* CB-4270 DataSources has correct tree of calls for cancel and dispose functions

* CB-4270 cleanup

* chore: add experimental cancellable promise implementation

* CB-4270 pr fixes: remove unneeded disposes + close results in close result tab flow

* CB-4270 removes closeResults abstraction leak in ResultSetDataSource extended classes

* CB-4270 removes unused context in data sources

* CB-4270 adds loader for CancelTotalCountAction on cancel task action

* CB-4270 cancel row count job fix

* CB-4270 cancel row counter with notification

* CB-4270 pr fixes

* CB-4270 pr fixes

---------

Co-authored-by: Aleksei Potsetsuev <wrouds@gmail.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: Ainur <ainur.iagudin@dbeaver.com>
2024-04-23 08:59:58 +03:00
serge-rider 904375aa66 dbeaver/pro#2341 Copyright update 2024-01-10 10:31:38 +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
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
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
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
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 57f7d0b4ae feat(plugin-data-viewer): CB-1500 possibility to save and see large lobs 2022-04-13 13:55:12 +02: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 b43dec6b9b fix(plugin-data-viewer): CB-1574 sync constraints if position has changed 2022-02-21 13:43:27 +03:00
Nikita Akilov fac1d3954d dbeaver/dbeaver-ee#1372 update copyright for year 2022 2022-01-18 19:47:55 +03:00
Naumov Alexey 2dcd165ced fix(plugin-data-viewer): CB-1021 change the data viewer header filter logic 2021-12-13 22:12:51 +03:00
Wroud d0dd63bd77 feat: CB-154 show confirmation for unsaved changes in grid 2021-12-01 13:43:45 +03:00
Wroud c898f823b7 fix: CB-1312 metadata refresh 2021-10-13 19:34:38 +03:00
Wroud a43f074edb fix(plugin-data-viewer): CB-1243 focus and selection behavior 2021-10-06 19:56:23 +03:00
Naumov Alexey 95ab8f94f9 fix(plugin-data-viewer): CB-1138 make DataSource as readonly if there is no execution context 2021-10-05 16:43:33 +03:00
Wroud eba325f002 fix(plugin-data-viewer): CB-1250 actions update 2021-10-03 14:41:16 +03:00
Wroud 6676521f42 refactor: CB-1094 contexts 2021-09-02 10:27:59 +03:00
Wroud 1de7e8516f feat: CB-1151 CB-1116 data editing tools 2021-08-21 02:06:38 +03:00
Wroud e5f0df50e8 refactor: CB-1151 database data edition api 2021-08-17 20:27:31 +03:00
Wroud c05173de0f refactor(plugin-data-viewer): CB-1151 add getActionImplementation fn for database data actions 2021-08-16 16:35:23 +03:00
Wroud 79afb8206a fix(plugin-data-viewer): CB-1153 state observing 2021-08-12 18:16:37 +03:00
Wroud b0b217186d fix(plugin-data-viewer): CB-1153 runTask error handling 2021-08-12 18:08:04 +03:00
Wroud de3c37b63c feat(plugin-data-viewer): CB-1153 runTask function 2021-08-12 16:27:04 +03:00
Wroud 96d45facf8 refactor: CB-1093execution contexts 2021-07-16 22:44:16 +03:00
Wroud 1e3ed4c911 fix(plugin-data-viewer): CB-957 dataFormat switch 2021-06-07 12:06:11 +03:00
Naumov Alexey e72f2c8883 feat(plugin-data-spreadsheet-new): CB-666 grid context filter 2021-05-25 22:21:22 +03:00
Wroud 489178158f fix(plugin-data-viewer): CB-752 update actions result 2021-05-12 22:22:06 +03:00
Wroud 75da1e946b feat(plugin-data-viewer): CB-752 implement getActon for actions 2021-05-11 20:28:07 +03:00
Wroud 4707299984 feat(plugin-data-viewer): CB-894 data request error message displayment 2021-04-14 15:41:24 +03:00
Wroud 544698810a fix: CB-754 query execution status 2021-04-06 01:43:11 +03:00
Wroud f86bf46fc6 feat(plugin-data-viewer): CB-751 database data actions API & select action 2021-03-12 10:23:50 +03:00
Wroud 4176535998 feat: CB-675 table states 2021-02-19 19:54:43 +03:00
Wroud e4af942dcf feat: CB-744 CB-700 CB-712 remove deprecated code, empty resultset behavior 2021-02-19 02:31:16 +03:00
Wroud 43b6265834 fix: CB-655 copy, error message, editing behavior, cursor jumping 2021-02-18 20:50:55 +03:00
Wroud ae41293003 chore: update copyright 2021-02-10 16:52:56 +03:00
Wroud cd110ead56 Merge branch 'devel' of https://github.com/dbeaver/cloudbeaver into devel 2021-02-09 20:43:57 +03:00