Commit Graph
1768 Commits
Author SHA1 Message Date
Alexander Skoblikov 3a92d7d23d CB-3930 use rm provider for rm fs (#2038) 2023-10-19 13:26:55 +03:00
d44e6b4e7a CB-3564 multi server license (#2062)
* CB-3564 fix: localization

* CB-3984 wip

* CB-3984 multi instance license

* CB-3564 feat: external users provider

* CB-3984 server init fix

* CB-3564 feat: load resource for administration users management

* CB-3984 force enable imported user

---------

Co-authored-by: Aleksandr Skoblikov <aleksandr.skoblikov@dbeaver.com>
Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-10-18 21:17:16 +03:00
DenisSinelnikov d87115d753 CB-3704. Validate file name (#2065)
* CB-3704. Validate file name

* CB-3704. Revert imports

* CB-3704. Refactor after review

* CB-3704. Fixed error message if files not created.

* CB-3074. Remove constant to Servlet
2023-10-18 15:42:29 +03:00
245d49b892 CB-4098 add prompt dialog to the sql editor (#2055)
* CB-4098 add prompt dialog to the sql editor

* CB-4098 add api integration

* CB-4046 add events

* CB-4046 fixes after review

* CB-3913 move AI feature to the ee

---------

Co-authored-by: Ainur <yagudin10@yandex.ru>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-10-18 13:37:23 +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
Serge Rider d0a820d27b dbeaver/pro#1900 tasks virtual fs (#2040)
* dbeaver/pro#1900 Refactor DT and general UI

* dbeaver/pro#1900 Export to external FS implementation
2023-10-12 15:31:09 +03:00
Serge Rider 3fa1130608 23.2.3 version bump 2023-10-12 10:46:20 +02:00
Serge Rider 4344dce700 dbeaver/pro#2000 Java 17 (#2057) 2023-10-10 19:50:48 +03:00
bdcda6a1fb CB-4028 delete/add api for permissions (#2024)
* CB-4028 delete/add api for permissions

* feat: add new subjects connection add and delete methods

* CB-4028 fix method name

* refactor: subject connection permissions

* fix: after review

* fix: after review

* CB-4028 fix: update ts project references

* fix: dependencies cycle

* chore: fix dependencies

* CB-4028 event for delete

* CB-4028 delete object permission event

---------

Co-authored-by: Dmitry Osipov <teunlao@gmail.com>
Co-authored-by: Alexey <wrouds@gmail.com>
Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-10-10 18:41:14 +03:00
Serge RiderandAleksandr Skoblikov b52c2788b1 dbeaver/pro#1962 eclipse 2023 09 2 (#2036)
* dbeaver/pro#1962 Servlet API 4.x deps

* dbeaver/pro#1962 Redundant SLF4J dep removed

* dbeaver/pro#1962 SLF4J binding fix + servlet API version

* dbeaver/pro#1962 add cloudbeaver slf4j binding

* dbeaver/pro#1962 Logging

* dbeaver/pro#1962 Logging fix

---------

Co-authored-by: Aleksandr Skoblikov <aleksandr.skoblikov@dbeaver.com>
2023-10-10 12:51:39 +03:00
Serge Rider e3f04bcbb0 23.2.2 version bump 2023-10-08 18:28:34 +02:00
AinurandDaria Marutkina ca4fe0b96d CB-3943 use server name fields for bigtable and spanner (#1978)
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-10-04 16:37:03 +03:00
Alexander Skoblikov 1f8dd642bc CB-3930 fs gql api (#2026)
* CB-3930 fs gql model

* CB-3930 fs manager

* CB-3930 add fs modules to server feature

* CB-3930 fs per project

* CB-3930 fix rm file store

* CB-3930 fixes
2023-10-03 16:52:14 +03:00
DenisSinelnikovandEvgeniaBzzz c874b4b440 CB-3839. Added async error events messages for te (#2006)
* CB-2551. Fixed additional auth for disabled user

* CB-3839. Added async error events messages for te

* CB-3839. Remove comments, fixed checkstyle

* CB-3839. Refactor after review

* CB-3839. Refactor after review

* CB-3839. Refactor after review, updated logic

* CB-3883. Fixed Error Logs

---------

Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-10-03 13:23:45 +03:00
Serge Rider c31826f830 23.2.2 version bump 2023-10-02 11:27:50 +02:00
Alexander Skoblikov e00ca87364 improve auth test (#2030) 2023-09-29 20:30:34 +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
AinurandEvgeniaBzzz c58e62c90e CB-2153 update values of tables with join fix (#1961)
Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-09-28 14:05:00 +03:00
Alexander Skoblikov a2d9fddc5e CB-3930 redesign resource management api (#1998)
* CB-3946 rm nio api

* CB-3946 read/write nio api

* CB-3946 nio tests
2023-09-27 16:30:37 +03:00
Serge Rider 2e71cfdf87 dbeaver/pro#1925 Profile source model (#1996) 2023-09-26 20:41:17 +03:00
serge-rider 0a88cbdb50 Version 23.2.1 bump 2023-09-20 20:07:30 +02:00
AinurandEvgeniaBzzz 1a434adb3d CB-3945 add subject permissions changed events (#1974)
* CB-3945 add subject permissions changed events

* CB-3945 remove parameter from subject event

* CB-3945 code style fix

* CB-3945 check rm admin permission

---------

Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-09-20 19:45:10 +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
Serge Rider da6a84c15a Constants reuse 2023-09-07 14:56:32 +02:00
Serge Rider d3054e26ce dbeaver/pro#1872 Delete redundant config files 2023-09-04 16:19:54 +02:00
DenisSinelnikovandEvgeniaBzzz 45266974ab CB-2551. Fixed additional auth for disabled user (#1963)
* CB-2551. Fixed additional auth for disabled user

* CB-2551. Fixed additional auth for disabled user

* CB-2551. Fixed additional auth for disabled user

---------

Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-08-31 18:50:26 +03:00
Alexander SkoblikovandEvgeniaBzzz a94ca5e635 CB-3931 copy params only for test connection (#1969)
Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-08-30 18:08:04 +03:00
Alexander Skoblikov 0767d0d3a1 CB-3935 create project for new users correctly (#1971) 2023-08-30 17:59:01 +03:00
f1507c3a7d CB-3602 fix: sql context management (#1942)
* CB-3602 fix: sql context management

* CB-3711 fix: sql context lifecycle

* CB-3602 Cleanup SQL processors/contexts on connection close

* CB-3602 Cleanup SQL processors/contexts on connection close

* CB-3602 fix: log sql script parsing errors

* CB-3602 fix: sql context info convertation

* CB-3602 fix: data concurrency loading

---------

Co-authored-by: Serge Rider <serge@jkiss.org>
Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-08-29 22:53:05 +03:00
Alexander SkoblikovandEvgeniaBzzz 68abf6051a CB-3874 send password change event correctly (#1964)
Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-08-29 22:35:51 +03:00
AinurandDaria Marutkina 8d5a61e04e CB-3878 remove rm listener if user session is expired (#1960)
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-08-29 17:03:28 +03:00
AinurandDmitry Osipov 4d060ed746 CB-3045 delete team with users (#1943)
* CB-3045 delete team with users

* CB-3905 add force flag for deleting team

* CB-3045: delete teams even they may contain users

* CB-3045: update delete team confirmation message

---------

Co-authored-by: Dmitry Osipov <teunlao@gmail.com>
2023-08-29 17:02:44 +03:00
Serge RiderandDaria Marutkina 619d4754cb dbeaver/pro#1885 NTLM + TE authentication UI enhancements + IDP icons fix (#1954)
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-08-28 13:41:37 +03:00
5389d4a5c6 CB-3662 unschedule tasks with invalid project (#1908)
Co-authored-by: Dziyana <31996417+uslss@users.noreply.github.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-08-28 12:06:12 +03:00
3a889769b4 CB-3810. Fixed refresh button for update for 2 or more session. (#1949)
* CB-3810. Fixed refresh button for update for 2 or more session.

* CB-3810. Fixed refresh button for update for 2 or more session.

---------

Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-08-25 16:36:35 +03:00
Serge Rider a81b81ff2d 23.2.0 version bump 2023-08-25 11:33:45 +02:00
DenisSinelnikovandDaria Marutkina 8b1a75eef6 CB-3449. Fixed formatting sql script at macOs/linux. (#1935)
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2023-08-24 16:42:20 +03:00
Ainurandnaumov 7acaf2668d CB-1392 add plain name for database nodes (#1937)
* CB-1392 add plain name for database nodes

* CB-1392 support plain name

* CB-1392 don't show file type for rm node

* CB-1392 deprecate get full name from nav node

* CB-1392 do not send plain name if it is the same as name

* CB-1392 move getting plain name logic to the function

* CB-1392 gql add comment for deprecated param

---------

Co-authored-by: naumov <iamemptyhuh@gmail.com>
2023-08-24 16:40:11 +03:00
Ainur daf3811b5c CB-3756 add datasource permission updated event (#1926)
* CB-3756 add datasource permission updated event

* CB-3756 use object type enums in rest controllers
2023-08-23 16:19:59 +03:00
Ainur d84fa05f58 Revert "CB-3810" (#1941) 2023-08-23 13:58:14 +02:00
DenisSinelnikov 7682304a25 Merge branch 'devel' into CB-3810-update-cache 2023-08-21 14:16:22 +04: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
AinurandEvgeniaBzzz aa1edf0e29 CB-3098 filter auth model properties fix (#1873)
* CB-3098 filter auth model properties fix

* CB-3098 do not fill session credentials in connection info

* CB-3098 default value fix

---------

Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-08-16 22:39:53 +03:00
Alexander SkoblikovandEvgeniaBzzz d6d99f5e9c CB-3866 check that user has projects (#1918)
Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-08-16 19:22:06 +03:00
Denis Sinelnikov 038f03823c CB-3810. Fixed display after add/update datasource for two or more (session/account) with same access datasources at the list of templates 2023-08-16 18:37:59 +04:00
5206680590 CB-3769-user-role-change-event (#1880)
* CB-3825 add role changed event

* CB-3825 dc use event controller for sending events to mq

* CB-3769 remove fields from gql subject event type

* CB-3821 support CbSubjectPermissionUpdateEvent

* CB-3769 session state job do not refresh permissions

* CB-3769 change locale

* CB-3769 use sm subject type

* CB-3821 fix event name type

* CB-3825 remove core-localization package

* CB-3824 change imports

* CB-3825 translate all messages

---------

Co-authored-by: naumov <iamemptyhuh@gmail.com>
Co-authored-by: Айнур Ягудин <ainur@MacBook-Air-Ajnur.local>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: Alexey <wrouds@gmail.com>
2023-08-16 15:19:31 +03:00
439d2505cc CB-3741 automatically refresh token for websocket connection (#1900)
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-08-16 13:46:36 +03:00
AinurandEvgeniaBzzz 5f3405f7bf CB-3872 ssh key init connection fix (#1917)
Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-08-16 13:46:08 +03:00
Serge Rider 79050cddcf 23.1.5 version bump 2023-08-15 18:13:23 +02:00