Skip to content
This repository has been archived by the owner on Jun 22, 2020. It is now read-only.

Issue #2906977: Integrate seo assessments #402

Closed
wants to merge 16 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@
"prefer-stable": true,
"license": "GPL-2.0+",
"repositories": [
{
"type": "git",
"url": "https://git.drupal.org/sandbox/volkerk/2908463.git"
},
{
"type": "composer",
"url": "https://packages.drupal.org/8"
Expand Down Expand Up @@ -143,7 +147,8 @@
"bower-asset/exif-js": "^2.3.0",
"bower-asset/blazy": "^1.6.0",
"bower-asset/slick-carousel": "^1.6",
"bower-asset/shariff": "^1.24"
"bower-asset/shariff": "^1.24",
"drupal/yoast_seo_preview": "8.x-1.x-dev as 1.0"
},
"replace": {
"heiseonline/shariff": "*",
Expand Down
3 changes: 3 additions & 0 deletions drupal-org.make
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ projects[video_embed_field][version] = 1
projects[views_load_more][type] = module
projects[views_load_more][download][url] = https://git.drupal.org/project/views_load_more.git
projects[views_load_more][download][branch] = 8.x-1.x
projects[yoast_seo_preview][type] = module
projects[yoast_seo_preview][download][url] = http://git.drupal.org/sandbox/volkerk/2908463.git
projects[yoast_seo_preview][download][branch] = 8.x-1.x
libraries[dropzone][type] = library
libraries[dropzone][download][type] = get
libraries[dropzone][download][url] = https://github.com/enyo/dropzone/archive/v5.1.1.zip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ dependencies:
- field.field.node.article.field_channel
- field.field.node.article.field_meta_tags
- field.field.node.article.field_paragraphs
- field.field.node.article.field_seo_keyword
- field.field.node.article.field_seo_title
- field.field.node.article.field_tags
- field.field.node.article.field_teaser_media
Expand All @@ -18,6 +19,7 @@ dependencies:
- paragraphs
- path
- scheduler
- yoast_seo_preview
third_party_settings:
field_group:
group_teaser:
Expand Down Expand Up @@ -52,6 +54,7 @@ third_party_settings:
- field_channel
- title
- field_seo_title
- field_seo_keyword
- field_tags
parent_name: ''
weight: 3
Expand Down Expand Up @@ -98,6 +101,12 @@ content:
default_paragraph_type: _none
third_party_settings: { }
region: content
field_seo_keyword:
weight: 5
settings: { }
third_party_settings: { }
type: yoast_seo_preview_widget
region: content
field_seo_title:
type: string_textfield
weight: 4
Expand All @@ -108,7 +117,7 @@ content:
region: content
field_tags:
type: entity_reference_autocomplete_tags
weight: 5
weight: 6
settings:
match_operator: CONTAINS
size: 60
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dependencies:
- field.field.node.article.field_channel
- field.field.node.article.field_meta_tags
- field.field.node.article.field_paragraphs
- field.field.node.article.field_seo_keyword
- field.field.node.article.field_seo_title
- field.field.node.article.field_tags
- field.field.node.article.field_teaser_media
Expand Down Expand Up @@ -37,17 +38,18 @@ content:
region: content
links:
weight: 2
region: content
settings: { }
third_party_settings: { }
region: content
shariff_field:
weight: 3
region: content
settings: { }
third_party_settings: { }
region: content
hidden:
field_channel: true
field_meta_tags: true
field_seo_keyword: true
field_seo_title: true
field_teaser_media: true
field_teaser_text: true
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_seo_keyword
- node.type.article
module:
- yoast_seo_preview
id: node.article.field_seo_keyword
field_name: field_seo_keyword
entity_type: node
bundle: article
label: 'SEO keyword'
description: ''
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings: { }
field_type: yoast_seo_preview
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
langcode: en
status: true
dependencies:
module:
- node
- yoast_seo_preview
id: node.field_seo_keyword
field_name: field_seo_keyword
entity_type: node
type: yoast_seo_preview
settings: { }
module: yoast_seo_preview
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
4 changes: 4 additions & 0 deletions scripts/development/build-thunder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,8 @@ composer config repositories.thunder_admin git https://github.com/BurdaMagazinOr

composer require "burdamagazinorg/thunder:*" "phpunit/phpunit:~4.8" "behat/mink-selenium2-driver" "behat/mink-goutte-driver" "mikey179/vfsStream" "burdamagazinorg/thunder-dev-tools:*" "burdamagazinorg/robo:*" --no-progress

# add yoast_seo_preview sandbox
composer config repositories.yoast_seo_preview git https://git.drupal.org/sandbox/volkerk/2908463.git
composer require "drupal/yoast_seo_preview" "dev-8.x-1.x as 1.0"

echo "<?php use Thunder\Robo\RoboFileBase; class RoboFile extends RoboFileBase {}" > RoboFile.php
4 changes: 4 additions & 0 deletions scripts/travis/04-install-thunder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ composer_create_thunder() {
cd ${TEST_DIR}
composer config repositories.thunder path ${THUNDER_DIST_DIR}
composer require "burdamagazinorg/thunder:*" "phpunit/phpunit:~4.8" "drupal/thunder_admin:dev-2.x" --no-progress

# add yoast_seo_preview sandbox
composer config repositories.yoast_seo_preview git https://git.drupal.org/sandbox/volkerk/2908463.git
composer require "drupal/yoast_seo_preview" "dev-8.x-1.x as 1.0"
}

apply_patches() {
Expand Down
1 change: 1 addition & 0 deletions thunder.info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ dependencies:
- slick_media
- responsive_preview
- video_embed_media
- yoast_seo_preview
# thunder
- thunder_article
- thunder_media
Expand Down