Yogesh Mahajan
33389fc48e
Fix feature test failures for PG servers.
2025-04-24 15:57:48 +05:30
Pravesh Sharma
b08e90ea88
Add support for type constructors for PostGIS spatial types. #2256
2025-04-23 15:35:42 +05:30
Aditya Toshniwal
280f0b0038
Revert "Rebase fork pgadmin-org/react-data-grid to get latest changes and update pgAdmin package.json"
...
It requires React 19.
This reverts commit 7307c52250 .
2025-04-21 15:12:27 +05:30
Aditya Toshniwal
7307c52250
Rebase fork pgadmin-org/react-data-grid to get latest changes and update pgAdmin package.json
2025-04-21 13:48:43 +05:30
Aditya Toshniwal
7d8a915ee0
Add support for custom roles and role permissions management in pgAdmin. #7310
2025-04-15 11:25:31 +05:30
Khushboo Vashi
8031c35160
Fixed an issue where the debugger hangs when stepping into nested function/procedure. #8443
2025-04-03 19:20:28 +05:30
Aditya Toshniwal
9ab451e163
Open user management in a separate tab instead of a dialog to enhance UI/UX. #8574
2025-03-25 12:33:49 +05:30
Aditya Toshniwal
7a25da9b06
Add support for restoring plain SQL database dumps. #5871
2025-03-05 18:22:44 +05:30
Rohit Bhati
7bae1eb663
Added support for creating Directory nodes in EPAS. #8034
2025-03-03 18:45:21 +05:30
Yogesh Mahajan
39f92ffae4
Fixed GUI test cases failures on Github actions.
2025-02-18 14:44:32 +05:30
Yogesh Mahajan
740a50680e
Fix the following SonarQube issues:
...
1. Do not use the Array index in keys
2. Visible, non-interactive elements with click handlers must have at least one keyboard listener.
3. Add replacement fields or use a normal string instead of an f-string.
4. Add a parameter to the parent lambda function
2025-02-13 11:56:10 +05:30
Pravesh Sharma
2fc65589c8
Add support for one to one relationship in the ERD tool. #5128
2025-02-10 14:40:20 +05:30
Yogesh Mahajan
ebeb768a53
Ensure the double-click event is listened to even if the user clicks after the label.
2025-01-30 10:26:11 +05:30
Yogesh Mahajan
5ee0328063
Fix an error during logout from pgAdmin when using OAuth2 authentication with the query tool open.
2025-01-22 21:05:06 +05:30
Akshay Joshi
84a8a522e3
1) Fixed an issue where Default Privileges and Privileges not working correctly. #8369
...
2) Fixed <br/> tag visible issue.
2025-01-22 19:40:13 +05:30
Yogesh Mahajan
98f6b1ff12
Ensure the double-click event is not ignored in the browser tree.
2025-01-20 11:21:21 +05:30
Akshay Joshi
1934a75eee
Updated Javascript packages.
2025-01-06 12:23:10 +05:30
Akshay Joshi
964d211260
Copyright updated for 2025
2025-01-01 11:26:42 +05:30
Rohit Bhati
8af25ba0c1
Change button labels and color in delete confirmation dialog for all objects to improve UX. #6513
2024-12-18 17:25:36 +05:30
Akshay Joshi
fe6e21a08b
Enhanced pgAdmin 4 with support for Workspace layouts. #7708
2024-12-16 14:52:56 +05:30
dependabot[bot]
a5a5503821
Python dependency: Bump selenium in /web/regression
2024-11-28 10:53:29 +05:30
Aditya Toshniwal
042888f5d7
Fixed an issue where ERD auto-layout should: #6592 ( #8167 )
...
- Always generate right-angled links
- Switch port to Left/Right for the best link route.
2024-11-22 16:26:50 +05:30
Yogesh Mahajan
026c0d2389
Ensure the crypt key is retrieved correctly on backend server restart. #8065
2024-11-21 15:55:38 +05:30
Aditya Toshniwal
9a8d520abd
Fix few issues found in menu rendering code and GUI test cases
2024-11-14 14:49:07 +05:30
Aditya Toshniwal
296befc881
Code refactoring at multiple places to improve re-usability
2024-11-14 14:16:38 +05:30
dependabot[bot]
2e098c487a
Python dependency: Bump selenium in /web/regression
2024-11-06 11:39:05 +05:30
Pravesh Sharma
2f4cae35bd
Updated the react-menu library from v2 to v4. #8061
2024-10-30 17:08:24 +05:30
Aditya Toshniwal
c6d7a0a8da
Add missing eslint React rules and fix the linter errors.
2024-10-01 16:32:04 +05:30
Aditya Toshniwal
6322674d98
Replace infinite scrolling with pagination in query tool data output for better UX and performance. #1780
2024-10-01 14:47:12 +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
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
Akshay Joshi
a0f7d0d50f
Update JS and Python dependenies.
2024-08-29 10:35:51 +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
Yogesh Mahajan
1257ec9969
Revamp the current password saving implementation to keyring and reducing repeated OS user password prompts. #7076
...
The new implementation will store the master password in the keyring instead of storing each and every server password separately. The master password will be used to encrypt/decrypt server password when storing in the pgAdmin config DB.
2024-08-22 16:44:57 +05:30
Ashesh Vashi
8cf316b853
Fixed some of the issues reported due to introduction of the custom hook 'useSchemaState'. #7776
2024-08-19 09:53:00 +05:30
Aditya Toshniwal
b00ea3cd99
Update release notes.
2024-08-14 11:12:30 +05:30
Ashesh Vashi
52af8d3e49
Introduce custom React Hook useSchemaState to simplify SchemaView component. #7776
...
Changes include:
- Simplify current SchemaView code
- Add ability to reuse the schema data & state management implementation outside the SchemaDialogView component.
- Further split components in small and manageable separate files.
- Removed the 'DepListenerContext' context as there was no need for separate context.
- Added a reload functionality in the 'useSchemaState'
- Changes in feature tests.
2024-08-02 09:59:01 +05:30
Akshay Joshi
636c224bd0
Updated JavaScript and Python packages according to Dependabot recommendations
2024-07-29 19:34:43 +05:30
Aditya Toshniwal
dcfef154ce
- Set the browser target to ES6 and reduce the JS bundle size considerably
...
- Upgrade ESLint to v9.x and migrate the .eslintrc.js file to make it work
2024-07-04 18:25:47 +05:30
Pravesh Sharma
10b2e91e29
Update react-diagrams library which is used in ERD to the latest version. #7644
...
Added patch for DataGridView failing when adding a new row.
2024-07-03 18:19:27 +05:30
Khushboo Vashi
4f415f9768
Added support for viewing PostgreSQL Server Logs in Text, CSV and JSON formats. #3981
2024-07-03 16:17:29 +05:30
Aditya Toshniwal
3bb9f0ba8c
Remove support for Python 3.7 as Debian 10 is EOL.
2024-07-01 12:39:12 +05:30
dependabot[bot]
754cd223c1
Python dependency: Bump selenium in /web/regression
...
Bumps [selenium](https://github.com/SeleniumHQ/Selenium ) from 4.21.0 to 4.22.0.
- [Release notes](https://github.com/SeleniumHQ/Selenium/releases )
- [Commits](https://github.com/SeleniumHQ/Selenium/compare/selenium-4.21.0...selenium-4.22.0 )
---
updated-dependencies:
- dependency-name: selenium
dependency-type: direct:production
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-06-27 13:23:57 +05:30
Aditya Toshniwal
feb3093c6d
Automatically apply virtualization in the DataGridView of SchemaView if the schema contains only one collection. #7607
2024-06-27 13:21:18 +05:30
Akshay Joshi
3be2221948
Ensure that pgAdmin 4 is compatible with PostgreSQL v17. #7537
2024-06-27 13:18:26 +05:30
Aditya Toshniwal
007c4840c2
Fix failing feature tests
2024-06-18 14:02:23 +05:30
Yogesh Mahajan
b0e7847962
Fixed bugs found while testing makeStyles JSS changes. #7363
2024-06-17 15:45:40 +05:30
Anil Sahoo
a946c70869
Fixed an issue where changing a column name should reflect in all the constraints in table object dialog and ERD table dialog. #7476
2024-06-17 14:07:45 +05:30
Akshay Joshi
5866da8194
Fixed SonarQube code smells.
2024-06-13 18:48:02 +05:30
Akshay Joshi
dea5335ce5
Fixed the following SonarQube code smells:
...
1) Do not use the Array index in keys.
2) Import from the same module should be merged.
3) Mutable variables should not be exported.
4) Variables should not be initialized to undefined.
5) startswith or endswith method should be used.
6) Unwrap this unnecessarily grouped subpattern.
Additionally, addressed many other SonarQube rules.
2024-06-12 18:09:06 +05:30
Aditya Toshniwal
056aff4742
Revert the changes done for removing support for Python 3.7
2024-06-12 16:23:27 +05:30
dependabot[bot]
bc3052ed1b
Python dependency: Bump testtools from 2.7.1 to 2.7.2 in /web/regression
...
Bumps [testtools](https://github.com/testing-cabal/testtools ) from 2.7.1 to 2.7.2.
- [Release notes](https://github.com/testing-cabal/testtools/releases )
- [Changelog](https://github.com/testing-cabal/testtools/blob/master/NEWS )
- [Commits](https://github.com/testing-cabal/testtools/compare/2.7.1...2.7.2 )
---
updated-dependencies:
- dependency-name: testtools
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-06-12 11:44:31 +05:30
Akshay Joshi
8857f0d179
Fix SonarQube code smells:
...
1) String literals should not be duplicated.
2) Prefer using an optional chain expression instead, as it's more concise and easier to read.
3) Expected the Promise rejection reason to be an Error.
2024-06-10 18:04:32 +05:30
Akshay Joshi
b3cf9ce185
Unpin dnspython from 'regression/requirements.txt' as eventlet issue is fixed.
2024-06-07 17:52:46 +05:30
dependabot[bot]
18deb16e36
Python dependency: Bump pbr from 5.11.1 to 6.0.0 in /web/regression
...
Bumps [pbr](https://docs.openstack.org/pbr/latest/ ) from 5.11.1 to 6.0.0.
---
updated-dependencies:
- dependency-name: pbr
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-06-07 16:53:22 +05:30
dependabot[bot]
bc1a2a0b4d
Python dependency: Bump selenium in /web/regression
...
Bumps [selenium](https://github.com/SeleniumHQ/Selenium ) from 4.19.0 to 4.21.0.
- [Release notes](https://github.com/SeleniumHQ/Selenium/releases )
- [Commits](https://github.com/SeleniumHQ/Selenium/compare/selenium-4.19.0...selenium-4.21.0 )
---
updated-dependencies:
- dependency-name: selenium
dependency-type: direct:production
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-06-07 16:39:53 +05:30
dependabot[bot]
c6739ebd6b
Python dependency: Bump dnspython from 2.3.0 to 2.6.1 in /web/regression
...
Bumps [dnspython](https://github.com/rthalley/dnspython ) from 2.3.0 to 2.6.1.
- [Release notes](https://github.com/rthalley/dnspython/releases )
- [Changelog](https://github.com/rthalley/dnspython/blob/main/doc/whatsnew.rst )
- [Commits](https://github.com/rthalley/dnspython/compare/v2.3.0...v2.6.1 )
---
updated-dependencies:
- dependency-name: dnspython
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-06 18:11:47 +05:30
Yogesh Mahajan
cc999ae5a5
Remove the usage of MUI makeStyles as it doesn't support React 18. #7363
2024-06-06 17:13:12 +05:30
Anil Sahoo
6690b16f8a
Added support for executing the query at the cursor position in the query tool. #6841
2024-05-27 16:11:59 +05:30
Aditya Toshniwal
dd45f06d50
Added support for viewing PGD Clusters. #7215
2024-05-20 16:54:49 +05:30
Aditya Toshniwal
d6a9f8a06c
Fixed issues found in testing of react-table upgrade changes. #7419
...
UI fixes and improvement in System Stats Dashboard.
2024-05-20 10:41:55 +05:30
Aditya Toshniwal
5ec6faff13
Upgrade react-table from v7 to v8. #7419
2024-05-07 16:31:04 +05:30
Aditya Toshniwal
b85d8c1446
Changes in Query Tool, Debugger, and ERD Tool shortcuts to remove the use of Accesskey which will allow them to be customized. #7192
2024-05-06 11:15:44 +05:30
Pravesh Sharma
e18a8bf620
Fixed issue found during testing of #7163 .
2024-04-29 13:12:21 +05:30
dependabot[bot]
db23330939
Python dependency: Bump selenium in /web/regression ( #7325 )
...
Bumps [selenium](https://github.com/SeleniumHQ/Selenium ) from 4.10.0 to 4.19.0.
- [Release notes](https://github.com/SeleniumHQ/Selenium/releases )
- [Commits](https://github.com/SeleniumHQ/Selenium/compare/selenium-4.10.0...selenium-4.19.0 )
---
updated-dependencies:
- dependency-name: selenium
dependency-type: direct:production
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-04-18 14:03:28 +05:30
Yogesh Mahajan
102e0a9839
- Update MUI v4 to v5
...
- Remove the SCSS dependency completely and use MUI for theming.
- Update - date-fns, @date-io, notistack. Remove - popper.js, sass-loader.
- Cleanup webpack config.
- Port PSQL tool to use MUI themes instead of SCSS theme.
- Theme change will reflect realtime without refreshing pgAdmin.
2024-04-09 08:21:14 +05:30
Aditya Toshniwal
c0a1429664
Fix failing feature tests
2024-03-26 11:20:04 +05:30
Akshay Joshi
097b630738
Added support for EDB Job Scheduler. #7098
2024-03-18 11:53:59 +05:30
Aditya Toshniwal
7374997425
Fix an issue in table dialog where changing column name was not syncing table constraints appropriately. #7229
2024-03-08 11:45:32 +05:30
Aditya Toshniwal
b5bd236387
Fix edit menu related issues of query tool codemirror
2024-02-21 15:54:57 +05:30
Aditya Toshniwal
d3ede3151a
Upgrade CodeMirror from version 5 to 6. #7097
2024-02-21 11:15:25 +05:30
Yogesh Mahajan
5a74022e8a
Allow preferences customization using a configuration file. #6058
2024-02-15 14:58:31 +05:30
Akshay Joshi
639a28fbfc
Fixed code smell 'Prefer using an optional chain expression instead, as it's more concise and easier to read'.
2024-01-25 16:51:40 +05:30
Akshay Joshi
0e0cbc40b8
Fixed SonarQube code smell Replace the unused local variable with '_'.
2024-01-24 18:33:43 +05:30
Akshay Joshi
30509d1bc1
Added copy server support, allowing the duplication of existing servers with the option to make certain modifications. #6085 ( #7106 )
...
Added copy server support, allowing the duplication of existing servers with the option to make certain modifications. #6085
2024-01-08 12:16:49 +05:30
Akshay Joshi
740ce15bd7
Update copyright notices for 2024
2024-01-01 14:13:48 +05:30
Aditya Toshniwal
6d399f4fd7
Explicitly set max_connections to 100 for Python test cases to fit Git action MacOS test cases
2023-12-25 12:04:10 +05:30
Khushboo Vashi
0d287df6dd
Administer pgAdmin Users and Preferences Using the Command Line Interface (CLI). #2483
2023-12-21 12:07:26 +05:30
Akshay Joshi
a22b2a6074
Added keep-alive support for SSH sessions when connecting to a PostgreSQL server via an SSH tunnel. #7016
2023-12-19 16:16:03 +05:30
Nikhil Mohite
04580652ab
Allow users to convert View/Edit table into a Query tool to enable editing the SQL generated. #5908
2023-12-19 15:52:57 +05:30
Khushboo Vashi
adab656a79
Fixes for Python 3.12 compatibility:
...
- Upgrade testtools package
- Use platstdlib instead of stdlib to get the path
2023-12-18 13:27:05 +05:30
Anil Sahoo
4b71519b80
Rename all references of 'Execute query' to 'Execute script' to be more relevant. #6842
2023-12-04 12:28:53 +05:30
Aditya Toshniwal
96fccd28a9
Upgrade Flask, Flask-SQLAlchemy, Flask-WTF, Flask-Babel, Flask-Security-Too, WTForms, Werkzeug and keep backward compatibility with Python 3.7
2023-11-03 18:19:01 +05:30
Akshay Joshi
9eb7c1cbea
1) Ensure that eventlet's subprocess is used for Python versions up to 3.11 and await the issue resolution for Python versions 3.12.
...
2) Fixed unescape sequence for Python 3.12
2023-11-02 16:03:50 +05:30
Aditya Toshniwal
3bcac26ff9
Fix multiple UI and SonarQube issues found when testing wcDocker changes. #6479
2023-10-26 12:06:28 +05:30
Aditya Toshniwal
862f101772
Significant changes to use ReactJS extensively.
...
1. Replace the current layout library wcDocker with ReactJS based rc-dock. #6479
2. Have close buttons on individual panel tabs instead of common. #2821
3. Changes in the context menu on panel tabs - Add close, close all and close others menu items. #5394
4. Allow closing all the tabs, including SQL and Properties. #4733
5. Changes in docking behaviour of different tabs based on user requests and remove lock layout menu.
6. Fix an issue where the scroll position of panels was not remembered on Firefox. #2986
7. Reset layout now will not require page refresh and is done spontaneously.
8. Use the zustand store for storing preferences instead of plain JS objects. This will help reflecting preferences immediately.
9. The above fix incorrect format (no indent) of SQL stored functions/procedures. #6720
10. New version check is moved to an async request now instead of app start to improve startup performance.
11. Remove jQuery and Bootstrap completely.
12. Replace jasmine and karma test runner with jest. Migrate all the JS test cases to jest. This will save time in writing and debugging JS tests.
13. Other important code improvements and cleanup.
2023-10-23 17:43:17 +05:30
Aditya Toshniwal
6ba9c192ce
Fix failing JS test cases after scale related commit. #6851
2023-10-11 16:31:02 +05:30
Aditya Toshniwal
5981f4bd13
In GUI tests, do not try to set the binary path in preferences if it is blank
2023-10-09 12:42:52 +05:30
Yogesh Mahajan
3cd547f879
Implement column node and its features for foreign table. #640 , #6373 , #6674
2023-09-26 15:03:03 +05:30
Nikhil Mohite
aa973fc8ae
Added support to select/deselect objects in the Backup dialog. #642
2023-09-13 11:07:28 +05:30
Pravesh Sharma
a43b70e360
1. Added USING method while creating the table. #6378
...
2. Added USING method while creating the materialized view. #6400
2023-09-06 11:22:30 +05:30
Akshay Joshi
c0b868b53b
Added Strategy, Locale Provider, ICU Locale, ICU Rules, and OID options while creating a database. #6383
2023-09-04 16:03:06 +05:30
Akshay Joshi
77467209c2
1) Added release note for v7.7
...
2) Added exception handling while removing the test database file.
2023-08-25 11:14:54 +05:30
Yogesh Mahajan
34f160cec7
Allow changing the POOL_SIZE and MAX_OVERFLOW config values of the pgAdmin config DB connection pool. #6208
2023-08-16 15:29:11 +05:30
Pravesh Sharma
27c7ea2ff1
Added all like options while creating a table. #6377
2023-08-07 11:20:04 +05:30
Aditya Toshniwal
3ba73ab1d9
Update axios to the current latest version(1.4.0)
2023-08-01 13:04:06 +05:30
Anil Sahoo
7d7b8a71c1
1. Added Expression to CREATE INDEX. #2595
...
2. Added support for ALTER INDEX column statistics. #6375
2023-08-01 12:37:47 +05:30
Akshay Joshi
9ab36b0269
Fixed PEP8
2023-07-27 18:18:39 +05:30
Akshay Joshi
b4e6d8c6d7
1) Fixed feature tests failed due to maintenance changes.
...
2) Update release note.
2023-07-27 18:15:36 +05:30
Akshay Joshi
a460644ae8
1) Added support for SYSTEM, CONCURRENTLY and TABLESPACE options in REINDEX. #6381
...
2) Added new/missing options to the VACUUM command. #6397
3) Added SKIP_LOCKED and BUFFER_USAGE_LIMIT option to Analyze command. #6415
2023-07-27 17:34:25 +05:30