Commit Graph

453 Commits

Author SHA1 Message Date
Yogesh Mahajan
5a74022e8a
Allow preferences customization using a configuration file. #6058 2024-02-15 14:58:31 +05:30
Ashesh Vashi
d09833744a
Separate the application name, branding & version information from the configuration file. #7187 2024-02-09 16:25:03 +05:30
Akshay Joshi
740ce15bd7 Update copyright notices for 2024 2024-01-01 14:13:48 +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
Akshay Joshi
101f6fc103 1) Remove the version folder from the Windows Default Installation path.
2) Rename the release note to 8.0
3) Update the version for release v8.0
2023-11-17 17:52:56 +05:30
Akshay Joshi
53b5b59f56
Use notarytool instead of altool for notarization, as altool has been deprecated. (#6919) 2023-11-01 15:39:35 +00:00
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
5736e173ea 1) Fixed an issue where PG 16 binaries not getting copied into the docker container.
2) Remove support for PostgreSQL 11.
2023-09-26 13:45:08 +05:30
sprayzcs
5cf9dea9a8
Change grep regex in the docker's entrypoint to find env variables starting with PGADMIN_CONFIG_ only. 2023-09-04 13:06:15 +05:30
Yogesh Mahajan
e2f32c0984
Fix doc build failure due to SQLAlchemy changes. #6208 2023-08-17 14:00:56 +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
a9799f25a2 Generate SBOM for Python wheel package. 2023-08-14 16:23:17 +05:30
Khushboo Vashi
e80d55e968 Use a consistent name for sbom files. 2023-08-11 15:12:26 +05:30
Dave Page
7fcfea2214 JIT entitlement is required on Apple Silicon, otherwise NWJS won't start.
See https://github.com/nwjs/nw.js/issues/8086
2023-08-10 13:36:00 +01:00
Dave Page
e06d39b70c Cleanup some more unnecessary artefacts from the build. 2023-08-10 13:35:04 +01:00
Khushboo Vashi
ac50b4d80b Another attempt to fix rpm build failure for SBOM. 2023-08-04 15:37:13 +05:30
Khushboo Vashi
2c4b479f50 Fix the rpm build failure for SBOM. 2023-08-04 15:05:06 +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
Dave Page
6bf2733628 Use the release build of NWJS for Apple Silicon 2023-06-09 14:58:35 +01:00
Dave Page
b337b64eb1 Make sure the quarantine bit isn't set. 2023-05-26 13:31:22 +01:00
Dave Page
7d068130a4 Build for Apple Silicon using the test SDK build from NWjs. 2023-05-25 15:42:42 +01:00
Dave Page
4baaff4566
Fix typo. 2023-05-24 16:15:15 +01:00
Dave Page
bdcf1f986f
Manually install pip as well, to minimise work done by the framework creation script. 2023-05-24 16:14:43 +01:00
Dave Page
7609038a16
Install packages into the vent separately to avoid psycopg build issues. 2023-05-24 15:47:48 +01:00
Dave Page
619680e71f
Don't unnecessarily set the PATH to include a hard coded directory. 2023-05-24 15:15:19 +01:00
Dave Page
3e031ad334
Include the architecture name in the macOS DMG, in preparation for native M1 support. 2023-05-24 11:44:44 +01:00
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
Akshay Joshi
1ccdbf27e2 Pin Sphinx version to 6.1.3 due to locale error. 2023-04-28 17:57:10 +05:30
Akshay Joshi
1131e0f742 Added PYTHON_OS_VERSION 11 for OSX build to get python 3.11 2023-04-13 16:20:42 +05:30
Akshay Joshi
d92a836647 Update python version for OSX and update the release note. 2023-04-13 15:51:49 +05:30
Akshay Joshi
290e160e13 Added backslash to quote $ variable substitution in preinst script. 2023-04-11 10:42:19 +05:30
Akshay Joshi
af13d6da16 One more attempt to fix preinst script for RPM and Debian 2023-04-10 19:36:29 +05:30
Akshay Joshi
6b31fc4552 Change the logic to prevent the config_local.py from deletion on RPM and Debian. 2023-04-10 16:56:55 +05:30
Akshay Joshi
96450fee63 Prevent deletion of 'config_local.py' for RPM and Debian 2023-04-06 19:15:01 +05:30
Akshay Joshi
c08ec7a1bd Give proper permission to preinst script 2023-04-04 18:55:38 +05:30
Akshay Joshi
fdf7a459eb Added pre-installation steps to remove venv and web folder for RPM and Debian. 2023-04-04 18:28:59 +05:30
Aditya Toshniwal
c80f760d07 Pin NW.js to 0.72.0 in build files 2023-04-03 15:21:14 +05:30
Khushboo Vashi
01ef5c664f Make sure pgadmin4-server package pulls libpq5 instead of libpq. 2023-03-30 16:05:03 +05:30
Dave Page
d3f058cf1f Don't include built assets in the source tarball.
It looks like code to build and include Javascript bundles was added when React
was first included in the project. This shouldn't be the case - the source tarball
should contain only the source code.
2023-03-29 15:08:35 +01:00
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
Dave Page
0e38d1b82b Remove remnants of CentOS/RHEL 7 packaging. 2023-03-23 14:02:58 +00:00
Khushboo Vashi
c5e1e74757
Added missing dependency for psycopg3 in the wheel package. 2023-03-23 11:50:52 +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
Dave Page
e408049bae Update supported Python versions. 2023-03-14 11:53:05 +00:00
Khushboo Vashi
d053742ca4 Change psycopg-binary in setup_pip.py file. 2023-03-14 15:59:49 +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
323fcad8a7
Upgrade postgresql-devel package. 2023-03-08 18:27:54 +05:30
Khushboo Vashi
89a2e427f3 Added libpq5 and libpq5-dev to the Redhat build script. 2023-02-28 17:58:58 +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
Akshay Joshi
10c6a4f8dc 1) Unpin Sphinx version as the issue has been fixed in v 6.1.3
2) Update release note
2023-01-17 17:30:22 +05:30
Akshay Joshi
9fd949335b Pin Sphinx version to 6.1.1 as latest version throws some error. 2023-01-09 11:28:33 +05:30
Dave Page
c53c966222
Revert to using postgresql-libs
The libpq5 package currently has a dependency on libzstd, which is only in EPEL on EL7.
Use postgresql-libs instead for now. 
We need to change this back to libpq5 if/when the RPM is fixed, so we can include the -devel package.
2023-01-06 09:33:03 +00:00
Akshay Joshi
014ae2ea3f Update README and release note 2023-01-04 17:30:21 +05:30
Akshay Joshi
98184e5835 Update copyright notices for 2023 2023-01-02 11:53:55 +05:30
Dave Page
94d6b85d72
Include libpq development packages in the repos. (#5667)
While we're at it:
- Automatically find the latest PostgreSQL installation on EL/Fedora
- Use libpq5 on EL/Fedora, not postgresql-libs.

Fixes #5650
2022-12-22 16:51:21 +05:30
Aditya Toshniwal
b3413c85e3
Fix build issues for linux packages. 2022-12-19 14:35:53 +05:30
Aditya Toshniwal
8e1b0c459f
Fix build issues. #5563 2022-12-19 11:59:21 +05:30
Yogesh Mahajan
181ed62ec2
Ensure the appbundle has correct permissions so that pgAdmin can be accessed by users other than owner. #5613 2022-12-19 10:47:18 +05:30
Aditya Toshniwal
cbea043ca1
Allow YouTube video demo links to be added to appropriate pgAdmin documentation. #5563 2022-12-19 10:45:45 +05:30
Dave Page
45aa274a9e Fix path. 2022-12-15 10:45:54 +00:00
Dave Page
8ecdfb4298 We should be using PostgreSQL 15 libs. 2022-12-15 10:31:46 +00:00
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
5219c25189 Revert back the background png for OSX build. 2022-11-04 14:31:01 +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
8ef3f232ab Support PostgreSQL 15. 2022-10-17 10:02:45 +01:00
Dave Page
b519af280b Don't assume the system python executable is "python". Favour "python3" and fall back. 2022-10-06 12:43:03 +01:00
Dave Page
64d9fd0a0b Disable executable page protection, otherwise NWjs may crash. 2022-10-06 12:42:17 +01:00
Dave Page
cc55c8db89 Tighten up macOS entitlements, and add comments explaining.
Note that this re-enables executable page protection, which was disabled for unknown reasons.
2022-10-05 12:36:53 +01:00
Dave Page
992dff64af Expose the Gunicorn limit_request_line parameter in the container, with the default set to the maximum 8190.
See #5390.
2022-10-03 14:09:25 +01:00
Dave Page
8459a45d72 Update to use GitHub for source repos. 2022-09-21 10:56:03 +01:00
Dave Page
2567ed5784 Fix a bug introduced by the previous Sonarqube fixes. 2022-08-11 10:44:55 +01:00
Dave Page
3cffcc8f5b Sonarqube fixes for Docker. 2022-08-11 09:30:43 +01:00
Dave Page
3766fa7f0b Sphinx doesn't seem to be in EPEL any more. 2022-08-10 17:17:56 +01:00
Dave Page
626681c5ba Yet more Sonarqube fixes. 2022-08-10 17:01:31 +01:00
Dave Page
9c9fb293da Yet more Sonarqube fixes. 2022-08-10 16:43:48 +01:00
Dave Page
2bc60c9142 More Sonarqube fixes for macOS 2022-08-10 16:18:19 +01:00
Dave Page
0f11033989 More Sonarqube fixes for Linux 2022-08-10 15:54:51 +01:00
Dave Page
c0c4524ec3 Sonarqube fixes for macOS 2022-08-10 14:56:25 +01:00
Dave Page
5e4d3cc535 More sonarqube fixes for Linux 2022-08-10 11:34:40 +01:00
Dave Page
f6e7221359 Remove unnecessary variable. 2022-08-10 10:44:06 +01:00
Dave Page
d7ad375232 Fix additional issues detected by Sonarqube. 2022-08-10 10:36:47 +01:00
Dave Page
b69af1341b NodeJS 16 should be the default. 2022-08-10 10:27:40 +01:00
Dave Page
233652c3f1 Fix some issues detected bu Sonarqube. 2022-08-10 10:22:06 +01:00
Dave Page
923f2fc7c4 'file' output might span two lines with universal binaries.
Filter out any lines that start with "- Mach-O".
2022-08-10 10:20:01 +01:00
Dave Page
3e0d8d1920 Fixes for el9 2022-06-27 10:53:11 +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
Yogesh Mahajan
3297546e0a Added support for passing password using Docker Secret to Docker images. Fixes #7332 2022-06-15 11:07:56 +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
Dave Page
0747329575 Don't strip binaries when packaging them in the server RPM as this might break cpython modules.
Fixes #7231
2022-04-08 15:27:34 +01:00
Sandeep Thakkar
9e0998c4d5 Added support for the SUSE platform. 2022-03-22 14:57:22 +05:30