Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to Chromium instead of PhantomJS to generate chart export images. #1413

Merged
merged 7 commits into from
Aug 19, 2020

Conversation

plessbd
Copy link
Contributor

@plessbd plessbd commented Aug 10, 2020

Regression tests will be updated as the font rendering in PhantomJS vs Chrome changes a bunch of things.

Motivation:
PhantomJS is not supported.

Chromium was chosen as there is a package specially for chromeium_headless in EPEL.

This IN THEORY will work with any properly installed and configured chrome, but has NOT been tested.

@plessbd plessbd changed the title initial removal of phantomjs WIP: initial removal of phantomjs Aug 10, 2020
@plessbd plessbd force-pushed the minus-phantomjs branch 2 times, most recently from baec500 to 26246dd Compare August 10, 2020 11:57
@plessbd plessbd added this to the 9.5.0 milestone Aug 10, 2020
@plessbd plessbd added Category:Infrastructure Internal infrastructure updates/changes dependencies Pull requests that update a dependency file maintenance / code quality Improvements and code cleanup. Not a new feature or enhancement to existing functionality. labels Aug 10, 2020
libraries/charting.php Outdated Show resolved Hide resolved
libraries/charting.php Outdated Show resolved Hide resolved
libraries/charting.php Outdated Show resolved Hide resolved
libraries/charting.php Outdated Show resolved Hide resolved
@plessbd plessbd changed the title WIP: initial removal of phantomjs Switch to Chromium instead of PhantomJS Aug 12, 2020
@jpwhite4 jpwhite4 changed the base branch from xdmod9.0 to xdmod9.5 August 18, 2020 20:51
@plessbd plessbd force-pushed the minus-phantomjs branch 5 times, most recently from f17709e to 08f7076 Compare August 19, 2020 05:34
@jpwhite4 jpwhite4 changed the title Switch to Chromium instead of PhantomJS Switch to Chromium instead of PhantomJS to generate chart export images. Aug 19, 2020
@jpwhite4
Copy link
Member

Please can you add some info to the upgrade.md to explain that the dependencies have changed.

libraries/charting.php Outdated Show resolved Hide resolved
classes/DataWarehouse/Access/Usage.php Outdated Show resolved Hide resolved
docs/upgrade.md Show resolved Hide resolved
libraries/charting.php Show resolved Hide resolved
open_xdmod/modules/xdmod/xdmod.spec.in Show resolved Hide resolved
@plessbd plessbd merged commit 3c6603f into ubccr:xdmod9.5 Aug 19, 2020
@plessbd plessbd deleted the minus-phantomjs branch August 19, 2020 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category:Infrastructure Internal infrastructure updates/changes dependencies Pull requests that update a dependency file maintenance / code quality Improvements and code cleanup. Not a new feature or enhancement to existing functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants