Commit Graph

1634 Commits

Author SHA1 Message Date
Akshay Joshi
3b95a416ca Fixed 'Remove the unnecessary boolean literals' code smell. 2022-09-09 15:23:18 +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
Aditya Toshniwal
0f46f070ed Port the remaining components of the ERD Tool to React. Fixes #7343
1. Make use of MUI styles and remove SCSS.
2. Use the new common components for buttons and tooltips, so that they are consistent.
3. UI design should be aligned with the query tool.
4. Remove tippyjs and Alertify dependencies.
2022-09-06 18:09:13 +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
Yogesh Mahajan
41a3345101 Fixed an issue where the cursor was not visible in the code tab of the trigger dialog. 2022-08-23 18:45:43 +05:30
Akshay Joshi
56e2c9db97 Ensure that If the trigger function definition is changed, drop and recreate the trigger in the schema diff. Fixes #7630 2022-08-22 11:56:11 +05:30
Akshay Joshi
e455114441 1) Fixed column "none" does not exist issue, while comparing schema objects. Fixes #7591
2) Fixed an issue where schema diff did not pick up the change in RLS policy. Fixes #7596
3) Ensure that schema diff maintains view ownership when view definitions are modified. Fixes #7611
2022-08-18 13:40:28 +05:30
Akshay Joshi
3583b094d0 Fixed API test cases for Postgres 14.4 2022-08-17 15:29:56 +05:30
Akshay Joshi
084203debc Fixed Securtiy Hotspot reported by SonarQube. 2022-08-12 17:10:26 +05:30
Pradip Parkale
b4e5717bde Fixed an issue where expanding the Shared Servers group would open the properties dialog for another server. 2022-08-11 13:10:18 +05:30
Aditya Toshniwal
e1fa1b0396 Ensure that the children of information_schema and pg_catalog node should be displayed. Fixes #7587 2022-08-11 10:53:07 +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
Pradip Parkale
8c24d28740 Remove the SQL files for the unsupported versions of the database server. Fixes #7462
Fixed API test cases for Postgres 14.4. Fixes #7527
2022-08-09 13:24:52 +05:30
Yogesh Mahajan
fa6b77b42c Port Role Reassign dialog to React. Fixes #7344 2022-08-05 16:04:15 +05:30
Akshay Joshi
53887c32bf Port change ownership dialog to React. Fixes #7590 2022-08-05 14:11:17 +05:30
Yogesh Mahajan
6145dc76fc Added support to create triggers from existing trigger functions in EPAS. Fixes #7387 2022-07-28 11:16:05 +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
9468c80a78 Fixed an issue where comments on indexes are not displayed. Fixes #7508 2022-07-14 18:01:31 +05:30
Akshay Joshi
02b0f35442 1) Port change password dialog to React. Fixes #7341
2) Port named restore point dialog to React. Fixes #7546
2022-07-11 13:39:09 +05:30
Aditya Toshniwal
7d0ed90796 Fixed API test cases.
refs #7492
2022-07-01 12:07:43 +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
Nikhil Mohite
837e3e5e83 Fixed an issue where an error message is displayed when creating the new database. Fixes #7502 2022-06-24 15:09:48 +05:30
Nikhil Mohite
74f7fee8b5 Fixed an issue where pgAdmin stuck while creating a new index. Fixes #7460 2022-06-22 17:38:07 +05:30
Nikhil Mohite
d90b2621da Fixed an issue where passwords entered in the 'Connect To Server' dialog were truncated. Fixes #7440 2022-06-22 17:35:22 +05:30
Nikhil Mohite
99c7a50fd6 Fixed an issue where the DB restriction check was not working for the collection node. Fixes #7453 2022-06-15 11:09:06 +05:30
Pradip Parkale
fbf7b4aec3 Fixed RESQL test cases introduced after Template patch. 2022-06-15 10:57:04 +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
Nikhil Mohite
fd1f71587f Fixed an issue where the Database restriction is not working. Fixes #7453 2022-06-09 17:03:21 +05:30
Khushboo Vashi
955bb22cd1 Fixed an issue when a table has a column with an array type with length or
precision, the column type is not selected while editing the table. Fixes #7408
2022-05-25 17:49:06 +05:30
Akshay Joshi
2c013c9f0f Fixed RESQL test case for Domain and add missing 'COMMENT ON CONSTRAINT' statements. 2022-05-24 16:51:01 +05:30
Akshay Joshi
efe613d13e Fixed an issue where comments on domain constraints were not visible when selecting a domain node. Fixes #7403 2022-05-24 14:50:33 +05:30
Akshay Joshi
6820b85902 Fixed Resource Group API test case. 2022-05-18 11:14:17 +05:30
Akshay Joshi
b36004b702 The following are the initial fixes for PG15:
1) From PG 15 onward, the datlastsysoid has been removed from the table pg_database.
    We have added the constant _DATABASE_LAST_SYSTEM_OID = 16383, all the objects below
    this value are considered to be system objects. Modified the pgAdmin logic accordingly.

 2) Concatenation operator '||' needs a specific typecast to be applied to query variables. Modified SQL's accordingly.

Fixes #7283
2022-05-17 20:32:17 +05:30
Akshay Joshi
44f9ba4a57 Port connect server password dialog to React. Fixes #7337 2022-05-16 16:21:14 +05:30
Akshay Joshi
c56fe813a5 Use gettext to wrap some strings. 2022-04-29 16:18: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
Akshay Joshi
d336cade85 Fixed an issue where the table showed duplicate columns when creating multiple sequences on the same column. Fixes #7307 2022-04-21 12:42:33 +05:30
Akshay Joshi
1ac13a2788 Added options 'Ignore owner' and 'Ignore whitespace' to the schema diff panel. Fixes #7282 2022-04-20 15:27:17 +05:30
Pradip Parkale
c2f1a7bdc5 Ensure the database and schema restriction controls are not shown as a drop-down. Fixes #7255 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
3b35398925 Ensure that the error message 'CRYPTKEY_NOT_SET' is not displayed. 2022-04-05 17:01:12 +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
Pradip Parkale
b397ba7787 Fixed issues related to porting of properties collection and dashboard.
refs #7132
2022-04-04 17:42:42 +05:30
Pradip Parkale
fe416c838b Fixed an issue where the browser tree state was not preserved correctly. Fixes #7176 2022-03-31 18:28:36 +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
Yogesh Mahajan
02e799c917 Fixed RESQL test cases for PG14. 2022-03-29 14:56:45 +05:30