Skip to content

Commit

Permalink
Merge pull request #79 from SU-SOE/release-8.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
imonroe authored Oct 27, 2021
2 parents 9994a4b + ab0a005 commit a57b968
Show file tree
Hide file tree
Showing 4 changed files with 106 additions and 1 deletion.
66 changes: 66 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,71 @@
# Engineering Profile

8.2.2 Engineering Release
--------------------------------------------------------------------------------
_Release Date: 2021-10-27_

- Removed migrations that will no longer be used
- updated system.performance to cache correctly


8.x-2.15
--------------------------------------------------------------------------------
_Release Date: 2021-10-08_

- Merge branch '8.x-2.x' of https://github.com/SU-SWS/stanford_profile into 8.x-2.x
- Added publications help text
- Updates from stanford_profile 2021-10-08
- Merge branch '8.x-2.x' of ssh://github.com/SU-SWS/stanford_profile into 8.x-2.x
- Index intranet content (#458)
- Updates from stanford_profile 2021-10-07
- Merge branch '8.x-2.x' of ssh://github.com/SU-SWS/stanford_profile into 8.x-2.x
- adjusted publication importer label
- Updates from stanford_profile 2021-10-05
- Merge branch '8.x-2.x' of ssh://github.com/SU-SWS/stanford_profile into 8.x-2.x
- Add citation to clonable entities
- Updates from stanford_profile 2021-09-30
- Merge branch '8.x-2.x' of ssh://github.com/SU-SWS/stanford_profile into 8.x-2.x
- tweaks to publication csv importer for easier data
- Added site manager permission to import publications
- Updates from stanford_profile 2021-09-29
- Merge branch '8.x-2.x' of ssh://github.com/SU-SWS/stanford_profile into 8.x-2.x
- Exported config after database updates with latest contrib
- D8CORE-3749 Publication CSV importer
- D8CORE-4693 Filter events by the second instead of the day (#457)
- Updates from stanford_profile 2021-09-25
- Merge branch '8.x-2.x' of ssh://github.com/SU-SWS/stanford_profile into 8.x-2.x
- D8CORE-4759 add specific view mode for search indexing for better control (#454)
- D8CORE-4096 Updated help section text (#455)
- Updates from stanford_profile (#192)
- D8CORE-3026 added and configured stanford_actions (#453)
- Updates from stanford_profile 2021-09-18
- Merge branch '8.x-2.x' of ssh://github.com/SU-SWS/stanford_profile into 8.x-2.x
- Added layout builder role (#451)
- Updates from stanford_profile 2021-09-16
- Merge branch '8.x-2.x' of ssh://github.com/SU-SWS/stanford_profile into 8.x-2.x
- Configure the new media embeddable validator (#450)
- Merge branch 'master' into 8.x-2.x
- Merge branch '8.x-2.x' of https://github.com/SU-SWS/stanford_profile into 8.x-2.x
- Merge branch 'master' into 8.x-2.x
- 8.2.13
- 8.2.13
- D8CORE-4534: adding a skip anchor block to the filtered pub page (#437)
- D8CORE-4534: adding a skip anchor block to the filtered pub page (#437)
- Updates from stanford_profile (#187)
- D8CORE-4749 Add and configure views bulk edit (#449)

8.2.1 Engineering Release
--------------------------------------------------------------------------------
_Release Date: 2021-10-14_

- Fixup for robots metatags

8.2.0 Engineering Release
--------------------------------------------------------------------------------
_Release Date: 2021-10-12_

- Initial production release for School of Engineering.

8.x-2.14
--------------------------------------------------------------------------------
_Release Date: 2021-09-14_
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ content:
settings:
max_width: 0
max_height: 0
allowed_tags: 'iframe video audio source embed script div span p a ul ol li form label input textarea select option button'
third_party_settings: { }
type: embeddable_formatter
region: content
Expand All @@ -29,6 +30,7 @@ content:
settings:
max_width: 0
max_height: 0
allowed_tags: ''
third_party_settings: { }
region: content
hidden:
Expand Down
2 changes: 1 addition & 1 deletion engineering_profile.info.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 'Engineering Profile'
description: 'Jumpstart Website Profile'
version: 8.x-2.15-dev
version: 8.x-2.2.2
type: profile
project: Jumpstart
core_version_requirement: ^9
Expand Down
37 changes: 37 additions & 0 deletions tests/codeception/acceptance/Users/IntranetCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,43 @@ public function testAccess(AcceptanceTester $I) {
$I->canSee('Test Private Access', 'h1');
}

/**
* Content should be indexed and results displayed.
*/
public function testSearchResults(AcceptanceTester $I){
$I->runDrush('sset stanford_intranet 1');
$I->runDrush('sapi-c');
$quote = 'Life is like a box of chocolates. You never know what you’re going to get.';
$text_area = $I->createEntity([
'type' => 'stanford_wysiwyg',
'su_wysiwyg_text' => [[
'value' => "<p>$quote</p>",
'format' => 'stanford_html',
]],
], 'paragraph');
$row = $I->createEntity([
'type' => 'node_stanford_page_row',
'su_page_components' => [
'target_id' => $text_area->id(),
'target_revision_id' => $text_area->getRevisionId(),
],
], 'paragraph_row');
$node = $I->createEntity([
'title' => 'Forest Gump',
'type' => 'stanford_page',
'su_page_components' => [
'target_id' => $row->id(),
'target_revision_id' => $row->getRevisionId(),
],
]);
$I->runDrush('sapi-i');
$I->logInWithRole('authenticated');
$I->amOnPage($node->toUrl()->toString());
$I->canSee($quote);
$I->amOnPage('/search?key=chocolate');
$I->canSeeLink('Forest Gump');
}

/**
* Files can't be added.
*/
Expand Down

0 comments on commit a57b968

Please sign in to comment.