Commit Graph

40 Commits

Author SHA1 Message Date
Khushboo Vashi
77aae3c456
Update 'setup-web.sh' to use systemctl or service automatically based on what is present on the system at runtime
Initial Patch By: Serhiy Lakas
2022-11-28 14:10:07 +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
9c9fb293da Yet more Sonarqube fixes. 2022-08-10 16:43:48 +01:00
Dave Page
0f11033989 More Sonarqube fixes for Linux 2022-08-10 15:54:51 +01:00
Dave Page
5e4d3cc535 More sonarqube fixes for Linux 2022-08-10 11:34:40 +01:00
Dave Page
d7ad375232 Fix additional issues detected by Sonarqube. 2022-08-10 10:36:47 +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
7066841467 A permission issue in the NWJS binaries and files caused pgAdmin not to work. Grant the appropriate permission explicitly. 2022-05-31 16:02:21 +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
Sandeep Thakkar
9e0998c4d5 Added support for the SUSE platform. 2022-03-22 14:57:22 +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
Akshay Joshi
6fb4df67a9 Remove __pycache__ to fix 'venv/bin/__pycache__: not a regular file' error. 2022-02-14 18:23:52 +05:30
Akshay Joshi
4ee9a95360 Remove the hardcoded version of NWjs from build scripts. 2021-12-09 10:39:21 +05:30
Dave Page
849a1b1a89 Fix an RPM build issue that could lead to a conflict with python3 at installation. Fixes #7013. 2021-11-23 09:16:47 +00:00
Dave Page
b0abc4048e Fix an RPM build issue that could lead to a conflict with python3 at installation. Fixes #7013. 2021-11-22 11:33:20 +00:00
Dave Page
a55ac2fdd1 Fix an RPM build issue that could lead to a conflict with python3 at installation. Fixes #7103. 2021-11-22 11:32:04 +00:00
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
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
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
589663d7d9 Fix filenames. 2021-02-09 16:15:13 +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
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
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
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
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
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
445abf1e31 Quieten pushd/popd 2020-06-02 13:14:02 +01:00
Dave Page
65fb0f901c Message clarification and improvement. 2020-05-26 15:02:59 +01:00
Dave Page
414b074bad Tidy up the web setup script output. 2020-05-19 14:27:23 +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
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
e1aeaba942 Simplify PYTHONPATH handling for Sphinx. 2020-03-20 12:07:35 +00:00
Dave Page
8812a7db69 Add support for building RPMs on CentOS/RHEL 7 2020-03-19 12:56:39 -04: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
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