Commit Graph

115 Commits

Author SHA1 Message Date
Aditya Toshniwal
c80f760d07 Pin NW.js to 0.72.0 in build files 2023-04-03 15:21:14 +05:30
Aditya Toshniwal
ec86152396
Revert audit fix changes and ignore the low severity Vulnerability. 2023-01-31 13:01:52 +05:30
Aditya Toshniwal
cdcc4e7314
Fix python audit issues. 2023-01-31 11:20:36 +05:30
Akshay Joshi
10c6a4f8dc 1) Unpin Sphinx version as the issue has been fixed in v 6.1.3
2) Update release note
2023-01-17 17:30:22 +05:30
Akshay Joshi
9fd949335b Pin Sphinx version to 6.1.1 as latest version throws some error. 2023-01-09 11:28:33 +05:30
Akshay Joshi
98184e5835 Update copyright notices for 2023 2023-01-02 11:53:55 +05:30
Aditya Toshniwal
8e1b0c459f
Fix build issues. #5563 2022-12-19 11:59:21 +05:30
Yogesh Mahajan
181ed62ec2
Ensure the appbundle has correct permissions so that pgAdmin can be accessed by users other than owner. #5613 2022-12-19 10:47:18 +05:30
Akshay Joshi
5219c25189 Revert back the background png for OSX build. 2022-11-04 14:31:01 +05:30
Akshay Joshi
368d71b6ce The latest version of NWjs should be used. 2022-10-31 18:31:10 +05:30
pea-sys
4bcf0637f9
Improve PNG files by optimising them. 2022-10-31 18:06:53 +05:30
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
2567ed5784 Fix a bug introduced by the previous Sonarqube fixes. 2022-08-11 10:44:55 +01:00
Dave Page
2bc60c9142 More Sonarqube fixes for macOS 2022-08-10 16:18:19 +01:00
Dave Page
c0c4524ec3 Sonarqube fixes for macOS 2022-08-10 14:56:25 +01:00
Dave Page
233652c3f1 Fix some issues detected bu Sonarqube. 2022-08-10 10:22:06 +01:00
Dave Page
923f2fc7c4 'file' output might span two lines with universal binaries.
Filter out any lines that start with "- Mach-O".
2022-08-10 10:20:01 +01:00
Akshay Joshi
e8f0454b39 Downgrade NWjs to 0.62.2. The latest version does not work on Ubuntu 20.04.
refs #7442
2022-06-21 16:49:43 +05:30
Akshay Joshi
5f81d2b4b1 The community has fixed the blocking issue at startup, so unpin the NWjs version and pick the latest. 2022-05-23 17:54:09 +05:30
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