Skip to content

Commit

Permalink
Webspark 1.70 (Texas)
Browse files Browse the repository at this point in the history
Webspark 1.70 (Texas)
  • Loading branch information
ctestama authored Jul 12, 2019
2 parents 55e3a57 + a2ed3bb commit d4c5487
Show file tree
Hide file tree
Showing 265 changed files with 5,199 additions and 1,786 deletions.
19 changes: 8 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@ language: php

addons:
artifacts: true
chrome: stable

# PHP 7
php:
- 7.0
- 7.2

# make sure we test on latest trusty environment
# make sure we test on latest xenial environment
sudo: required
dist: trusty
dist: xenial

services:
- mysql

# Cache Composer & Drush directories.
cache:
Expand All @@ -27,14 +31,7 @@ branches:
only:
- master
- travis-ci

# Firefox 47.0 is currently breaking Selenium Server
# TODO - Update from Selenium Server Standalone to alternative Marionette
# https://developer.mozilla.org/en-US/docs/Mozilla/QA/Marionette/WebDriver
# Addons not working with Firefox. SeleniumHQ issue? Manually adding proper FF version.
addons:
chrome: stable


# Cut down on git depth from default of 50
git:
depth: 3
Expand Down
37 changes: 37 additions & 0 deletions profiles/openasu/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,40 @@
Webspark 1.70 (Texas), 2019-07-02
---------------------------------
- Webspark core

* Panopoly - v1.70
* Multiple Panopoly releases (1.68-1.70) rolled into one update; Includes updates to contrib modules.
See https://www.drupal.org/project/panopoly/releases/7.x-1.70 for more info.

- Web standards components in webspark

* ASU Local iSearch Directory (asu_isearch) - v1.12
* Fixed bug where local rank weight for an affiliation couldn't be removed using the node edit form
* Added error handling to better detect field_collection-related failures
* Fixed bug where absolute URLs imported from iSearch were being rewritten
* ASU Directory Integration Reinvented (asu_dir) - v1.10.1
* Added helpful description for the 'Use local iSearch view' option in the ASU Directory panel configs
* ASU Webspark Carousel (uto_carousel) - v1.8
* Fixed bug where field settings summary was being returned as array instead of string
* Added flexslider dependency

- Contrib module updates

- Managed by Webspark

* Views (views) - v3.23
* Webform (webform) - v4.19
* SMTP (smtp) - v1.7+patch (https://www.drupal.org/project/smtp/issues/2979682)

- Managed by Panopoly

* Chaos Tool Suite (ctools) - v1.15
* Universally Unique Identifier (uuid) - v1.3
* Devel (devel) - v1.7
* Search API (search_api) - v1.26
* Tablefield (tablefield) - v3.5
* Media: Youtube (media_youtube) - v3.8

Webspark 1.67 (Iowa), 2019-05-20
--------------------------------
- Webspark core
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ description = Performs bulk exporting of data objects known about by Chaos tools
core = 7.x
dependencies[] = ctools
package = Chaos tool suite
version = CTOOLS_MODULE_VERSION

; Information added by Drupal.org packaging script on 2018-02-24
version = "7.x-1.14"
; Information added by Drupal.org packaging script on 2019-02-08
version = "7.x-1.15"
core = "7.x"
project = "ctools"
datestamp = "1519455788"

datestamp = "1549603691"
2 changes: 1 addition & 1 deletion profiles/openasu/modules/contrib/ctools/css/dropbutton.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
height: auto;
position: absolute;
right: 0;
text-indent: -9999px; /* LTR */
top: 0;
width: 17px;
}
Expand Down Expand Up @@ -50,6 +49,7 @@
right: 6px;
position: absolute;
top: 0.75em;
white-space: nowrap;
}

.ctools-dropbutton-processed.open .ctools-twisty {
Expand Down
7 changes: 3 additions & 4 deletions profiles/openasu/modules/contrib/ctools/ctools.info
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ files[] = tests/object_cache.test
files[] = tests/object_cache_unit.test
files[] = tests/page_tokens.test

; Information added by Drupal.org packaging script on 2018-02-24
version = "7.x-1.14"
; Information added by Drupal.org packaging script on 2019-02-08
version = "7.x-1.15"
core = "7.x"
project = "ctools"
datestamp = "1519455788"

datestamp = "1549603691"
3 changes: 3 additions & 0 deletions profiles/openasu/modules/contrib/ctools/ctools.module
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ define('CTOOLS_API_VERSION', '2.0.9');
* simply include a dependency line in that module's info file, e.g.:
* ; Requires CTools v7.x-1.4 or newer.
* dependencies[] = ctools (>=1.4)
*
* @deprecated in CTools 1.15 and will be removed before CTools 2.0.0.
* Use the version provided by the drupal.org packaging system.
*/
define('CTOOLS_MODULE_VERSION', '7.x-1.13');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ name = Custom rulesets
description = Create custom, exportable, reusable access rulesets for applications like Panels.
core = 7.x
package = Chaos tool suite
version = CTOOLS_MODULE_VERSION
dependencies[] = ctools

; Information added by Drupal.org packaging script on 2018-02-24
version = "7.x-1.14"
; Information added by Drupal.org packaging script on 2019-02-08
version = "7.x-1.15"
core = "7.x"
project = "ctools"
datestamp = "1519455788"

datestamp = "1549603691"
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
name = Chaos Tools (CTools) AJAX Example
description = Shows how to use the power of Chaos AJAX.
package = Chaos tool suite
version = CTOOLS_MODULE_VERSION
dependencies[] = ctools
core = 7.x

; Information added by Drupal.org packaging script on 2018-02-24
version = "7.x-1.14"
; Information added by Drupal.org packaging script on 2019-02-08
version = "7.x-1.15"
core = "7.x"
project = "ctools"
datestamp = "1519455788"

datestamp = "1549603691"
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@ name = Custom content panes
description = Create custom, exportable, reusable content panes for applications like Panels.
core = 7.x
package = Chaos tool suite
version = CTOOLS_MODULE_VERSION
dependencies[] = ctools

; Information added by Drupal.org packaging script on 2018-02-24
version = "7.x-1.14"
; Information added by Drupal.org packaging script on 2019-02-08
version = "7.x-1.15"
core = "7.x"
project = "ctools"
datestamp = "1519455788"

datestamp = "1549603691"
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
name = Chaos Tools (CTools) Plugin Example
description = Shows how an external module can provide ctools plugins (for Panels, etc.).
package = Chaos tool suite
version = CTOOLS_MODULE_VERSION
dependencies[] = ctools
dependencies[] = panels
dependencies[] = page_manager
dependencies[] = advanced_help
core = 7.x

; Information added by Drupal.org packaging script on 2018-02-24
version = "7.x-1.14"
; Information added by Drupal.org packaging script on 2019-02-08
version = "7.x-1.15"
core = "7.x"
project = "ctools"
datestamp = "1519455788"

datestamp = "1549603691"
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ function ctools_plugin_example_default_page_manager_pages() {
'access' => array(
'logic' => 'and',
),
'pipeline' => 'standard',
);
$display = new panels_display();
$display->layout = 'threecol_33_34_33_stacked';
Expand Down Expand Up @@ -154,7 +155,7 @@ function ctools_plugin_example_default_page_manager_pages() {
$pane->configuration = array(
'title' => 'Long Arg Visibility Block',
'body' => 'This block will be here when the argument is longer than configured arg length. It uses the \'arg_length\' access plugin to test against the length of the argument used for Simplecontext.',
'format' => '1',
'format' => 'filtered_html',
'substitute' => 1,
);
$pane->cache = array();
Expand Down Expand Up @@ -185,7 +186,7 @@ function ctools_plugin_example_default_page_manager_pages() {
$pane->configuration = array(
'title' => 'Short Arg Visibility',
'body' => 'This block appears when the simplecontext argument is <i>less than</i> the configured length.',
'format' => '1',
'format' => 'filtered_html',
'substitute' => 1,
);
$pane->cache = array();
Expand Down Expand Up @@ -297,7 +298,7 @@ function ctools_plugin_example_default_page_manager_pages() {
item1 is %sc:item1
item2 is %sc:item2
description is %sc:description',
'format' => '1',
'format' => 'filtered_html',
'substitute' => 1,
);
$pane->cache = array();
Expand Down Expand Up @@ -363,7 +364,7 @@ function ctools_plugin_example_default_page_manager_pages() {
'body' => 'The CTools Plugin Example module (and this panel page) are just here to demonstrate how to build CTools plugins.
',
'format' => '2',
'format' => 'full_html',
'substitute' => 1,
);
$pane->cache = array();
Expand Down Expand Up @@ -408,6 +409,7 @@ function ctools_plugin_example_default_page_manager_pages() {
'css' => '',
'contexts' => array(),
'relationships' => array(),
'pipeline' => 'standard',
);
$display = new panels_display();
$display->layout = 'onecol';
Expand All @@ -428,7 +430,7 @@ function ctools_plugin_example_default_page_manager_pages() {
$pane->configuration = array(
'title' => 'Use this page with an argument',
'body' => 'This demo page works if you use an argument, like <a href="ctools_plugin_example/xxxxx">ctools_plugin_example/xxxxx</a>.',
'format' => '1',
'format' => 'filtered_html',
'substitute' => NULL,
);
$pane->cache = array();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -452,6 +452,7 @@ function ctools_drush_export_info() {
* all arg handling etc in one place.
*/
function ctools_drush_export_op_command() {
$args = func_get_args();
// Get all info for the current drush command.
$command = drush_get_command();
$op = '';
Expand Down Expand Up @@ -495,7 +496,6 @@ function ctools_drush_export_op_command() {
}
}
else {
$args = func_get_args();
// Table name should always be first arg...
$table_name = array_shift($args);
// Any additional args are assumed to be exportable names.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,10 @@ function theme_links__ctools_dropbutton($vars) {

$output .= '<div class="ctools-link">';
if ($vars['image']) {
$output .= '<a href="#" class="ctools-twisty ctools-image">' . $vars['title'] . '</a>';
$output .= '<a href="#" class="ctools-twisty ctools-image"><span class="element-invisible">' . $vars['title'] . '</span></a>';
}
else {
$output .= '<a href="#" class="ctools-twisty ctools-text">' . $vars['title'] . '</a>';
$output .= '<a href="#" class="ctools-twisty ctools-text"><span class="element-invisible">' . $vars['title'] . '</span></a>';
}
// ctools-link.
$output .= '</div>';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ function ctools_export_ui_process(&$plugin, $info) {

$plugin['strings']['confirmation']['delete'] += array(
'question' => t('Are you sure you want to delete %title?'),
'information' => t('This action will permanently remove this item from your database..'),
'information' => t('This action will permanently remove this item from your database.'),
'success' => t('The item has been deleted.'),
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ function ctools_wizard_defaults(&$form_info) {
$form_info = $form_info + $defaults;
// Set form callbacks if they aren't defined.
foreach ($form_info['forms'] as $step => $params) {
if (!$params['form id']) {
if (empty($params['form id'])) {
$form_callback = $hook . '_' . $step . '_form';
$form_info['forms'][$step]['form id'] = $form_callback;
}
Expand Down
38 changes: 23 additions & 15 deletions profiles/openasu/modules/contrib/ctools/js/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@
}
}

if (!speed) {
if (!speed && 0 !== speed) {
speed = 'fast';
}

Expand Down Expand Up @@ -555,7 +555,7 @@
// Create our content div, get the dimensions, and hide it
var modalContent = $('#modalContent').css('top','-1000px');
var $modalHeader = modalContent.find('.modal-header');
var mdcTop = wt + ( winHeight / 2 ) - ( modalContent.outerHeight() / 2);
var mdcTop = wt + Math.max((winHeight / 2) - (modalContent.outerHeight() / 2), 0);
var mdcLeft = ( winWidth / 2 ) - ( modalContent.outerWidth() / 2);
$('#modalBackdrop').css(css).css('top', 0).css('height', docHeight + 'px').css('width', docWidth + 'px').show();
modalContent.css({top: mdcTop + 'px', left: mdcLeft + 'px'}).hide()[animation](speed);
Expand Down Expand Up @@ -588,35 +588,43 @@
$('body').unbind( 'keypress', modalEventHandler );
$('body').unbind( 'keydown', modalTabTrapHandler );
$('.close', $modalHeader).unbind('click', modalContentClose);
$('body').unbind('keypress', modalEventEscapeCloseHandler);
$(document).unbind('keydown', modalEventEscapeCloseHandler);
$(document).trigger('CToolsDetachBehaviors', $('#modalContent'));

// Set our animation parameters and use them
if ( animation == 'fadeIn' ) animation = 'fadeOut';
if ( animation == 'slideDown' ) animation = 'slideUp';
if ( animation == 'show' ) animation = 'hide';
// Closing animation.
switch (animation) {
case 'fadeIn':
modalContent.fadeOut(speed, modalContentRemove);
break;

// Close the content
modalContent.hide()[animation](speed);
case 'slideDown':
modalContent.slideUp(speed, modalContentRemove);
break;

// Remove the content
case 'show':
modalContent.hide(speed, modalContentRemove);
break;
}
}

// Remove the content.
modalContentRemove = function () {
$('#modalContent').remove();
$('#modalBackdrop').remove();

// Restore focus to where it was before opening the dialog
// Restore focus to where it was before opening the dialog.
$(oldFocus).focus();
};

// Move and resize the modalBackdrop and modalContent on window resize.
modalContentResize = function(){

modalContentResize = function () {
// Reset the backdrop height/width to get accurate document size.
$('#modalBackdrop').css('height', '').css('width', '');

// Position code lifted from:
// http://www.quirksmode.org/viewport/compatibility.html
if (self.pageYOffset) { // all except Explorer
var wt = self.pageYOffset;
var wt = self.pageYOffset;
} else if (document.documentElement && document.documentElement.scrollTop) { // Explorer 6 Strict
var wt = document.documentElement.scrollTop;
} else if (document.body) { // all other Explorers
Expand All @@ -632,7 +640,7 @@

// Get where we should move content to
var modalContent = $('#modalContent');
var mdcTop = wt + ( winHeight / 2 ) - ( modalContent.outerHeight() / 2);
var mdcTop = wt + Math.max((winHeight / 2) - (modalContent.outerHeight() / 2), 0);
var mdcLeft = ( winWidth / 2 ) - ( modalContent.outerWidth() / 2);

// Apply the changes
Expand Down
Loading

0 comments on commit d4c5487

Please sign in to comment.