Commit Graph
100 Commits
Author SHA1 Message Date
Dave Page cba689dcd9 Fix typo. 2023-07-03 13:29:38 +01:00
Dave Page 8f6d016df0 Clarify the LICENSE file to indicate the it is the PostgreSQL Licence.
Fixes #6423.
2023-07-03 10:24:03 +01:00
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
Dave Page 8ea3346a9d Handle SQL_ASCII databases when running test cases.
* Handle cases when psycopg returns bytes instead of a string.

See https://github.com/psycopg/psycopg/issues/561

* A more appropriate fix, suggested by Daniele Varrazzo

* Fix typo.

* Re-think this check. Our own driver effectively monkey-patches the psycopg encoding mappings.
2023-05-16 09:20:01 +05:30
Dave Page 62baa0dccb Remove redundant backslash 2023-04-21 13:59:31 +01:00
Dave Page 1f17051bec Ryn Python tests against EPAS on Windows (#6168) 2023-04-21 13:56:24 +01:00
Dave Page ad9a67d6d1 Run Python tests on Windows. 2023-04-20 13:34:00 +01:00
Dave Page b79b2b1265 Run Python tests with PostgreSQL on macOS as well as Linux 2023-04-06 13:05:50 +01:00
Dave Page 644575415e Concurrency control for Python tests. 2023-04-05 16:11:19 +01:00
Dave Page b14834b06c Use a matrix based test for the different EPAS versions.
This adds parallelism for the different versions, and separates the logs.
2023-04-05 16:09:37 +01:00
Dave Page 0987c955f5 Use a matrix based test for the different PostgreSQL versions.
This adds parallelism for the different versions, and separates the logs.
2023-04-05 16:04:20 +01:00
Dave Page bdb43f84e8 Correct the make target to install Python requirements for testing. 2023-04-05 15:06:59 +01:00
Dave Page 401358568a Simplify and standardise actions. 2023-04-05 15:01:11 +01:00
Dave Page 6969d5c16f Build docs using a venv, created by our in-tree script. 2023-04-05 13:59:30 +01:00
Dave Page 2d024fd7e6 Run Javascript tests on all three major platforms. 2023-04-05 13:39:44 +01:00
Dave Page 94bba36713 Support all current EPAS versions. 2023-04-04 14:48:32 +01:00
Dave Page abea2c7172 Add a script and Makefile targets for setting up Python environments.
This is primarily intended for simplifying Jenkins jobs.
2023-04-03 15:18:46 +01:00
Dave Page 6027fdc10c Remove target that no longer exists. 2023-04-03 15:09:19 +01:00
Dave Page 4df23bd576 Add Python tests against EPAS 2023-03-31 16:25:43 +01:00
Dave Page 222de66a83 Run Python tests against all supported PostgreSQL versions. 2023-03-30 15:54:13 +01:00
Dave Page fb6e59bab8 Merge the doc builds into one action.
This will reduce the CPU time by avoiding multiple install/update cycles.
2023-03-30 11:45:08 +01:00
Dave Page da937e2618 Don't upgrade base images when running tests.
This takes a lot of time and CPU minutes, and Github keep the images pretty fresh anyway.
2023-03-30 11:23:57 +01:00
Dave Page e7bea6686b Fix many issues with the Python tests that only seem to show up on Github runners. 2023-03-30 11:16:46 +01:00
Dave Page bbc46c0990 Another missing sudo 2023-03-29 18:32:11 +01:00
Dave Page 1527daede8 Make sure we can edit the PostgreSQL config 2023-03-29 18:27:02 +01:00
Dave Page cc4dfaf951 Run Python regression tests. 2023-03-29 16:46:53 +01:00
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
Dave Page ac4827c33b Don't let actions pile up! 2023-03-29 13:08:53 +01:00
Dave Page 43449be18c Run Javascript tests. 2023-03-29 12:51:27 +01:00
Dave Page e797eb17eb Cleanup and improve robustness of Github actions. 2023-03-28 14:24:04 +01:00
Dave Page 034e96f713 Use Yarn 2 for Docker builds to avoid network timeout issues. 2023-03-27 10:58:18 +01:00
Dave Page 49b5ab71c2 Use repo commit URLs that Yarn 2+ is happy with. 2023-03-24 16:30:38 +00:00
Dave Page bf25fcc919 Ignore some yarn 2 artefacts. 2023-03-24 16:19:59 +00:00
Dave Page 8700a17dad Concurrent SonarQube runs can cause problems if they report times out of order 2023-03-24 10:16:08 +00:00
Dave Page 8b815d4aac Archive builds on Github. 2023-03-23 16:51:18 +00:00
Dave Page e046101305 Add a tarball build check action. 2023-03-23 15:31:37 +00:00
Dave Page 88fc8772d1 Add a Python wheel build check action. 2023-03-23 15:31:11 +00:00
Dave Page 4549abb6b3 Add an PDF build check action. 2023-03-23 15:24:52 +00:00
Dave Page 13a3b153e5 Add an ePub build check action. 2023-03-23 15:09:22 +00:00
Dave Page 2353702f0b Make the doc build action a little more efficient. 2023-03-23 15:07:40 +00:00
Dave Page 0e38d1b82b Remove remnants of CentOS/RHEL 7 packaging. 2023-03-23 14:02:58 +00:00
Dave Page faab0c3896 Configure dependabot for pgAdmin. 2023-03-23 18:51:00 +05:30
Dave Page bf38a0caa8 Run SonarQube scans on pushes to the master branch. 2023-03-23 18:49:58 +05:30
Dave Page a66dfff39d Add a Github action to check the container build. 2023-03-22 16:07:04 +00:00
Dave Page 38f0809858 Add a Github action to check translations look OK. 2023-03-22 16:06:45 +00:00
Dave Page f3ee014cbd Remove some old makefile targets that are no longer required. 2023-03-22 15:34:07 +00:00
Dave Page e408049bae Update supported Python versions. 2023-03-14 11:53:05 +00:00
Dave Page ff25afb88e Add missing import. 2023-02-28 11:24:35 +00:00
Dave Page cf948603cf Update copyright notices in Dockerfile and Makefile and ensure they don't get missed again. 2023-02-08 14:28:57 +00:00
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
Dave Page 895feeb4ad Move external repos to pgadmin-org 2023-01-06 09:25:39 +00:00
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
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
Dave Page 822593d761 Always build the container with alpine:latest rather than a specific version. 2022-12-07 11:03:51 +00:00
Dave Page 582c480611 Some minor string improvements. 2022-12-06 14:50:26 +00:00
Dave Page 0e6d8ed030 Template word-smithing. 2022-12-02 13:20:55 +00:00
Dave Page 13bbaf9e4f Add security reporting info. 2022-11-28 10:46:04 +00:00
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 8875d8b741 Add a description of the available container tags we publish to the docs. 2022-10-05 12:05:26 +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 b8ec021a07 Add a note about sys.executable potentially needing "help" under WSGI runners.
See #5340.
2022-10-03 13:35:31 +01:00
Dave Page 2b5514a944 Add an action to check the doc build (#5363) 2022-09-23 12:44:02 +01:00
Dave Page 61361dd2b8 Naming consistency (#5362) 2022-09-23 12:00:18 +01:00
Dave Page 01848e7d5b Add an action for checking Javascript style. (#5361) 2022-09-23 11:55:05 +01:00
Dave Page 04d779c741 Add a GitHub action to check Python code conforms to PEP-8 (#5360) 2022-09-23 11:23:13 +01:00
Dave Page 9ed3be335e Update docs to replace use of patches with Pull Requests. (#5349) 2022-09-22 18:24:14 +05:30
Dave Page 6d1283f92d Update the GitHub org name. 2022-09-22 10:12:08 +01:00
Dave Page 8459a45d72 Update to use GitHub for source repos. 2022-09-21 10:56:03 +01:00
Dave Page 5a5da5f720 Update project location. 2022-09-15 15:39:54 +01:00
Dave Page 37082a955b Sonarqube fixes. 2022-08-26 10:07:59 +01:00
Dave Page 92741680b5 Fixes a bunch of warnings in the webpack process stemming from the use of the now deprecated division operator. 2022-08-26 12:34:48 +05:30
Dave Page bbef9acaf6 Fixes a bunch of warnings about missing utilities in the webpack process. 2022-08-26 12:32:09 +05:30
Dave Page a84118823e Title case tab label 2022-08-25 13:47:59 +01:00
Dave Page c8ef4733d0 Various minor string fixes. 2022-08-17 12:47:13 +01:00
Dave Page 71647c886d Fix label. 2022-08-17 12:34:47 +01:00
Dave Page 6179b216c5 Fix translation. 2022-08-12 14:30:59 +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