Commit Graph

63 Commits

Author SHA1 Message Date
Akshay Joshi
740ce15bd7 Update copyright notices for 2024 2024-01-01 14:13:48 +05:30
Aditya Toshniwal
862f101772
Significant changes to use ReactJS extensively.
1. Replace the current layout library wcDocker with ReactJS based rc-dock. #6479
2. Have close buttons on individual panel tabs instead of common. #2821
3. Changes in the context menu on panel tabs - Add close, close all and close others menu items. #5394
4. Allow closing all the tabs, including SQL and Properties. #4733
5. Changes in docking behaviour of different tabs based on user requests and remove lock layout menu.
6. Fix an issue where the scroll position of panels was not remembered on Firefox. #2986
7. Reset layout now will not require page refresh and is done spontaneously.
8. Use the zustand store for storing preferences instead of plain JS objects. This will help reflecting preferences immediately.
9. The above fix incorrect format (no indent) of SQL stored functions/procedures. #6720
10. New version check is moved to an async request now instead of app start to improve startup performance.
11. Remove jQuery and Bootstrap completely.
12. Replace jasmine and karma test runner with jest. Migrate all the JS test cases to jest. This will save time in writing and debugging JS tests.
13. Other important code improvements and cleanup.
2023-10-23 17:43:17 +05:30
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
f3ee014cbd Remove some old makefile targets that are no longer required. 2023-03-22 15:34:07 +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
Akshay Joshi
d93c701cf6 Fixed optipng ENOENT error on windows build. 2022-11-09 12:16:16 +05:30
Dave Page
7686c33cbd Tell Docker to always pull the latest base images when building containers.
Fixes #7372
2022-05-13 13:55:41 +01:00
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