Commit Graph

312 Commits

Author SHA1 Message Date
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
dependabot[bot]
36dc2e9d2a
JS dependency: Bump eslint from 8.47.0 to 8.50.0 in /runtime (#6789)
Bumps [eslint](https://github.com/eslint/eslint) from 8.47.0 to 8.50.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.47.0...v8.50.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-05 11:33:41 +05:30
dependabot[bot]
dc9cc3730b
Python dependency: Bump axios from 1.5.0 to 1.5.1 in /runtime (#6796)
Bumps [axios](https://github.com/axios/axios) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.5.0...v1.5.1)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-04 18:25:10 +05:30
dependabot[bot]
39a14920e3
Python dependency: Bump axios from 1.4.0 to 1.5.0 in /runtime (#6725)
Bumps [axios](https://github.com/axios/axios) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.4.0...v1.5.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 15:05:16 +05:30
Akshay Joshi
33b2b82ba9 Pin NW.js to 0.77.0, as the latest version crashes after an attempt to reopen the fullscreen window. 2023-08-16 13:05:35 +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
dependabot[bot]
c1a7984e1f
Python dependency: Bump eslint from 8.41.0 to 8.42.0 in /runtime (#6362)
Bumps [eslint](https://github.com/eslint/eslint) from 8.41.0 to 8.42.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.41.0...v8.42.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-08 12:19:20 +05:30
dependabot[bot]
c649fcca94
Python dependency: Bump nw from 0.76.0 to 0.77.0 in /runtime (#6365)
Bumps [nw](https://github.com/nwjs/npm-installer) from 0.76.0 to 0.77.0.
- [Commits](https://github.com/nwjs/npm-installer/commits)

---
updated-dependencies:
- dependency-name: nw
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-08 10:37:31 +05:30
dependabot[bot]
0be4fb937f
Python dependency: Bump axios from 1.3.5 to 1.4.0 in /runtime (#6214)
Bumps [axios](https://github.com/axios/axios) from 1.3.5 to 1.4.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.3.5...v1.4.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 10:54:02 +05:30
dependabot[bot]
28b1f68750
Python dependency: Bump eslint from 8.38.0 to 8.41.0 in /runtime (#6309)
Bumps [eslint](https://github.com/eslint/eslint) from 8.38.0 to 8.41.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.38.0...v8.41.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-02 10:51:52 +05:30
Pravesh Sharma
c067289012
Fixed an issue where win 10 was not showing pgAdmin icon on taskbar for NW.js v0.73 and above. #6080 2023-05-15 21:43:32 +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
dependabot[bot]
e2c5d9a916
Python dependency: Bump eslint from 8.37.0 to 8.38.0 in /runtime (#6114)
Bumps [eslint](https://github.com/eslint/eslint) from 8.37.0 to 8.38.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.37.0...v8.38.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 12:45:40 +05:30
dependabot[bot]
e24bd7c0e8
Python dependency: Bump axios from 1.3.4 to 1.3.5 in /runtime (#6097)
Bumps [axios](https://github.com/axios/axios) from 1.3.4 to 1.3.5.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.3.4...v1.3.5)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-17 12:23:59 +05:30
Aditya Toshniwal
a93c0c8d94
Redirect pgAdmin main window console logs to NW.js server logs. 2023-04-06 15:16:14 +05:30
Aditya Toshniwal
287c53cd5a Downgrade NW.js to 0.72.0 as the latest version is not showing taskbar icon on Windows 2023-04-03 13:49:21 +05:30
dependabot[bot]
8d1bf6f735
Python dependency: Bump nw from 0.70.1 to 0.74.0 in /runtime
Bumps [nw](https://github.com/nwjs/npm-installer) from 0.70.1 to 0.74.0.
- [Release notes](https://github.com/nwjs/npm-installer/releases)
- [Commits](https://github.com/nwjs/npm-installer/commits)

---
updated-dependencies:
- dependency-name: nw
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-29 21:40:15 +05:30
dependabot[bot]
b37c5ff8c7
Python dependency: Bump axios from 0.21.4 to 1.3.4 in /runtime
Bumps [axios](https://github.com/axios/axios) from 0.21.4 to 1.3.4.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.4...v1.3.4)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-29 17:20:40 +05:30
dependabot[bot]
2f42481346
Python dependency: Bump eslint from 6.8.0 to 8.37.0 in /runtime (#6036)
Bumps [eslint](https://github.com/eslint/eslint) from 6.8.0 to 8.37.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.8.0...v8.37.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-29 16:48:40 +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
bbaf2ac46d Updated yarn.lock file with the latest versions. 2022-11-28 13:01:59 +05:30
dependabot[bot]
d636b46460
Bump lodash from 4.17.20 to 4.17.21 in runtime. 2022-11-25 12:42:09 +05:30
dependabot[bot]
2531385f1a
Bump minimatch from 3.0.4 to 3.1.2 in runtime. 2022-11-25 12:41:38 +05:30
Akshay Joshi
368d71b6ce The latest version of NWjs should be used. 2022-10-31 18:31:10 +05:30
pea-sys
4bcf0637f9
Improve PNG files by optimising them. 2022-10-31 18:06:53 +05:30
dependabot[bot]
ffe2fea81c
Bump minimist from 1.2.5 to 1.2.6 in /runtime (#5355)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/commits)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-23 15:08:50 +01:00
dependabot[bot]
c80db7933c
Bump axios from 0.21.0 to 0.21.2 in /runtime (#5354)
Bumps [axios](https://github.com/axios/axios) from 0.21.0 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.2/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.0...v0.21.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-23 15:08:39 +01:00
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
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
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
Akshay Joshi
e8f0454b39 Downgrade NWjs to 0.62.2. The latest version does not work on Ubuntu 20.04.
refs #7442
2022-06-21 16:49:43 +05:30
Akshay Joshi
5f81d2b4b1 The community has fixed the blocking issue at startup, so unpin the NWjs version and pick the latest. 2022-05-23 17:54:09 +05:30
Akshay Joshi
0f5d4cd7b7 Fixed an issue where pgAdmin 4 took ~75 seconds to display the 'Starting pgAdmin' text on the splash screen. Fixes #7230 2022-03-10 19:02:11 +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