Ahmad
5c30695d66
Fixed Typos
2024-05-23 12:52:41 +05:30
Akshay Joshi
30d2d1b23e
Fixed the following code smells:
...
1) useState call is not destructured into value + setter pair.
2) A fragment with only one child is redundant.
3) Unnecessary '.apply()' and '.call()'.
4) Expected the Promise rejection reason to be an Error.
2024-04-09 19:18:56 +05:30
Akshay Joshi
edec9adbfb
Fixed SonarQube code smell 'Unnecessary use of boolean literals in conditional expression'.
2024-04-08 17:19:51 +05:30
Akshay Joshi
639a28fbfc
Fixed code smell 'Prefer using an optional chain expression instead, as it's more concise and easier to read'.
2024-01-25 16:51:40 +05:30
Pravesh Sharma
b28df5874e
Fixed an issue where multiple errors were showing if user does not have connect privileges. #7073
2024-01-12 17:20:51 +05:30
Akshay Joshi
740ce15bd7
Update copyright notices for 2024
2024-01-01 14:13:48 +05:30
Aditya Toshniwal
862f101772
Significant changes to use ReactJS extensively.
...
1. Replace the current layout library wcDocker with ReactJS based rc-dock. #6479
2. Have close buttons on individual panel tabs instead of common. #2821
3. Changes in the context menu on panel tabs - Add close, close all and close others menu items. #5394
4. Allow closing all the tabs, including SQL and Properties. #4733
5. Changes in docking behaviour of different tabs based on user requests and remove lock layout menu.
6. Fix an issue where the scroll position of panels was not remembered on Firefox. #2986
7. Reset layout now will not require page refresh and is done spontaneously.
8. Use the zustand store for storing preferences instead of plain JS objects. This will help reflecting preferences immediately.
9. The above fix incorrect format (no indent) of SQL stored functions/procedures. #6720
10. New version check is moved to an async request now instead of app start to improve startup performance.
11. Remove jQuery and Bootstrap completely.
12. Replace jasmine and karma test runner with jest. Migrate all the JS test cases to jest. This will save time in writing and debugging JS tests.
13. Other important code improvements and cleanup.
2023-10-23 17:43:17 +05:30
Akshay Joshi
c0b868b53b
Added Strategy, Locale Provider, ICU Locale, ICU Rules, and OID options while creating a database. #6383
2023-09-04 16:03:06 +05:30
Aditya Toshniwal
466e969776
Fix an issue where object explorer tree crashes occasionally. #5306
2023-06-21 11:05:58 +05:30
Akshay Joshi
557f33c4f9
Added support to drop databases using the 'WITH (FORCE)' option. #6367
2023-06-19 15:04:40 +05:30
Anil Sahoo
b5af4ead0d
Fix an issue where editing a database object de-selects it on the browser tree. #6136
2023-06-02 10:59:47 +05:30
Yogesh Mahajan
33953e9119
Fixed intermittent error "Connection Lost" shown while connecting to database.
2023-03-31 16:17:04 +05:30
Aditya Toshniwal
9924fae378
Nomenclature changes:
...
1. Rename "Properties..." context menu option of object to "Edit Object...".
2. Rename "Browser" tree to "Object Explorer". #4734
2023-03-28 22:20:14 +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
Akshay Joshi
98184e5835
Update copyright notices for 2023
2023-01-02 11:53:55 +05:30
Nikhil Mohite
2480d08e0f
Added native menu support in desktop mode. #5503
2022-12-06 18:16:36 +05:30
Aditya Toshniwal
8d74de09cc
Remove all traces of Backbone, Underscore. #5493
2022-11-21 10:54:15 +05:30
Aditya Toshniwal
af32e3c296
Added the ability to generate ERDs for tables. #4756
2022-11-09 11:36:04 +05:30
Nikhil Mohite
4925c6ce50
Ensure the Generate ERD option is hidden if the connection to the database is not allowed. #5149
2022-10-20 16:26:10 +05:30
Khushboo Vashi
ca8b5c68fd
Remove Backgrid and Backform. Fixes #6134
2022-09-10 14:22:49 +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
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
Akshay Joshi
53887c32bf
Port change ownership dialog to React. Fixes #7590
2022-08-05 14:11:17 +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
Akshay Joshi
44f9ba4a57
Port connect server password dialog to React. Fixes #7337
2022-05-16 16:21:14 +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
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
Nikhil Mohite
1b7dce124b
Fixes an issue where the connect server/database menu was not updated correctly. Fixes #7186
2022-03-07 15:28:28 +05:30
Akshay Joshi
677221cd9c
Rename the menu 'Disconnect Database' to 'Disconnect from database'. Fixes #7180
2022-02-15 18:34:31 +05:30
Aditya Toshniwal
bc0b25d995
1) Fixed an issue where a warning message was shown after database creation/modification. Fixes #7142 .
...
2) Added error boundary to schema view which will improve the exception stack trace details.
3) Fixed Jasmine test cases.
2022-01-31 13:41:22 +05:30
Akshay Joshi
0ce3434631
Fixed code smell 'Update this function so that its implementation is not identical' reported by SonarQube.
2022-01-25 20:10:31 +05:30
Akshay Joshi
343c3ee49c
Fixed following code smells reported by SonarQube:
...
1) Remove this redundant jump.
2) Remove this commented out code.
3) Variables should not be shadowed.
2022-01-21 18:54:23 +05:30
Nikhil Mohite
d945c6f843
Fixed an issue where connections keep open to (closed) connections on the initial connection to the database server. Fixes #7035
2022-01-19 15:02:05 +05:30
Akshay Joshi
4e414f57e6
Fixed code smell 'Default parameters should be last' reported by SonarQube.
2022-01-12 18:40:18 +05:30
Akshay Joshi
2786f7ac5a
Update copyright notices for 2022
2022-01-04 13:54:25 +05:30
Nikhil Mohite
191e2b6242
Fixed an issue where an operation error message pop up showing the database object's name incorrectly. Fixes #7078
2021-12-28 13:49:04 +05:30
Aditya Toshniwal
6875d00e44
Fixed an issue where confirmation pop-up is hidden behind Reassign/Drop Owned Dialog. Fixes #7071
2021-12-14 16:42:06 +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
c6424e3897
Replaced alertifyjs notifiers with React-based notistack. Fixes #7004
2021-12-02 16:05:52 +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
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
483e2ca8d0
Port browser tree to React. Fixes #6129
2021-09-27 16:44:26 +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
Akshay Joshi
460c66ab3f
Fixed an issue where the drop cascade button enables for Databases. Fixes #6724
2021-09-10 18:27:16 +05:30
Aditya Toshniwal
873deaa92d
Changed getNodeListByName to add params obj in parameters.
2021-09-09 12:40:54 +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