diff --git a/CHANGELOG.md b/CHANGELOG.md index 6751de32f..0da423cc9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,21 @@ # Stanford Profile +11.5.0 +------------------------------------------------------------------------------- +- Updated metatag module config +- Exposed opportunity in graphql +- D8CORE-7194 Embed codes with captions respect 100% widths on iframes +- D8CORE-6644 Omit default favicons if one is uploaded in the theme settings +- D8CORE-5828 If home page starts with a wysiwyg, add some space at the top +- Added aria label to masthead section +- D8CORE-6821 Adjust skip to main content location +- D8CORE-7454: Move back-to-top inside the
element +- D8CORE-7434 D8CORE-7435 D8CORE-7436 | Opportunity full content layout and configure card and list display (#813) +- D8CORE-7578 Adjust person display for lists and improve resolution (#828) +- D8CORE-7558: added the global footer to minimal theme in dark with no logo (#820) +- Added FAQ Accordion List paragraph type based on CAW (#827) +- Added modal colorbox image display choices in the wysiwyg (#826) + 11.4.5 ------------------------------------------------------------------------------- - Remove edit links in views (#821) diff --git a/content/config_pages/5a3a16f1-adb6-4946-b957-49c5bb13ef8f.yml b/content/config_pages/5a3a16f1-adb6-4946-b957-49c5bb13ef8f.yml index b7630352b..1e7d0c400 100644 --- a/content/config_pages/5a3a16f1-adb6-4946-b957-49c5bb13ef8f.yml +++ b/content/config_pages/5a3a16f1-adb6-4946-b957-49c5bb13ef8f.yml @@ -23,7 +23,7 @@ default: title: 'Campus Map' options: { } - - uri: 'https://stanford.edu/' + uri: 'https://www.stanford.edu/' title: 'Contact Us' options: { } su_local_foot_address: @@ -49,11 +49,11 @@ default: value: a su_local_foot_primary: - - uri: 'https://stanford.edu/' + uri: 'https://www.stanford.edu/' title: 'Example Link' options: { } - - uri: 'https://stanford.edu/' + uri: 'https://www.stanford.edu/' title: 'Example Link' options: { } su_local_foot_prime_h: @@ -61,11 +61,11 @@ default: value: 'Links to' su_local_foot_second: - - uri: 'https://stanford.edu/' + uri: 'https://www.stanford.edu/' title: 'Example Link' options: { } - - uri: 'https://stanford.edu/' + uri: 'https://www.stanford.edu/' title: 'Example Link' options: { } su_local_foot_second_h: diff --git a/content/node/6df8090b-5dca-4386-9d72-d86e0156c0a9.yml b/content/node/6df8090b-5dca-4386-9d72-d86e0156c0a9.yml index 6ed02566b..b8f473628 100644 --- a/content/node/6df8090b-5dca-4386-9d72-d86e0156c0a9.yml +++ b/content/node/6df8090b-5dca-4386-9d72-d86e0156c0a9.yml @@ -47,7 +47,7 @@ default: title: 'Stanford University' options: { } - - uri: 'https://stanford.edu/' + uri: 'https://www.stanford.edu/' title: Stanford options: { } su_person_education: @@ -76,7 +76,7 @@ default: title: Google options: { } - - uri: 'https://stanford.edu' + uri: 'https://www.stanford.edu' title: Stanford options: { } su_person_location_address: diff --git a/src/EventSubscriber/EventSubscriber.php b/src/EventSubscriber/EventSubscriber.php index 5041ad813..d48b8fed2 100644 --- a/src/EventSubscriber/EventSubscriber.php +++ b/src/EventSubscriber/EventSubscriber.php @@ -158,7 +158,14 @@ protected static function redirectUser() { /** @var \Drupal\Core\Routing\CurrentRouteMatch $route_match */ $route_match = \Drupal::service('current_route_match'); $name = $route_match->getCurrentRouteMatch()->getRouteName(); - if (in_array($name, ['system.css_asset', 'system.js_asset'])) { + $ignore_routes = [ + 'system.css_asset', + 'system.js_asset', + 'image.style_private', + 'system.files', + 'system.private_file_download', + ]; + if (in_array($name, $ignore_routes)) { return FALSE; } diff --git a/stanford_profile.info.yml b/stanford_profile.info.yml index ff3c2b790..88607094b 100644 --- a/stanford_profile.info.yml +++ b/stanford_profile.info.yml @@ -1,6 +1,6 @@ name: 'Stanford Profile' description: 'Jumpstart Website Profile' -version: 11.4.5 +version: 11.5.0 type: profile project: Stanford core_version_requirement: ^10 || ^11 diff --git a/tests/codeception/acceptance/Content/EventsCest.php b/tests/codeception/acceptance/Content/EventsCest.php index 3cb74a88f..181c714ed 100644 --- a/tests/codeception/acceptance/Content/EventsCest.php +++ b/tests/codeception/acceptance/Content/EventsCest.php @@ -433,7 +433,7 @@ protected function createEventNode(AcceptanceTester $I, $external = FALSE, $node 'organization' => 'Asfdasdfa sdfasd fasf', ], 'su_event_map_link' => [ - 'uri' => 'https://stanford.edu/', + 'uri' => 'https://www.stanford.edu/', 'title' => 'map link', ], 'su_event_sponsor' => [ diff --git a/tests/codeception/acceptance/SuperFooter/SuperFooterCest.php b/tests/codeception/acceptance/SuperFooter/SuperFooterCest.php index 2fe60f607..a0cf9a7f0 100644 --- a/tests/codeception/acceptance/SuperFooter/SuperFooterCest.php +++ b/tests/codeception/acceptance/SuperFooter/SuperFooterCest.php @@ -44,7 +44,7 @@ public function testFormSettings(AcceptanceTester $I) { $I->fillField('#edit-su-super-foot-text-0-value', '

Super footers are super.

'); $I->fillField('#edit-su-super-foot-link-0-uri', ''); $I->fillField('#edit-su-super-foot-link-0-title', 'Action link'); - $I->fillField('#edit-su-super-foot-intranet-0-uri', 'https://stanford.edu/'); + $I->fillField('#edit-su-super-foot-intranet-0-uri', 'https://www.stanford.edu/'); $I->fillField('#edit-su-super-foot-intranet-0-title', 'Intranet Link'); $I->click('Save'); $I->see('Super Footer has been', '.messages-list'); diff --git a/tests/codeception/functional/Contrib/ExtLinkCest.php b/tests/codeception/functional/Contrib/ExtLinkCest.php index e7942d3cf..31160b167 100644 --- a/tests/codeception/functional/Contrib/ExtLinkCest.php +++ b/tests/codeception/functional/Contrib/ExtLinkCest.php @@ -78,10 +78,10 @@ public function testExtLink(FunctionalTester $I) { $I->fillField('su_local_foot_primary[0][title]', 'Primary Link'); $I->click('Add another item', '.field--name-su-local-foot-primary'); $I->waitForElement('[name="su_local_foot_primary[1][uri]"]'); - $I->fillField('su_local_foot_primary[1][uri]', 'https://stanford.edu'); + $I->fillField('su_local_foot_primary[1][uri]', 'https://www.stanford.edu'); $I->fillField('su_local_foot_primary[1][title]', 'Another primary link'); - $I->fillField('su_local_foot_second[0][uri]', 'https://stanford.edu'); + $I->fillField('su_local_foot_second[0][uri]', 'https://www.stanford.edu'); $I->fillField('su_local_foot_second[0][title]', 'Secondary Link'); $I->click('Add another item', '.field--name-su-local-foot-second'); $I->waitForElement('[name="su_local_foot_second[1][uri]"]'); diff --git a/themes/stanford_basic/templates/html.html.twig b/themes/stanford_basic/templates/html.html.twig index 1658df871..2ae1d9fc1 100755 --- a/themes/stanford_basic/templates/html.html.twig +++ b/themes/stanford_basic/templates/html.html.twig @@ -74,11 +74,11 @@ function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); - gtag('config', 'G-BECJQXLNCY'); + gtag('config', 'G-BECJQXLNCY', {cookie_domain: window.location.host, cookie_prefix: "sws", "ga-expire": 15552000}); {% else %} {% endif %} {% endif %}