38 Commits
Author SHA1 Message Date
a42c7dc8de CB-5589. Remove script and sqllite database config (#2919)
* CB-5589. Remove script and sqllite database config

* CB-5589. Remove script and sqllite database config

* CB-5589 remove sample database

---------

Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
Co-authored-by: Aleksandr Skoblikov <aleksandr.skoblikov@dbeaver.com>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-09-30 15:16:48 +00:00
8f54e759dd CB-4541 feat: tree filter (#2908)
* CB-4541 feat: tree filter

* CB-4541 feat: tree empty placeholders

* CB-4541 fix: settings overflow scroll effect

* CB-4541 fix: settings groups size

* CB-4541 fix: sync groups when filtering

* CB-4541 chore: performance optimization

* chore: review fixes

* chore: replace inline styles

* chore: replace inline styles

* chore: hide extra settings from UI

* chore: hide groups view from settings

* fix: add override options to devtools

* fix: trim filter in settings search

* chore: localization

---------

Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
Co-authored-by: mr-anton-t <42037741+mr-anton-t@users.noreply.github.com>
2024-09-25 19:46:13 +03:00
5b527872bd CB-4095. Added env variables for configurations parameters (#2905)
* CB-4095. Added env variables for configurations parameters

* CB-4095. Refactor after review

* CB-4095. Refactor after review, added sub group for envs

* CB-4095. Remove unusable env variable

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: Alexander Skoblikov <aleksandr.skoblikov@dbeaver.com>
2024-09-17 16:30:19 +00:00
443cbfcde5 CB-5549. Added ability to configure server property for Root URI (#2868)
* CB-5549. Added ability to configure server property for Root URI

* CB-5549. Added new SQL

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
Co-authored-by: Alexander Skoblikov <aleksandr.skoblikov@dbeaver.com>
2024-08-26 13:39:59 +00:00
Arioko 678ec32c44 Environment variable called "CLOUDBEAVER_ROOT_URI" in cloudbeaver.conf (#2812)
Inclusion of the ability to configure the server property "rootURI" with an environment variable called "CLOUDBEAVER_ROOT_URI" to simplify changing its value in dockenized environments.
2024-08-26 12:28:22 +00:00
Alexander SkoblikovandEvgenia Bezborodova 09de0c328a CB-4889 CB database env variables (#2739)
* CB-4889 CB database env variables

* CB-4889 fix runtime conf priority

---------

Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-06-26 16:15:09 +00:00
833dae58ce CB-5060 add beta features config param (#2599)
* CB-5109 add beta features config param

* CB-5109 rename param

* CB-5060 feat: disable beta features

* CB-5109 add param to config file

---------

Co-authored-by: Alexey <wrouds@gmail.com>
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
2024-05-14 09:31:24 +00:00
3a304b1902 Cb 4631 backup database (#2536)
* CB-4631. Added logic for database backup h2

* CB-4631. Refactor after review, added information about postgres database to backuper

* CB-4631. Refactor after review, added information about postgres database to backuper

* CB-4703. Refactor after review

* CB-4631. Added flag to config for do backup

* CB-4631. Added flag to config for do backup

* CB-4631. renamed env parameters

* CB-4631. Revert schema version

---------

Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
2024-04-16 20:08:39 +02:00
101d26158b CB-4603. Refactor searching by group, include default group for all s… (#2440)
* CB-4603. Refactor searching by group, include default group for all sql query with team

---------

Co-authored-by: DenisSinelnikov <denis.sinelnikov@dbaever.com>
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-04-02 16:50:21 +00:00
Alexander Skoblikov 2936b14aed CB-4500 preference to enable env variables resolving (#2522)
* CB-4500 preference to enable env variables resolving

* CB-4500 save systemVariablesResolvingEnabled to runtime config
2024-04-02 15:15:15 +00:00
eaa26dfe52 CB-4619 user scope settings (#2471)
* CB-4619 feat: update gql schema

* CB-4808 bulk update user parameters

* CB-4808 param type fix

* CB-4619 feat: updateUserPreferences API


* CB-4619 refactor: settings api

* CB-4619 refactor: move file

* CB-4619 refactor: settings api

* CB-4619 fix: pr review

* CB-4619 refactor: remove web-based product settings

* CB-4619 fix: after pr review

* CB-4619 refactor: move product conf to cloudbeaver conf

* CB-4619 fix: hide settings bar and log exception with changing session language

* CB-4619 fix: revert after merge

* CB-4808 new settings api

* CB-4808 update product.conf format

* CB-4808 update product.conf format

* CB-4619 feat: support server provided settings

* CB-4619 feat: prettify settings

* CB-4619 chore: map sql editor settings group

* CB-4808 add use short/long object name settings to CloudBeaver

* CB-4808 update default product.conf

* CB-4808 mode short/long settings to SQLModelPreferences

* CB-4808 review fix

* CB-4619 refactor: unit tests

* CB-4619 fix: prevent websocket opening spam

* CB-4619 fix: dependencies

* CB-4619 fix: remove extra theme loading

* CB-4619 fix: rename settings alias resolver file

* CB-4619 fix: after review

* CB-4619 fix conflicts

* CB-4619 rename server property

* CB-4619 remove shortname property

* CB-4619 fix legacy product conf reading

* CB-4619 merge root and runtime configurations

* CB-4619 chore: remove log viewer setting

* CB-4619 integer fields with env variables fix

* CB-4619 fix: property naming

* CB-4619 fix: parseJSONFlat null values

* CB-4619 fix: settings loading

* CB-4619 fix: save only actual settings

---------

Co-authored-by: Aleksandr Skoblikov <aleksandr.skoblikov@dbeaver.com>
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-03-28 10:30:52 +00:00
8f01d49f5f CB-3563 cloudbeaver preference store (#2370)
* CB-3563 cloudbeaver preference store

* CB-3563 fix cb custom drivers folder

* CB-3563 fix default property initialization

* CB-3563 :feat adds proposal insert table setting to admins settings

* CB-3563 feat: sqlEditorService has field canInsertAlias

* CB-3563 adds plain keys to the settings

* CB-3563 removes redundant alias resolver for sqlEditor

* CB-3563 fix: sql editor ctrl + z does not cause an error while SQL script typing

* CB-3563 pr fixes

---------

Co-authored-by: s.teleshev <s.teleshev@mu.se>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2024-02-13 20:33:52 +03:00
Alexander Skoblikov 3891eed4a9 CB-4636 fix initial data configuration (#2358) 2024-02-09 14:24:18 +03:00
8ba0eb64b8 CB-4264 password policy configuration (#2301)
* CB-4491 password policy config api

* CB-4491 move policy config to sm

* CB-4491 cb config fix

* CB-4264 add password policy

* CB-4491 deserialization fix

* CB-4491 deserialization fix

* CB-4264 add title

* CB-4264 rename params

* CB-4264 fix naming

* CB-4264 accept any language

---------

Co-authored-by: naumov <iamemptyhuh@gmail.com>
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-01-17 19:26:01 +01:00
DenisSinelnikovandDaria Marutkina 41861efb8d CB-4331. Bruteforce protection (#2262)
* CB-4331. Bruteforce protection

* CB-4331. Bruteforce protection

* CB-4331. Update bruteforce protection

* CB-4331. Refactor after review

* CB-4331. Refactor after review

* CB-4331. Refactor after review

* CB-4331. Refactor after review

* CB-4331. Refactor after review

* CB-4331. Refactor after review

* CB-4331. Refactor after review

* CB-4331. Refactor after review

* CB-4331. Refactor after review

* CB-4331. Fix build

* CB-4331. Fixed typo

* CB-4331. Set default value without config

* CB-4331. Set default value without config

* CB-4331. Fixed AWS IAM and NTLM log in

---------

Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
2024-01-03 13:09:18 +01:00
alexandEvgenia Bezborodova 582924335c CB-4390 increase notifications pool to 20 (#2224)
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-12-15 11:37:24 +03:00
Alexander Skoblikov 4ea74d92f8 CB-4110 change default user team description (#2178) 2023-11-28 22:14:59 +03:00
dfd572aa4c CB-4173 configurable iam provider (#2126)
* CB-4174 configurable iam provider

* CB-4174 refactor: display only available auth providers

* CB-4174 refactor: display only available auth providers

* CB-4174 refactor: display only available auth providers

* CB-4174 chore: remove unused config properties

---------

Co-authored-by: Aleksei Potsetsuev <wrouds@gmail.com>
Co-authored-by: Evgenia Bezborodova <139753579+EvgeniaBzzz@users.noreply.github.com>
2023-11-15 20:12:53 +03:00
0610759ac2 CB-4049. Added support https on Jetty level (#2093)
* CB-4049. Added support https on Jetty level

* CB-4049. Update configuration files

* CB-4049. Added comments for SSl configuration

* CB-4049. Renamed configuration param

* CB-4049 use same port for ssl

---------

Co-authored-by: EvgeniaBzzz <139753579+EvgeniaBzzz@users.noreply.github.com>
Co-authored-by: Aleksandr Skoblikov <aleksandr.skoblikov@dbeaver.com>
2023-11-01 20:05:16 +03:00
Alexander Skoblikov 8f363f0cbe update logs pattern (#1674) 2023-05-18 16:23:57 +03:00
Alexander Skoblikov 268fc0deef CB-3419 te use new database deployment model (#1658)
* CB-3419 create internal db schema on start
2023-05-17 18:37:09 +03:00
Yaroslav Emelyanov 0a28421aaf CB-1577-H2-driver-update (#1538)
* CB-1577 H2 driver update

Implements migrator

* CB-1577 H2 driver update

Registers the h2_v2 driver

* CB-1577 H2 driver update

Reimplements migrator

* CB-1577 H2 driver update

Renames WorkPaths to WorkspacePaths

* CB-1577 H2 driver update

Updates default configs to use H2 v2

* CB-1577 H2 driver update

Implements config update

* CB-1577 H2 driver update

Fixes implementation

* CB-1577 H2 driver update

Updates h2 v2 driver version to latest

* CB-1577 H2 driver update

Fixes copyright

* CB-1577 H2 driver update

Changes logging level for cases where migration is not needed

* CB-1577 H2 driver update

Reverted 'driver' -> 'driverProvider' renaming

* CB-1577 H2 driver update

Changes the H2 v1 detection method to check files instead of a driver error.

* CB-1577 H2 driver update

Implements trace file backup;
Fixes url reload after migration

* CB-1577 H2 driver update

Updates the h2 filename in default configurations.

* CB-1577 H2 driver update

Fixes code style issues

* CB-1577 H2 driver update

Fixes constants naming

* CB-1577 H2 driver update

Fixes h2v2 url after migration

* CB-1577 H2 driver update

Fixes H2Migrator NPE
2023-04-04 14:44:39 +03:00
dec3c37e64 CB-2881 remove public permission (#1414)
* CB-2881 remove public permission

* CB-3035 add authRequired param for WebAction

* CB-3035 add authRequired param for WebAction

* CB-3035 add authRequired param for WebAction

* CB-2881 refactor: replace public permission with authentication check

* CB-3035 empty user permissions fix

* CB-2881 fix: validate resource keys

* CB-3035 user with no teams login fix

* CB-2881 remove user teams validation

* CB-2881 fix: check is connection is available in ResourceSqlDataSource

Co-authored-by: Aleksey Potsetsuev <wrouds@gmail.com>
Co-authored-by: kseniaguzeeva <112612526+kseniaguzeeva@users.noreply.github.com>
2023-01-26 14:58:08 +03:00
Ainur 2746a9b727 CB-2880 grant anonymous access after restart (#1327)
* CB-2880 grant anonymous access after restart
2022-12-16 21:21:54 +03:00
Ainur 7b2c42ef7c CB-2149 add parameter to conf file 2022-11-09 17:27:47 +01:00
Serge RiderandAleksandr Skoblikov a506a81c14 Cb 2714 federated auth claim role info (#1221)
* CB-2714 Datasource filter fix

* CB-2714 Subject meta model refactoring

* CB-2714 CB schema version incement

* CB-2714 Subject profiles model. Auth providers refactoring

* CB-2714 Web registry refactoring

* CB-2714 Web registry refactoring

* CB-2714 Federated auth refactoring

* CB-2714 Auth providers' meta properties

* CB-2714 Use identity extension. Code style.

* CB-2714 AD user login - fole/teams auto assign model

* CB-2714 Web session refresh fix for DE

* CB-2714 Teams auto-assign

* CB-2714 Teams and roles auto-assign (AD)

* CB-2714 Initial data config fix

* CB-2714 Filter distirbuted properties

* CB-2714 auto update user parameters in finish authorization

* CB-2714 fix auto auth role

Co-authored-by: Aleksandr Skoblikov <aleksandr.skoblikov@dbeaver.com>
2022-10-24 21:24:02 +03:00
Serge RiderandWroud 71cb02fdd7 CB-2657 Auth role + auth model refactoring + AD claims (#1208)
* CB-2657 Auth role + auth model refactoring + AD claims

* CB-2657 Auth role + auth model refactoring

* CB-2709 Rename roles into teams on BE

* CB-2709 Rename database teables and columns

* CB-2657 refactor: rename role to team

* CB-2709 Increase schema version

* CB-2709 API parameter rename

* CB-2657 fix(plugin-authentication-administration): team connection permissions

* CB-2709 Initial schema fix + tests debug logging enabled

* JDBC utils

* CB-2657 fix(plugin-connections-administration): connection access lazy loading

* CB-2709 Redundant code delete. User teams pre-read to avoid extra calls

* CB-2657 fix: localization

* CB-2657 localization: add localization for teams

Co-authored-by: Wroud <wroud@yandex.ru>
2022-10-12 17:22:07 +03:00
Ainur 5078102b39 CB-2089 add forwardProxy property to app configuration (#871) 2022-05-30 16:18:05 +03:00
Alexander Skoblikov 48a9abe157 CB-1859 update default log config (#857) 2022-05-26 09:12:23 +03:00
Alexander Skoblikov 0cc0660bda CB-2067 add resourceManagerEnabled config option (#846)
* CB-2067 add resourceManagerEnabled config option

* CB-2067 do not return extra nodes if rm disabled

* CB-2067 review fix
2022-05-24 19:18:50 +03:00
Ainur 58d360dd07 CB-1972 enabled auth providers in ce config (#801) 2022-04-28 16:58:15 +03:00
Ainur 39b4a0fdd4 CB-1927 rm file size limit (#790)
* CB-1927 rm file size limit

* CB-1927 add rm file size limit to conf file
2022-04-26 16:52:28 +03:00
Ainur 6357591945 CB-1936 return old clickhouse driver (#775) 2022-04-19 12:36:06 +03:00
Ainur dc711300d8 CB-1914 add resourceQuotas to gql schema (#769) 2022-04-15 11:34:04 +03:00
Ainur 722e8fd7a5 CB-1914 add binary value quotas to the configuration file (#765)
* CB-1914 add binary value quotas to the configuration file

* CB-1914 formatting the configuration file

* CB-1914 add default values to the resource quotas

* CB-1914 add default values to the resource quotas

* CB-1914 change default values of binary preview
2022-04-13 16:00:25 +03:00
serge-rider 9226afc230 Disabled drivers for EE and AWS products 2022-04-04 21:58:15 +03:00
Serge Rider 9e98477422 CB-1859 Suppress logback status logs 2022-03-31 12:06:58 +03:00
Serge Rider 64b3ae280b CB-1859 Slf4j configuration redesign + CE configuration deployment fix 2022-03-31 11:22:12 +03:00