Commit Graph

59 Commits

Author SHA1 Message Date
Ashesh Vashi
d09833744a
Separate the application name, branding & version information from the configuration file. #7187 2024-02-09 16:25:03 +05:30
Khushboo Vashi
0d287df6dd
Administer pgAdmin Users and Preferences Using the Command Line Interface (CLI). #2483 2023-12-21 12:07:26 +05:30
Khushboo Vashi
4db13facf7 Install setuptools separately as it is no longer a core venv dependency in Python 3.12. 2023-12-18 16:06:19 +05:30
Khushboo Vashi
adab656a79 Fixes for Python 3.12 compatibility:
- Upgrade testtools package
- Use platstdlib instead of stdlib to get the path
2023-12-18 13:27:05 +05:30
Khushboo Vashi
92549af3d4 Replaced distutils.sysconfig.get_python_lib with sysconfig.get_path. 2023-12-18 12:21:20 +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
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
Khushboo Vashi
48bfc66048 Generate software bill of materials as part of the package builds. #3702 2023-08-03 16:08:59 +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
c80f760d07 Pin NW.js to 0.72.0 in build files 2023-04-03 15:21:14 +05:30
Ashesh Vashi
c78904501d 1) Correct the name of the python binary to use with mod_wsgi.
2) Remove logic for Ubuntu 18 as we remove the support for it.
2023-03-28 11:20:04 +05:30
Akshay Joshi
28e1e34407 Correct the command to create virtual environment. 2023-03-17 19:22:14 +05:30
Akshay Joshi
5a0731587a 1) Try to fix Jenkins failure.
2) Update release note
2023-03-17 18:16:17 +05:30
Akshay Joshi
f9fee9103b
Use correct python binary for Ubuntu 18 and EL-8. 2023-03-17 17:47:53 +05:30
Aditya Toshniwal
292d76b39e
Update SQLAlchemy, Flask, Flask-SQLAlchemy, and other packages to current versions. #5901
- Update Flask, Flask-SQLAlchemy, Flask-Babel, Flask-Security-Too, Flask-SocketIO, pytz, psutil, SQLAlchemy, bcrypt, cryptography, eventlet, Authlib, requests python packages
- Remove pinned dnspython, Werkzeug packages from requirements.txt
2023-03-15 11:57:16 +05:30
Akshay Joshi
fead2b25be Changing psycopg to psycopg2 as the package upgrade PR has been reverted 2023-03-09 17:31:08 +05:30
Khushboo Vashi
5e0daccf76 Added support for psycopg3 along with psycopg2. #5011 2023-02-15 11:31:29 +05:30
Aditya Toshniwal
ec86152396
Revert audit fix changes and ignore the low severity Vulnerability. 2023-01-31 13:01:52 +05:30
Aditya Toshniwal
cdcc4e7314
Fix python audit issues. 2023-01-31 11:20:36 +05:30
Khushboo Vashi
77aae3c456
Update 'setup-web.sh' to use systemctl or service automatically based on what is present on the system at runtime
Initial Patch By: Serhiy Lakas
2022-11-28 14:10:07 +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
Dave Page
9c9fb293da Yet more Sonarqube fixes. 2022-08-10 16:43:48 +01:00
Dave Page
0f11033989 More Sonarqube fixes for Linux 2022-08-10 15:54:51 +01:00
Dave Page
5e4d3cc535 More sonarqube fixes for Linux 2022-08-10 11:34:40 +01:00
Dave Page
d7ad375232 Fix additional issues detected by Sonarqube. 2022-08-10 10:36:47 +01:00
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
7066841467 A permission issue in the NWJS binaries and files caused pgAdmin not to work. Grant the appropriate permission explicitly. 2022-05-31 16:02:21 +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
Sandeep Thakkar
9e0998c4d5 Added support for the SUSE platform. 2022-03-22 14:57:22 +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
Akshay Joshi
6fb4df67a9 Remove __pycache__ to fix 'venv/bin/__pycache__: not a regular file' error. 2022-02-14 18:23:52 +05:30
Akshay Joshi
4ee9a95360 Remove the hardcoded version of NWjs from build scripts. 2021-12-09 10:39:21 +05:30
Dave Page
849a1b1a89 Fix an RPM build issue that could lead to a conflict with python3 at installation. Fixes #7013. 2021-11-23 09:16:47 +00:00
Dave Page
b0abc4048e Fix an RPM build issue that could lead to a conflict with python3 at installation. Fixes #7013. 2021-11-22 11:33:20 +00:00
Dave Page
a55ac2fdd1 Fix an RPM build issue that could lead to a conflict with python3 at installation. Fixes #7103. 2021-11-22 11:32:04 +00:00
Akshay Joshi
f6a9af0aa4 Hardcoded the version of NWjs to 0.55.0 in the build scripts, as the latest version cause some problems. 2021-09-28 10:07:59 +05:30
Dave Page
059dad747d Ensure our venv uses the correct python interpreter, even if the user has set a different version using update-alternatives or similar. Partially fixes #6279 2021-03-08 11:17:55 +00:00
Dave Page
7d3903463c Fixup hash bangs in the venv. Partially fixes #6279 2021-03-05 10:15:45 +00:00
Dave Page
04a24680a6 Ensure that the venv activation scripts have the correct path in them on Linux. Partially fixes #6279 2021-03-05 09:58:30 +00:00
Dave Page
77949ac4f7 Improve the web setup script for Linux to make the platform detection more robust and overrideable. Fixes #6228 2021-03-03 09:06:37 +00:00
Dave Page
589663d7d9 Fix filenames. 2021-02-09 16:15:13 +00:00
Dave Page
530eb3972b Convert READMEs to lightly formatted markdown, so they display nicely on Github etc. 2021-02-05 16:18:50 +00:00
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
Dave Page
b85831fb5f Fix typo 2020-09-01 09:22:10 +01:00
Dave Page
8368eed645 Ensure that 'setup-web.sh' should work in Debian 10. Fixes #5775. 2020-08-27 19:21:21 +05:30
Dave Page
f57558fdb2 Add a --yes command line option to setup-web.sh to allow non-interactive use. Fixes #5610. 2020-07-27 06:29:01 -04:00
Dave Page
04ce8b2c71 Include LICENSE and DEPENDENCIES [inventory] files in official packages. Fixes #5577
Whilst passing, rename libraries.txt to DEPENDENCIES and update the list of static packages.
2020-07-17 17:06:16 +01:00
Dave Page
bfa0b87791 Make sure we have the wheel package in the venv as it may be needed to build other dependencies. 2020-06-12 11:42:42 +01:00
Dave Page
445abf1e31 Quieten pushd/popd 2020-06-02 13:14:02 +01:00