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
Akshay Joshi
fd53e4f5f9
Replace Alertify alert and confirm with React-based model dialog. Fixes #7053
2021-12-07 18:52:40 +05:30
Ashesh Vashi
36c9eb3dfd
Added support for Two-factor authentication for improving security. Fixes #6543
2021-12-02 16:47:18 +05:30
Akshay Joshi
c6424e3897
Replaced alertifyjs notifiers with React-based notistack. Fixes #7004
2021-12-02 16:05:52 +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
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
Nikhil Mohite
3afeb8ca46
Port Backup Global, Backup Server, and Backup object dialog in React. Fixes #6984
2021-11-22 11:20:44 +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
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
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
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
Nikhil Mohite
f71e2e8040
Fixed an issue where pgAdmin is not opening properly. Fixes #6809
2021-10-29 16:17:36 +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
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
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
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
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
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
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
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
Ashesh Vashi
787a441343
Added support for Two-factor authentication for improving security. Fixes #6543
2021-09-28 17:47: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
Khushboo Vashi
483e2ca8d0
Port browser tree to React. Fixes #6129
2021-09-27 16:44:26 +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
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
Nikhil Mohite
15a494c189
Fixed review comments for Grant Wizard.
...
refs #6687
2021-09-23 14:40:38 +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
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
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
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
261cec1d20
Port Table, Column, Primary key, Foreign key, Check constraint, Unique constraint, Exclusion constraint.
2021-09-09 13:05:57 +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
Rahul Shirsat
08f2121544
Port Schema & Catalog node to react. Fixes #6655
2021-09-09 13:01:53 +05:30
Aditya Toshniwal
377fe80046
- Add VaccumSettings schema. - Allow collection to have fixed rows. - Changes in data change comparison and add state utils context. - Fixed jasmine test cases.
2021-09-09 13:00:33 +05:30
Akshay Joshi
5c1ce23780
Port Synonyms node to react. Fixes #6599
2021-09-09 12:50:32 +05:30
Aditya Toshniwal
47855eae0b
Allow node ajax functions to send URL params.
2021-09-09 12:50:32 +05:30
Aditya Toshniwal
9d33b03be9
Few more changes to core schema framework required by other nodes.
2021-09-09 12:22:05 +05:30
Aditya Toshniwal
b20558cb99
Some changes to the core code that will be helpful for other nodes.
2021-09-09 12:20:59 +05:30
Aditya Toshniwal
764677431f
Added React framework for the properties dialog and port Server Group, Server, and Database dialogs.
...
Following changes done for the framework:
- Framework for creating React based dynamic form view out of a pre-defined UI schema. Previously, it was based on Backform/Backbone.
- The new framework and components will use MaterialUI as the base. Previously, Bootstrap/Backform/jQuery components were used.
- The new code uses JSS instead of CSS since material UI and most modern React libraries also use JSS. In the future, this will allow us to change the theme in real-time without refresh.
- 90% code covered by 80-85 new jasmine test cases.
- Server group node UI Schema migration to new, with schema test cases.
- Server node UI Schema migration to new, with schema test cases.
- Database node UI Schema migration to new, with schema test cases.
- Few other UI changes.
Fixes #6130
2021-09-09 12:20:59 +05:30
Aditya Toshniwal
173517985e
Avoid a potential conflict with jquery.drag and use addEventListener to bind events.
2021-09-01 15:02:20 +05:30
Nikhil Mohite
b30a42ab9e
Ensure that deleting a database should not automatically connect to the next database. Fixes #6685
2021-08-25 17:01:48 +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
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
Libor M
cc989c5c08
Added missing gettexts and text space improvements.
2021-06-24 11:15: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
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
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
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
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
0bb40de1c4
Ensure that the user should not be able to add duplicate panels. Fixes #6399
2021-05-12 15:19:41 +05:30
Murtuza Zabuawala
4c55044440
Remove duplicate code and avoid DOM search operation.
...
refs #6355
2021-05-06 10:53:32 +05:30
Khushboo Vashi
72f3730c34
Added support to connect PostgreSQL servers via Kerberos authentication. Fixes #6158
2021-05-03 16:10:45 +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
abdd3190fe
Fixed some SonarQube issues.
2021-04-22 17:40:41 +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
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
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
Akshay Joshi
49a59f8929
Added zoom scaling options with keyboard shortcuts in runtime. Fixes #6271
2021-03-15 14:26:11 +05:30
Akshay Joshi
008bc6da28
Fixed some SonarQube issues.
2021-03-02 14:53:05 +05:30
Pradip Parkale
4267207c7f
1) Fixed an issue where the user is unable to create a subscription if the host/IP address for connection is 127.0.0.1. Fixes #6253
...
2) Ensure that proper error message should be shown on the properties and statistics tab in case of insufficient privileges for a subscription. Fixes #6259
3) Fixed an issue where the 'Create Slot' option is disabled in case of the same IP/host provided but the port is different. Fixes #6260
2021-03-01 12:08:33 +05:30
Nikhil Mohite
4fc36a9053
Fixed an issue where the properties tab for collection nodes is unresponsive after switching the tabs. Fixes #4959
2021-02-26 12:50:30 +05:30
Aditya Toshniwal
1317e4254b
Updated the JS dependencies to the latest
...
1) Migrate from webpack 4 to webpack 5. This had a lot of breaking changes,
so updated multiple webpack plugins and changed the config accordingly.
2) Replaced iconfont-webpack-plugin with a more maintained webfonts-loader.
3) Replaced deprecated babel-eslint with @babel/eslint-parser.
4) Replaced optimize-css-assets-webpack-plugin with a more maintained css-minimizer-webpack-plugin.
5) Updated all other JS packages and made the required code changes.
Fixes #6207
2021-02-10 12:47:52 +05:30
Aditya Toshniwal
617440e1db
Ensure that ajax request for Dashboard, Statistics, Dependencies, and Dependents
...
should not be raised until the panel will be in focus.
refs #5091
2021-02-09 15:31:26 +05:30
Aditya Toshniwal
73b6b95fbc
Make Statistics, Dependencies, Dependants tabs closable and the user can add them back using the 'Add panel' option. Fixes #5091
2021-02-03 12:46:32 +05:30
Pramod Ahire
9e90350e44
Fixed jasmine test cases and added some missing messages for disabled menus.
2021-02-03 12:15:37 +05:30
Pramod Ahire
b948f43dda
Added Quick Search functionality for menu items and help articles. Fixes #6148
2021-02-02 14:47:58 +05:30
Pradip Parkale
bf56a6723b
Added support for Logical Replication. Fixes #5912
2021-02-01 15:12:43 +05:30
Akshay Joshi
102ffd141c
Implemented runtime using NWjs to open pgAdmin4 in a standalone window
...
instead of the system tray and web browser. Used NWjs to get rid of QT
and C++. Fixes #5967
Use cheroot as the default production server for pgAdmin4. Fixes #5017
2021-01-29 13:38:27 +05:30
Aditya Toshniwal
13db981445
Fixed following issues in ERD:
...
1) After opening an existing project, the first table is already selected but the edit, clone, delete buttons are disabled.
2) ERD project title gets changed when 2 ERD projects are open & anyone of it edited.
3) Closing the ERD tab does not ask for a confirmation pop-up.
4) Shortcut for 'Show more/Fewer details' is missing.
5) Deleting the primary key does not delete associated links.
6) The long table & schema name are getting out of the box.
7) The long table name in the notes pop-up needs re-alignment.
8) The same table name present in ERD/canvas is allowed in Add Table dialogue. Added validation in the dialog.
9) Download image option is added, but it is not perfect yet. Image icons (table, schema, etc.) are not showing up.
10) Rename panel option should be disabled by default. It should be enabled for the tools which implement rename functionality.
11) The Toolbar is not visible in Safari for the ERD tool.
refs #1802
2021-01-25 17:32:56 +05:30
Dave Page
91ca746c27
Fix menu text (the Query tool option doesn't open a dialogue, so should not have ...).
2021-01-20 15:52:34 +00:00
Akshay Joshi
b372f08a59
Update copyright notices for 2021
2021-01-04 15:34:45 +05:30
Nikhil Mohite
dbb4a46d46
Fixed accessibility issues in various dialogs. Fixes #6077
2020-12-24 13:26:25 +05:30
Rahul Shirsat
183c83f0d2
Fixed an issue where the validation error message is shown twice. Fixes #5736
2020-10-30 14:59:22 +05:30
Nikhil Mohite
c86a3d64fc
Added support to rename query tool and debugger tabs. Fixes #4230
...
Fixed an issue where non-closeable tabs are getting closed. Fixes #5923
2020-10-23 17:16:31 +05:30
Akshay Joshi
556278dbc5
Added support to view trigger function under the respective trigger node. Fixes #2519
2020-10-12 13:49:54 +05:30
Aditya Toshniwal
3e7cdcdf90
Ensure that 'ctrl + a' shortcut does not move the cursor in SQL editor. Fixes #5131
2020-09-29 10:56:57 +05:30
Aditya Toshniwal
553be14000
Fixed an issue where a column is renamed and then removed, then the drop SQL query takes the wrong column name. Fixes #5807 .
2020-09-21 09:40:45 +05:30
Pradip Parkale
b562ab7681
Added shared server support for admin users. Fixes #4979
2020-09-03 12:59:28 +05:30
Neel Patel
b53de0c31d
Updated some more font awesome icons for v5
2020-08-21 14:15:18 +05:30
Akshay Joshi
8f61944386
1) Added special handling for the extension to resolve the dependency.
...
2) Added 'is_sys_obj' to the ignore list of Schema Diff.
3) Font awesome v5 fixes.
2020-08-13 17:48:04 +05:30
Nikhil Mohite
93adf6884f
Upgrade font awesome from v4 to v5. Fixes #5731
2020-08-13 12:04:00 +05:30
Yogesh Mahajan
3672013ddc
Fixed an issue where the error message does not have a close button on utility dialogs. Fixes #5670
2020-08-07 17:17:51 +05:30
Aditya Toshniwal
56cf64ad22
Fixed following SonarQube issues:
...
- Refactor functions to not always return the same value.
- Rename "cls" to "self" or add the missing "self" parameter.
- Remove useless assignment to variables.
2020-07-30 14:04:22 +05:30
Nikhil Mohite
7edcca9b07
Added High Contrast theme support. Fixes #5653
...
Fixed text color issue in explain analyze for the Dark theme. Fixes #5677
2020-07-20 11:51:21 +05:30
Satish V
64cdd509b0
Fixed save button enable issue when focusing in and out of numeric input field. Fixes #5137
2020-07-17 15:31:04 +05:30
Aditya Toshniwal
161c9b0fc7
Fixed code smell 'Variables should not be shadowed'.
...
Fixed all the duplicate CSS blocks issues raised by SonarQube.
2020-07-14 15:45:01 +05:30
Murtuza Zabuawala
2db9242f5c
Fixed accessibility issue where few dialogs are not rendering properly
...
when we zoomed in browser window 200% and screen resolution is low.
Fixes #5662
2020-07-09 18:18:37 +05:30
Aditya Toshniwal
dd4dc19add
Fixed issue where dialog sizes snapping to the default widths.
2020-07-03 11:26:06 +05:30