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
Dave Page
e7dc6df723
Support running the container under OpenShift with alternate UIDs. Fixes #7257
2022-03-21 11:19:33 +00:00
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
Aparna Patil
8eeb12b600
Include the package priority in Debian/Ubuntu packages
2022-03-03 12:22:52 +00:00
Dave Page
f8df935404
Disable RPATH checking, as it will fail with some of the paths in the Python virtualenv, in particular Pillow.libs.
2022-03-01 13:55:00 +00:00
Akshay Joshi
6fb4df67a9
Remove __pycache__ to fix 'venv/bin/__pycache__: not a regular file' error.
2022-02-14 18:23:52 +05:30
Khushboo Vashi
0fa4609220
1) Fixed API test cases for Utilities.
...
2) Try to fix Jenkins build for __pycache__.
2022-02-14 17:26:27 +05:30
Akshay Joshi
b89e306df0
Updated supported platform in README
2022-02-11 17:34:24 +05:30
Dave Page
23aac4f580
Update default Python version
2022-02-02 10:59:39 +00:00
Dave Page
12d6271b13
Quote string
2022-01-21 13:23:13 +00:00
Dave Page
c65f60771a
Enforce the minimum Windows version that the installer will run on. Fixes #7135
2022-01-21 12:59:01 +00:00
Akshay Joshi
2786f7ac5a
Update copyright notices for 2022
2022-01-04 13:54:25 +05:30
Dave Page
c8109beaa7
Fix a couple of places missed in the mod_wsgi update.
2021-12-13 10:29:01 +00:00
Dave Page
42d2a18b91
Fix a couple of places missed in the mod_wsgi update.
2021-12-13 10:28:13 +00:00
Dave Page
1e59ec74e1
Bump mod_wsgi version.
2021-12-13 10:03:37 +00:00
Akshay Joshi
4ee9a95360
Remove the hardcoded version of NWjs from build scripts.
2021-12-09 10:39:21 +05:30
Dave Page
2121adb7fb
PEP-8. Sigh.
2021-12-06 17:06:26 +00:00
Dave Page
18c2faf7a9
Update Python version compatibility and PyPi description.
2021-12-06 16:44:50 +00:00
Ashesh Vashi
36c9eb3dfd
Added support for Two-factor authentication for improving security. Fixes #6543
2021-12-02 16:47:18 +05:30
Dave Page
1438eb6364
Update to the latest Alpine release
...
Add libldap, which is now required for libpq, and remove 9.6 support.
2021-11-30 11:56:41 +00:00
Talha Bin Rizwan
976faa5e2f
Add "section" to the Debian package control files. Fixes #7040
2021-11-29 13:47:11 +00:00
Dave Page
43176a8c6f
Don't generate build-id links in RPMs. Fixes #7013
...
We don't ship debuginfo RPMs so they're of no use, and can cause conflicts.
2021-11-23 10:57:20 +00:00
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
7d5668141d
Updated PostgreSQL version from 13 to 14, to get the latest utility files.
2021-10-04 16:12:45 +05:30
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
Akshay Joshi
a9ff5c799e
Ensure that pgAdmin should not fail at login due to a special character in the hostname. Fixes #6704
2021-09-01 15:36:37 +05:30
Dave Page
0c20466f2c
Assume yes to prompts.
2021-08-19 17:09:58 +01:00
Dave Page
c2db647379
Run apt update before doing anything else.
2021-07-21 15:48:59 +01:00
Akshay Joshi
16d2a3096a
1) Fixed an issue where the binary path is not correctly parsed for version 9.6. Fixes #6534
...
2) Added the default binary path in the container.
3) Fixed the typo in the documentation.
2021-06-15 19:49:46 +05:30
Dave Page
0c154deeec
Fix dict definition.
2021-06-15 14:19:31 +01:00
Akshay Joshi
082c9707c0
Fixed documentation issue 'Definition list ends without a blank line; unexpected unindent.'
2021-06-15 16:45:16 +05:30
Akshay Joshi
15798ee168
Updated DEFAULT_BINARY_PATHS for container.
2021-06-15 16:08:15 +05:30
Dave Page
d276f37e87
Support non-admin installation on Windows. Fixes #6524
2021-06-09 13:32:48 +01:00
Dave Page
1ead82f9b8
Various fixes to the setup process description.
2021-05-24 17:03:42 +01:00
Dave Page
c32ff3a7ee
Expect the yum repo metadata to be GPG signed.
2021-05-06 15:27:22 +01:00
Dave Page
649ca2eeac
Make the error messages on exit show something useful.
2021-05-04 14:12:13 +01:00
Akshay Joshi
c1ba645dce
'xdg-util' has been added to the server mode instead of desktop mode in the previous patch, corrected it.
...
refs #6338
2021-04-02 14:01:17 +05:30
Fahar Abbas
811ac6eb6c
Added missing dependency 'xdg-utils' for the desktop packages in RPM and Debian. Fixes #6338
2021-04-02 13:53:05 +05:30
Dave Page
9c69c1a277
Mark the Apache HTTPD config file as such in the web DEB and RPM packages. Fixes #6356
2021-03-29 10:35:50 +01:00
Dave Page
60dbb81883
Improve the shebang in the venv, so they work from any directory.
2021-03-15 15:27:17 +00:00
Dave Page
d4348bd726
Fixup shebangs in the venv scripts so they at least work if you're in the same directory.
2021-03-15 13:47:55 +00:00
Dave Page
5e40f9904d
Make 'kerberos' an optional feature in the Python wheel, to avoid the need to install MIT Kerberos on the system by default. Tidy up the Python versioning a little whilst passing. Fixes #6268
2021-03-08 11:33:08 +00:00
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
ed6ddbb8de
Fix README name.
2021-03-03 16:58:35 +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
cafd2af96d
Ensure PGADMIN_DEFAULT_EMAIL looks sane when initialising a container deployment. Fixes #6227
2021-02-26 16:57:09 +00:00
Dave Page
544483ae1f
Remove the "launch now" option in the Windows installer, as UAC could cause it to run as an elevated user. Fixes #5628
...
While we're passing, fix a couple of InnoSetup build warnings and remove some unnecessary code.
2021-02-26 16:24:39 +00:00
Dave Page
e8114b5dc6
Allow underscores in the Windows installation path. Fixes #5467
2021-02-26 12:27:39 +00:00
Dave Page
df7de2ef71
Ensure RPMs & DEBs depend on matching versions of each other. Fixes #6250
2021-02-19 10:09:41 +00:00
Dave Page
aeb42b1059
A little code tidying.
2021-02-18 16:13:45 +00:00
Dave Page
0d3cd2d466
Update supported platforms list.
2021-02-18 13:18:43 +00:00
Dave Page
85d1459372
The source location for cacert.pem has changed.
2021-02-17 15:43:02 +00:00
Dave Page
e54ccb1302
Fix library path rewriting to avoid an issue with Cryptogrpahy's Rust module as described at https://github.com/PyO3/setuptools-rust/issues/106
2021-02-10 13:28:16 +00:00
Dave Page
589663d7d9
Fix filenames.
2021-02-09 16:15:13 +00:00
Dave Page
884d9db54b
A bunch of size optimisation for the container.
...
The new Rust requirement for the Cryptography module bloated it significantly.
2021-02-09 13:12:26 +00:00
Dave Page
2f9a29f663
Handle the new Rust dependency in the Python Cryptography module.
2021-02-08 11:13:29 +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
Dave Page
5d098fe4b0
Remove a few files from the appbundle that aren't required.
2021-02-05 12:51:27 +00:00
Dave Page
65d9f88c63
Wait up to 30 minutes for notarisation - it can be very slow!
2021-02-02 16:59:58 +00:00
Dave Page
b41557b54b
Instead of rotating logs, don't write them to the container in the first place.
...
This is inline with container best practices (logs go to the container console).
Fixes #6170
2021-02-02 13:45:49 +00:00
Dave Page
0ccf2dad22
Use unzip to properly unpack nwjs.
2021-02-02 12:17:14 +00:00
Dave Page
2097d37f76
Wait longer for notarisation results.
2021-02-02 11:44:52 +00:00
Dave Page
0ca4426dd0
Move the macOS notarization into the build system and out of Jenkins.
2021-02-02 11:20:18 +00:00
Dave Page
bc3c857b35
Ensure libatomic is installed. Fixes #6198
2021-02-02 09:40:08 +00:00
Dave Page
e10dd6a80f
Rotate the logfile in the container distribution. Fixes #6170
2021-02-01 17:35:23 +00:00
Dave Page
32e3da7857
Make sure pgAdmin can find the root certificates for upgrade checks.
2021-02-01 17:26:39 +00:00
Dave Page
7dc6181d1e
Ensure the bundle identifier matches what's in Info.plist.
2021-02-01 15:19:10 +00:00
Dave Page
ad656a9d41
Use the same retry logic we use on Linux for grabbing nwjs.
2021-02-01 10:48:52 +00:00
Dave Page
56cc1f0aaf
Default to Python 3.9.1
2021-02-01 10:02:19 +00:00
Dave Page
a12a02cc14
We need python3 to be the default for building.
2021-01-29 10:31:29 +00:00
Dave Page
740d411524
Use Python3 to create the Python env.
2021-01-29 10:19:09 +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
32cdfa2969
Include PostgreSQL 13 utilities in the container. Fixes #6162
2021-01-20 13:17:27 +00:00
Khushboo Vashi
c71315f8cd
1) Added RPM/DEB dependency for Kerberos to the server package.
...
2) Handle the OSError while importing the gssapi, it fixes the Windows error.
refs #5457
2021-01-20 18:09:07 +05:30
Dave Page
850afd7402
Add a container option (PGADMIN_DISABLE_POSTFIX) to disable the Postfix server.
2021-01-20 11:50:05 +00:00
Dave Page
ddf7f04c94
Update instructions to include KfW build.
2021-01-20 11:37:12 +00:00
Khushboo Vashi
c0ef0a893d
1) Added support for Kerberos authentication, using SPNEGO to forward the Kerberos tickets through a browser. Fixes #5457
...
2) Fixed incorrect log information for AUTHENTICATION_SOURCES. Fixes #5829
2021-01-18 16:32:10 +05:30
Akshay Joshi
eb3cd689a1
1) Update release date.
...
2) Update copyright notice.
2021-01-07 17:05:56 +05:30
Dave Page
3687472201
The qt5-default package has been deprecated from Debian Bullseye.
2021-01-07 11:14:46 +00:00
Akshay Joshi
b372f08a59
Update copyright notices for 2021
2021-01-04 15:34:45 +05:30
Aditya Toshniwal
55e50144f3
Update the cryptography python package for Python 3.5 and above. Fixes #6033
2020-11-26 11:43:08 +05:30
Ganesh Jaybhay
08c4deba5a
Added following security enhancements:
...
1) Added ALLOWED_HOSTS list to limit the host address.
2) Added CSP and HSTS security header.
3) Hide the webserver/ development framework version.
Fixes #5919
2020-10-20 17:14:45 +05:30
Dave Page
3f817494f8
Use PostgreSQL 13 libs.
2020-09-30 09:49:59 +01:00
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
Aditya Toshniwal
a0893fe43b
Fixed code smell 'variable shadows a builtin' reported by SonarQube.
2020-07-28 16:20:26 +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
9174db2024
Fix typo.
2020-07-18 07:30:06 +01: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
9113932066
Tweak the OpenSSL build instructions.
2020-07-13 13:36:56 +01:00
Paresh More
2db518c9c6
Fixed an issue where installation of pgadmin4 not working on 32-bit Windows. Fixes #5630
2020-06-29 10:22:04 +05:30
Paresh More
9d25973a77
Disallow installation of the 32 and 64 bit builds at the same time on Windows.
2020-06-22 12:15:32 +01:00
Dave Page
aa15d2a7e2
Cleanup some variable naming.
2020-06-17 11:34:03 +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
1485ff338f
Don't use the venv to create the venv on Windows as it doesn't allow python.exe to be relocated on Windows. Use the tried and tested virtualenv instead. Fixes #5595
2020-06-09 16:28:36 +01:00
Dave Page
ba91e3fc1f
Fix a couple of typos.
2020-06-04 10:43:05 +01:00
Dave Page
3d0319dba7
Include the libpq5 deb in the Debian/Ubuntu repos.
2020-06-02 13:23:12 +01:00
Dave Page
4a0efc0e86
Fix message.
2020-06-02 13:19:46 +01:00
Dave Page
445abf1e31
Quieten pushd/popd
2020-06-02 13:14:02 +01:00
Dave Page
7f58552f60
Include the PostgreSQL repo so we get the latest libpq
2020-06-02 12:33:57 +01:00
Dave Page
2549085872
We need yum-utils. Fix the rpmmacros message whilst passing.
2020-06-02 11:54:36 +01:00
Dave Page
9e67a0b0e7
Include postgresql-libs in our Yum repos.
2020-06-02 11:30:07 +01:00
Dave Page
67c978b7a4
Don't use virtualenv to create the venv on Windows.
2020-06-01 10:32:41 +01:00
Dave Page
676fec8694
Cleanup Windows build scripts and ensure Windows x64 builds will work. Fixes #5574
2020-06-01 09:52:24 +01:00
Dave Page
60a0b66414
Conflict with postgresql-libs 9.2 and below as there won't be a suitable libpq.
...
Per discussion with Devrim.
2020-06-01 09:42:18 +01:00