Commit Graph

7400 Commits

Author SHA1 Message Date
Pravesh Sharma
fa64e8b38f
Fixed an issue where role properties were not loading. #7837 2024-09-24 11:59:05 +05:30
Akshay Joshi
fb6cca415d Updated yarn.lock 2024-09-23 17:02:24 +05:30
Akshay Joshi
b757d26933 1) Update JS and Python dependencies from Dependabot.
2) Added new release note file.
2024-09-23 16:33:20 +05:30
Dave Page
9f64f5b8db Copy liblz4 and libzstd libraries if present in the PostgreSQL build. 2024-09-20 11:47:43 +01:00
Khushboo Vashi
a0aa185518 Fixed a security issue where the OAuth2 client ID and secret exposed through the web browser (CVE-2024-9014). #7945 2024-09-20 08:45:37 +05:30
Ashesh Vashi
1f53baee8f
Fixed the dynamic column updation in the Unique & Primary Keys while creating a table.
* Updated the columns for the unique and primary keys while creating a table.
Use the 'editable' option for a Cell instead of 'disabled'.

* Don't need to define the hidden member as fields in GridHeaderSchema

* Updated the columns for the exclusion constraints while creating a
 table.

* Signaled the relevant field, when column options have changed, for all
the children of a table.

* Use current snapshot of data for the GrigFormHeadeer

* Fixed the styling for the search input box

* Don't check for the 'colOptions.editable' flag, as it could be
indirect call as well.
2024-09-19 18:57:09 +05:30
Comocen
6a79d0a195
Russian translation for version 8.12 2024-09-19 18:54:38 +05:30
Aditya Toshniwal
8fd5efaa84 Make sure ALLOW_SPECIAL_EMAIL_DOMAINS should also work for pgAdmin docker apps. #6222 2024-09-19 14:03:43 +05:30
Aditya Toshniwal
53cdc80df2 Add a new config variable - ALLOW_SPECIAL_EMAIL_DOMAINS to allow special domains for pgAdmin user emails. #6222 2024-09-19 10:51:06 +05:30
Anil Sahoo
38d4728333
Fixed an issue where the query is not getting executed after giving a password and connecting to the server on the not saved password server. #6502 2024-09-18 20:55:29 +05:30
Ashesh Vashi
b0cd028ff8
Fixed an issue introduced due to reloading of the tree due to changes in particular preferences (#7942)
* Fix an issue - when the object browser tree is being recreated due to reloading for changes in some of the preferences. Tree object returns object from the previous instance as 'selected', but - it does not have the 'treeNodeInfo' available. In this special case - we would consider that there is no node selected at that particular moment, and pass information accordingly.

* Fixed 'New Connection' dialog issue after connecting a disconnected server.

* Disable the 'Add' button in the GridHeader with form, when 'canAdd'
flag is set to false.

* Convert the access path to string array for correct comparision.

* Check the access path type before comparison.
When language is 'c', set the 'code' block read-only.

* Enabled 'Strict' control for EPAS >= 95
2024-09-18 20:55:01 +05:30
Aditya Toshniwal
100f59f78b Fixed an issue where "Quit App" confirmation modal in desktop app is not respecting "Confirm on close or refresh?". #7890 2024-09-18 16:43:57 +05:30
Aditya Toshniwal
23ea201325 Fixed an issue where graph visualizer pie chart was showing X axis, Y axis and grid lines. 2024-09-18 15:07:29 +05:30
Ashesh Vashi
441cc57bb8
Don't show 'Types of objects' for the 'Cluster' operation. Fixes #7884 2024-09-18 07:48:09 +05:30
Anil Sahoo
a361fd94ff
Fixed an issue where the query gets executed automatically when the query tool opened using Create Script, Schema Diff. 2024-09-18 07:47:20 +05:30
Akshay Joshi
acb0eb2141 Update version for release v8.12 2024-09-16 17:57:07 +05:30
Ashesh Vashi
315d1a40a4
Fixes issues #7884
* Introduced a 'exclude' option in the 'Field' to exclude it from the
change completely. Use the option 'exclude' to add field
'notNullColumns', which will be excluded from the data, but - can be
used to force rerender the 'Not Null Columns' select control on
change of it.

* Fixed the linter issue

* Rerender the cell as well, when dependent changes values. (#7884)

* Listen for the depenent changes even for the non-visible controls

* Use 'useRef' on every rendering to avoid the React 'Something wrong' page
2024-09-16 17:55:43 +05:30
Ashesh Vashi
92dd13e72a
Introduced a 'exclude' option in the 'Field' to exclude it from the change.
* Introduced a 'exclude' option in the 'Field' to exclude it from the
change completely. Use the option 'exclude' to add field
'notNullColumns', which will be excluded from the data, but - can be
used to force rerender the 'Not Null Columns' select control on
change of it.

* Fixed the linter issue
2024-09-16 15:28:33 +05:30
Ashesh Vashi
0d39e791c9
Fixed the import-export 'Not null columns' and User Management issue #7884 2024-09-16 13:12:41 +05:30
Akshay Joshi
53760dbf59 Fixed tree related issues. 2024-09-16 10:09:28 +05:30
Yogesh Mahajan
dd6f6cf1af
Support OIDC in OAuth2 authentication. #7839 2024-09-16 08:36:54 +05:30
Ashesh Vashi
5e96f0fd61
Fixes the Variable Schema UI issues and InlineView bug reported in #7884
* Show the icon for the 'Reset' button. (Reference #7884)

* Reload the server list after connecting to a server in the 'New
connection' dialog (QueryTool). (Reference: #7884)

* Pass the grid path during the bulk update (click on a radio action)

* Don't assign the cell value to the 'rowValue' variable.

* Don't rely on the 'optionsLoaded' for setting the variable types as it
is loaded asynchronously, and variable types data may not be available
while rendering the 'value' cell. (Fixes #7884)

* Fixed a type while checking for the 'inline-group'. fixes (#7884)

* 'vnameOptions' can be a Promise function too, hence - taken care accrodingly.

* Introduced a parameter 'reloadOnDepChanges' in the BaseSchemaUI field
to force reload the control on value change for one of the
dependencies.

* Reload on the components in case of dependent value changes.

* Introduced 'useSchemaStateSubscriber', which generates a state
subscriber mananager instance. It helps multiple subscribers in a
single control as we could have multiple subscribe within a control.
(For example - value, options, errors, etc).

* Fixed all the issues reported (#7884)
2024-09-16 00:04:37 +05:30
Domenico Sgarbossa
98d703645c
Italian translation for version 8.12 2024-09-16 00:02:41 +05:30
Libor M.
cead7b0a6f
Czech translation for version 8.12 2024-09-15 23:59:23 +05:30
Akshay Joshi
139d9e21da Update message catalogs for v8.12 2024-09-12 18:34:49 +05:30
Akshay Joshi
d81bd595aa Updated release note 2024-09-11 13:07:13 +05:30
Pravesh Sharma
ed211a2bbb
Fixed an issue where servers listed in the servers.json file were being reimported upon container restart. #7811 2024-09-11 13:06:31 +05:30
Ashesh Vashi
e21911b1c6
All the issues are fixed reported in #7884
* Show the icon for the 'Reset' button. (Reference #7884)

* Reload the server list after connecting to a server in the 'New
connection' dialog (QueryTool). (Reference: #7884)

* Pass the grid path during the bulk update (click on a radio action)

* Don't assign the cell value to the 'rowValue' variable.
2024-09-11 12:21:41 +05:30
Yogesh Mahajan
d3d1eb3355
Fixed issue of migrating tunnel password with new master password mechanism. #7076 2024-09-09 17:38:22 +05:30
Akshay Joshi
d8381918a7 Updated release note. 2024-09-09 14:35:41 +05:30
Ashesh Vashi
e9af0c3226
Improved the extendability of the SchemaView and DataGridView. (#7876)
Restructured these modules for ease of maintenance and apply the single
responsibility principle (wherever applicable).

* SchemaView

 - Split the code based on the functionality and responsibility.
 - Introduced a new View 'InlineView' instead of using the
   'nextInline' configuration of the fields to have a better, and
   manageable view.
 - Using the separate class 'SchemaState' for managing the data and
   states of the SchemaView (separated from the 'useSchemaState'
   custom hook).
 - Introduced three new custom hooks 'useFieldValue',
   'useFieldOptions', 'useFieldError' for the individual control to
   use for each Schema Field.
 - Don't pass value as the parameter props, and let the
   'useFieldValue' and other custom hooks to decide, whether to
   rerender the control itself or the whole dialog/view. (single
   responsibility principle)
 - Introduced a new data store with a subscription facility.
 - Moving the field metadata (option) evaluation to a separate place
   for better management, and each option can be defined for a
   particular kind of field (for example - collection, row, cell,
   general, etc).
 - Allow to provide custom control for all kind of Schema field.

* DataGridView

 - Same as SchemaView, split the DataGridView call into smaller,
   manageable chunks. (For example - grid, row, mappedCell, etc).
 - Use context based approach for providing the row and table data
   instead of passing them as parameters to every component
   separately.
 - Have a facility to extend this feature separately in future.
   (for example - selectable cell, column grouping, etc.)
 - Separated the features like deletable, editable, reorder,
   expandable etc. cells using the above feature support.
 - Added ability to provide the CustomHeader, and CustomRow through the
   Schema field, which will extend the ability to customize better.
 - Removed the 'DataGridViewWithHeaderForm' as it has been achieved
   through providing 'CustomHeader', and also introduced
   'DataGridFormHeader' (a custom header) to achieve the same feature
   as 'DataGridViewWithHeaderForm'.
2024-09-09 14:27:31 +05:30
Khushboo Vashi
e5012ea9c6 Add debug logs to observe the OpenID token response. 2024-09-04 19:46:40 +05:30
Yogesh Mahajan
306269af5d
Fix issues found while testing keyring changes. #7076 2024-09-02 19:32:25 +05:30
Khushboo Vashi
6563067892
Update release notes. 2024-09-02 15:09:34 +05:30
Anil Sahoo
8bae604129
Fix the query tool restore connection issue on the server disconnection from the left side object explorer. #6502 2024-09-02 15:06:11 +05:30
Aditya Toshniwal
f451f89d38 Cleanup yarn cache before bundling the installers to reduce size 2024-08-30 14:09:53 +05:30
Akshay Joshi
61413c1902 Update release note. 2024-08-30 12:27:03 +05:30
Pravesh Sharma
f88ca891fa
Added feature to restore preferences to their default values. #1900 2024-08-30 12:24:24 +05:30
Pravesh Sharma
445e89576b
Fixed an issue where users could not use pgAdmin if they did not have access to the management database. #7571 2024-08-30 12:13:47 +05:30
Aditya Toshniwal
1a1734cf5c Allow running non-continuous selected SQL code blocks in the query tool. #7293 2024-08-29 12:41:58 +05:30
Akshay Joshi
a0f7d0d50f Update JS and Python dependenies. 2024-08-29 10:35:51 +05:30
Yogesh Mahajan
c4dc839d7c
Fix issue found while testing keyring related changes. #7076 2024-08-28 11:46:04 +05:30
dependabot[bot]
f5c1cd9df8
Javascript dependency: Bump css-loader from 6.11.0 to 7.1.2 in /web
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 6.11.0 to 7.1.2.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v6.11.0...v7.1.2)

---
updated-dependencies:
- dependency-name: css-loader
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-27 11:39:48 +05:30
dependabot[bot]
177653370a
Javascript dependency: Bump @emotion/memoize from 0.7.5 to 0.9.0 in /web
Bumps [@emotion/memoize](https://github.com/emotion-js/emotion) from 0.7.5 to 0.9.0.
- [Release notes](https://github.com/emotion-js/emotion/releases)
- [Changelog](https://github.com/emotion-js/emotion/blob/main/CHANGELOG.md)
- [Commits](https://github.com/emotion-js/emotion/compare/@emotion/memoize@0.7.5...@emotion/memoize@0.9.0)

---
updated-dependencies:
- dependency-name: "@emotion/memoize"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-27 11:39:03 +05:30
dependabot[bot]
6bf522da0f
Python dependency: Bump python-mimeparse in /web/regression
Bumps [python-mimeparse](https://github.com/falconry/python-mimeparse) from 1.6.0 to 2.0.0.
- [Release notes](https://github.com/falconry/python-mimeparse/releases)
- [Commits](https://github.com/falconry/python-mimeparse/compare/1.6.0...2.0.0)

---
updated-dependencies:
- dependency-name: python-mimeparse
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-27 11:38:30 +05:30
dependabot[bot]
922603975f
Javascript dependency: Bump stylis from 4.3.3 to 4.3.4 in /web
Bumps [stylis](https://github.com/thysultan/stylis.js) from 4.3.3 to 4.3.4.
- [Commits](https://github.com/thysultan/stylis.js/commits)

---
updated-dependencies:
- dependency-name: stylis
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-27 11:37:49 +05:30
dependabot[bot]
7284f98c79
Javascript dependency: Bump electron-context-menu in /runtime
Bumps [electron-context-menu](https://github.com/sindresorhus/electron-context-menu) from 4.0.1 to 4.0.2.
- [Release notes](https://github.com/sindresorhus/electron-context-menu/releases)
- [Commits](https://github.com/sindresorhus/electron-context-menu/compare/v4.0.1...v4.0.2)

---
updated-dependencies:
- dependency-name: electron-context-menu
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-27 11:37:29 +05:30
dependabot[bot]
8bbc6ecdb8
Javascript dependency: Bump axios from 1.7.4 to 1.7.5 in /runtime
Bumps [axios](https://github.com/axios/axios) from 1.7.4 to 1.7.5.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.7.4...v1.7.5)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-27 11:37:08 +05:30
dependabot[bot]
7cbde91140
Javascript dependency: Bump eslint from 9.9.0 to 9.9.1 in /runtime
Bumps [eslint](https://github.com/eslint/eslint) from 9.9.0 to 9.9.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.9.0...v9.9.1)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-27 11:36:52 +05:30
Domenico Sgarbossa
5bdff56b8d
Italian translation update for v8.12 2024-08-23 10:41:48 +05:30