Commit Graph

4479 Commits

Author SHA1 Message Date
Nikhil Mohite
9ec8d05a64 1) Ensure that the Owner should not be disabled while creating the procedure. Fixes #7064
2) Fixed an issue where Explain Analyze shows negative exclusive time. Fixes #7003
2021-12-09 16:59:43 +05:30
Akshay Joshi
f24348b2b0 Fixed an issue where notifier not working when opening query tool in a new
window and then open it in the new tab.
2021-12-08 18:15:13 +05:30
Rahul Shirsat
91a288c2bb Correct the SQL definition for function/procedure with the Atomic keyword in PG14. Fixes #7029 2021-12-08 12:31:59 +05:30
Akshay Joshi
fd53e4f5f9 Replace Alertify alert and confirm with React-based model dialog. Fixes #7053 2021-12-07 18:52:40 +05:30
Akshay Joshi
e327066523 Fixed RESQL test cases for EPAS-14 2021-12-07 11:48:27 +05:30
Yogesh Mahajan
48dc4bacc4 Fixed Kerberos authentication issue which is broken due to 2FA.
refs #6543
2021-12-06 20:14:39 +05:30
Nikhil Mohite
950809ee55 Increase the width of the scrollbars. Fixes #6978 2021-12-06 20:11:30 +05:30
Pradip Parkale
c7a49490a2 Fixed an issue where tooltip data are not displaying on downloaded graphical explain plan. Fixes #6840 2021-12-06 20:07:11 +05:30
Akshay Joshi
f8cb62180e Fixed API test cases for StartRunningQueryTest. 2021-12-03 13:19:31 +05:30
Aditya Toshniwal
dfdaf7f6d1 Implemented React based modal provider to create models on the fly.
Also, use this to replace Alertify alert and confirm dialog.
2021-12-03 12:50:24 +05:30
Akshay Joshi
9c0c046a38 Fixed unhashable type issue while opening the about dialog. Fixes #7048 2021-12-03 12:31:59 +05:30
Akshay Joshi
5ae1036a24 Corrected the down_version in migration file. 2021-12-02 18:35:08 +05:30
Ashesh Vashi
36c9eb3dfd Added support for Two-factor authentication for improving security. Fixes #6543 2021-12-02 16:47:18 +05:30
Pradip Parkale
fe096116be Change the logic to rename the table in the SQLite database to fix the migration issue.
refs #7031
2021-12-02 16:25:59 +05:30
Ganesh Jaybhay
e30cbe2579 Fixed some accessibility issues:
1) Focus is not visible while navigating through top navbar menu items(File, Object, Tools)
2) In preference dialog wherever access key is used for a shortcut declaration, unable to get out of the textbox.
3) Focus is not visible for the links on the dashboard

Fixes #7046
2021-12-02 16:24:55 +05:30
Akshay Joshi
c6424e3897 Replaced alertifyjs notifiers with React-based notistack. Fixes #7004 2021-12-02 16:05:52 +05:30
Akshay Joshi
0f9b9b9dcf Added 'eslint-plugin-react-hooks' to identify the linter errors related to react hooks. 2021-12-01 17:43:20 +05:30
Pradip Parkale
6b613fdf36 Fixed an issue where SQLite database definition is wrong because the USER_ID FK
references the table user_old which is not available.

Fixes #7031
2021-12-01 17:24:41 +05:30
Aditya Toshniwal
9d804d2857 Update the dropzone version to 5.9.3 and Flask-SQLAlchemy to 2.5.*. Fixes #7044 2021-12-01 17:23:46 +05:30
Akshay Joshi
2c02e6fc23 Ensure that the user should be allowed to set the schema of an extension while creating it. Fixes #6963 2021-11-29 15:27:44 +05:30
Nikhil Mohite
61b440261f Ensure that sort order should be maintained when renaming a server group. Fixes #6955 2021-11-29 12:04:04 +05:30
Akshay Joshi
fbd10ef4b6 Fixed an issue where reverse engineering SQL is wrong for Aggregate. Fixes #7024 2021-11-29 12:00:38 +05:30
Yogesh Mahajan
abe5303448 Fixed an issue where the error is thrown while creating a new server using
Add New Server from the dashboard while tree item is not selected.

Fixes #7015
2021-11-28 13:32:30 +05:30
Nikhil Mohite
bef692d431 Fixed an issue where On-demand rows throw an error when any row cell is edited
and saved it then scroll to get more rows.

Fixes #7005
2021-11-28 13:26:40 +05:30
Akshay Joshi
9a0d92469b Use .__ne__ instead of 'is not None' statement to fix the API test cases. 2021-11-24 18:54:25 +05:30
Akshay Joshi
bce7e8346d Fixed API test case after upgrading Flask to v2. 2021-11-24 17:58:29 +05:30
Nikhil Mohite
3dcee71a92 Resolved issue if the binary path is not present/correct, then show error notification to add/correct the binary path.
refs #6984
2021-11-24 17:28:04 +05:30
Akshay Joshi
d644b4f94e 1) Replace Flask-BabelEx with Flask-Babel. Fixes #6088
2) Upgrade Flask to version 2. Fixes #7010
2021-11-24 17:22:57 +05:30
Nikhil Mohite
3a30f27153 1. Updated notification message for the reset layout.
2. Added notification type in alertify which was missing.

refs #6988
2021-11-24 10:58:15 +05:30
Yogesh Mahajan
19984d6563 Fixed feature test failures due to React porting of backup dialog. 2021-11-23 17:36:10 +05:30
Yogesh Mahajan
b921a55c46 Adds flexibility to wait for launching pgAdmin in feature test. 2021-11-22 18:05:30 +05:30
Nikhil Mohite
3afeb8ca46 Port Backup Global, Backup Server, and Backup object dialog in React. Fixes #6984 2021-11-22 11:20:44 +05:30
Akshay Joshi
a701e8c766 Fixed an issue where the Change Password menu option is missing for internal
authentication source when more than one authentication source is defined.

Fixes #6989
2021-11-22 11:02:26 +05:30
Yogesh Mahajan
246bb01736 Fixed feature test cases. 2021-11-18 17:13:32 +05:30
Nikhil Mohite
cc91e5da94 Fixed an issue where properties of the database should not be visible after removing the database.
Fixes #6964
2021-11-18 12:36:39 +05:30
Pradip Parkale
a5b79564ff Fixed an issue where the user can't debug function with timestamp parameter. Fixes #6986 2021-11-18 12:25:21 +05:30
Nikhil Mohite
3d5d507f4b Fixed an issue where referenced table drop-down should be disabled in
foreign key -> columns after one row is added.

Fixes #6906
2021-11-18 12:22:14 +05:30
Fred Escallier
e1020aefdd Update French translation. 2021-11-18 12:01:06 +05:30
Khushboo Vashi
cc38bc132e Fixed scroll issue in the browser tree when navigating using the keyboard. 2021-11-15 18:26:16 +05:30
Akshay Joshi
053519aef6 Update version for release. 2021-11-15 16:38:10 +05:30
Nikhil Mohite
1408bad8ba Fixed an issue where reset layout message showing when the user opens the query tool.
refs #6988
2021-11-15 16:34:25 +05:30
Pradip Parkale
33cc2a7514 Fixed an issue where SQL for index shows the same column multiple times. Fixes #6981 2021-11-15 16:31:40 +05:30
Domenico Sgarbossa
d6a754e850 Update Italian translation. 2021-11-15 12:56:58 +05:30
Libor M
fc05ef49ce Update Czech translation. 2021-11-15 12:54:06 +05:30
Identifier Anonymous
b36a290b54 Update Japanese translation. 2021-11-15 12:52:09 +05:30
Akshay Joshi
0ca7dbccf6 Ensure that the Binary path for PG14 should be visible in the preferences. Fixes #6972 2021-11-15 12:44:33 +05:30
Khushboo Vashi
e67bad3461 Ensure that the user should be able to navigate browser tree objects using arrow keys from keyboard. Fixes #6896 2021-11-15 11:17:42 +05:30
Yogesh Mahajan
e2e5a8208c 1) Fixed an issue where JSON editor preview colours have inappropriate contrast in dark mode. Fixes #6944
2) Fixed JSON Editor scrolling issue in code mode. Fixes #6945
2021-11-15 10:58:17 +05:30
Akshay Joshi
59707fc8af Update message catalogs. 2021-11-12 20:01:25 +05:30
Akshay Joshi
25ace94d10 Fixed API test cases for search object. 2021-11-12 19:58:29 +05:30
Akshay Joshi
ca4d5d0ca4 Added operators and aggregates in search objects. Fixes #6974 2021-11-12 17:45:08 +05:30
Aditya Toshniwal
600690a789 Fixed JS audit issues. 2021-11-12 14:19:09 +05:30
Yogesh Mahajan
77931d2315 Uses selenium 4.0.0a6 which works with python 3.6 2021-11-12 11:56:44 +05:30
Nikhil Mohite
8bf178b0a3 Reset the layout if pgAdmin4 detects the layout is in an inconsistent state. Fixes #6988 2021-11-12 11:50:37 +05:30
Pradip Parkale
d4bf7164f9 Ensure that inherit table icon should be visible properly in the tree view. Fixes #6845 2021-11-11 12:55:38 +05:30
Nikhil Mohite
7468ca36ae Fixed SQL syntax error if select "Custom auto-vacuum" option and not set Autovacuum option to Yes or No. Fixes #6925 2021-11-11 12:36:19 +05:30
Rahul Shirsat
572b5a126a Ensure that internal authentication when combined with other authentication providers, the order of internal source should not matter while picking up the provider. Fixes #6832 2021-11-11 12:29:30 +05:30
Khushboo Vashi
d4697e8f1c Ensure that users should be able to modify the REMOTE_USER environment
variable as per their environment by introducing the new config parameter
WEBSERVER_REMOTE_USER.

Fixes #6953
2021-11-10 15:38:41 +05:30
Yogesh Mahajan
9479f0e632 Fixed feature test cases after react porting. 2021-11-10 11:50:20 +05:30
Khushboo Vashi
aff84103d9 Fixed an issue where database nodes are not getting loaded behind a reverse
proxy with SSL. Fixes #6905
2021-11-10 11:47:40 +05:30
Pradip Parkale
a61a9e5b8f Fixed an issue where older server group name displayed in the confirmation
pop-up when the user removes server group. Fixes #6939
2021-11-10 11:17:51 +05:30
Pradip Parkale
eb8168285e Cover more scenarios for the pgAdmin freezing issue. Fixes #5427 2021-11-10 11:11:24 +05:30
Aditya Toshniwal
1ed4d0f95e Fixed an issue where textarea should be allowed to resize and have more than 255 chars. Fixes #6976 2021-11-07 10:51:54 +05:30
Aditya Toshniwal
31849ea95f Ensure that changing themes should work on Windows when system high contrast
mode is enabled. Fixes #6954
2021-11-07 10:46:49 +05:30
Akshay Joshi
719f8c8fd2 Fixed API test case for DataTypeReader 2021-10-29 17:37:02 +05:30
Pradip Parkale
fa8b3edda5 Fixed an issue where user details are not shown when the non-admin user tries
to connect to the shared server. Fixes #6940
2021-10-29 16:26:11 +05:30
Nikhil Mohite
f71e2e8040 Fixed an issue where pgAdmin is not opening properly. Fixes #6809 2021-10-29 16:17:36 +05:30
Akshay Joshi
39992a817d Added support of Aggregate and Operator node in view-only mode. Fixes #3834 2021-10-29 16:14:33 +05:30
Akshay Joshi
7b85253465 Corrected some menu lables. 2021-10-27 11:05:23 +05:30
Pradip Parkale
35b1e1d0d2 Fixed pgAdmin freezing issue by providing the error message for the operation
that can't perform due to lock on the particular table. Fixes #5427
2021-10-27 10:51:52 +05:30
Rahul Shirsat
711ea3bfa1 Fixed an issue where properties panel is not updated when any object is added from the browser tree. Fixes #6859 2021-10-27 10:31:49 +05:30
Rahul Shirsat
8eb6f8061d Ensure that dialog should be opened when clicking on Reassign/Drop owned menu. Fixes #6949 2021-10-25 11:47:28 +05:30
Akshay Joshi
2c4ed4d115 Reverted the last patch to pin mozjpeg as it didn't work. 2021-10-21 17:06:04 +05:30
Aditya Toshniwal
fc233ed993 Pin mozjpeg to 7.1.0 as the latest version will require zlib to be re-compiled. 2021-10-21 16:18:06 +05:30
Aditya Toshniwal
1d8810775c Fixed JS audit issues wherever possible and ignores devDependencies from packages.json 2021-10-21 15:08:24 +05:30
Aditya Toshniwal
d28e249673 Ignore flask-security-too irrelevant vulnerability. 2021-10-21 11:14:27 +05:30
Pradip Parkale
c7cd57db91 Ensure that columns should be merged if the newly added column is present in the parent table. Fixes #6780 2021-10-21 10:59:52 +05:30
Akshay Joshi
d2a7f7fffe Fixed API test cases for PG 14 2021-10-20 18:39:42 +05:30
Rahul Shirsat
27b6e07e21 Fixed object delete issue from the properties tab for the collection nodes. Fixes #6858 2021-10-19 17:21:46 +05:30
Aditya Toshniwal
a2f5e6ad8f Fixed an issue where the wrong SQL is generated when deleting and renaming table columns together. Fixes #6935 2021-10-19 17:13:12 +05:30
Akshay Joshi
ea0d3eb812 Fixed an issue where a blank string is stored instead of NULL in create mode in server dialog. Fixes #6915 2021-10-19 17:01:50 +05:30
Aditya Toshniwal
9de1489322 Ensure that only the table node should be allowed to drop on the ERD tool. Fixes #6929 2021-10-19 12:01:43 +05:30
Khushboo Vashi
9e3165c0ff 1) Ensure that the master password should be prompt when MASTER_PASSWORD_REQUIRED
is set to True and AUTHENTICATION_SOURCES is the webserver. Fixes #6928
2) Fixed an issue where the existing server group is disappeared on rename it. Fixes #6930
2021-10-19 11:56:44 +05:30
Akshay Joshi
0f92f54452 Update version for release. 2021-10-18 16:10:37 +05:30
Akshay Joshi
b8072bd630 Fixed an issue where the blank string is stored instead of NULL in the server table of SQLite database. Fixes #6915 2021-10-18 15:50:42 +05:30
Aditya Toshniwal
c13b1b60e3 Fixed the issue where all FKs are removed if one of the multiple FKs on the same column is removed.
refs #6891
2021-10-16 12:57:30 +05:30
Khushboo Vashi
a908ef7c61 Fixed browser tree sort order regression issue. Fixes #6912 2021-10-16 12:54:44 +05:30
Khushboo Vashi
5b411caabe Fixed an issue where each click to refresh the collection node, the number of objects decreasing by tens or more. Fixes #6908 2021-10-16 12:50:51 +05:30
Aditya Toshniwal
7f3c3fa6f9 Added support to allow tables to be dragged to ERD Tool. Fixes #6241 2021-10-16 12:43:39 +05:30
Nikhil Mohite
476d7c5fc9 Fixed background colour issue in the browser tree. Fixes #6890 2021-10-16 12:40:57 +05:30
Rahul Shirsat
1377244e52 Fixed the issue of editing triggers for advanced servers. Fixes #6802 2021-10-16 12:36:25 +05:30
Pradip Parkale
173cb60691 Added support to enable/disable rules. Fixes #6794 2021-10-14 11:44:03 +05:30
Khushboo Vashi
2aac87569b Fixed an issue where the users are unable to load the databases behind an HTTP reverse proxy. Fixes #6905 2021-10-14 11:35:11 +05:30
Nikhil Mohite
fa21e25cb2 Ensure that the Dashboard should get updated after connecting to the server. Fixes #6876 2021-10-14 11:24:43 +05:30
huangj.fnst@fujitsu.com
8a21d9b500 Fixed some typos in the documentation and comments. 2021-10-14 11:13:16 +05:30
Aditya Toshniwal
8b7b63868f Added support for composite foreign keys in the ERD tool. Fixes #6891 2021-10-13 14:28:55 +05:30
Nikhil Mohite
96ce298789 Port columns node under the Catalog Objects in React. 2021-10-13 12:59:08 +05:30
Yogesh Mahajan
6c692df118 Changed the label 'Inherits Tables?' to 'Is inherited?' as it misleading in the properties panel. Fixes #6776 2021-10-13 11:41:21 +05:30
Aditya Toshniwal
9ace229152 Fixed an issue where exclusion constraint cannot be created from table dialog
if the access method name is changed once. Fixes #6900
2021-10-13 11:35:19 +05:30
Nikhil Mohite
5b9383c880 Fixed an issue where the user is unable to create an index with concurrently keyword. Fixes #6790 2021-10-12 18:19:40 +05:30
Khushboo Vashi
9fd9ca2673 Added support for indent guides in the browser tree. Fixes #4596 2021-10-12 17:53:38 +05:30
Akshay Joshi
72e5d4b426 Updated yarn.lock file 2021-10-12 16:47:47 +05:30
Khushboo Vashi
ac6c6fbf97 Fixed an issue where the browser tree doesn't show all contents on changing resolution. Fixes #6881 2021-10-12 15:02:46 +05:30
Khushboo Vashi
a726635290 1) Added support for authentication via the web server (REMOTE_USER). Fixes #6657
2) Fixed OAuth2 integration redirect issue. Fixes #6719

Initial patch for 6657 sent by: Tom Schreiber
2021-10-12 14:52:30 +05:30
Khushboo Vashi
ca40add29b Ensure that columns should be displayed in the order of creation instead of alphabetical order in the browser tree. Fixes #6882 2021-10-12 14:37:06 +05:30
Rahul Shirsat
2ced82c7b3 Ensure that query highlighting color in the query tool should be less intensive. Fixes #6754 2021-10-12 14:30:29 +05:30
Aditya Toshniwal
d81960a6eb Fixed API Test Case for ERD 2021-10-12 14:26:01 +05:30
Akshay Joshi
f23b0702f2 Fixed PEP8. 2021-10-11 18:07:26 +05:30
Aditya Toshniwal
a92c1b43a2 1) Added support for advanced table fields like the foreign key, primary key in the ERD tool. Fixes #6081
2) Added index creation when generating SQL in the ERD tool. Fixes #6529
2021-10-11 17:42:14 +05:30
Khushboo Vashi
9796f50362 Fixed an issue where the tree is not scrolling to the object selected from the search result. Fixes #6828 2021-10-07 17:23:21 +05:30
Nikhil Mohite
d65930a8a6 Remove an extra blank line at the start of the SQL for function, procedure, and trigger function. Fixes #6797 2021-10-07 17:11:48 +05:30
Aditya Toshniwal
a92bad7909 Fixed indexes not loading in Primary constraint and Unique constraint dialog for partition.
refs #6868
2021-10-06 17:49:50 +05:30
Nikhil Mohite
ca32828281 Fixed an issue where Execute button of the query tool gets disabled once we change anything in the data grid. Fixes #6798 2021-10-06 16:59:38 +05:30
Aditya Toshniwal
7787def660 The nodes index, RLS policy, rules, triggers are failing to save for partitions.
refs #6868
2021-10-06 16:51:46 +05:30
Aditya Toshniwal
dce5038ffd 1. Unable to create trigger for partition table. Fixes #6867.
2. Unable to create index, RLS policy, rules, triggers for partition. Fixes #6868.
2021-10-06 14:54:01 +05:30
Akshay Joshi
1ed6272e7b Ensure that SQL help should work for EPAS servers. Fixes #6834 2021-10-06 14:54:01 +05:30
Khushboo Vashi
a693014371 1) Table Dialogue does not close on addition/deletion of partition. Fixes #6863
2) Nodes are loaded multiple times in server mode on 'Reset Layout'. Fixes #6861
2021-10-05 17:33:50 +05:30
Rahul Shirsat
bfb65e82aa Fixed dialog crash issue when added security label and changing the type to shell. Fixes #6744 2021-10-05 17:24:16 +05:30
Pradip Parkale
4bbc811aed 1) 'Only Table' should be disabled unless the table value is changed. Fixes #6862.
2) 'ALTER' statement should not be generated every time a user updates the password in edit mode. Fixes #6835
3) Connection timeout and sslmode value is getting updated after subscription update. Fixes #6835.
2021-10-05 17:19:22 +05:30
Nikhil Mohite
ea706be7fc Fixed the issue related to the privilege checkbox color in disabled mode. 2021-10-05 14:38:00 +05:30
Aditya Toshniwal
400896c563 1. Operators dropdown disabled. Fixes #6771.
2. Vacuum options value is not considered for M-SQL when creating. Fixes #6781.
2021-10-05 14:13:15 +05:30
Fred Escallier
d4280c896d Update French translation. 2021-10-05 14:11:32 +05:30
Akshay Joshi
02edea9bd7 Update version for release. 2021-10-04 19:40:31 +05:30
Rahul Shirsat
2932ef770d Fixed an issue where adding security privileges and change type to shell crash the dialog. Fixes #6744 2021-10-04 19:34:41 +05:30
Aditya Toshniwal
7eaa3179ad Fixed an issue where the index is not loaded in the Unique Constraint dialog. Fixes #6857 2021-10-04 19:28:27 +05:30
Nikhil Mohite
40b8da8223 Fixed theme related issues after react porting. 2021-10-04 18:00:09 +05:30
Khushboo Vashi
8faec3e0e9 Fixed loading issue of Partitions collection node. Fixes #6844 2021-10-04 16:15:49 +05:30
Aditya Toshniwal
e77f933fe7 Foreign key issues in edit mode:
1. Couple of foreign key issues in edit mode. Fixes #6837
2. Table "Of type" related issues. Fixes #6825
2021-10-04 14:14:27 +05:30
Pradip Parkale
69109a19db Ensure that the user should be able to edit the publication in the subscription dialog. Fixes #6835 2021-10-04 14:11:57 +05:30
Khushboo Vashi
1ec1db1ecb Fixed an issue where label is not visible on hover, while hover on icon or expand arrow. refs #6847 2021-10-04 13:15:19 +05:30
Aditya Toshniwal
038fd6ce21 Fixed Dark theme UI related issues. Fixes #6846 2021-10-04 12:41:48 +05:30
Khushboo Vashi
65af8bcc5a Fixed an issue where the label is not visible when hovering on any tree node in the High Contrast theme. Fixes #6847 2021-10-04 12:35:08 +05:30
Identifier Anonymous
1dfc5f4c0c Update Japanese translation. 2021-10-04 10:51:46 +05:30
Libor M
c05a8663cc Update Czech translation. 2021-10-03 12:16:38 +05:30
Domenico Sgarbossa
235b6d285c Update Italian translation. 2021-10-03 12:15:20 +05:30
Khushboo Vashi
44e1a405f0 1) Newly added server/server group is not visible in the tree unless pgAdmin is refreshed. Fixes #6839
2) Internal server error displayed if disconnect the server. Fixes #6852
2021-10-03 12:12:02 +05:30
Akshay Joshi
aaa8ab3856 Update message catalogs. 2021-10-01 18:37:01 +05:30
Nikhil Mohite
5f9bb1c160 Correct the implementation of query details should be scrollable as per design.
Fixes #3827
2021-10-01 13:01:24 +05:30
Aditya Toshniwal
357a020828 Table node related fixes:
1. File select control sets the value for all other to last selected file. Fixes #6814
2. Vacuum parameters-related issues. Fixes #6777
3. Exclusion removes all columns if one row is removed. Fixes #6771
2021-10-01 12:57:04 +05:30
Khushboo Vashi
5e0c113c7b Properties panel is not updated when any object is added/deleted from the browser tree. Fixes #6833 2021-09-30 18:21:43 +05:30
Pradip Parkale
8056e7e3e3 1) System procedure should not be visible in the properties tab for function.
2) The estimated cost option should be editable in edit mode for Procedure.
3) Should give an error when language is not specified.

Fixes #6838 #6841
2021-09-30 16:27:02 +05:30
Nikhil Mohite
1a25fdffbb Ensure that the 'When' field should be read-only in the properties panel. Fixes #6836 2021-09-30 16:25:27 +05:30
Rahul Shirsat
1632e5287a Fixed some additional issues for the Type node.
refs #6744
2021-09-30 15:16:21 +05:30
Aditya Toshniwal
381f5edbd5 Few more stability improvements to date time picker.
refs #6816
2021-09-30 15:00:32 +05:30
Akshay Joshi
031167fbea Use the correct way to update the state variable using depChange method. 2021-09-30 10:57:39 +05:30
Nikhil Mohite
3da85f415d Fixed an issue while saving grant wizard data with user-defined functions. Fixes #6826 2021-09-30 10:56:51 +05:30
Akshay Joshi
8ac38a076b Fixed linter error. 2021-09-29 20:17:54 +05:30
Nikhil Mohite
c80ea7ae89 1) Fixed accessibility issues for Trigger functions. Fixes #6803
2) Fixed incorrect privileges value in Materialize View. Fixes #6781
2021-09-29 19:56:30 +05:30
Akshay Joshi
1b6ab6b3bb 1) Fixed pgAgent related issues. Fixes #6827
2) Added helpMessageMode parameter to hide help messages from properties panel.
2021-09-29 19:48:43 +05:30
Khushboo Vashi
aa8854db53 1) Browser panel turns blank on connecting disconnected database & server has multiple databases. Fixes #6817
2) The object is not selected/properties panel is not updated when the user moves to object with arrow keys. Fixes #6821
3) Object gets deselected after editing. Fixes #6824
2021-09-29 17:18:55 +05:30
Aditya Toshniwal
c57fc74e18 Fixed Jasmine test cases. 2021-09-29 16:36:49 +05:30
Aditya Toshniwal
28892bb07f Remove redundant empty option for Exclusion constraint access method name, Of type, and Like relations. Fixes #6825 2021-09-29 15:23:48 +05:30
Akshay Joshi
82935ad3be Fixed API test caes for Domain node. 2021-09-29 15:20:50 +05:30
Aditya Toshniwal
332351efaf 1. Date time control not working on firefox.
2. Replace moment with date-fns in date time control as date-fns is more maintained.

Fixes #6816
2021-09-29 13:43:05 +05:30
Pradip Parkale
d753719891 1) Ensure the edit dialog should not allow clearing owner in the Language node. Fixes #6815
2) Fixed an issue where the Language node is disabled for the functions for
   EPAS/PG 9.6 and 10. Fixes #6823
2021-09-29 13:40:10 +05:30
Rahul Shirsat
77d0409c5b Fixed an issue where the user was not able to expand the server's on Windows. Fixes #6822 2021-09-29 13:35:54 +05:30
Akshay Joshi
7d07770244 Reverting 'Two-factor authentication' support as it cause OSX and docker build failures.
This reverts commit 787a441343.
2021-09-29 13:24:18 +05:30
Khushboo Vashi
24399daefe 1) Browser panel turns blank on connecting/disconnecting the database when the
server has multiple databases. Fixes #6817
2) Use a hand pointer instead of an arrow. Fixes #6820
2021-09-28 17:50:54 +05:30
Aditya Toshniwal
08706ba6b2 1. Make Unlogged switch in table as read only.
2. Fix a console warning when saving node data.

Fixes #6778
2021-09-28 17:48:09 +05:30
Ashesh Vashi
787a441343 Added support for Two-factor authentication for improving security. Fixes #6543 2021-09-28 17:47:00 +05:30
Nikhil Mohite
c4db223a64 Added appropriate 'IF EXISTS', 'CASCADE', 'IF NOT EXISTS' clause for the remaining nodes.
refs #5741
2021-09-28 16:05:46 +05:30
Khushboo Vashi
31c7f3eaba Fixed an error in browser tree when adding any node. 2021-09-28 15:08:59 +05:30
Aditya Toshniwal
be69470d55 Server and Database node fixes:
1. Unable to change shared server switch.
2. DB restriction and schema restriction have an empty option.
3. File select input control does not allow manual text input.
4. In the Parameters tab if the value is a switch control, then an empty value error should not come.
5. Values for parameters should be reset on changing parameters.
6. Added a new key - helpMessageMode which can have a value similar to mode. It will show the help message if the mode is supported.

Fixes #6814
2021-09-28 15:05:32 +05:30
Khushboo Vashi
7b6101bc6d Fixed 'Save' button issue where dialog is not getting closed. 2021-09-28 15:04:37 +05:30
Akshay Joshi
1569be7866 Fixed keyerror issue in schema diff for 'attnum' and 'edit_types' parameter. Fixes #6755 2021-09-28 15:03:28 +05:30
Akshay Joshi
2265ffc0a7 Handler and Validator should not allow selecting the empty options. Fixes #6810 2021-09-28 11:34:45 +05:30
Pradip Parkale
d616cb88aa 1. Syntax error displayed If the table is not available and the user tries to use the blank option. Fixes #6793
2. Not able to add Parameters for Functions and Procedures.
3. For the procedure, the Volatility option should be disabled in some cases. Fixes #6799
2021-09-28 10:37:47 +05:30
Rahul Shirsat
15ecf5d821 Fixed an issue for sort and null controls for the Index node. Fixes #6791 2021-09-28 10:32:00 +05:30
Aditya Toshniwal
dc8ab7cd2a 1. Switch control and CodeMirror control UI improvements for read-only and disabled states.
2. If a form input value changes to null, pass it as an empty string in URL params.
3. Use server_type instead of type from the server info.
2021-09-28 10:24:25 +05:30
Nikhil Mohite
48a5143485 Fixed an issue where SQL is not getting generated for Foreign table options. Fixes #6813 2021-09-28 10:21:25 +05:30
Khushboo Vashi
483e2ca8d0 Port browser tree to React. Fixes #6129 2021-09-27 16:44:26 +05:30
zhangjie2@fujitsu.com
d983225683 Correct the variable names in the error messages for the Domain node. 2021-09-27 15:09:17 +05:30
Rahul Shirsat
d8d88b948a Fixed an issue where Schema icon is not visible in the drop-down of General tab. Fixes #6806 2021-09-27 13:36:13 +05:30
Nikhil Mohite
2320370fd2 1) Fixed an issue where for constraint trigger only After event should be displayed,
also fixed the Incorrect values for Constraint trigger, Deferrable, Deferred. Fixes #6803
2) Fixed an issue where the user was unable to create the trigger for views. Fixes #6804
2021-09-27 11:31:52 +05:30
Nikhil Mohite
9d2f3b5ee9 Ensure that RLS names should not be editable in the collection node of properties tab. Fixes #6759 2021-09-27 10:57:08 +05:30
Aditya Toshniwal
0228d16990 Partition related fixes:
1. When attaching a partition, tables were not loading in the dropdown.
2. When adding a sub partition in a partition, collations were not loading in dropdown.
3. Fix some grid column widths in table node.

Fixes #6783
2021-09-24 16:28:55 +05:30
Akshay Joshi
c32a325c11 Fixed html help for foreign server dialog. 2021-09-24 13:32:13 +05:30
Aditya Toshniwal
d28f8bc7ee Fixed exclusion constraint issues:
1. Incorrect error message.
2. Properties panel Column Section data missing
3. Operator class value is missing

Fixes #6771
2021-09-23 19:28:35 +05:30
Nikhil Mohite
a6dce27ffa Fixed an issue where options are missing in the trigger function's Security tab. Fixes #6792 2021-09-23 19:23:08 +05:30
Pradip Parkale
6d08d9aa9f Fixed Cast node related issues. Fixes #6741 2021-09-23 19:19:34 +05:30
Akshay Joshi
8125320093 Fixed linter error. 2021-09-23 17:12:34 +05:30
Akshay Joshi
ecaaa8a1b5 Fixed scrollbar issue and used flex layout in grant wizard. 2021-09-23 16:59:59 +05:30
Akshay Joshi
b9bc628189 1. Placeholder should be inside the controlProps. Change the placeholder from 'Select...' to 'Select an item...'
2. Updated grant wizard screenshot and documentation.
3. Remove '(Beta)' from ERD Tool and PSQL Tool.
2021-09-23 16:17:39 +05:30
Aditya Toshniwal
0e6794f2f5 Fixed issue where modified SQL not loading Unique Constraint dialog. Fixes #6772 2021-09-23 14:47:31 +05:30
Aditya Toshniwal
9179b7464b Fixed following issues after React Porting:
1. Unique constraint should not allow changing values for deferrable, deferred, included columns.
2. Primary keys should not allow changing values for deferrable, deferred, included columns.
3. Foreign keys should not allow changing match type. The referenced table name is empty.
4. Exclude - Column/Expression has incorrect values.
5. Save should not be enabled when Custom auto-vacuum is enabled but none of the parameters are edited.

Fixes #6777
2021-09-23 14:46:10 +05:30
Nikhil Mohite
15a494c189 Fixed review comments for Grant Wizard.
refs #6687
2021-09-23 14:40:38 +05:30
Aditya Toshniwal
19f0181756 Pin @material-ui/lab to 4.0.0-alpha.58, to fix build on Windows x64 2021-09-23 13:15:53 +05:30
Aditya Toshniwal
8d681d68d7 Pin material-ui to 4.11 as later versions have some problems. Test cases are also failing on the latest material-ui version. 2021-09-23 12:12:14 +05:30
Akshay Joshi
25c98f8054 Fixed API test case. 2021-09-23 12:09:24 +05:30
Aditya Toshniwal
78c8fbbe00 Fixed an issue where the Properties panel was not loaded for catalog tables. Fixes #6778 2021-09-23 10:42:50 +05:30
Nikhil Mohite
f192be3667 Added flag to check before adding 'IF NOT EXISTS' and 'OR REPLACE' clause to the SQL. While creating any object the respective clause should not be added. 2021-09-22 19:14:19 +05:30
Nikhil Mohite
05ce3445b5 Fixed incorrect privileges value in Materialize View. Fixes #6781 2021-09-22 18:46:43 +05:30
Aditya Toshniwal
a1aa080956 Fixed an issue where unable to change the column properties from edit dialog. Fixes #6766 2021-09-22 18:23:40 +05:30
Aditya Toshniwal
a8c8ea69e3 Foreign Key fixes:
1. Auto FK related fixes.
2. Properties tab not showing columns.
3. Toggle button is editable even if set to read-only.
4. Dropdown placeholder should be blank for read-only/disabled.
5. Input control help text color on a dark theme.

Fixes #6770
2021-09-22 18:18:09 +05:30
Aditya Toshniwal
fc86faf51e Changed the layout for tables from block layout to flex layout to fix the width of the columns as per the dialog size. 2021-09-22 18:11:50 +05:30
Akshay Joshi
f538546c4d Fixed validation issue in Synonyms dialog. Fixes #6767 2021-09-22 13:34:11 +05:30
Akshay Joshi
71d7b14320 Remove unused files. 2021-09-22 13:12:46 +05:30
Pradip Parkale
7330b3520f Fixed jasmine test cases. 2021-09-21 17:42:18 +05:30
Akshay Joshi
6b100b60f8 Remove word break for dialog labels. 2021-09-21 17:15:53 +05:30
Aditya Toshniwal
08009f8edc 1) Make default values column read-only for inherited columns when creating table.
2) Default values not populated for inherited columns. The existing issue, API changed.
3) Options are not populated for Name in Column > Variable tab.
4) The empty check error message is changed from Label cannot be empty to Label in Collection cannot be empty for collections.

Fixes #6763
2021-09-21 16:56:29 +05:30
Akshay Joshi
b60bd73f88 Fixed an issue where Refresh view options are not working for materialized view. Fixes #6736. 2021-09-21 16:48:10 +05:30
Aditya Toshniwal
af230c812b Synchronises the column's primary key flag and primary key constraint. Fixes #6762 2021-09-21 15:27:48 +05:30
Aditya Toshniwal
5f104b0e0e Fixed an issue where ERD table dialog is failing to open after React Porting 2021-09-21 15:11:17 +05:30
Akshay Joshi
56a17f7c8e Fixed RESQL test cases for Partition table using COLLATE. 2021-09-20 20:10:24 +05:30
Akshay Joshi
522a92586a Added PG/EPAS 14 binary path entry in the preferences dialog. 2021-09-20 14:59:05 +05:30
Rahul Shirsat
c142296f3f Fixed following issues for Type dialog:
1. Enum Type - Unable to delete rows for Enum type in Create Type dialogue.
2. Range Type - Loading icons are shown in different drop-down tabs.

Fixes #6744
2021-09-20 13:12:23 +05:30
Nikhil Mohite
d27b4831d6 Fixed the issue where password field is showing as plain text. 2021-09-20 13:05:58 +05:30
Nikhil Mohite
7aa213a5ce 1) Port Grant Wizard to react. Fixes #6687
2) Fixed an issue where grant wizard is unresponsive if the database size is huge. Fixes #2097
2021-09-20 13:02:41 +05:30
Nikhil Mohite
44e770aa0b Updated query error row selection color as per dark theme style guide. Fixes #6723 2021-09-17 21:04:49 +05:30
Nikhil Mohite
99c99a9ce9 Ensure that in the Query History tab, query details should be scrollable. Fixes #3827 2021-09-17 21:01:24 +05:30
Rahul Shirsat
346ee6ba5f Fixed an issue where privileges not shown in catalog nodes for Properties tab. Fixes #6743 2021-09-17 20:50:29 +05:30
Aditya Toshniwal
32e97b6422 Fixed the CSS issue causing extra space at the bottom of maintenance backup dialog. 2021-09-17 20:47:03 +05:30
Rahul Shirsat
f1c04096e5 Fixed an issue where the last message is not visible in the Debugger. Fixes #6713 2021-09-17 20:44:57 +05:30
Pradip Parkale
89d40d38d9 Fixed jasmine test cases. 2021-09-15 11:42:23 +05:30
Akshay Joshi
460c66ab3f Fixed an issue where the drop cascade button enables for Databases. Fixes #6724 2021-09-10 18:27:16 +05:30
Akshay Joshi
15c99ec9e7 Changed APP_SUFFIX and APP_VERSION_INT for testing upgrade scenario. 2021-09-10 12:01:05 +05:30
Pradip Parkale
dbf78bf214 Added support to create the Partitioned table should be created using COLLATE and opclass. Fixes #2546 2021-09-09 16:26:23 +05:30
Yogesh Mahajan
02ed2289e6 Fixed errors thrown for empty CSS files.
refs #6705
2021-09-09 16:10:09 +05:30
Rahul Shirsat
55e7e481d4 Fixed an issue where collapse and expand arrows mismatch in case of nested IF. Fixes #6712 2021-09-09 16:04:59 +05:30
Aditya Toshniwal
f874276d0f Added some missing propTypes. 2021-09-09 15:57:17 +05:30
Akshay Joshi
1585e6b424 Fixed theme issue in server mode. 2021-09-09 14:10:37 +05:30
Akshay Joshi
eeff75ba20 Remove GPDB support completely. Fixes #6692 2021-09-09 13:09:53 +05:30
Aditya Toshniwal
f7b8969c72 Stability and bug fixes for the react schema view framework. 2021-09-09 13:09:53 +05:30
Aditya Toshniwal
74cec6594e Port the partitions node. 2021-09-09 13:09:52 +05:30
Aditya Toshniwal
af27af8d42 Integer and Numeric inputs fixes. 2021-09-09 13:09:44 +05:30
Aditya Toshniwal
73e1cbc0b9 Change the parse changes logic to get changes at any level of depth. 2021-09-09 13:09:42 +05:30
Aditya Toshniwal
d62fba024b - Focus on first tab and first element on reset. - Move formErr to state context. 2021-09-09 13:09:42 +05:30
Aditya Toshniwal
ae49b556ce - Properties tab should refresh if node is updated. - Error should be hierarchical and not just id based. 2021-09-09 13:09:41 +05:30
Aditya Toshniwal
2a76027cce - Fix codemirror cursor issue. - Fix foreign table jasmine test cases. 2021-09-09 13:09:30 +05:30
Pradip Parkale
c8026873b4 Fixed code coverage and RESQL test cases for Cast, Publication and Subscription. 2021-09-09 13:08:11 +05:30
Akshay Joshi
7ffe71d12f Added support for OWNED BY clause for sequences. Fixes #4211 2021-09-09 13:07:53 +05:30
Aditya Toshniwal
c02705c53c - Fix all the jasmine test case failures. - Show default value column in Table->Columns grid. Fixes #4353. 2021-09-09 13:06:24 +05:30
Pradip Parkale
2074534b72 Port Procedure and Function node to react. Fixes #6632 #6677 2021-09-09 13:06:24 +05:30
Aditya Toshniwal
27e446a0b0 Fixed following: - Dropdown selected menu color - CodeMirror render on properties tab - Placeholders on select control - Codemirror borders 2021-09-09 13:06:24 +05:30
Nikhil Mohite
c35c72c551 Improve Foreign Table code coverage. 2021-09-09 13:06:24 +05:30
Akshay Joshi
4bfffa3806 Port FTS Configurations node to react. Fixes #6638 2021-09-09 13:06:24 +05:30
Nikhil Mohite
42eac6f846 Port Foreign Table node to react. Fixes #6678. 2021-09-09 13:06:24 +05:30
Aditya Toshniwal
261cec1d20 Port Table, Column, Primary key, Foreign key, Check constraint, Unique constraint, Exclusion constraint. 2021-09-09 13:05:57 +05:30
Rahul Shirsat
725d9b4bbf Port package and it’s child node to React. Fixes #6675 2021-09-09 13:04:42 +05:30
Akshay Joshi
b7105093e2 1) Port Compound Trigger node to react. Fixes #6674 2) Remove 'inSchema' method and create a generic method 'inCatalog'. 2021-09-09 13:03:54 +05:30
Aditya Toshniwal
9274df0f11 - Fix Jasmine test cases failing in framework. - More stability fixes and enhancements. 2021-09-09 13:03:54 +05:30
Nikhil Mohite
351cb3e6ca Port Triggers node to react. Fixes #6672 2021-09-09 13:03:54 +05:30
Aditya Toshniwal
bb5e2b98e9 Stability and bug fixes in schemaview react framework. 2021-09-09 13:03:54 +05:30
Rahul Shirsat
e3992527fb Port Index node to react. Fixes #6661 2021-09-09 13:03:54 +05:30
Akshay Joshi
1b7a77f5cb Port pgAgent and it's child nodes to react. Fixes #6645 2021-09-09 13:03:54 +05:30
Aditya Toshniwal
1ce6c2aee1 Add the plain string component forgot last time. 2021-09-09 13:03:54 +05:30
Aditya Toshniwal
314fcabbeb Add plain string control with formatter. 2021-09-09 13:03:54 +05:30
Nikhil Mohite
f742c5eb8a Port Role node to react. Fixes #6651 2021-09-09 13:03:54 +05:30
Aditya Toshniwal
0ddd053e88 Framework stability fixes. 2021-09-09 13:03:54 +05:30
Nikhil Mohite
169d8fa480 Port Trigger Functions node to react. Fixes #6665 2021-09-09 13:03:54 +05:30