This file contains hidden or 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 | |
| // some of this functionality is borrowed from another API found on Github that unfortunately contains private credentials | |
| // hopefully this will have better SEO: Hobsons, HobsonsConnect, SOAP, WDSL | |
| class HobsonsConnect { | |
| var $client, $params; | |
| function __construct($clientname, $passkey) { | |
| $bridge_url = 'https://' . $clientname . '.askadmissions.net/ws/bridge.asmx?wsdl'; | |
| $this->client = new SoapClient($bridge_url, array('trace' => 1)); |
This file contains hidden or 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
| diff --git a/kint/kint/config.default.php b/kint/kint/config.default.php | |
| index 72f0a69..d75bb42 100644 | |
| --- a/kint/kint/config.default.php | |
| +++ b/kint/kint/config.default.php | |
| @@ -75,7 +75,7 @@ | |
| /** @var int max array/object levels to go deep, if zero no limits are applied */ | |
| -$_kintSettings['maxLevels'] = 7; | |
| +$_kintSettings['maxLevels'] = 4; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
| diff --git a/src/Plugin/views/style/FullCalendar.php b/src/Plugin/views/style/FullCalendar.php | |
| index afd1bc4..fcc45e5 100644 | |
| --- a/src/Plugin/views/style/FullCalendar.php | |
| +++ b/src/Plugin/views/style/FullCalendar.php | |
| @@ -279,6 +279,19 @@ class FullCalendar extends StylePluginBase { | |
| return $settings; | |
| } | |
| + /** | |
| + * Reset a date to UTC |
This file contains hidden or 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
| diff --git a/core/modules/views/src/Controller/ViewAjaxController.php b/core/modules/views/src/Controller/ViewAjaxController.php | |
| index d204766..2e0ea18 100644 | |
| --- a/core/modules/views/src/Controller/ViewAjaxController.php | |
| +++ b/core/modules/views/src/Controller/ViewAjaxController.php | |
| @@ -142,7 +142,7 @@ public function ajaxView(Request $request) { | |
| throw new NotFoundHttpException(); | |
| } | |
| $view = $this->executableFactory->get($entity); | |
| - if ($view && $view->access($display_id) && $view->setDisplay($display_id) && $view->display_handler->getOption('use_ajax')) { | |
| + if ($view && $view->access($display_id) && $view->setDisplay($display_id) && $view->display_handler->ajaxEnabled()) { |
This file contains hidden or 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
| diff --git a/content_moderation_notifications.services.yml b/content_moderation_notifications.services.yml | |
| index 5b2d342..2a6b525 100644 | |
| --- a/content_moderation_notifications.services.yml | |
| +++ b/content_moderation_notifications.services.yml | |
| @@ -4,4 +4,4 @@ services: | |
| arguments: ['@entity_type.manager', '@content_moderation.moderation_information'] | |
| content_moderation_notifications.notification: | |
| class: Drupal\content_moderation_notifications\Notification | |
| - arguments: ['@plugin.manager.mail'] | |
| + arguments: ['@plugin.manager.mail', '@?token.entity_mapper'] |
This file contains hidden or 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
| diff --git a/core/lib/Drupal/Core/Render/Element.php b/core/lib/Drupal/Core/Render/Element.php | |
| index e394a39..32755f2 100644 | |
| --- a/core/lib/Drupal/Core/Render/Element.php | |
| +++ b/core/lib/Drupal/Core/Render/Element.php | |
| @@ -94,6 +94,7 @@ public static function children(array &$elements, $sort = FALSE) { | |
| // Only trigger an error if the value is not null. | |
| // @see https://www.drupal.org/node/1283892 | |
| elseif (isset($value)) { | |
| + xdebug_break(); | |
| trigger_error(SafeMarkup::format('"@key" is an invalid render array key', ['@key' => $key]), E_USER_ERROR); |
This file contains hidden or 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
| os=$(dpkg --print-architecture) | |
| if [ "$os" = "armhf" ]; then os=arm; fi | |
| url="http://www.mysqueezebox.com/update/?version=7.9.1&revision=1&geturl=1&os=deb$os" | |
| latest_lms=$(wget -q -O - "$url") | |
| mkdir -p /sources | |
| cd /sources | |
| wget $latest_lms | |
| lms_deb=${latest_lms##*/} | |
| dpkg -i $lms_deb |
This file contains hidden or 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
| diff --git a/src/Plugin/SolrConnector/PantheonSolrConnector.php b/src/Plugin/SolrConnector/PantheonSolrConnector.php | |
| index e4702b8..fd45a30 100644 | |
| --- a/src/Plugin/SolrConnector/PantheonSolrConnector.php | |
| +++ b/src/Plugin/SolrConnector/PantheonSolrConnector.php | |
| @@ -71,6 +71,14 @@ class PantheonSolrConnector extends StandardSolrConnector { | |
| 'path' => '/sites/self/environments/' . $_ENV['PANTHEON_ENVIRONMENT'] . '/index', | |
| ]; | |
| } | |
| + else { | |
| + $pantheon_specific_configuration = [ |