Commit Graph

55 Commits

Author SHA1 Message Date
Dave Page
fff4060b31 Don't use fuzzy matching when updating message catalogs, to avoid issues where the number string substitution placeholders changes, per discussion. 2021-07-05 09:49:56 +01:00
Dave Page
8bc07c45f5 Cleanup the install-node target so it just calls yarn. 2021-05-11 09:44:48 +01: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
Pramod Ahire
23a12efd29 Added make file target for the coverage of JS files. 2020-08-07 16:36:48 +05:30
Akshay Joshi
ec30e6ace7 Comment out the 'yarn audit' command to fix the vulnerability found in the 'lodash' package. No fix is currently available. 2020-07-02 16:21:56 +05:30
Dave Page
f156696339 Add support for building RHEL/CentOS 8 RPMs. 2020-03-18 08:51:11 -04: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
Akshay Joshi
16f1e87bb7 Temporary Changed 'yarn audit' command to 'yarn audit --groups dependencies' to
fix the vulnerability found in decompress js package.
2020-02-28 17:29:32 +05:30
Dave Page
a1b0139c9b Don't use Python to get the app details from the Makefile. Fixes #4757 2019-09-19 09:58:44 +01:00
Dave Page
110a51c5b2 Refactor Dockerfile to avoid needing to run supporting scripts (i.e. 'docker build .' will work) and minimise layers. Fixes #4752 2019-09-16 13:48:11 +01:00
Dave Page
d1530015ee Stupid tabs 2019-08-07 11:27:39 +01:00
Dave Page
b9d5e08e8f Make sure the package-lock.json file is removed. 2019-08-07 11:07:10 +01:00
Aditya Toshniwal
8780462708 Add various make targets for auditing the Python and JS modules. Update the install-node target so that it de-dupes JS modules.
Original patch by Aditya, with further work from Ashesh and I.
2019-08-02 14:05:09 +01:00
Akshay Joshi
9e65c971a3 Add a framework for testing reversed engineered SQL and CRUD API endpoints. Fixes #4202 2019-06-18 14:28:25 +01:00
Dave Page
3364350b01 Fix the check target. 2019-05-15 10:03:29 +01:00
Dave Page
bb1e908b54 Apply codestyle checks to all Python code. 2019-03-20 11:17:51 +00:00
Dave Page
9273da2dc6 Fix PEP-8 issue and move the pycodestyle config into a central location. 2019-03-20 08:57:43 +00:00
Aditya Toshniwal
3db3740cf2 Fix handling of numeric arrays in View/Edit Data. Fixes #4062 2019-03-19 16:29:05 +00:00
Dave Page
4edd100ff9 Fix the clean target so that it doesn't error out if there's no runtime Makefile in the tree. 2019-03-15 09:33:42 +00:00
Dave Page
a502019e20 Add a target for building the docs as an epub. 2019-03-12 14:33:46 +00:00
Dave Page
c6dba67d06 Add "messages" target to extract, update and compile message catalogs for convenience. 2018-07-12 10:00:40 +01:00
Dave Page
c2122fbfb9 Fix mis-edit. 2018-04-30 17:15:44 +01:00
Dave Page
ae1b2149a1 HAve the clean target zap any generated JS or CSS. Fixes #3134 2018-04-30 16:13:51 +01:00
Dave Page
be2ac25fed Cleanup node modules when cleaning 2018-04-10 11:15:57 +01:00
Dave Page
d5ebf6777a Fix target dependency per Rahul Soshte. 2018-03-22 13:47:26 +00:00
Rahul Soshte
6d7f795260 Enable building of the runtime from the top level Makefile. Fixes #1305 2018-03-22 11:19:42 +00:00
Dave Page
e577859ed2 Always run PEP-8 checks! 2018-03-08 09:34:06 +00:00
Dave Page
4d072ff781 Undo previous thinko - there's already a check-pep8 target. D'oh. 2018-03-02 13:43:42 +00:00
Dave Page
803eadd5a1 Stupid Makefile syntax 2018-03-02 12:35:12 +00:00
Dave Page
31f50634c7 Add a makefile target for running PEP8 checks. 2018-03-02 12:01:55 +00: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
Murtuza Zabuawala
489349b4e9 Add tools for checking PEP8 compliance. Fixes #3063 2018-01-29 12:45:32 +00:00
Dave Page
0ec74dfa89 Modern versions of yarn don't require -- to forward options. 2018-01-22 11:29:07 +00:00
Dave Page
89821c0d19 Update copyright notices for 2018. 2018-01-05 10:42:50 +00:00
Dave Page
3c27d2fd7e Python tests don't need to have JS dependencies installed. 2017-11-16 12:01:22 +00:00
Dave Page
45be22b00e Output statistics when compiling messages 2017-10-31 09:16:47 +00:00
Dave Page
cd7d80b650 Add a target for building PDF docs. 2017-10-11 14:57:58 +01:00
Dave Page
bcba596408 Add the ability to build a basic Docker container. 2017-09-21 16:49:37 +01:00
Surinder Kumar
120dbcc7d8 Run webpack in production mode when building for releases. Fixes #2660 2017-09-13 09:47:01 +01:00
Dave Page
1291841d98 Remove unused minimisation code 2017-07-06 13:04:13 +01:00
Dave Page
592c70e655 Add some useful make targets for bundling and linting. 2017-07-06 13:02:43 +01:00
Matthew Kleiman
b98fcaa829 Ensure the relevant Makefile targets install node modules before running. 2017-06-23 09:23:31 +01:00
Dave Page
6938fbafb5 Add some more Makefile targets for running different test suites. 2017-06-14 14:11:51 +01:00
Jonas Thelemann
649b064cf3 Re-order Makefile targets for readability. 2017-04-18 15:05:32 +01:00
Dave Page
a7cdd78ad7 Add targets to extract/merge and compile messages. 2017-04-05 13:27:32 +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
232ebae3aa Make target for the minimise tool 2017-03-25 22:04:52 -04:00
Dave Page
05d2373c9a Add a makefile target to run the regression tests. 2017-02-16 11:31:13 +00:00
Dave Page
f221194bcc Update copyright notices for 2017. 2017-01-04 13:33:32 +00:00
Dave Page
29fbbb581f Overhaul the PIP build system so it's less messy on disk during builds, and avoids packaging unnecessary files. 2016-06-15 17:09:05 +01:00