Commit Graph

144 Commits

Author SHA1 Message Date
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
Dave Page
23aac4f580 Update default Python version 2022-02-02 10:59:39 +00:00
Akshay Joshi
2786f7ac5a Update copyright notices for 2022 2022-01-04 13:54:25 +05:30
Akshay Joshi
4ee9a95360 Remove the hardcoded version of NWjs from build scripts. 2021-12-09 10:39:21 +05:30
Ashesh Vashi
36c9eb3dfd Added support for Two-factor authentication for improving security. Fixes #6543 2021-12-02 16:47:18 +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
649ca2eeac Make the error messages on exit show something useful. 2021-05-04 14:12:13 +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
aeb42b1059 A little code tidying. 2021-02-18 16:13:45 +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
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
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
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
Akshay Joshi
b372f08a59 Update copyright notices for 2021 2021-01-04 15:34:45 +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
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
aa15d2a7e2 Cleanup some variable naming. 2020-06-17 11:34:03 +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
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
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
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
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
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
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
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
365cbc34f5 Fix MacOS package copyright. 2019-01-07 14:37:43 +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
cb880678cc Python 2.6 support is officially deprecated. 2018-12-20 09:15:26 +00:00
Dave Page
d7eb41fff4 Include a cacert file when needed for the upgrade check. Fixes #3185 2018-07-23 16:15:58 +01: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
f0b6fb0e5d Python 3 fixes 2018-05-02 12:05:17 +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
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
89821c0d19 Update copyright notices for 2018. 2018-01-05 10:42:50 +00: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
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
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
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
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
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
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
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
Sandeep Thakkar
3074af101b Add Mac Appbundle generation support. 2016-06-02 13:56:56 +01:00