Commit Graph

120 Commits

Author SHA1 Message Date
Pravesh Sharma
b51eef12b7
Add an object menu option to disconnect all server and database connections. #1984 2024-11-06 15:52:31 +05:30
Akshay Joshi
53760dbf59 Fixed tree related issues. 2024-09-16 10:09:28 +05:30
Aditya Toshniwal
dcfef154ce
- Set the browser target to ES6 and reduce the JS bundle size considerably
- Upgrade ESLint to v9.x and migrate the .eslintrc.js file to make it work
2024-07-04 18:25:47 +05:30
Akshay Joshi
df2f3460f0 Fix the following SonarQube code smells:
1) Use the "RegExp.exec()" method instead.
2) Remove parameter form or provide default value.
3) Extract this nested ternary operation into an independent statement.
4) Replace this character class by the character itself.
5) Unnecessary use of conditional expression for default assignment.
6) Prefer using an optional chain expression instead, as it's more concise and easier to read.
2024-06-11 18:07:22 +05:30
Aditya Toshniwal
3b20cad5bb Fixed an issue where drag and drop publication and subscription name in SQL editors was not working. #6086 2024-05-09 15:34:44 +05:30
Khushboo Vashi
2324337149 Trigger the browser tree destroyed event so the consequences of destroying the tree are handled properly. 2024-04-26 11:59:53 +05:30
Yogesh Mahajan
e384c9665a
Fixed a XSS vulnerability in the /settings/store endpoint. #7282 2024-04-10 17:58:51 +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
097b630738
Added support for EDB Job Scheduler. #7098 2024-03-18 11:53:59 +05:30
Aditya Toshniwal
a5530f59f7 Fix sonarqube issues for the rule - 'If' statement should not be the only statement in 'else' block 2024-02-26 11:55:36 +05:30
Aditya Toshniwal
028b70203c Fix SonarQube bugs 2024-01-29 18:39:30 +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
Aditya Toshniwal
e80e82cd7f Allow drag-n-drop columns collection tree node as comma separated columns. #4419 2024-01-22 13:19:04 +05:30
Akshay Joshi
740ce15bd7 Update copyright notices for 2024 2024-01-01 14:13:48 +05:30
Pravesh Sharma
cede5cf899
Fixed an issue where object explorer last tree state was not saving. #7066 2023-12-25 11:55:09 +05:30
Aditya Toshniwal
3bcac26ff9 Fix multiple UI and SonarQube issues found when testing wcDocker changes. #6479 2023-10-26 12:06:28 +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
Anil Sahoo
cbeacf890d
Fixed Query Tool/ PSQL tool tab title not getting updated on database rename. #6364 2023-06-29 10:34:20 +05:30
Aditya Toshniwal
466e969776
Fix an issue where object explorer tree crashes occasionally. #5306 2023-06-21 11:05:58 +05:30
Aditya Toshniwal
96f3ac8a53 Code improvements to handle API errors gracefully in tree code. #6308 2023-05-23 14:37:16 +05:30
Aditya Toshniwal
cedfd12f6a
Add an option to hide/show empty object collection nodes. #5048 2023-05-22 14:55:01 +05:30
Pravesh Sharma
2ec460bf8f
Fix the browser tree state that is not remembered when reopening pgAdmin. #5777 2023-05-11 14:32:00 +05:30
Khushboo Vashi
1f2f405057
Indicate the user if all the server's children nodes are hidden from the preferences setting. #6003 2023-05-09 15:14:14 +05:30
Aditya Toshniwal
1e7517dc98
Show object breadcrumbs path along with its comment on object hover. #2078 2023-04-26 11:18:16 +05:30
Pravesh Sharma
c2a54f3524
Fixed an issue where browser tree state is not remembered when reopening pgAdmin. #5777 2023-04-13 13:02:46 +05:30
Aditya Toshniwal
a18d469c90
Fix an issue in search objects where objects were unable to locate occasionally. #5916 2023-04-04 18:29:54 +05:30
Aditya Toshniwal
5330121b36
On pressing Ctrl+C on a tree object, copy the fully qualified name to clipboard. #5854 2023-03-29 21:45:09 +05:30
Akshay Joshi
140494454a Fixed linter errors after eslint upgrade. 2023-03-29 17:22:50 +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
42ac0d577d
Add .ts and .tsx files under linter and fix linter issues. #5830 2023-03-16 17:22:26 +05:30
Anil Sahoo
5abb748c3e
Display the 'No menu available for this object' message if the selected tree node does not have any options. #5775 2023-03-02 11:02:15 +05:30
Aditya Toshniwal
08062e67ca
Do not allow to save invalid JSON in query tool JSON editor. #5822 2023-02-20 15:37:59 +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
Aditya Toshniwal
53ae657cc9
Fix menu closing issue on file manager. #5615
Fix file path issue in import/export servers caused due to vulnerability fix.
2023-01-16 19:28:23 +05:30
Aditya Toshniwal
83b207e7da
Fix few more issues related to Menu rewrite. #5615 2023-01-13 12:28:23 +05:30
Aditya Toshniwal
1c705cf9be
Fix issues related to menu rewrite. #5615 2023-01-09 18:41:23 +05:30
Nikhil Mohite
9c61670c9f
Ensure the query tool opens successfully on renaming any tree node from the database selected for the query tool connection #5542, #5559 2023-01-04 12:20:54 +05:30
Akshay Joshi
98184e5835 Update copyright notices for 2023 2023-01-02 11:53:55 +05:30
Aditya Toshniwal
5c34c10d4e
- Move pgadmin4-treeview to pgAdmin main repo.
- Use react based context menu for browser tree. #5615.
- Fix feature tests failure.
2023-01-02 10:51:13 +05:30
Nikhil Mohite
046b56bab1
Ensure the browser tree does not freeze while rendering 10k+ nodes/objects. #5541 2022-12-21 15:36:07 +05:30
Aditya Toshniwal
8d74de09cc
Remove all traces of Backbone, Underscore. #5493 2022-11-21 10:54:15 +05:30
Nikhil Mohite
c38face9fc
Ensure that the browser tree should auto scroll to the selected node when expanding the server node. #2174 2022-11-07 10:54:58 +05:30
Nikhil Mohite
bb78d91d1b
Ensure that scroll bar on browser tree should be visible on windows resize #5402 2022-10-06 15:58:05 +05:30
Aditya Toshniwal
2de965d710 1. Use EDB's repo for react-data-grid instead of the personal repo.
2. Improved searching in the Search Objects.
3. Fixed react warnings in the query tool.
4. Fixed some SonarQube issues.
2022-09-13 19:13:33 +05:30
Khushboo Vashi
ca8b5c68fd Remove Backgrid and Backform. Fixes #6134 2022-09-10 14:22:49 +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
4808df5e95 1) Port the file/storage manager to React. Fixes #7313
2) Allow users to delete files/folders from the storage manager. Fixes #4607
3) Allow users to search within the file/storage manager. Fixes #7389
4) Fixed an issue where new folders cannot be created in the save dialog. Fixes #7524
2022-07-19 15:27:47 +05:30
Nikhil Mohite
e3225b6565 Fixed the browser tree overlapping nodes and expansion issue. Fixes #6962 2022-05-28 13:26:17 +05:30