Aditya Toshniwal
e39838455e
Ensure that trigger function SQL should have 'create or replace function' instead of 'create function' only. Fixes #5849
2021-08-24 18:23:32 +05:30
Akshay Joshi
7798584e1c
Fixed an issue where columns with sequences get altered unnecessarily with a schema diff tool. Fixes #6564
2021-08-18 19:33:01 +05:30
Pradip Parkale
7483ddf2b2
Added support to copy SQL from main window to query tool. Fixes #4904
2021-08-09 14:29:31 +05:30
Khushboo Vashi
78b041465e
Fixed an issue where even if the user is locked, he can reset the password and can login into pgAdmin. Fixes #6664
2021-08-09 14:24:26 +05:30
Aditya Toshniwal
9d985d3d8f
Fixed potential bug in the table node.
2021-07-30 13:28:07 +05:30
Rahul Shirsat
2dd88e5a4e
Ensure that all the required options should be loaded when the Range data type
...
is selected while creating a custom data type.
Fixes #6643
2021-07-29 10:43:27 +05:30
Aditya Toshniwal
2452d90300
Fixed incorrect tablespace options in the drop-down for move objects dialog. Fixes #6586
2021-07-27 17:28:38 +05:30
Akshay Joshi
3f67f512ec
Fixed incorrect binary path issue when the user deletes the binary path from the preferences. Fixes #6619
2021-07-26 11:49:48 +05:30
zhangjie2@fujitsu.com
3a3eea0320
Correct the string for shared server test case.
2021-07-23 12:44:16 +05:30
Rahul Shirsat
6cc3423cbe
Fixed session expiration API test case.
2021-07-20 16:29:03 +05:30
Nikhil Mohite
5768ade198
Added exception handling for SQLAlchemy function to check the table exists or not.
2021-07-19 14:01:45 +05:30
Rahul Shirsat
b0727cc532
Fixed CSRF errors for stale sessions by increasing the session expiration time for desktop mode. Fixes #6369
2021-07-15 17:49:42 +05:30
Khushboo Vashi
e981868246
Fixed an issue where the user unable to add server in Kerberos Authentication Mode with Master Password. Fixes #6595
2021-07-09 21:47:34 +05:30
Khushboo Vashi
36086722b3
RESQL testcase fixes for Triggers.
2021-07-07 17:56:30 +05:30
Rahul Shirsat
8edd5946e5
1) Modified some labels and controls.
...
2) Fixed issue where the same user is showing in SQL query.
3) Added SQL tab in the dialog.
refs #3893
2021-07-07 10:44:02 +05:30
Identifier Anonymous
39a845ad31
Remove extra brackets in CREATE script and DDL comparison for trigger node.
2021-07-06 19:07:35 +05:30
Khushboo Vashi
48ca83f31d
Added support for OAuth 2 authentication. Fixes #5940
...
Initial patch sent by: Florian Sabonchi
2021-07-06 13:22:58 +05:30
Rahul Shirsat
5fe52b9cfe
Added support for Reassign/Drop Owned for login roles. Fixes #3893
2021-06-28 18:55:52 +05:30
Pradip Parkale
e095d382b3
Fixed an issue where incorrect column name listed in the properties of Index. Fixes #6557
2021-06-27 19:00:16 +05:30
Pradip Parkale
5581f0909a
Fixed an issue where Debugger and ERD tool panel give a blank white panel, missing from the last patch.
...
refs #6398
2021-06-25 11:38:02 +05:30
Ashesh Vashi
cfb68d73a0
Fixed server mode api test case failure.
2021-06-24 19:41:58 +05:30
Ashesh Vashi
9574f43f87
Refactor the registry class logic and remove duplicate code for the same functionality.
2021-06-24 11:30:11 +05:30
Libor M
cc989c5c08
Added missing gettexts and text space improvements.
2021-06-24 11:15:50 +05:30
Nikhil Mohite
e2302a6c9b
Ensure that setting 'Open in new browser tab' should be visible, it should not be based on the value of 'ENABLE_PSQL'. Fixes #6541
2021-06-23 11:59:56 +05:30
Dave Page
4e067835c3
Revert "Fixed API test cases for PG/EPAS 9.6" per Khushboo.
...
This reverts commit 37278f2cd3
.
2021-06-17 13:27:33 +01:00
Khushboo Vashi
37278f2cd3
Fixed API test cases for PG/EPAS 9.6
2021-06-17 16:22:53 +05:30
Nikhil Mohite
2549688bdf
1) Disable the PSQL feature entirely in server mode by default.
...
2) Remove the code that attempts to filter out commands.
refs #2341
2021-06-14 20:53:11 +05:30
Nikhil Mohite
09693d14d1
Added check if the Windows version is not supporting the ConPty or WinPty disable the PSQL for that version.
...
refs #2341
2021-06-14 11:47:40 +05:30
Akshay Joshi
0dbfbd8dfc
1) Fixed Selenoid test cases.
...
2) Fixed RESQL test case failing on Jenkins.
2021-06-11 15:34:12 +05:30
Aditya Toshniwal
6e42d9113b
Fixed user password-related issues.
...
refs #6225
2021-06-10 22:56:38 +05:30
Khushboo Vashi
460fb7ec29
Fixed an issue where pgAdmin does not open after password reset in server mode. Fixes #6513
2021-06-10 22:55:31 +05:30
Akshay Joshi
c86a2b643a
1) Binary path set to the default location in which we install the binaries.
...
2) Validate path not working if there is a space in the binary path.
3) Handle the case when the path contains '$DIR'.
refs #5370
2021-06-10 22:49:05 +05:30
Yogesh Mahajan
b2042f48cd
Added RESQL/MSQL test cases for Table and its child nodes. Fixes #4622
2021-06-09 18:16:50 +05:30
Nikhil Mohite
7c88ee7cff
Added a mechanism to detect a corrupt/broken config database file. Fixes #6460
2021-06-08 19:41:47 +05:30
Nikhil Mohite
93ddc4a5ba
Ensure that the user should be able to add members in Login/Role group while creating it. Fixes #6466
2021-06-08 19:33:03 +05:30
Nikhil Mohite
9f12747d9b
Added PSQL tool support for the Windows platform.
...
Fixed following issues:
1. If the database name contains escape characters then PSQL unable to connect.
2. If the user terminates the connection by typing the 'exit' command, PSQL
will show the connection termination msg.
Fixes #2341
2021-06-08 14:58:43 +05:30
Akshay Joshi
5a086a9173
Fixed API test cases failed due to wrong handling of default binary path.
2021-06-08 13:24:17 +05:30
Nikhil Mohite
e1067ffe67
Ensure that the Query Tool connection string should not be changed as per the 'Query Tool tab title'. Fixes #6404
2021-06-07 22:07:51 +05:30
Nikhil Mohite
5b12483416
Fixed an issue where the Foreground Color property of server dialog does not work. Fixes #6482
2021-06-07 21:09:04 +05:30
Akshay Joshi
07eb541806
1) Added logic to set the appropriate default binary path if DEFAULT_BINARY_PATH is
...
set in the config and the user not updated the preferences.
2) Remove 'gpdb' from DEFAULT_BINARY_PATH.
3) Fixed API test cases.
refs #5370
2021-06-07 20:36:34 +05:30
Aditya Toshniwal
065a3aa2f5
Updated Flask-Security-Too to the latest v4. Fixes #6225
2021-06-06 13:58:06 +05:30
Akshay Joshi
4bc4ca1ba9
1) Added browse button to select the binary path in the Preferences. Fixes #1561
...
2) Added support to set the binary path for the different database server versions. Fixes #5370
2021-06-04 17:55:35 +05:30
Nikhil Mohite
e0eac875b6
Disable the PSQL tool for Windows, the 'fcntl' module is not working on Windows.
2021-06-01 20:04:43 +05:30
Rahul Shirsat
9ac08c263b
Fixed duplicate SQL issue for tables with more than one partition. Fixes #6478
2021-05-31 12:46:07 +05:30
Rahul Shirsat
658a2de619
Fixed the issue of renaming the database by another user. Fixes #4203
2021-05-31 12:41:09 +05:30
Ashesh Vashi
a487a51135
Fixes SonarQube issues.
2021-05-29 12:55:59 +05:30
Nikhil Mohite
3ddf941cd7
Added support to launch PSQL for the connected database server. Fixes #2341
2021-05-25 20:12:57 +05:30
Rahul Shirsat
37dece2cd8
Added window maximize/restore functionality for properties dialog. Fixes #4064
2021-05-24 22:08:23 +05:30
Pradip Parkale
4676d7ef02
Fixed an issue where the Help message not displaying correctly on Login/Group role. Fixes #6414
2021-05-17 13:08:38 +05:30
Aditya Toshniwal
b7c0914f33
Fixed 'No password supplied' error occurring on auto-detected servers.
2021-05-14 15:14:18 +05:30
Khushboo Vashi
7275ce906e
1) Fixed an issue where the user is not warned if Kerberos ticket expiration
...
is less than 30 min while initiating a global backup. Fixes #6444
2) Ensure that proper identification should be there when the server is
connected using Kerberos or without Kerberos. Fixes #6445
2021-05-14 12:33:01 +05:30
Pradip Parkale
0bb40de1c4
Ensure that the user should not be able to add duplicate panels. Fixes #6399
2021-05-12 15:19:41 +05:30
Akshay Joshi
4842d589a6
Added missing validation for data type. Fixes #6407
2021-05-11 18:21:53 +05:30
huangj.fnst@fujitsu.com
fe6f9aae61
Fix a number of typos.
2021-05-11 11:16:38 +01:00
Yogesh Mahajan
b0df4d3604
Added support for the creation of Nested Table and Varying Array Type for Advanced Server. Fixes #6407
2021-05-07 12:39:54 +05:30
Murtuza Zabuawala
4c55044440
Remove duplicate code and avoid DOM search operation.
...
refs #6355
2021-05-06 10:53:32 +05:30
Akshay Joshi
b13627398b
Fixed API test cases
2021-05-05 13:12:20 +05:30
Khushboo Vashi
b30ec71098
Ensure that while connecting to the server using SSPI login, it should not prompt for the password. Fixes #5776
2021-05-05 11:40:48 +05:30
Akshay Joshi
7e79814cb0
Added 'IF NOT EXISTS' clause while creating tables and partition tables which is convenient while using the ERD tool. Fixes #6397
2021-05-04 15:59:34 +05:30
Khushboo Vashi
72f3730c34
Added support to connect PostgreSQL servers via Kerberos authentication. Fixes #6158
2021-05-03 16:10:45 +05:30
Akshay Joshi
aa9a4c30d3
Fixed an issue where duplicate columns are visible in the browser tree, which is owned by two sequences. Fixes #6413
2021-05-03 14:53:21 +05:30
Akshay Joshi
e718be72e3
Added comment column in the properties panel for View and Materialized View collection node. Fixes #6416
2021-04-28 18:44:28 +05:30
Pradip Parkale
9dd1bae3c7
Ensure that pgAdmin should not allow opening external files that are dragged into it. Fixes #6355
2021-04-28 11:59:45 +05:30
Pradip Parkale
7bab200e4d
Added more checks so that it will pick the correct shared server.
...
refs #6385
2021-04-27 11:58:47 +05:30
Rahul Shirsat
f5ef022ef5
Fixed an issue where indexes showing TABLESPACE pg_default for partition SQL, which should not be shown.
...
refs #6329
2021-04-27 11:54:56 +05:30
Akshay Joshi
7d6f077cf8
Fixed an issue where schema diff does not create DROP DEFAULT statement for columns. Fixes #6377
2021-04-26 16:41:20 +05:30
Rahul Shirsat
b853bda2a2
Fixed an issue where the wrong SQL is showing for the child partition tables. Fixes #6329
2021-04-26 14:32:34 +05:30
Pradip Parkale
abdd3190fe
Fixed some SonarQube issues.
2021-04-22 17:40:41 +05:30
Pradip Parkale
8ae8fea6d2
Ensure that Backup and Restore should work on shared servers as some cases were failing due to initial changes.
...
Fixes #6385
2021-04-22 17:29:04 +05:30
Yogesh Mahajan
dc65cbb08c
Fixed an issue where foreign data wrapper properties are not visible if the host option contains two host addresses. Fixes #6379
2021-04-19 11:08:21 +05:30
Aditya Toshniwal
2b1910c1c1
Better fix for the black screen issues, reverted the old fix.
...
refs #6334
2021-04-16 18:23:29 +05:30
Akshay Joshi
b4d44541bb
Fixed SQL panel black screen issue when detaching it in runtime. Fixes #6334
2021-04-15 16:40:35 +05:30
Pradip Parkale
cb7bcaf939
Ensure that Backup and Restore should work on shared servers. Fixes #6385
2021-04-14 12:11:55 +05:30
Rahul Shirsat
f07463024c
Fixed flickering issue of the input box on check constraints. Fixes #6107
2021-04-12 12:34:36 +05:30
Pradip Parkale
0ed47fcd2b
Fixed an issue where the Save button is enabled by default when open the table's properties dialog on PG 9.5. Fixes #6367
2021-04-12 11:36:16 +05:30
Pradip Parkale
ffdd58ffb4
Fixed some SonarQube issues.
2021-04-08 12:27:03 +05:30
Akshay Joshi
7f59463e3b
Corrected the syntax for 'CREATE TRIGGER', use 'EXECUTE FUNCTION' instead of 'EXECUTE PROCEDURE' from v11 onwards. Fixes #6220
2021-04-07 12:01:37 +05:30
Rahul Shirsat
585ba81492
Fixed sizing issue of help dialog for Query Tool and ERD Tool when open in the new browser tab. Fixes #6333
2021-04-06 15:26:25 +05:30
Akshay Joshi
c84df9cc0f
Ensure that while comparing domains check function dependencies should be considered in schema diff. Fixes #6327
2021-04-01 16:31:12 +05:30
Pradip Parkale
566f03beca
Ensure that the query tool tab should be closed after server disconnection when auto-commit/auto-rollback is set to false. Fixes #5519
2021-04-01 11:58:59 +05:30
Akshay Joshi
07f2df7e66
Fixed cannot unpack non-iterable response object error when selecting any partition. Fixes #6344
2021-03-31 12:08:01 +05:30
Rahul Shirsat
f0c86741a4
Improve code coverage and API test cases for Server module. Fixes #5319
2021-03-30 11:12:33 +05:30
Akshay Joshi
a29890368c
Fixed an issue where the procedure creation is failed when providing the Volatility option. Fixes #6293
2021-03-30 10:58:32 +05:30
Akshay Joshi
2872b5c5d3
1) Ensure that the zoom level should be set for the newly opened window.
...
2) Ensure that if the zoom level is changed on the main window then it should
be applicable for all the opened windows.
refs #6271
2021-03-22 17:50:26 +05:30
Nikhil Mohite
15b8d4711e
Hide the checkbox on the role property tab for 'Members of' and 'Members'.
...
refs #5404
2021-03-19 15:48:05 +05:30
Pradip Parkale
24dc7f4a91
Fixed some issues reported by SonarQube.
2021-03-19 11:56:12 +05:30
Rahul Shirsat
f5cc1d1c7e
Fixed cognitive complexity reported by SonarQube.
2021-03-19 11:51:45 +05:30
Akshay Joshi
4bb71c56ad
Fixed an issue where the top menu disappears when entering into the full screen for minimum screen resolution. Fixes #6322
2021-03-17 18:47:25 +05:30
Pradip Parkale
ff06a18155
1) Fixed an issue where the incorrect values visible in the dependents tab for publication. Fixes #6307
...
2) Ensure that the primary key should be visible properly in the table dialog. Fixes #6316
2021-03-16 11:43:27 +05:30
Akshay Joshi
49a59f8929
Added zoom scaling options with keyboard shortcuts in runtime. Fixes #6271
2021-03-15 14:26:11 +05:30
Nikhil Mohite
7bad4ca535
Show the login roles that are members of a group role be shown when examining a group role. Fixes #5404
2021-03-12 13:11:09 +05:30
Rahul Shirsat
9d8360641f
Use schema qualification while accessing the catalog objects.
...
refs #3976
2021-03-12 11:17:25 +05:30
Pradip Parkale
d6ee715d83
Ensure that autovacuum and analyze scale factors should be editable with more than two decimals. Fixes #4784
2021-03-09 18:48:32 +05:30
Akshay Joshi
351d86e149
Fixed string index out of range error where the dependent tab is in focus and selecting any publication or table. Fixes #6292
2021-03-09 18:43:04 +05:30
Akshay Joshi
0f62fecca2
Fixed an issue where the dependent tab throwing an error when selecting any login/group role. Fixes #6294
2021-03-09 14:32:16 +05:30
Rahul Shirsat
a2be30d257
Use schema qualification while accessing the catalog objects. Fixes #3976
2021-03-09 13:18:45 +05:30
Nikhil Mohite
d70dea5072
Ensure that the template database should be visible while creating the database. Fixes #6286
2021-03-04 17:48:52 +05:30
Akshay Joshi
8c7417b735
Fixed regressions from the last commit.
2021-03-03 11:46:47 +05:30
Akshay Joshi
008bc6da28
Fixed some SonarQube issues.
2021-03-02 14:53:05 +05:30
Huangj
9225493a93
Fixed an issue where schema diff showing wrong SQL when comparing triggers with different when clause. Fixes #6281 .
2021-03-01 13:20:43 +05:30