Commit Graph

527 Commits

Author SHA1 Message Date
Yogesh Mahajan
a8a7574e69
Fixed circular import error occurring while deploying cloud PostgreSQL instance from pgAdmin. #6840
Update AWS, Google Cloud lib version.
2023-10-31 14:07:34 +05:30
Aditya Toshniwal
e30d2eca90 Continue fixing multiple UI and SonarQube issues found when testing wcDocker changes. #6479 2023-10-30 16:57:01 +05:30
Aditya Toshniwal
4bc6dcca67 Fix the sorting of size on the statistics panel. #6459 2023-10-30 11:23:46 +05:30
Aditya Toshniwal
b11b2a2f50 Continue fixing multiple UI and SonarQube issues found when testing wcDocker changes. #6479 2023-10-27 15:51:45 +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
35f05e49b3
Fix the security issue of validate bin path to consider and fix more scenarios. #6763 2023-09-20 11:17:07 +05:30
Aditya Toshniwal
02ecc82e73
Fix a security related issue where an authenticated user can run remote command using validate binary path API (CVE-2023-5002). #6763 (#6764) 2023-09-18 14:01:11 +05:30
Aditya Toshniwal
a1c7265c41
Fix PEP8 issues with latest pycodestyle (#6636) 2023-07-31 18:14:39 +05:30
Yogesh Mahajan
39d70a94a6
Ensure user gets proper error if incorrect credentials are entered while authenticating AWS. #6406 2023-07-20 16:56:17 +05:30
Akshay Joshi
def1f31ba8 Ensure that Backup, Restore, and Maintenance should work properly when pgpass file is used. #6499 2023-07-11 15:34:27 +05:30
San Lin Naing
16a0950f63
Fix an issue where adding a sub-folder inside a folder is not working as expected. #6544 2023-07-10 18:32:21 +05:30
Yogesh Mahajan
cb7fd7106c
Enable cluster deployment with gp3 volume for AWS & BigAnimal cloud providers. #6323 2023-07-10 11:22:24 +05:30
Akshay Joshi
557f33c4f9
Added support to drop databases using the 'WITH (FORCE)' option. #6367 2023-06-19 15:04:40 +05:30
Akshay Joshi
251bf05692 Fixed the following SonarQube code smells:
1) Do not use Array index in keys.
2) Unnecessary escape character.
3) Rename this local variable to match the regular expression ^[_a-z][a-z0-9_]*$
4) Remove the unused local variable.
2023-06-12 18:44:31 +05:30
Akshay Joshi
7e3a932890 Fixed SonarQube Bugs 2023-06-09 15:28:46 +05:30
Akshay Joshi
87c1023c4f Use dependent instead of dependant in the message. #6278 2023-05-22 11:38:19 +05:30
Yogesh Mahajan
8428df97ca
Fixed the error occurring while postgresql cloud instance deployment on AWS RDS. 2023-04-28 15:16:22 +05:30
Aditya Toshniwal
ed941b5b95
Fix a SQL error occurring on roles dependents SQL. #6128 2023-04-20 10:18:00 +05:30
Nikhil Mohite
48839983fd
Updated config file documentation for shared storage and While doing save as operation, ensure the error message is shown if access is restricted in shared storage #5014 2023-03-29 13:49:32 +05:30
Yogesh Mahajan
fc0e36b313
Removed old path library used to validate client secret path while google authentication. #5750 2023-03-28 11:27:16 +05:30
Yogesh Mahajan
501bff6f7a
Ensure google authentication can be completed successfully, while pgAdmin is running in behind proxy servers. #5750 2023-03-28 11:07:41 +05:30
Nikhil Mohite
b429a38176
Fixed shared storage file accessibility issues in import/export servers and cloud deployment. #5014 2023-03-24 16:27:02 +05:30
Yogesh Mahajan
40013fb26c
Added support of BigAnimal v3 API. #5805 2023-03-24 16:07:02 +05:30
Yogesh Mahajan
58aca506fe
Fixed error occurring while authentication in Google Cloud SQL deployment wizard in server mode. #5750 2023-03-24 15:50:37 +05:30
Nikhil Mohite
e4eeba2aa7
Fixed the UI related issues reported during testing for Shared Storage in Server Mode. #5014 2023-03-24 11:08:27 +05:30
Yogesh Mahajan
a026353df8
Fixed the UI related issues reported during testing for Google Cloud SQL deployment. #5750 2023-03-23 11:51:21 +05:30
Yogesh Mahajan
1b327d1997
Fix issues reported during testing. #5750 2023-03-20 18:22:16 +05:30
Pravesh Sharma
a9399030f4
Fixed issue where pgAgent jobs were not getting dropped from properties tab #5834 2023-03-17 17:43:42 +05:30
Yogesh Mahajan
63c7d14638
Added capability to deploy PostgreSQL servers on Google Cloud. #5750 2023-03-13 14:56:16 +05:30
Nikhil Mohite
79de2ad571
Fixed jasmine test cases. 2023-03-08 11:20:39 +05:30
Nikhil Mohite
9da8a188fa
Added support for mounting shared storage in server mode. #5014 2023-03-06 17:03:47 +05:30
Matěj Cepl
7a4951f211
Remove dependency on simplejson package. 2023-02-15 11:10:12 +05:30
Aditya Toshniwal
713ddb5f62
Remove usage of jQuery in pgAdmin.
Remove usage of Bootstrap in React components. #5701
2023-02-10 10:28:39 +05:30
Khushboo Vashi
7a18ceab64
Fixed the server heartbeat logging issue when server is removed. #5567 2023-01-30 15:39:34 +05:30
Akshay Joshi
a7cf698d09
1) Added support for setting PostgreSQL connection parameters. #4728
2) Fixed an issue where Kerberos authentication to the server is not imported/exported. #5732
3) Increase the length of the value column of the setting table. #5746
4) Upgrade Flask-Migrate to 4.0.0. #5525
2023-01-23 17:19:59 +05:30
Khushboo Vashi
6ae91592d1
Fix orphan database connections resulting in an inability to connect to databases. #5567 2023-01-19 15:57:02 +05:30
Aditya Toshniwal
53ae657cc9
Fix menu closing issue on file manager. #5615
Fix file path issue in import/export servers caused due to vulnerability fix.
2023-01-16 19:28:23 +05:30
Khushboo Vashi
9ff015e73c
Added support of AWS provider for BigAnimal cloud deployment. #5569 2023-01-09 12:32:26 +05:30
Akshay Joshi
98184e5835 Update copyright notices for 2023 2023-01-02 11:53:55 +05:30
Khushboo Vashi
5d9bcde50d
Fix BigAnimal API v2 compatibility issue for checking the cluster creation permission. 2022-12-21 18:22:05 +05:30
Akshay Joshi
799b6d8f7c Use the login_required decorator in the appropriate place. #5593 2022-12-13 16:26:35 +05:30
Khushboo Vashi
d9fba3a186
Ignore SQLAlchemy vulnerability as it is ignored by the upstream too.
Fix BigAnimal database versions by type. #5637
2022-12-13 15:57:43 +05:30
Khushboo Vashi
bb07d36963
Fixed BigAnimal authentication aborted issue. #5629 2022-12-12 14:23:25 +05:30
Aditya Toshniwal
2fca1033a0
Ensure that table statistics are sorted by size. #5564 2022-12-05 10:50:45 +05:30
Akshay Joshi
461849c276 Ensure that only authorized and authenticated users can validate binary paths (CVE-2022-4223). #5593 2022-11-30 12:02:45 +05:30
Pravesh Sharma
a824d9dd59
Improved error message to make it easier for users to understand. #5539 2022-11-29 18:15:46 +05:30
Khushboo Vashi
6442854fb5
Update the BigAnimal API version to V2. #5147 2022-11-24 10:49:42 +05:30
Mark Mayo
41508f7f67
python 3 updates
- Fix super() calls for python 3
- No need to inherit objects.
- No need for u at the start of strings
- Tidied up some brackets and f-strings too
2022-11-19 10:13:41 +05:30
Akshay Joshi
e17c50d304
Added support for storing configurations of pgAdmin in an external database. #1832 2022-10-20 16:18:41 +05:30
Khushboo Vashi
e3a172e0e8
Fixed the cross-site scripting vulnerability. #5405 2022-10-06 17:30:41 +05:30
Yogesh Mahajan
af97ed78ef
Fixed an exception occur while taking backup and SSL certificates/keys are not found in the specified path. #5133 2022-10-04 11:01:27 +05:30
Akshay Joshi
0b6b2e733a 1) Remove Python's 'Six' package completely. #5357
2) Replace deprecated @abstractproperty with @property, @abstractmethod.
2022-09-26 12:47:31 +05:30
Nikhil Mohite
fc8d6d6e90
Fixed the issue while downloading the file from file manager. #5368 2022-09-26 12:10:56 +05:30
Yogesh Mahajan
83e2ee04d1 Added high availability options to AWS deployment. #5304 2022-09-22 14:59:42 +05:30
Yogesh Mahajan
d38d0ce805 1) Fixed the error message displayed when clicking the cloud server for which deployment is in progress. Fixes #5144
2) Ensure that if big animal authentication is aborted, API calls should be stopped. Fixes #5275
2022-09-15 18:44:07 +05:30
Khushboo Vashi
40e0175ee5 Added the verification of region id for BigAnimal deployment. 2022-09-14 15:10:21 +05:30
Aditya Toshniwal
2de965d710 1. Use EDB's repo for react-data-grid instead of the personal repo.
2. Improved searching in the Search Objects.
3. Fixed react warnings in the query tool.
4. Fixed some SonarQube issues.
2022-09-13 19:13:33 +05:30
Aditya Toshniwal
b128ba2f57 Fixed a couple of SonarQube issues. 2022-09-10 14:04:28 +05:30
Nikhil Mohite
d967d5046d Fixed 'Remove the unused function parameter' code smell. 2022-09-09 18:36:51 +05:30
Akshay Joshi
b73aa6d000 Fixed 'Remove the unnecessary boolean literals' code smell 2022-09-08 20:28:43 +05:30
Akshay Joshi
b8f63adf41 Fixes following code smell reported by SonarQube:
1) Replace this if-then-else flow by a single return statement
 2) Remove the unnecessary boolean literals.
2022-09-08 19:56:02 +05:30
Akshay Joshi
7086719640 Fixed SonarQube issues. 2022-09-08 18:08:58 +05:30
Akshay Joshi
18b77f15dd Remove Alertify from pgAdmin completely. Fixes #7619 2022-09-08 15:16:48 +05:30
Yogesh Mahajan
9a317f3ba6 Fixed an issue where backup does not work due to parameter 'preexec_fn' no longer being supported. Fixes #7580 2022-09-02 13:12:58 +05:30
Akshay Joshi
72f819ec67 Ensure that the dump servers functionality works from setup.py. Fixes #7644 2022-08-31 14:28:48 +05:30
Akshay Joshi
e58b9c767b Port search object dialog to React. Fixes #7622 2022-08-30 17:08:12 +05:30
Yogesh Mahajan
71a4b20d90 Fixed some SonarQube issues. 2022-08-30 14:21:33 +05:30
Dave Page
37082a955b Sonarqube fixes. 2022-08-26 10:07:59 +01:00
Aditya Toshniwal
09e2c0eac0 1. Explain plan crashes query tool after SonarQube fixes.
2. Fix XSS issue in query tool.
3. Process details for cloud process not showing complete command.
4. Confirm dialog before removing processes.
2022-08-18 18:42:03 +05:30
Yogesh Mahajan
f873ab5374 1) Ensure that the next button should be disabled if the password did not match for Azure deployment. Fixes #7616
2) Fixed an issue where Azure cloud deployment failed. Fixes #7617
2022-08-18 18:39:52 +05:30
Khushboo Vashi
8bcd1e4e60 Strings are wrapped into gettext in the Dashboard and Cloud modules. 2022-08-18 13:41:27 +05:30
Aditya Toshniwal
306b184e11 1. Fixed an issue where Alt-Shift-Q didn't work after creating a new query. Fixes #7575
2. Fixed an issue where the Query Editor loses focus when saving a query (Alt+s). Fixes #7521
3. Ensure that an error is thrown if clipboard access is not provided and change the copy rows shortcut. Fixes #7452
2022-08-17 17:23:44 +05:30
Dave Page
c8ef4733d0 Various minor string fixes. 2022-08-17 12:47:13 +01:00
Aditya Toshniwal
b12c1f8740 1. Stop process of Process details dialog not working.
2. When a server of an in progress cloud deployment is expanded, it is throwing a failed error.
3. Close the process notification on clicking View Processes.

Fixes #3709
2022-08-16 17:58:02 +05:30
Khushboo Vashi
ae5254e8a9 Fixed an issue where the cloud deployment wizard creates the cluster with the
High Availability even if that option is not selected. Fixes #7608
2022-08-14 07:14:10 +05:30
Aditya Toshniwal
7bd0d55c83 Fixed Security Hotspot reported by SonarQube. 2022-08-12 17:14:15 +05:30
Akshay Joshi
084203debc Fixed Securtiy Hotspot reported by SonarQube. 2022-08-12 17:10:26 +05:30
Aditya Toshniwal
c2b23465cc 1) Added support to show all background processes in separate panel. Fixes #3709
2) Port process watcher to React. Fixes #7404
2022-08-11 10:49:45 +05:30
Aditya Toshniwal
f5793e9a7a Fixed SonarQube issues. 2022-08-09 15:42:16 +05:30
Akshay Joshi
d1c94ac73d Fixed SonarQube issues. 2022-08-05 18:58:03 +05:30
Yogesh Mahajan
fa6b77b42c Port Role Reassign dialog to React. Fixes #7344 2022-08-05 16:04:15 +05:30
Yogesh Mahajan
4c6e7d4f4f Fixed an issue with the error message being displayed at the right place for Azure deployments. Fixes #7497 2022-08-05 14:11:17 +05:30
Akshay Joshi
81b0d1138b Remove Alertify dialog from Grant Wizard, Import/Export Servers and Cloud. 2022-07-28 10:14:04 +05:30
Aditya Toshniwal
4808df5e95 1) Port the file/storage manager to React. Fixes #7313
2) Allow users to delete files/folders from the storage manager. Fixes #4607
3) Allow users to search within the file/storage manager. Fixes #7389
4) Fixed an issue where new folders cannot be created in the save dialog. Fixes #7524
2022-07-19 15:27:47 +05:30
Yogesh Mahajan
8f2bda2309 1) Preserve the settings set by the user in the import/export data dialog. Fixes #7428
2) Fixed the JSON editor issue of hiding the first record. Fixes #7520
2022-07-18 10:54:03 +05:30
Yogesh Mahajan
59f5c0d955 Added support for Azure PostgreSQL deployment in server mode. Fixes #7522 2022-07-06 11:43:49 +05:30
Fahar Abbas
ed59584fe4 Fixed typo error for Statistics on the table header. Fixes #7523 2022-07-01 14:58:45 +05:30
Aditya Toshniwal
cb635f6706 Removing dynamic module loading and replacing it with static loading. Fixes #7492
Gets rid of all occurrences and usage of get_own_javascripts since it is no longer used.
2022-06-30 11:06:50 +05:30
Yogesh Mahajan
64e1e004ae Disables Azure PostgreSQL cloud deployment in Server mode.
refs #7506
2022-06-28 18:48:41 +05:30
Yogesh Mahajan
d4657dcd32 Fixed module import issue.
refs #7506
2022-06-28 11:28:55 +05:30
Yogesh Mahajan
659009c1de Fixed permission denied error when deploying PostgreSQL in Azure using Docker. Fixes #7506 2022-06-27 19:36:20 +05:30
Yogesh Mahajan
23869cd61f Fixed an issue where users would not be able to authenticate in Azure on Linux platforms. Fixes #7495 2022-06-23 18:19:32 +05:30
Yogesh Mahajan
7e1e068370 Added capability to deploy PostgreSQL servers on Microsoft Azure. Fixes #7178 2022-06-15 11:22:42 +05:30
Khushboo Vashi
48336fd7f4 Fixed an issue when deploying instances on BigAnimal with the High Availability option not selected, it throws an error. 2022-06-15 11:00:40 +05:30
Pradip Parkale
628e609e6a 1) Added the option 'Show template databases?' to display template databases regardless of the setting of 'Show system objects?'.
2) Ensure that the user should be able to create a template database using create dialog instead of updating it later.

Fixes #7351
2022-06-13 14:50:17 +05:30
Khushboo Vashi
e1c5a06bf0 Fixed some cloud deployment issues:
- Added High Availability option
 - Server group renamed to pgAdmin server group
 - Removed the Private option from Networking otherwise, it would not be possible to connect the server from pgAdmin.
2022-06-09 14:07:05 +05:30
Pradip Parkale
f7836b67af Fixed the loader issue for the Statistics and Properties panel. Fixed column resizing for dependent and dependencies panels.
refs #7364
2022-05-30 12:58:24 +05:30
Khushboo Vashi
345cfd7c60 Ensure that unwanted APIs should not be getting called for BigAnimal. Fixes #7368
Updated the BigAnimal icon.
2022-05-24 11:34:23 +05:30
Pradip Parkale
11cfea3860 Added the ability to resize columns on dashboard tables. Fixes #7364 2022-05-18 17:49:54 +05:30