Commit Graph
100 Commits
Author SHA1 Message Date
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 ded65340fe Ensure the Python interpreter used by the runtime ignores user site-packages. Fixes #6269
Significant debugging by Peter Buckner.
2021-03-17 15:20:20 +00: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 bf6ee28dae Cleanup naming/title consistency 2021-03-12 16:04:09 +00:00
Dave Page 80032e9658 Make the container distribution a multi-arch build with x86_64 and Arm64 support. Fixes #6212 2021-03-12 15:54:30 +00:00
Dave Page 7780cbfb83 Cleanup some code warnings. 2021-03-12 15:20:57 +00:00
Dave Page 47e9ef070e Include the environment in the runtime log. 2021-03-12 15:07:08 +00:00
Dave Page ec199e5e49 String tidy-up. 2021-03-12 14:52:41 +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 6cf3913c8e Clarify docs around configuration. 2021-03-01 10:47:50 +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 4ea2246333 Remove the executable bit form images. 2021-02-25 09:12:16 +00:00
Dave Page 832b8fc038 Ensure we can build the node modules on ARM. 2021-02-23 16:12:55 +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 751b6c28b5 libtool is required for the container appbuild now. 2021-02-10 10:21:12 +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 447a1c9dd7 Update Docker container build to handle the new Rust requirement in thePython Cryptography module. 2021-02-08 11:00:41 +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 6683522491 Try to make the NWJS download a little more reliable. 2021-02-03 13:00:25 +00:00
Dave Page db1eb75298 Don't include unnecessary doc files in the build. 2021-02-03 11:17:43 +00:00
Dave Page cb3801a5e8 Upgrade pip in a windows compatible way. 2021-02-03 10:47:48 +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 960433dd90 Use the latest Gunicorn. 2021-02-01 17:29:06 +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 2a4ba132ad Remove the PG 9.5 utilities, as it'll be out of support by the next release. 2021-02-01 17:20:24 +00:00
Dave Page 6e7ca8c4b0 Remove some unnecessary files from the doc build to save space. 2021-02-01 16:55:03 +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 921c0ac71a Make sure the doc builder has the dependencies it needs. 2021-02-01 10:52:41 +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 08df09af96 Limit the upgrade check to run once per day. Fixes #6187 2021-01-29 16:01:35 +00:00
Dave Page 3c1dc18656 Fix typo 2021-01-29 15:40:23 +00:00
Dave Page 12276b6033 Fix typo 2021-01-29 15:34:51 +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
Dave Page addcf2c6e2 Fix typo 2021-01-27 10:02:28 +00:00
Dave Page 446c2a19a5 Fix Windows build. 2021-01-25 09:09:36 +00:00
Dave Page 91ca746c27 Fix menu text (the Query tool option doesn't open a dialogue, so should not have ...). 2021-01-20 15:52:34 +00:00
Dave Page a2f626046a Fix labels. 2021-01-20 15:47:41 +00:00
Dave Page 32cdfa2969 Include PostgreSQL 13 utilities in the container. Fixes #6162 2021-01-20 13:17:27 +00:00
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
Dave Page 0bd77937de Timestamp servers are few and far between now :-/ 2021-01-13 15:02:54 +00:00
Dave Page 6a43c3d90b Use a working timestamp server. 2021-01-13 11:40:11 +00:00
Dave Page 3687472201 The qt5-default package has been deprecated from Debian Bullseye. 2021-01-07 11:14:46 +00:00
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
Dave Page 4eb17afe4e Warn the user when connecting to a server that is older than pgAdmin supports. Fixes #5772 2020-08-25 17:18:43 +01:00
Dave Page 99a7ada58a Cleanup a bunch of duplicated gettext calls. 2020-08-20 10:00:12 +01:00
Dave Page 79e6480513 Added SQL Formatter support in Query Tool. Fixes #2042 2020-08-20 13:05:00 +05:30
Dave Page 0fd9ee06bd Fix typo 2020-08-18 11:15:24 +01:00
Dave Page d9c20de31f Clarify some of the differences when running in server mode in the docs. Fixes #5724 2020-08-07 10:07:28 +01:00
Dave Page 5820b9521e Make sure the version check is compatible with older versions of Qt 2020-07-29 09:36:27 +01:00
Dave Page 6fc6ec1cda Correct TLS certificate filename in the container deployment docs. Fixes #5708 2020-07-29 09:26:12 +01:00
Dave Page 46ba0310fa Make the runtime configuration dialog non-modal. Fixes #5490
Major refactoring of the runtime code, Specifically:
  - Move the bulk of the core code from main() into a new Runtime class.
  - Break up the mass of code that was main() into a number of relatively simple functions.
  - Make the Configuration dialog synchronous so the Log dialog can be properly viewed.
  - Enable/disable menu options at the right time.
  - Remove support for Qt < 5.0.
  - Remove the application name constant and hardcode the name to simplify the code.
  - Improve log messages.
  - Replace the sdbm hashing with Qt's MD5 hashing.
2020-07-28 16:13:05 +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 310450cfa7 Fix typo. 2020-07-22 10:11:04 +01:00
Dave Page 9174db2024 Fix typo. 2020-07-18 07:30:06 +01:00
Dave Page 69e2ec806b Fix PEP-8 issue. 2020-07-17 18:03:31 +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 fb2178e5d3 Support configuration files that are external to the application installation. Fixes #5235 2020-07-17 17:54:12 +05:30
Dave Page 13d2f9131d Replace the runtime themes with ones that don't have sizing issues. Fixes #5554 2020-07-17 15:31:04 +05:30
Dave Page 64f5253bd3 Fix typo 2020-07-17 09:20:17 +01:00
Dave Page 9113932066 Tweak the OpenSSL build instructions. 2020-07-13 13:36:56 +01:00
Dave Page e6edf40048 Refactor server request code by removing some duplicated code in the runtime and improves some of the debug logs. 2020-07-11 16:59:26 +05:30
Dave Page dd38fed6e0 Use ISO8601 date format in the runtime startup log. 2020-07-11 16:47:36 +05:30
Dave Page 5ac656c638 Refactor config loading/saving for the runtime config dialog to avoid code duplication. 2020-07-11 16:41:31 +05:30
Dave Page 6855ac1d5e Use QStandardPaths::AppLocalDataLocation in the runtime to determine where to store runtime logs. Fixes #5414 2020-07-11 16:32:08 +05:30
Dave Page e0fa4a6cb2 Fix typo. Fixes #5517 2020-07-02 09:32:31 +01:00
Dave Page 9f5e8962b5 Correct function naming. 2020-06-17 11:54:33 +01:00
Dave Page 6525f25a22 Correct URL and versions. 2020-06-17 11:51:11 +01:00
Dave Page aa15d2a7e2 Cleanup some variable naming. 2020-06-17 11:34:03 +01:00
Dave Page 1ca9912987 Cleanup some duplicated styles. 2020-06-17 11:31:07 +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 21efe6f902 Remove blank line at EOF. 2020-06-10 17:03:08 +01:00
Dave Page 5c60dcd501 Remove blank line at EOF. 2020-06-10 17:02:39 +01:00
Dave Page 85e89c869a Cleanup some code smells identified by SonarQube. 2020-06-10 16:42:59 +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