Commit Graph

497 Commits

Author SHA1 Message Date
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
Akshay Joshi
c56fe813a5 Use gettext to wrap some strings. 2022-04-29 16:18:28 +05:30
Pradip Parkale
a0c85431dc Ensure that the Dashboard column sort order should be remembered when the refresh button is clicked. Fixes #7339 2022-04-29 10:26:24 +05:30
Khushboo Vashi
a86a8c6a34 Fixed an issue while deploying the PostgreSQL on the BigAnimal, the Public IP addresses were not added. 2022-04-27 17:12:28 +05:30
Khushboo Vashi
7d91cca14d 1) Fixed linter error.
2) Fixed an issue where a password popup will appear on disconnecting from the server.
2022-04-26 18:16:33 +05:30
Khushboo Vashi
5677b1e5f8 Added capability to deploy PostgreSQL servers on EDB BigAnimal. Fixes #7179 2022-04-26 16:41:10 +05:30
Pradip Parkale
ab8e9a8ea5 Fixed an issue while creating a new database throwing an error that failed to retrieve data. Fixes #7322 2022-04-22 15:42:04 +05:30
Pradip Parkale
58e4f766d8 Fixed sorting issue in the statistics panel. Fixes #7299 2022-04-20 10:32:51 +05:30
Pradip Parkale
7d979fb196 1) Fixed an issue where deleting a constraint from the collection properties node, throws an error. Fixes #7296
2) The code to refresh the Dashboard after deleting session activities has been improved.
2022-04-11 17:42:16 +05:30
Pradip Parkale
efa971edb4 Ensure that after deleting multiple objects from the properties panel, the browser tree should be refreshed. Fixes #7296 2022-04-09 12:09:35 +05:30
Aditya Toshniwal
b5b9ee46a1 1) Port query tool to React. Fixes #6131
2) Added status bar to the Query Tool. Fixes #3253
3) Ensure that row numbers should be visible in view when scrolling horizontally. Fixes #3989
4) Allow removing a single query history. Refs #4113
5) Partially fixed Macros usability issues. Ref #6969
6) Fixed an issue where the Query tool opens on minimum size if the user opens multiple query tool Window quickly. Fixes #6725
7) Relocate GIS Viewer Button to the Left Side of the Results Table. Fixes #6830
8) Fixed an issue where the connection bar is not visible. Fixes #7188
9) Fixed an issue where an Empty message popup after running a query. Fixes #7260
10) Ensure that Autocomplete should work after changing the connection. Fixes #7262
11) Fixed an issue where the copy and paste row does not work if the first column contains no data. Fixes #7294
2022-04-07 17:36:56 +05:30
Akshay Joshi
8ce7ccb031 Fixed some issues related to z-index and color. 2022-04-05 14:26:40 +05:30
Pradip Parkale
8f8adcf71b 1 Fixed the issue where db connection was getting disconnected for dashboard, if network is slow.
2 Fixed publication collection node properties issue which was missed during react node porting.
3 Removed unwanted variable from theme style sheet.
2022-04-05 13:40:22 +05:30
Aditya Toshniwal
953a9d7fd1 Fixes some issues and improves the PgTable component. 2022-04-05 12:10:51 +05:30
Pradip Parkale
b397ba7787 Fixed issues related to porting of properties collection and dashboard.
refs #7132
2022-04-04 17:42:42 +05:30
Akshay Joshi
38278c179e Ensure that the master password dialog is popped up if the crypt key is missing. Fixes #6960 2022-04-04 17:00:18 +05:30
Pradip Parkale
cb052f1988 1) Port Properties panel for collection node, Dashboard, and SQL panel in React. Fixes #7132
2) Added transaction start time to Server activity sessions view. Fixes #7215
2022-03-30 12:06:59 +05:30
Akshay Joshi
1711834229 Fixed linter error. 2022-03-22 15:06:13 +05:30
Akshay Joshi
ba027e992e Ensure that the values of certain fields are prettified in the statistics tab for collection nodes. Fixes #7216 2022-03-22 14:53:12 +05:30
Nikhil Mohite
74e794b416 Port preferences dialog to React. Fixes #7149 2022-03-21 13:29:26 +05:30
Akshay Joshi
dccd4f0bba Ensure that upload paths are children of the storage directory. Fixes #7233 2022-03-11 18:20:16 +05:30
Khushboo Vashi
99c6b171e4 Fixed the default Public IP range in AWS deployment. 2022-03-11 14:33:30 +05:30
Akshay Joshi
24c0816042 Fixed an issue where the parent partition table was not displayed during autocomplete. Fixes #7105 2022-03-07 14:06:40 +05:30
Yogesh Mahajan
0f5a97fa6e AWS cloud deployment issues fixed:
1) A console error was logged for db version 9.6.1 due to an update to boto3
 2) Unmask Access Key Field.
 3) Update the supported database version list to include Postgres 10 and above.

refs #7177
2022-03-04 11:13:06 +05:30
Khushboo Vashi
69069e9af3 The following issues related to cloud deployment have been resolved:
- Masking the credentials input fields
- The loading symbol doesn't work while reloading the options in the select control
- Reduce the wizard opening timeout
- urllib library upgrade impacts host IP fetch

refs #7177
2022-03-02 19:04:15 +05:30
Khushboo Vashi
ffc1c6c3b7 Fixed following issues related to cloud deployment:
1) The Mumbai region issue has been resolved
2) Display name of regions has been modified appropriately
3) The password field has been validated the same way as AWS
4) Added support for a list of IP addresses in the public IP address range field.
2022-02-28 18:19:18 +05:30
Khushboo Vashi
448ede53c6 Fixed following issues related to cloud deployment:
1) No options are shown in the instance type.
  2) No options for the last 2 types.
  3) Unable to change Storage config - size and iops
  4) Unable to create an instance when pgAdmin is installed using the installer in Desktop mode
  5) Can not create cloud instance with the temporary credentials.
  6) Mapped region display name (hardcoded) with region code.
2022-02-18 14:37:05 +05:30
Khushboo Vashi
0fa4609220 1) Fixed API test cases for Utilities.
2) Try to fix Jenkins build for __pycache__.
2022-02-14 17:26:27 +05:30
Khushboo Vashi
e61a1045f5 Added capability to deploy PostgreSQL servers on Amazon RDS. Fixes #7177 2022-02-14 12:13:48 +05:30
Khushboo Vashi
a7ee4e5909 Acquire a lock regardless of the authentication sources while getting the database server connection. 2022-02-07 11:25:08 +05:30
Rahul Shirsat
444a364a8d Fixed an issue when uploading a CSV throwing an error in the Desktop mode. Fixes #7150 2022-02-04 15:10:13 +05:30