Commit Graph

48 Commits

Author SHA1 Message Date
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
Kristof Mattei
956401015d
Fixed an issue pgAdmin fails to launch due to inconsistent PATH variable name on windows. #7153, #7125 2024-02-01 21:07:39 +05:30
Akshay Joshi
740ce15bd7 Update copyright notices for 2024 2024-01-01 14:13:48 +05:30
Akshay Joshi
e207a82dbb Remove the 'Close Window' submenu specifically for OSX to prevent unintended closure of the entire application. #6814 (partial fixed) 2023-12-05 12:29:28 +05:30
Nikhil Mohite
361ae458d4
Fixed an issue where on entering full screen, the option label is not changed to 'Exit Full Screen' in desktop mode. #6921 2023-11-23 15:52:00 +05:30
Pravesh Sharma
62056cab14
Fixed sonaqube security smells and bugs
1. Delete unreachable code or refactor the code to make it reachable.
2. Unexpected var, use let or const instead.
3. Remove useless assignment to variable.
4. Define a constant instead of duplicating the literal
5. Remove commented out code
2023-07-10 10:36:15 +05:30
Aditya Toshniwal
b2864add54 Disable devtools completely using chromiunm args. #6183 2023-05-02 11:13:17 +05:30
Aditya Toshniwal
edb74a0839 Disable NW.js dev tools shortcut on Mac as it may crash the app. #6183 2023-04-28 19:01:03 +05:30
Aditya Toshniwal
a93c0c8d94
Redirect pgAdmin main window console logs to NW.js server logs. 2023-04-06 15:16:14 +05:30
Khushboo Vashi
5e0daccf76 Added support for psycopg3 along with psycopg2. #5011 2023-02-15 11:31:29 +05:30
Nikhil Mohite
a48828e7a3
Improve performance by removing signal-based zoom-in, zoom-out, etc functionality from the runtime environment. #5723 2023-01-17 17:18:35 +05:30
Nikhil Mohite
d1a9406bff
Removed 'About pgAdmin 4' default menu option from macOS native menus. 2023-01-02 12:57:09 +05:30
Akshay Joshi
98184e5835 Update copyright notices for 2023 2023-01-02 11:53:55 +05:30
Aditya Toshniwal
ff9daec5ec
Rewrite pgAdmin main menu bar to use React. #5615 2022-12-22 14:25:18 +05:30
Nikhil Mohite
c752183199
Fixed issues in native menus. #5503
1. Lock layout selection from native menus not reflecting in preferences dialogue.
2. Sort sub menus with labels and priority in the toolbar and context menus
2022-12-09 14:08:35 +05:30
Nikhil Mohite
adfef8e2bb
Fixed blank screen issue while opening online help in new window. #5503 2022-12-09 11:50:53 +05:30
Nikhil Mohite
cc0d467927
Fixed blank screen issue while opening query tools in new tab from native menu. #5503 2022-12-08 19:17:12 +05:30
Nikhil Mohite
b172cd6a16
Resolved native menu issues. #5503 2022-12-07 18:47:38 +05:30
Dave Page
582c480611 Some minor string improvements. 2022-12-06 14:50:26 +00:00
Nikhil Mohite
2480d08e0f
Added native menu support in desktop mode. #5503 2022-12-06 18:16:36 +05:30
Akshay Joshi
7086719640 Fixed SonarQube issues. 2022-09-08 18:08:58 +05:30
Yogesh Mahajan
2de89dcaaf Fixed an issue where a user could not authenticate using Azure CLI on OSX. Fixes #7632 2022-08-22 14:50:18 +05:30
Akshay Joshi
1e94c3bd81 Fixed Security Hotspot reported by SonarQube. 2022-08-14 07:09:45 +05:30
Akshay Joshi
a16e3523bd Ensure that the splash screen can be moved. Fixes # 7471 2022-07-07 14:11:36 +05:30
Akshay Joshi
b1f6664292 Added some logging for start-up time and changed the ping time from every second to 250 milliseconds. 2022-06-30 11:11:30 +05:30
Chethana Kumar
3414de9ab2 Updated splash screen 2022-02-17 12:36:44 +00:00
Akshay Joshi
9cc2985d13 Update message catalog. 2022-02-04 16:35:33 +05:30
Akshay Joshi
19beb62f81 Added support to open SQL help, Dialog help, and online help in an external web browser. Fixes #7139 2022-02-04 16:05:30 +05:30
Akshay Joshi
9f836f5433 Fixed following code smells reported by SonarQube:
1) Immediately return this expression instead of assigning it to the temporary variable.
 2) Extract this nested ternary operation into an independent statement.
 3) Expected a `for-of` loop instead of a `for` loop with this simple iteration.
2022-01-18 14:49:54 +05:30
Akshay Joshi
2786f7ac5a Update copyright notices for 2022 2022-01-04 13:54:25 +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
a10b0c7786 Revert the minimum window size of the NWjs and set the width and height to 1024x768. 2021-09-06 21:45:40 +05:30
Aditya Toshniwal
c5ad2c03a2 Set the minimum window size of the NWjs desktop app to be 1024x768. 2021-09-06 19:07:28 +05:30
Aditya Toshniwal
092f830c3c Fixed blank screen issue on windows and also made changes to use NWjs manifest for remembering window size. Fixes #6419 2021-08-26 11:19:15 +05:30
Dave Page
4a3a5174b2 Disable browser password saving in the runtime. Fixes #6473 2021-06-11 15:10:38 +01:00
Akshay Joshi
1e6eca1787 Ensure that pgAdmin4 shut down completely on the Quit command. Fixes #6420 2021-05-10 15:28:45 +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
Dave Page
ded65340fe Ensure the Python interpreter used by the runtime ignores user site-packages. Fixes #6269
Significant debugging by Peter Buckner.
2021-03-17 15:20:20 +00:00
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
Dave Page
7780cbfb83 Cleanup some code warnings. 2021-03-12 15:20:57 +00:00
Dave Page
47e9ef070e Include the environment in the runtime log. 2021-03-12 15:07:08 +00:00
Dave Page
ec199e5e49 String tidy-up. 2021-03-12 14:52:41 +00:00
Akshay Joshi
296c23784f Fixed an issue where the python server is not closed when the user quits the
application from the top menu bar on OSX.

Python server will not be closed if the user quits the application from Dock,
for this we have updated the issue https://github.com/nwjs/nw.js/issues/7365

refs #6244
2021-02-22 14:58:04 +05:30
Akshay Joshi
2570f7d75c Fixed an issue where the user can't change the connection timeout setting if the fixed port number is enabled. Fixes #6249 2021-02-19 14:24:16 +05:30
Akshay Joshi
3fc0cc3e92 Fixed SonarQube issues 2021-02-15 17:31:20 +05:30
Akshay Joshi
3a50c17110 Ensure that the pgAdmin server should not be closed if the user clicks on the Cancel button of the 'Leave site' message box. 2021-02-05 14:41:23 +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