This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Add an indicator to clicked element that we're processing currently. | |
*/ | |
window.indicateInProgressClickHandler = function(handlerId,$element){ | |
let inProgressClickHandlers = ''; | |
if(typeof $element.data('in-progress-click-handlers') !== 'undefined') { | |
inProgressClickHandlers = $element.data('in-progress-click-handlers') + '|'; | |
} | |
$element.data('in-progress-click-handlers', inProgressClickHandlers + handlerId); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* SAML 2.0 remote IdP metadata for SimpleSAMLphp. | |
* | |
* Remember to remove the IdPs you don't use from this file. | |
* | |
* See: https://simplesamlphp.org/docs/stable/simplesamlphp-reference-idp-remote | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Enviornment specific changes made at bottom of file | |
*/ | |
$config = [ | |
// For logging into saml admin pages | |
'admin' => [ | |
'core:AdminPassword', | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//---------------// | |
// Solr Settings // | |
//---------------// | |
// Solr settings for Acquia envs | |
if (isset($_ENV['AH_SITE_ENVIRONMENT'])) { | |
// Assign index to Acquia server | |
$config['search_api.index.acquia_search_index']['server'] = 'acquia_search_server'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt-get --assume-yes install libzip-dev | |
echo 'installed libzip' | |
sudo pecl install zip | |
echo 'installed zip php extension' | |
# add installed zip php pecl package to ini, if not enabled. | |
if php --info | grep -q 'zip'; then | |
echo 'extension=zip.so' | sudo tee /etc/php/7.2/cli/conf.d/zip.ini |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$reflection = new \ReflectionClass($query); | |
$property = $reflection->getProperty('condition'); | |
$property->setAccessible(TRUE); | |
$conditions = $property->getValue($query); | |
$values = $conditions->conditions(); |