Commit Graph

453 Commits

Author SHA1 Message Date
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
Dave Page
b21b03495d Tell Yum where the GPG public key is, and fix the arch and version variables, per Devrim. 2020-05-29 14:04:51 +01:00
Dave Page
ccb39bea1a Require postgresql >= 9.5, and don't bother with Recommends. Per discussion with Devrim. 2020-05-28 16:26:44 +01:00
Dave Page
bda62cb1f1 Don't try to import the signing key. YUM/RPM will do that for us, per Devrim. 2020-05-28 16:04:14 +01:00
Dave Page
65fb0f901c Message clarification and improvement. 2020-05-26 15:02:59 +01:00
Dave Page
fec458dd6a Add repo build information to the Debian README. 2020-05-22 11:58:24 +01:00
Dave Page
96939ba985 Add information to the Redhat README about signing RPMs, creating a repository and creating repo RPMs. 2020-05-21 12:47:41 +01:00
Dave Page
414b074bad Tidy up the web setup script output. 2020-05-19 14:27:23 +01:00
Dave Page
4aaacfd5b0 Add the public key for our packages for the RPM build. 2020-05-18 15:43:17 +01:00
Dave Page
52187306ce Create the dist/ directory if needed. 2020-05-18 15:37:18 +01:00
Dave Page
0e799b16b0 Only try to run make clean if there is a Makefile present. 2020-05-18 11:18:03 +01:00
Dave Page
569d05df4e Remove obsolete file. 2020-05-18 11:17:07 +01:00
Dave Page
eac5fe5157 Cleanup and refactor the macOS build scripts. Fixes #5525 2020-05-18 10:22:59 +01:00
Dave Page
5337514c63 Allow the base directory for the repo to be overridden from the environment. 2020-05-18 10:22:28 +01:00
Dave Page
762784d2b5 Add a script for generating a repo RPM. 2020-05-15 11:22:28 +01:00
Dave Page
12a7ce54d9 Ubuntu 20.04 needs python3-wheel to be explicitly installed. 2020-05-11 15:08:40 +01:00
Aditya Toshniwal
059f1e38cc Refactor pgAdmin4.py so it can be imported and is a lot more readable. Fixes #5455 2020-05-04 15:28:44 +01:00
Dave Page
cf31d0187b Remove support for building the macOS appbundle with Python 2.7. Refs #5443 2020-05-04 14:56:28 +01:00
Dave Page
94bd1f1680 Cleanup Python detection in the runtime project file. Fixes #5444 2020-05-04 10:20:51 +01:00
Dave Page
9bdf900b25 Rename README 2020-05-01 15:18:29 +01:00
Dave Page
0ec60a6f85 Minor cleanup and modernisation. 2020-05-01 15:14:46 +01:00
Dave Page
70e24ba059 Rename the README and fix it up to match modern reality. 2020-05-01 15:14:04 +01:00
Akshay Joshi
ad80217593 Remove Python2 references from the source code.
refs #5443

Initial patch: Neel Patel
2020-04-30 17:22:48 +05:30
Dave Page
393741fd9d Remove Python 2.7 support from the wheel package.
refs #5443
2020-04-30 12:51:58 +05:30
Akshay Joshi
6d1f67f3be Reverting patch to remove Python 2.7 support from wheel package to avoid any issue before 4.21 release. 2020-04-27 21:43:35 +05:30
Dave Page
b716800474 Remove Python 2.7 support from the wheel package. 2020-04-27 21:20:43 +05:30
Dave Page
b7dad25d3e We support Python 3.8 2020-04-24 16:20:25 +01:00
Dave Page
64a26b560b Cleanup build log output by removing unnecessary files in a nicer way. 2020-04-24 15:07:50 +01:00
Neel Patel
870bcbd932 SVG image format plugin is added to render the image file from stylesheet. And also removed the theme components staging files used during windows and Mac bundling. 2020-04-22 18:47:13 +05:30
Neel Patel
b0b60da84a Fixed an issue where the checkbox is not visible on Configuration dialog in runtime for the dark theme. Fixes #5402 2020-04-20 19:16:32 +05:30
Neel Patel
25553b11ed Correct the build script whereby mistake we have removed the theme components from the source tree while building. 2020-04-15 11:28:18 +05:30
Neel Patel
65bc196eba Fix the bundling issue of dark mode runtime support for Windows and Mac. 2020-04-14 15:19:39 +05:30
Dave Page
e538a4f710 Install rpm-sign. 2020-03-31 17:44:38 +01:00
Dave Page
af00296ffe We only need to enable repos on CentOS/RHEL 8. 2020-03-31 17:14:45 +01:00
Dave Page
dd7d3c6e23 Fix syntax. Sigh. 2020-03-31 17:12:00 +01:00
Dave Page
e576a886d0 Appending signing macros is tricky as the user running the build isn't usually the one running this script. Output instructions instead. 2020-03-31 17:03:48 +01:00
Dave Page
f0d077fed8 Attempt to append signing macros to the non-root users config. 2020-03-31 16:59:45 +01:00
Dave Page
37e39ca089 Offer to setup RPM signing macros for the user. 2020-03-31 16:44:34 +01:00
Dave Page
7c2b218076 Install expect. 2020-03-31 16:07:47 +01:00
Dave Page
17d0d5e0a2 Use NodeJS v12. 2020-03-24 11:37:32 +00:00
Dave Page
f97d29243d Don't offer to configure Apache on Redhat platforms as there's nothing to do. 2020-03-24 11:36:54 +00:00
Dave Page
becb453e7d Use the correct architecture for web packages on Redhat. 2020-03-20 15:48:00 +00:00
Dave Page
35644fdd35 Update supported distro lists. 2020-03-20 14:51:19 +00:00
Dave Page
5ab056759b Use the proper naming convention for .DEB packages 2020-03-20 12:26:10 +00:00
Dave Page
e1aeaba942 Simplify PYTHONPATH handling for Sphinx. 2020-03-20 12:07:35 +00:00
Dave Page
e256fc32d9 Ensure rpm-build is installed. 2020-03-20 11:50:59 +00:00
Dave Page
7f571fa7d8 Add mod_wsgi to the built package list. 2020-03-19 13:17:22 -04:00
Dave Page
cb600549c3 Don't hard code the architecture. 2020-03-19 12:56:39 -04:00
Dave Page
e1cb6d92c5 Update supported distros list. 2020-03-19 12:56:39 -04:00
Dave Page
8812a7db69 Add support for building RPMs on CentOS/RHEL 7 2020-03-19 12:56:39 -04:00
Dave Page
6105fc861d Don't ask to continue when installing deps. 2020-03-18 13:00:33 +00:00
Dave Page
f156696339 Add support for building RHEL/CentOS 8 RPMs. 2020-03-18 08:51:11 -04:00
Dave Page
b6c8707a4d Don't barf if the tree is clean. 2020-03-16 12:40:01 +00:00
Dave Page
0b101d9efd Update tested distros list. 2020-03-13 12:36:08 +00:00
Dave Page
b69995b34d Use fakeroot to set file ownership as dpkg-deb can't do it itself on older distros. 2020-03-13 12:17:10 +00:00
Dave Page
ef6c9fbd6d Setup dependencies as required on Ubuntu 16.04 and Debian 9 2020-03-13 11:55:03 +00:00
Dave Page
e43f58d11f Ensure file/directory ownership is correct. 2020-03-12 15:35:43 +00:00
Dave Page
a684b48fb3 Add experimental scripts for building Debian/Ubuntu packages.
Code is split into pkg/debian for the Debian/Ubuntu specific parts,
and pkg/linux for generic code that can be used on other distros.

Tested on Debian 10 and Ubuntu 18.04 at present.
2020-03-12 15:24:58 +00:00
Paresh More
520b03cb0a Fixed notarization issue on Catalina for pgAdmin4 binaries
- Revert back binary name pgAdmin 4 to pgAdmin.
 - Added timestamp, force and developer bundle_id option for codesign binaries, app, and dmg file.
2020-02-05 14:00:18 +05:30
Paresh More
93e83dddae Fix copy/paste error. 2020-02-04 15:44:42 +00:00
Paresh More
917d08c61e Fix hard notarisation failures. 2020-02-04 15:21:05 +00:00
Dave Page
23e218f1b5 Ensure Postfix starts in the container, now it runs as non-root by default. Fixes #5076 2020-01-20 10:41:27 +00:00
Dave Page
a887019337 Remove debugging and incorrect comment. 2020-01-03 10:56:55 +00:00
Dave Page
b617a5d89d Remove extra quotes that are doubled. 2020-01-03 10:51:54 +00:00
Dave Page
b0877f63b5 Debugging for the automated build 2020-01-03 10:40:03 +00:00
Dave Page
56af090e54 More quoting fixes. 2020-01-03 10:32:18 +00:00
Dave Page
fa74a42b34 More quoting fixes. 2020-01-03 10:21:05 +00:00
Dave Page
c0595e62ee Fix quoting. 2020-01-03 10:14:13 +00:00
Paresh More
f5afc51879 Ensure all binaries are securely signed and linked with the hardened runtime in the macOS bundle. Fixes #5060
Note that this is untested for automated builds, so may require further tweaks.
2020-01-03 09:56:45 +00:00
Dave Page
01c7636c75 Update copyright notices for 2020. 2020-01-02 14:43:50 +00:00
Levitt Olivier
e29ea15554 Fix an issue where servers.json import fails when running in desktop mode. 2019-12-17 13:15:04 +05:30
Dave Page
619c4e1180 Run pgAdmin in the container as a non-root user (pgadmin, UID: 5050). Fixes #4939. 2019-12-09 11:09:46 +05:30
Dave Page
246a475600 Allow Gunicorn logs in the container to be directed to a file specified through GUNICORN_ACCESS_LOGFILE. Fixes #4944 2019-12-02 20:14:01 -05:00
Dave Page
9bdb5ea5e0 Include PostgreSQL 12 binaries in the container. Fixes #4823 2019-10-11 11:13:06 +01:00
Dave Page
110a51c5b2 Refactor Dockerfile to avoid needing to run supporting scripts (i.e. 'docker build .' will work) and minimise layers. Fixes #4752 2019-09-16 13:48:11 +01:00
Dave Page
b4a754bdc0 Remove copy of file that's now created on the fly. 2019-09-09 13:35:55 -04:00
Dave Page
25f85fe123 Fix PGADMIN_SERVER_JSON_FILE environment variable support in the container. Fixes #4657 2019-08-23 09:53:24 +01:00
Dave Page
c76b30e353 Allow configuration options to be set from the environment in the container distribution. Fixes #4651 2019-08-22 15:24:04 +01:00
Aditya Toshniwal
15556f9f89 Correct the condition to compare version for Windows installer. Regression of last commit. 2019-07-02 20:12:00 +05:30
Aditya Toshniwal
b76e0bea83 Ensure the version comparision should be correct for windows installer. Fixes #4421 2019-07-02 14:58:18 +05:30
Andrew Coleman
d397959f6a Allow the path to /pgadmin4/servers.json to be overridden in the container distribution. Fixes #4400 2019-06-27 10:56:37 -04:00
Dave Page
2fa849dc26 Also need openssl-dev 2019-05-28 18:11:42 -04:00
Dave Page
f340cd044b build-deps doesn't exist any more. 2019-05-28 18:09:06 -04:00
Dave Page
991f667f9f Argh, they are Alpine packages, not Python. 2019-05-28 18:01:56 -04:00
Dave Page
307637b969 Looks like we also need build tools for the cryptography module. 2019-05-28 17:56:54 -04:00
Dave Page
91595593d3 Doc builds now need the cryptography module. 2019-05-28 17:50:11 -04:00
Dave Page
1a192109d6 Ensure we create a DMG file that's compatible with macOS 10.10+ 2019-04-15 12:12:46 +01:00
Dave Page
ded446fe8a Depend on psycopg2-binary in the Python wheel, rather than psycopg2. Fixes #4165 2019-04-11 10:08:44 +01:00
Dave Page
b917246be9 Add missing closing brace. 2019-03-26 10:25:50 -04:00
Dave Page
17464aa034 Don't use old-style variable notation. 2019-03-21 14:02:19 +00:00
Dave Page
48c3763e95 Remove the dependency on importlib for Python <= 2.7. It's not actually required. 2019-03-20 11:58:09 +00:00
Dave Page
bb1e908b54 Apply codestyle checks to all Python code. 2019-03-20 11:17:51 +00:00
Dave Page
b3c3b69a36 Bail out if yarn returns a non-zero code. 2019-03-15 09:20:13 +00:00
Dave Page
d8f9e3e87b Optimise the Docker file to minimise the number of layers and maximise the chances that changes will be in the last layers built. 2019-03-01 12:29:05 +00:00
Dave Page
f552519ed6 Set the Gunicorn worker timeout to match the configured session expiry. Partially fixes #3656 2019-03-01 11:55:17 +00:00
Dave Page
a39f43788b Include multiple versions of the PG utilties in containers. Fixes #3886 2019-02-20 15:17:16 +00:00
Dave Page
aae49b5324 Update Docker README to match reality. 2019-02-20 14:51:36 +00:00
Dave Page
438116c574 Update Alpine Linux version in the docker container. This also updates the PG utilities to v11. Fixes #3991 2019-02-13 17:18:14 +00:00
Dave Page
e0e7d6f1f6 Install a script to start pgAdmin (pgadmin4) from the command line when installed from the Python wheel. Fixes #1825 2019-02-12 14:04:45 +00:00
Dave Page
cbfa614cf9 Ensure we use PIP 18.1 in the Docker build because of https://github.com/pypa/pip/issues/6197 2019-01-31 14:28:20 +01:00
Diego Augusto Molina
da3b3de397 Expose the bind address in the Docker container via PGADMIN_BIND_ADDRESS. Fixes #3955 2019-01-31 14:26:35 +01:00
Cyril Jouve
cbd8f8236a Remove Python 2.6 code that's now obsolete. Fixes #3935 2019-01-31 13:47:56 +01:00
Dave Page
365cbc34f5 Fix MacOS package copyright. 2019-01-07 14:37:43 +05:30
Dave Page
c5d49bd862 Fix copyright year. 2019-01-07 11:28:39 +05:30
Murtuza Zabuawala
e23d307c56 Update copyright notices for 2019 2019-01-02 15:54:12 +05:30
Akshay Joshi
41c028f944 Ensure that null values handled properly in CSV download. Fixes #3780 2019-01-01 15:15:36 +05:30
Dave Page
12b7e03085 Add flask-migrate to the container doc build as it's now required. 2018-12-21 10:58:15 +00:00
Dave Page
cb880678cc Python 2.6 support is officially deprecated. 2018-12-20 09:15:26 +00:00
Dave Page
1141930178 Allow servers to be pre-loaded into container deployments. Fixes #3801 2018-12-05 17:16:46 +00:00
Dave Page
55402ec7d9 Run Postfix in the container build so passwords can be reset etc. Fixes #3599 2018-12-05 14:44:23 +00:00
Dave Page
be47390baf Fix the Docker build. 2018-10-29 11:01:47 +00:00
Dave Page
a2258c83e9 Chance an update to Node 8. Let's see how Jenkins likes this. 2018-09-14 17:04:51 +01:00
Dave Page
d7eb41fff4 Include a cacert file when needed for the upgrade check. Fixes #3185 2018-07-23 16:15:58 +01:00
Khushboo Vashi
43aa0c9f3c Fix wheel deps 2018-06-28 13:03:24 +01:00
Dave Page
fbbf9d1de2 Fix stupid typo 2018-06-28 12:56:33 +01:00
Dave Page
5f51c39e6f Delete the venv folder prior to upgrade. Fixes #3384 2018-06-17 21:10:17 -04:00
Dave Page
96544424dd Don't pipe the list of binaries through uniq.
It seems to be overflowing a buffer and truncating output with Python 3,
plus it's being fed a single line only so isn't actually doing anything.
2018-06-14 17:03:16 +01:00
Dave Page
1d322e2cd9 Enable building of the appbundle with Python 3.6. 2018-06-14 16:16:30 +01:00
Dave Page
2860e82c63 Fix Gunicorn binding for IPv4. 2018-05-31 10:57:09 -04:00
Dave Page
6719ff141b Correct package name 2018-05-31 10:49:30 -04:00
Dave Page
4372dd051e Include libffi-devel in the Docker build. 2018-05-31 10:48:32 -04:00
Dave Page
eec9714191 Bind the container server to ipv6 as well as ipv4 ports. Fixes #3392 2018-05-31 10:27:23 -04:00
Dave Page
b00931407e Fix failed yarn changes 2018-05-30 16:53:03 -04:00
Dave Page
bea176a646 Fix failed yarn changes 2018-05-30 16:52:54 -04:00
Dave Page
6a28b9ff26 Revert failed Yarn changes. 2018-05-30 16:52:37 -04:00
Dave Page
8bda4e0230 Remove duplicate options 2018-05-30 16:48:23 -04:00
Dave Page
189e307671 Fix syntax 2018-05-30 16:42:09 -04:00
Dave Page
b2d4c6ef9d Disable emojis in Yarn output. 2018-05-30 16:34:47 -04:00
Dave Page
f0b6fb0e5d Python 3 fixes 2018-05-02 12:05:17 +01:00
Dave Page
3ecfabfde5 Fix python wheel dependencies. 2018-04-19 17:08:06 +01:00
Dave Page
97cf58fdc8 Only avoid pre-built binaries for psycopg2 when building the Mac package, as some others (e.g. pbr) don't like being forced to source builds at the moment. 2018-04-10 09:29:40 +01:00
Максим Кольцов
05e2e3cb39 Update container build to use Alpine Linux and Gunicorn instead of CentOS and Apache. Fixes #3246
This results in a much more slim-line container, requiring fewer resources to run.
In addition, the majority of the build is now done using the Docker infrastructure, allowing for quicker rebuilds and better use of layers.
2018-04-04 16:18:17 +01:00
Murtuza Zabuawala
a95775ae49 Another attempt to fix the Python 2.6 deps. 2018-04-04 13:42:38 +01:00
Murtuza Zabuawala
c0cfc9f29b SQLAlchemy stopped supporting Python 2.6. 2018-04-04 12:59:05 +01:00
Murtuza Zabuawala
b7c86da586 Fix requirements for Python 2.6. 2018-04-04 12:26:44 +01:00
Murtuza Zabuawala
be055ce57d Update Python and JS modules. Fixes #3154 2018-04-04 10:47:01 +01:00
Murtuza Zabuawala
1a958a3951 Fix Python 2.6 support. 2018-02-19 10:22:23 +00:00
Dave Page
7192a2b675 Rewrite the runtime as a tray-based server which can launch a web browser. Fixes #3086 2018-02-05 15:32:14 +00:00
Dave Page
6f8066d261 Fix Python wheel dependencies. Fixes #3011 2018-01-15 09:15:46 +05:30
Magnus Hagander
601a7b1a5c Fix typo 2018-01-12 12:43:48 +00:00
Dave Page
8b3aecd137 Don't listen on port 443 if TLS is not enabled when launching the container. Fixes #2998 2018-01-11 15:04:11 +00:00
Dave Page
89821c0d19 Update copyright notices for 2018. 2018-01-05 10:42:50 +00:00
Mark Deneen
3289a18a1a Remove any Apache HTTPD PID file before starting the container, to prevent failures during restart. 2018-01-03 12:54:52 +00:00
Dave Page
3b7656b3d5 Push HTTPD logs to container stdout/stderr as appropriate. Fixes #2920 2017-12-05 14:23:35 +09:00
Paresh More
a539147a0e Fix /NOICONS switch in the windows installer. Fixes #1366 2017-11-20 16:58:35 +00:00
Paresh More
8ff753deb8 Prevent the Windows installer accepting paths containing invalid characters. Fixes #1365 2017-11-20 16:38:20 +00:00
Dave Page
cf1440f41d Properly set the hostname for SSL use in containers. 2017-11-16 09:54:44 +00:00
Dave Page
a2c4fb02bc Show how the config/storage directory can be mounted on the host under docker. 2017-10-16 16:10:15 +01:00
Dave Page
845b296aed Add optional TLS support to the docker container. 2017-10-12 16:16:02 +01:00
Dave Page
bcba596408 Add the ability to build a basic Docker container. 2017-09-21 16:49:37 +01:00
Dave Page
8579909558 Ensure the SERVER_MODE changes don't break the PIP build. 2017-08-25 12:17:47 +01:00
Dave Page
dad6031bd6 Revert "Ensure dependencies are packaged in the tarball"
This reverts commit 6ad4a623c4.

ENOCOFFEE error
2017-07-11 09:23:57 +01:00
Dave Page
6ad4a623c4 Ensure dependencies are packaged in the tarball 2017-07-11 09:12:09 +01:00
Shruti B Iyer
659eb1c1e8 Bring React into the tree, and add linting and bundling framework for the JS etc. 2017-06-12 16:51:54 +01:00
Dave Page
4817b37742 Include backports.csv as a python dependency in the wheel. 2017-05-15 16:42:40 +01:00
Dave Page
001e0ce1cf Mac build fixes:
- Rebuild Python packages from scratch so we know what libraries they use
- Ensure the backports Python module has an __init__.py file.
2017-05-15 14:38:52 +01:00
Paresh More
b86fa15dbc Ensure the web/ directory is cleared before upgrading Windows installations. Fixes #2187 2017-04-10 12:05:09 +01:00
Dave Page
53c4e2df3b Add an appbundle-webkit build target to build an appbundle, but force the use of QtWebKit. 2017-04-05 12:35:07 +01:00
Dave Page
696343196a Fix Python 3 compatibility bug 2017-03-30 23:16:43 -04:00
Dave Page
6152d73f13 Fix some code inspection complaints 2017-03-25 22:04:52 -04:00
Dave Page
8bd648c5b6 Don't include the tools directory in the Mac & Windows packages 2017-03-25 22:04:52 -04:00
Dave Page
6abb906b20 Remove test related files from the mac appbundle. 2017-03-17 12:21:15 +00:00
Atira Odhner
c8fa0c4e28 Don't ship the node_modules directory with packages as it's only used for local testing. 2017-03-15 17:14:37 +00:00
Jonas Thelemann
8435257e00 Fix some typos in comments. 2017-03-07 10:35:24 +00:00
Dave Page
074f7a805e Build a universal Python wheel instead of per-python-version ones. Fixes #2210 2017-02-26 10:01:23 +00:00
Dave Page
631ddff485 Remove unused imports. 2017-02-26 09:16:19 +00:00
Dave Page
ec0099255a Use the correct requirements file when building the PIP package, and update the supported Python versions. 2017-02-26 09:14:22 +00:00
Dave Page
1e5de7e66e Merge the Python 2 & 3 requirements files, and break out test requirements into a separate file. 2017-02-26 09:06:17 +00:00
Atira Odhner
e3041f1113 Ensure the Mac Appbundle builds correctly both with and without code signing.
Correct current versions of Python/Qt while we're passing.
2017-02-16 11:25:32 +00:00
Dave Page
2ebaf56cc4 Update copyright year. Fixes #2109 2017-01-25 09:05:13 +00:00
Jonas Thelemann
2db705ad80 Add runtime/pgAdmin4 to .gitignore, and re-order entries for ease of maintenance. 2017-01-16 14:46:44 +00:00
Dave Page
f221194bcc Update copyright notices for 2017. 2017-01-04 13:33:32 +00:00
Dave Page
6f90fbc4df Use QT 5.7 by default on Mac, and allow builds with Python 3.5. 2016-11-24 09:19:50 +00:00
Dave Page
f6f020036f Fix a missing escape char 2016-11-23 13:43:12 +00:00
Dave Page
d7d0ff02c6 Specify the default PG binpath on Mac 2016-11-23 13:38:17 +00:00
Dave Page
9dcf61931a Include PostgreSQL utilities in the Mac App Bundle. This doesn't auto-configure pgAdmin to find them yet though. 2016-11-23 10:03:40 +00:00
Dave Page
020bf1d532 Minify HTML with Flask-HTMLMIN 2016-11-18 16:42:38 +00:00
Dave Page
8e60f33e65 Ensure the Mac Appbundle builds properly with QtWebEngine. 2016-11-17 16:22:45 +00:00
Dave Page
3abfebce1a Create a docs tarball along with the source tarball. Fixes #1964 2016-11-16 10:39:03 +00:00
Dave Page
9c7a9305aa Fix licence attachment on Mac DMG file. 2016-10-24 17:18:12 +01:00
Sandeep Thakkar
a1c0042a1e Use config_distro.py for all settings, and don't create/overwrite config_local.py. Partly fixes #1849 2016-10-19 14:10:28 +01:00
Justin Clift
3e743ad582 Minor fixes to the Mac appbundle build 2016-10-04 13:51:28 +01:00
Justin Clift
6458e4cafb Optionally sign both the Mac app bundle and the disk image. Fixes #1821 2016-10-04 12:51:14 +01:00
Dave Page
df64108708 Fix pip wheel production status. 2016-10-03 16:42:36 +01:00
Dave Page
fc9c4736c4 Fix python 3 compatibility 2016-10-03 16:37:20 +01:00
Dave Page
842d078142 Ensure the Mac package can find all the Python modules it needs, now that
PYTHONHOME is cleared for safety.
2016-09-02 15:19:54 +01:00
Dave Page
73988bcece Do a more sensible venv search on Windows, and don't update the
registry upon installation.
2016-06-16 16:22:45 +01:00
Dave Page
17b6053f45 Support distro-specific configs, and include docs in the PIP wheel.
A distro can now install a config_distro.py file alongside config.py
in which distro-specific configuration settings can be set, overriding
those in config.py. User settings in config_local.py will override
all other settings. This is useful to allow packagers to config
settings like the doc path, that may be specific to RPMs or Wheels
etc.
2016-06-15 20:56:27 +01:00
Dave Page
29fbbb581f Overhaul the PIP build system so it's less messy on disk during builds, and avoids packaging unnecessary files. 2016-06-15 17:09:05 +01:00
Paresh More
d8cbbae3a4 Cleanup a couple of issues missed when the Windows installer patch was committed. 2016-06-08 13:38:54 +01:00
Paresh More
47dccec915 Windows installer! 2016-06-08 12:29:21 +01:00
Dave Page
b15383e93d Change package status 2016-06-03 11:19:14 +01:00
Dave Page
a989840460 Tarball build target and script 2016-06-03 10:57:15 +01:00