Commit Graph

260 Commits

Author SHA1 Message Date
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