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

Feat/control display via cms settings #9

Open
wants to merge 27 commits into
base: master
Choose a base branch
from

Conversation

sig-lani
Copy link
Collaborator

@sig-lani sig-lani commented Jun 19, 2020

This branch should resolve issues raised in #4 #6 #7 #8

sig-lani and others added 7 commits June 18, 2020 17:54
 - add boolean to indicate if display should be disabled
 - add tab with checkbox in settings panel to provide override value
 - add condition to check for site config override and return original html without insertion of EnvBar if true
…ate variable.

 - allow developer to configure to fit themes where the auto insert would be inappropriate
 - add usage instructions for CMS override setting
 - add developer instructions for yml configuration and template variable usage
Fix link to Override Setting screenshot
@sig-lani sig-lani requested a review from sig-steve June 19, 2020 05:13
@lanifield lanifield requested a review from sig-sam June 21, 2020 02:16
Modifies the documentation to use SilverStripe namespacing in params and returns.
Also minor changes to formatting of doc blocks for stylistics preference.
Add Scrutinizer Code Quality badge.
Remove codecov badge.
@sig-lani sig-lani marked this pull request as ready for review June 23, 2020 03:57
@sig-lani
Copy link
Collaborator Author

@smgrc have made another commit to ensure build tasks pass... need some unit tests for added functionality though.

Modify tests to better reflect current status of PHP and SilverStripe.

Also loosen script to check tests directory (to allow for more unit tests to run in future).
sig-lani and others added 9 commits July 10, 2020 14:33
The travis tests are failing to build due to unresolvable requirements - it seems likely this is a result of using unstable versions of SilverStripe.
The tests using PHP 5.6 and PHP 7.0 do not build because the version of SilverStripe being built does not support PHP<7.1
Also add PHP 7.4.
silverstripe/postgresql 2.1.x-dev was not resolving to an installable package. Prefer using a stable tagged version.
Also remove --no-suggest while we're at it, as this is deprecated in composer 2.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants