From 1d3b9cd2ebc30a75863f08205b2c058980640553 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Fri, 18 Jan 2019 17:42:29 -0500 Subject: [PATCH 01/49] Remove language code from filtering on taxonomy term listings Ref #159 --- config/sync/views.view.taxonomy_term.yml | 83 ++++++++++++------------ 1 file changed, 43 insertions(+), 40 deletions(-) diff --git a/config/sync/views.view.taxonomy_term.yml b/config/sync/views.view.taxonomy_term.yml index a1182a1..cfde60e 100644 --- a/config/sync/views.view.taxonomy_term.yml +++ b/config/sync/views.view.taxonomy_term.yml @@ -142,46 +142,6 @@ display: reduce_duplicates: false plugin_id: taxonomy_index_tid filters: - langcode: - id: langcode - table: node_field_data - field: langcode - relationship: none - group_type: group - admin_label: '' - operator: in - value: - '***LANGUAGE_language_content***': '***LANGUAGE_language_content***' - group: 1 - exposed: false - expose: - operator_id: '' - label: '' - description: '' - use_operator: false - operator: '' - identifier: '' - required: false - remember: false - multiple: false - remember_roles: - authenticated: authenticated - reduce: false - is_grouped: false - group_info: - label: '' - description: '' - identifier: '' - optional: true - widget: select - multiple: false - remember: false - default_group: All - default_group_multiple: { } - group_items: { } - plugin_id: language - entity_type: node - entity_field: langcode status: id: status table: taxonomy_index @@ -677,6 +637,8 @@ display: defaults: fields: false relationships: false + filters: false + filter_groups: false relationships: nid: id: nid @@ -687,6 +649,47 @@ display: admin_label: node required: true plugin_id: standard + filters: + status: + id: status + table: taxonomy_index + field: status + relationship: none + group_type: group + admin_label: '' + operator: '=' + value: '1' + group: 1 + exposed: false + expose: + operator_id: '' + label: '' + description: '' + use_operator: false + operator: '' + identifier: '' + required: false + remember: false + multiple: false + remember_roles: + authenticated: authenticated + is_grouped: false + group_info: + label: '' + description: '' + identifier: '' + optional: true + widget: select + multiple: false + remember: false + default_group: All + default_group_multiple: { } + group_items: { } + plugin_id: boolean + filter_groups: + operator: AND + groups: + 1: AND cache_metadata: contexts: - 'languages:language_content' From 00d0007265f8c74357c0fd29559e20543cdf85a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sat, 19 Jan 2019 01:58:32 -0500 Subject: [PATCH 02/49] Update composer lock file (no code changes) --- composer.lock | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/composer.lock b/composer.lock index 21adf58..9a93831 100644 --- a/composer.lock +++ b/composer.lock @@ -2346,7 +2346,7 @@ }, "drupal": { "version": "8.x-1.25", - "datestamp": "1542915180", + "datestamp": "1542915384", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -2417,7 +2417,7 @@ }, "drupal": { "version": "8.x-1.25", - "datestamp": "1542915180", + "datestamp": "1542915384", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -4076,7 +4076,7 @@ }, "drupal": { "version": "8.x-1.x-dev", - "datestamp": "1542572880", + "datestamp": "1542578580", "security-coverage": { "status": "not-covered", "message": "Dev releases are not covered by Drupal security advisories." @@ -6541,10 +6541,6 @@ "name": "golddragon007", "homepage": "https://www.drupal.org/user/2723471" }, - { - "name": "james.williams", - "homepage": "https://www.drupal.org/user/592268" - }, { "name": "lbesenyei", "homepage": "https://www.drupal.org/user/2626013" @@ -6601,6 +6597,10 @@ { "name": "kristiaanvandeneynde", "homepage": "https://www.drupal.org/user/1345130" + }, + { + "name": "ronaldtebrake", + "homepage": "https://www.drupal.org/user/2314038" } ], "description": "Enables Group functionality for the Node module", @@ -6704,6 +6704,10 @@ { "name": "kristiaanvandeneynde", "homepage": "https://www.drupal.org/user/1345130" + }, + { + "name": "ronaldtebrake", + "homepage": "https://www.drupal.org/user/2314038" } ], "description": "This module allows you to group users, content and other entities", From 04595859650b452376972976b1882e5d520c2ec5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sat, 19 Jan 2019 01:59:47 -0500 Subject: [PATCH 03/49] Update pattern library to hide RSS extra title Ref #159 --- web/themes/custom/agarica/patternlibrary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/themes/custom/agarica/patternlibrary b/web/themes/custom/agarica/patternlibrary index bd9add6..3fa7e23 160000 --- a/web/themes/custom/agarica/patternlibrary +++ b/web/themes/custom/agarica/patternlibrary @@ -1 +1 @@ -Subproject commit bd9add651fde3d6d6465fd823dbc3964d6daf397 +Subproject commit 3fa7e23d660a468ab2d15d4ec2ce86bd00c65a94 From 96e28ee1b9aa227ef22fbdf7b22cf9a2886de760 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sat, 19 Jan 2019 15:05:39 -0500 Subject: [PATCH 04/49] Add author field (for dc:creator), remove links --- ...tity_view_display.node.blog.rss_teaser.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/config/sync/core.entity_view_display.node.blog.rss_teaser.yml b/config/sync/core.entity_view_display.node.blog.rss_teaser.yml index 03ff167..7f824a6 100644 --- a/config/sync/core.entity_view_display.node.blog.rss_teaser.yml +++ b/config/sync/core.entity_view_display.node.blog.rss_teaser.yml @@ -24,8 +24,17 @@ id: node.blog.rss_teaser targetEntityType: node bundle: blog mode: rss_teaser -third_party_settings: { } content: + field_authors: + type: entity_reference_label + weight: 1 + region: content + label: hidden + settings: + link: false + third_party_settings: + ds: + ds_limit: '' field_body_paragraph: type: paragraph_summary weight: 0 @@ -35,15 +44,9 @@ content: third_party_settings: ds: ds_limit: '' - links: - weight: 1 - region: content - settings: { } - third_party_settings: { } hidden: body: true comment: true - field_authors: true field_image: true field_meta_tags: true field_summary: true @@ -51,3 +54,5 @@ hidden: field_topics: true indieweb_bridgypublishtwitter: true indieweb_syndication: true + langcode: true + links: true From 9eecdef83027cdcb0fe307bdbc2340de00cd0675 Mon Sep 17 00:00:00 2001 From: Clayton Dewey Date: Sat, 19 Jan 2019 15:14:09 -0700 Subject: [PATCH 05/49] Update License vocabulary fields and display --- ..._sync.module.drutopia_creative_license.yml | 81 +++++++++++++++++++ ...override.taxonomy_term.license.changed.yml | 17 ++++ ...ride.taxonomy_term.license.description.yml | 19 +++++ ...override.taxonomy_term.license.metatag.yml | 17 ++++ ...ld_override.taxonomy_term.license.name.yml | 17 ++++ ...ld_override.taxonomy_term.license.path.yml | 19 +++++ ..._override.taxonomy_term.license.status.yml | 21 +++++ ..._display.taxonomy_term.license.default.yml | 54 +++++++++++++ ..._display.taxonomy_term.license.default.yml | 18 ++++- ...iew_display.taxonomy_term.license.full.yml | 47 +++++++++++ ...w_display.taxonomy_term.license.teaser.yml | 47 +++++++++++ ...xonomy_term.license.field_license_icon.yml | 37 +++++++++ .../drutopia_creative_license.info.yml | 6 ++ 13 files changed, 398 insertions(+), 2 deletions(-) create mode 100644 web/modules/custom/drutopia_creative_license/config/install/config_snapshot.snapshot.config_sync.module.drutopia_creative_license.yml create mode 100644 web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.changed.yml create mode 100644 web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.description.yml create mode 100644 web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.metatag.yml create mode 100644 web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.name.yml create mode 100644 web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.path.yml create mode 100644 web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.status.yml create mode 100644 web/modules/custom/drutopia_creative_license/config/install/core.entity_form_display.taxonomy_term.license.default.yml create mode 100644 web/modules/custom/drutopia_creative_license/config/install/core.entity_view_display.taxonomy_term.license.full.yml create mode 100644 web/modules/custom/drutopia_creative_license/config/install/core.entity_view_display.taxonomy_term.license.teaser.yml create mode 100644 web/modules/custom/drutopia_creative_license/config/install/field.field.taxonomy_term.license.field_license_icon.yml diff --git a/web/modules/custom/drutopia_creative_license/config/install/config_snapshot.snapshot.config_sync.module.drutopia_creative_license.yml b/web/modules/custom/drutopia_creative_license/config/install/config_snapshot.snapshot.config_sync.module.drutopia_creative_license.yml new file mode 100644 index 0000000..ce195e4 --- /dev/null +++ b/web/modules/custom/drutopia_creative_license/config/install/config_snapshot.snapshot.config_sync.module.drutopia_creative_license.yml @@ -0,0 +1,81 @@ +langcode: en +status: true +dependencies: + module: + - drutopia_creative_license +id: config_sync.module.drutopia_creative_license +snapshotSet: config_sync +extensionType: module +extensionName: drutopia_creative_license +items: + - + collection: '' + name: core.entity_view_display.taxonomy_term.license.default + data: + langcode: en + status: true + dependencies: + config: + - taxonomy.vocabulary.license + module: + - ds + - text + third_party_settings: + ds: + layout: + id: layout_onecol + library: layout_discovery/onecol + disable_css: false + entity_classes: all_classes + settings: { } + regions: + content: + - description + id: taxonomy_term.license.default + targetEntityType: taxonomy_term + bundle: license + mode: default + content: + description: + label: hidden + type: text_default + weight: 0 + region: content + settings: { } + third_party_settings: { } + hidden: { } + - + collection: '' + name: field.storage.node.field_license + data: + langcode: en + status: true + dependencies: + module: + - node + - taxonomy + id: node.field_license + field_name: field_license + entity_type: node + type: entity_reference + settings: + target_type: taxonomy_term + module: core + locked: false + cardinality: 1 + translatable: true + indexes: { } + persist_with_no_fields: false + custom_storage: false + - + collection: '' + name: taxonomy.vocabulary.license + data: + langcode: en + status: true + dependencies: { } + name: License + vid: license + description: '' + hierarchy: 0 + weight: 0 diff --git a/web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.changed.yml b/web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.changed.yml new file mode 100644 index 0000000..6546bf4 --- /dev/null +++ b/web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.changed.yml @@ -0,0 +1,17 @@ +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.license +id: taxonomy_term.license.changed +field_name: changed +entity_type: taxonomy_term +bundle: license +label: Changed +description: 'The time that the term was last edited.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: changed diff --git a/web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.description.yml b/web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.description.yml new file mode 100644 index 0000000..8b9cbed --- /dev/null +++ b/web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.description.yml @@ -0,0 +1,19 @@ +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.license + module: + - text +id: taxonomy_term.license.description +field_name: description +entity_type: taxonomy_term +bundle: license +label: Description +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: text_long diff --git a/web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.metatag.yml b/web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.metatag.yml new file mode 100644 index 0000000..db528d1 --- /dev/null +++ b/web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.metatag.yml @@ -0,0 +1,17 @@ +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.license +id: taxonomy_term.license.metatag +field_name: metatag +entity_type: taxonomy_term +bundle: license +label: Metatags +description: 'The meta tags for the entity.' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: map diff --git a/web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.name.yml b/web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.name.yml new file mode 100644 index 0000000..9cb9b59 --- /dev/null +++ b/web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.name.yml @@ -0,0 +1,17 @@ +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.license +id: taxonomy_term.license.name +field_name: name +entity_type: taxonomy_term +bundle: license +label: Name +description: '' +required: true +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string diff --git a/web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.path.yml b/web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.path.yml new file mode 100644 index 0000000..91f2b4d --- /dev/null +++ b/web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.path.yml @@ -0,0 +1,19 @@ +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.license + module: + - path +id: taxonomy_term.license.path +field_name: path +entity_type: taxonomy_term +bundle: license +label: 'URL alias' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: path diff --git a/web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.status.yml b/web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.status.yml new file mode 100644 index 0000000..99aac81 --- /dev/null +++ b/web/modules/custom/drutopia_creative_license/config/install/core.base_field_override.taxonomy_term.license.status.yml @@ -0,0 +1,21 @@ +langcode: en +status: true +dependencies: + config: + - taxonomy.vocabulary.license +id: taxonomy_term.license.status +field_name: status +entity_type: taxonomy_term +bundle: license +label: Published +description: '' +required: false +translatable: false +default_value: + - + value: 1 +default_value_callback: '' +settings: + on_label: 'On' + off_label: 'Off' +field_type: boolean diff --git a/web/modules/custom/drutopia_creative_license/config/install/core.entity_form_display.taxonomy_term.license.default.yml b/web/modules/custom/drutopia_creative_license/config/install/core.entity_form_display.taxonomy_term.license.default.yml new file mode 100644 index 0000000..a653636 --- /dev/null +++ b/web/modules/custom/drutopia_creative_license/config/install/core.entity_form_display.taxonomy_term.license.default.yml @@ -0,0 +1,54 @@ +langcode: en +status: true +dependencies: + config: + - field.field.taxonomy_term.license.field_license_icon + - image.style.thumbnail + - taxonomy.vocabulary.license + module: + - image + - path + - text +id: taxonomy_term.license.default +targetEntityType: taxonomy_term +bundle: license +mode: default +content: + description: + type: text_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + field_license_icon: + weight: 31 + settings: + progress_indicator: throbber + preview_image_style: thumbnail + third_party_settings: { } + type: image_image + region: content + langcode: + type: language_select + weight: 2 + region: content + settings: + include_locked: true + third_party_settings: { } + name: + type: string_textfield + weight: -5 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } + path: + type: path + weight: 30 + region: content + settings: { } + third_party_settings: { } +hidden: { } diff --git a/web/modules/custom/drutopia_creative_license/config/install/core.entity_view_display.taxonomy_term.license.default.yml b/web/modules/custom/drutopia_creative_license/config/install/core.entity_view_display.taxonomy_term.license.default.yml index c3bf350..fb6afca 100644 --- a/web/modules/custom/drutopia_creative_license/config/install/core.entity_view_display.taxonomy_term.license.default.yml +++ b/web/modules/custom/drutopia_creative_license/config/install/core.entity_view_display.taxonomy_term.license.default.yml @@ -2,9 +2,12 @@ langcode: en status: true dependencies: config: + - field.field.taxonomy_term.license.field_license_icon + - image.style.small_landscape - taxonomy.vocabulary.license module: - ds + - image - text third_party_settings: ds: @@ -16,6 +19,7 @@ third_party_settings: settings: { } regions: content: + - field_license_icon - description id: taxonomy_term.license.default targetEntityType: taxonomy_term @@ -25,8 +29,18 @@ content: description: label: hidden type: text_default - weight: 0 + weight: 1 region: content settings: { } third_party_settings: { } -hidden: { } + field_license_icon: + weight: 0 + label: visually_hidden + settings: + image_style: small_landscape + image_link: '' + third_party_settings: { } + type: image + region: content +hidden: + langcode: true diff --git a/web/modules/custom/drutopia_creative_license/config/install/core.entity_view_display.taxonomy_term.license.full.yml b/web/modules/custom/drutopia_creative_license/config/install/core.entity_view_display.taxonomy_term.license.full.yml new file mode 100644 index 0000000..3441dc2 --- /dev/null +++ b/web/modules/custom/drutopia_creative_license/config/install/core.entity_view_display.taxonomy_term.license.full.yml @@ -0,0 +1,47 @@ +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.taxonomy_term.full + - field.field.taxonomy_term.license.field_license_icon + - image.style.small_landscape + - taxonomy.vocabulary.license + module: + - ds + - image + - text +third_party_settings: + ds: + layout: + id: layout_onecol + library: layout_discovery/onecol + disable_css: false + entity_classes: all_classes + settings: { } + regions: + content: + - field_license_icon + - description +id: taxonomy_term.license.full +targetEntityType: taxonomy_term +bundle: license +mode: full +content: + description: + label: hidden + type: text_default + weight: 1 + region: content + settings: { } + third_party_settings: { } + field_license_icon: + weight: 0 + label: visually_hidden + settings: + image_style: small_landscape + image_link: '' + third_party_settings: { } + type: image + region: content +hidden: + langcode: true diff --git a/web/modules/custom/drutopia_creative_license/config/install/core.entity_view_display.taxonomy_term.license.teaser.yml b/web/modules/custom/drutopia_creative_license/config/install/core.entity_view_display.taxonomy_term.license.teaser.yml new file mode 100644 index 0000000..184e50b --- /dev/null +++ b/web/modules/custom/drutopia_creative_license/config/install/core.entity_view_display.taxonomy_term.license.teaser.yml @@ -0,0 +1,47 @@ +langcode: en +status: true +dependencies: + config: + - core.entity_view_mode.taxonomy_term.teaser + - field.field.taxonomy_term.license.field_license_icon + - image.style.small_landscape + - taxonomy.vocabulary.license + module: + - ds + - image + - text +third_party_settings: + ds: + layout: + id: layout_onecol + library: layout_discovery/onecol + disable_css: false + entity_classes: all_classes + settings: { } + regions: + content: + - field_license_icon + - description +id: taxonomy_term.license.teaser +targetEntityType: taxonomy_term +bundle: license +mode: teaser +content: + description: + label: hidden + type: text_default + weight: 1 + region: content + settings: { } + third_party_settings: { } + field_license_icon: + weight: 0 + label: visually_hidden + settings: + image_style: small_landscape + image_link: '' + third_party_settings: { } + type: image + region: content +hidden: + langcode: true diff --git a/web/modules/custom/drutopia_creative_license/config/install/field.field.taxonomy_term.license.field_license_icon.yml b/web/modules/custom/drutopia_creative_license/config/install/field.field.taxonomy_term.license.field_license_icon.yml new file mode 100644 index 0000000..77d8d51 --- /dev/null +++ b/web/modules/custom/drutopia_creative_license/config/install/field.field.taxonomy_term.license.field_license_icon.yml @@ -0,0 +1,37 @@ +langcode: en +status: true +dependencies: + config: + - field.storage.taxonomy_term.field_license_icon + - taxonomy.vocabulary.license + module: + - image +id: taxonomy_term.license.field_license_icon +field_name: field_license_icon +entity_type: taxonomy_term +bundle: license +label: Icon +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + file_directory: '[date:custom:Y]-[date:custom:m]' + file_extensions: 'png gif jpg jpeg' + max_filesize: '' + max_resolution: '' + min_resolution: '' + alt_field: true + alt_field_required: true + title_field: false + title_field_required: false + default_image: + uuid: '' + alt: '' + title: '' + width: null + height: null + handler: 'default:file' + handler_settings: { } +field_type: image diff --git a/web/modules/custom/drutopia_creative_license/drutopia_creative_license.info.yml b/web/modules/custom/drutopia_creative_license/drutopia_creative_license.info.yml index 5449718..bb4db06 100644 --- a/web/modules/custom/drutopia_creative_license/drutopia_creative_license.info.yml +++ b/web/modules/custom/drutopia_creative_license/drutopia_creative_license.info.yml @@ -4,9 +4,15 @@ core: 8.x package: Drutopia dependencies: - config_actions + - config_snapshot - drutopia_core + - drutopia_creative_license + - ds - field - field_group + - image - node + - path - taxonomy + - text version: 8.x-1.0-alpha1 From e4825b24ddb652e41500def7bd6cb05d9214a927 Mon Sep 17 00:00:00 2001 From: Clayton Dewey Date: Sat, 19 Jan 2019 15:14:55 -0700 Subject: [PATCH 06/49] Add Small landscape image style for the license icon. --- config/sync/image.style.small_landscape.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 config/sync/image.style.small_landscape.yml diff --git a/config/sync/image.style.small_landscape.yml b/config/sync/image.style.small_landscape.yml new file mode 100644 index 0000000..93b9742 --- /dev/null +++ b/config/sync/image.style.small_landscape.yml @@ -0,0 +1,14 @@ +uuid: ef082871-7e9a-4f4a-befa-094f4091d45f +langcode: en +status: true +dependencies: { } +name: small_landscape +label: 'Small landscape' +effects: + 87ff4c68-189e-4459-ad57-6834f8181d0a: + uuid: 87ff4c68-189e-4459-ad57-6834f8181d0a + id: image_resize + weight: 1 + data: + width: 88 + height: 31 From cb2257d2fd8fa7d8bb7cd91165213ea369382c1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sat, 19 Jan 2019 22:06:17 -0500 Subject: [PATCH 07/49] Update pattern library --- web/themes/custom/agarica/patternlibrary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/themes/custom/agarica/patternlibrary b/web/themes/custom/agarica/patternlibrary index 3fa7e23..8c3e1dc 160000 --- a/web/themes/custom/agarica/patternlibrary +++ b/web/themes/custom/agarica/patternlibrary @@ -1 +1 @@ -Subproject commit 3fa7e23d660a468ab2d15d4ec2ce86bd00c65a94 +Subproject commit 8c3e1dcc88e3cedacd0eae9110e415567d4f70b5 From a61174b8a36630bb93696d99010e6b0ec1ba1a4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sat, 19 Jan 2019 22:56:20 -0500 Subject: [PATCH 08/49] Author must be before body to not be in wrong place --- config/sync/core.entity_view_display.node.blog.rss_teaser.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/sync/core.entity_view_display.node.blog.rss_teaser.yml b/config/sync/core.entity_view_display.node.blog.rss_teaser.yml index 7f824a6..4544e28 100644 --- a/config/sync/core.entity_view_display.node.blog.rss_teaser.yml +++ b/config/sync/core.entity_view_display.node.blog.rss_teaser.yml @@ -27,7 +27,7 @@ mode: rss_teaser content: field_authors: type: entity_reference_label - weight: 1 + weight: 0 region: content label: hidden settings: @@ -37,7 +37,7 @@ content: ds_limit: '' field_body_paragraph: type: paragraph_summary - weight: 0 + weight: 1 region: content label: hidden settings: { } From 93a85a8d6b74a70b9ce7cd776fc22d53f8b0813d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 21 Jan 2019 00:32:07 -0500 Subject: [PATCH 09/49] Update pattern library for #159 > Print only the first *text* paragraph > Fix read more link, make it a paragraph, escape the HTML --- web/themes/custom/agarica/patternlibrary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/themes/custom/agarica/patternlibrary b/web/themes/custom/agarica/patternlibrary index 8c3e1dc..29f7fce 160000 --- a/web/themes/custom/agarica/patternlibrary +++ b/web/themes/custom/agarica/patternlibrary @@ -1 +1 @@ -Subproject commit 8c3e1dcc88e3cedacd0eae9110e415567d4f70b5 +Subproject commit 29f7fce47f4607613ea6adad4b65a2589e48b7e8 From 7184d9cfc33f2d6dd1a726314879a29225d003de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 21 Jan 2019 13:04:01 -0500 Subject: [PATCH 10/49] Update pattern library for #159 > Remove surrounding cruft from pure teaser/preview paragraph for RSS --- web/themes/custom/agarica/patternlibrary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/themes/custom/agarica/patternlibrary b/web/themes/custom/agarica/patternlibrary index 29f7fce..07b835a 160000 --- a/web/themes/custom/agarica/patternlibrary +++ b/web/themes/custom/agarica/patternlibrary @@ -1 +1 @@ -Subproject commit 29f7fce47f4607613ea6adad4b65a2589e48b7e8 +Subproject commit 07b835a12b603b956f580afec838761c110fc11d From be9d0e8083bd9155e889a703365310f2032ed6d2 Mon Sep 17 00:00:00 2001 From: David Valdez Date: Mon, 21 Jan 2019 23:48:06 -0600 Subject: [PATCH 11/49] Language switcher footer --- composer.json | 1 + config/sync/block.block.languageswitcher.yml | 27 +++++++++++++++++++ ...t.config_sync.module.dropdown_language.yml | 19 +++++++++++++ config/sync/core.extension.yml | 1 + config/sync/dropdown_language.setting.yml | 6 +++++ web/themes/custom/agarica/agarica.theme | 27 ++++++------------- 6 files changed, 62 insertions(+), 19 deletions(-) create mode 100644 config/sync/block.block.languageswitcher.yml create mode 100644 config/sync/config_snapshot.snapshot.config_sync.module.dropdown_language.yml create mode 100644 config/sync/dropdown_language.setting.yml diff --git a/composer.json b/composer.json index 5a8af4f..21ebe06 100644 --- a/composer.json +++ b/composer.json @@ -21,6 +21,7 @@ "drupal/core": "^8.6.2", "drupal/customerror": "1.x-dev", "drupal/diff": "^1.0@RC", + "drupal/dropdown_language": "^2.2", "drupal/drutopia_core": "1.x-dev", "drupal/google_analytics": "^2.3", "drupal/honeypot": "^1.29", diff --git a/config/sync/block.block.languageswitcher.yml b/config/sync/block.block.languageswitcher.yml new file mode 100644 index 0000000..0826509 --- /dev/null +++ b/config/sync/block.block.languageswitcher.yml @@ -0,0 +1,27 @@ +uuid: cddd6272-7a22-4110-862c-338686afc1c1 +langcode: en +status: true +dependencies: + module: + - block_visibility_groups + - dropdown_language + theme: + - agarica +id: languageswitcher +theme: agarica +region: footer +weight: 0 +provider: null +plugin: 'dropdown_language:language_interface' +settings: + id: 'dropdown_language:language_interface' + label: 'Language:' + provider: dropdown_language + label_display: visible + labels: null +visibility: + condition_group: + id: condition_group + negate: false + block_visibility_group: '' + context_mapping: { } diff --git a/config/sync/config_snapshot.snapshot.config_sync.module.dropdown_language.yml b/config/sync/config_snapshot.snapshot.config_sync.module.dropdown_language.yml new file mode 100644 index 0000000..47f9bb1 --- /dev/null +++ b/config/sync/config_snapshot.snapshot.config_sync.module.dropdown_language.yml @@ -0,0 +1,19 @@ +uuid: 1a7bd96c-ab4a-4a86-a541-b9610491c292 +langcode: en +status: true +dependencies: + module: + - dropdown_language +id: config_sync.module.dropdown_language +snapshotSet: config_sync +extensionType: module +extensionName: dropdown_language +items: + - + collection: '' + name: dropdown_language.setting + data: + wrapper: true + display_language_id: 0 + filter_untranslated: 0 + always_show_block: 0 diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 26bb499..1846bba 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -40,6 +40,7 @@ module: dblog: 0 default_content: 0 diff: 0 + dropdown_language: 0 drutopia_action: 0 drutopia_article: 0 drutopia_blog: 0 diff --git a/config/sync/dropdown_language.setting.yml b/config/sync/dropdown_language.setting.yml new file mode 100644 index 0000000..dcc8658 --- /dev/null +++ b/config/sync/dropdown_language.setting.yml @@ -0,0 +1,6 @@ +wrapper: false +display_language_id: 2 +filter_untranslated: 0 +always_show_block: 0 +_core: + default_config_hash: xbqiqGnFfv7G00sewxA46T8PO-uo8uvWhDSIFyR1Fhk diff --git a/web/themes/custom/agarica/agarica.theme b/web/themes/custom/agarica/agarica.theme index 7d67d6e..210e044 100644 --- a/web/themes/custom/agarica/agarica.theme +++ b/web/themes/custom/agarica/agarica.theme @@ -1,25 +1,14 @@ isFrontPage() ? '' : ''; - $type = 'language_interface'; - $language_links = $languageManager->getLanguageSwitchLinks($type, Url::fromRoute($route_name)); - $variables['language'] = []; - foreach ($language_links->links as $langcode => $link) { - $language_links->links[$langcode]['attributes']['class'][] = 'navbar-item'; - $language_links->links[$langcode]['title'] = $langcode; - } - $variables['language'] = [ - '#theme' => 'links__language_block', - '#links' => $language_links->links, - '#set_active_class' => TRUE, - ]; - +function agarica_preprocess_region__footer(&$variables) { + $block = Block::load('languageswitcher'); + $block_content = \Drupal::entityTypeManager() + ->getViewBuilder('block') + ->view($block); + $variables['language_switcher'] = $block_content; } From a6ed2a3e5a7b7d487dfd9f19a48e81443ecfa63f Mon Sep 17 00:00:00 2001 From: David Valdez Date: Mon, 21 Jan 2019 23:48:25 -0600 Subject: [PATCH 12/49] Composer lock file with the language dropdown module --- composer.lock | 67 ++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 55 insertions(+), 12 deletions(-) diff --git a/composer.lock b/composer.lock index 9a93831..7057ee3 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "788dcf2c1028c477fe97c294b439dbba", + "content-hash": "f6b711848cb356b08282c888a7c34e09", "packages": [ { "name": "asm89/stack-cors", @@ -2346,7 +2346,7 @@ }, "drupal": { "version": "8.x-1.25", - "datestamp": "1542915384", + "datestamp": "1542915180", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -2417,7 +2417,7 @@ }, "drupal": { "version": "8.x-1.25", - "datestamp": "1542915384", + "datestamp": "1542915180", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -4076,7 +4076,7 @@ }, "drupal": { "version": "8.x-1.x-dev", - "datestamp": "1542578580", + "datestamp": "1542572880", "security-coverage": { "status": "not-covered", "message": "Dev releases are not covered by Drupal security advisories." @@ -4277,6 +4277,53 @@ "issues": "https://www.drupal.org/project/issues/diff" } }, + { + "name": "drupal/dropdown_language", + "version": "2.2.0", + "source": { + "type": "git", + "url": "https://git.drupal.org/project/dropdown_language", + "reference": "8.x-2.2" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/dropdown_language-8.x-2.2.zip", + "reference": "8.x-2.2", + "shasum": "78e9c73fe7414114eaf4884e23eac671c74e302f" + }, + "require": { + "drupal/core": "*" + }, + "type": "drupal-module", + "extra": { + "branch-alias": { + "dev-2.x": "2.x-dev" + }, + "drupal": { + "version": "8.x-2.2", + "datestamp": "1540134181", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "SKAUGHT", + "homepage": "https://www.drupal.org/user/297907" + } + ], + "description": "Provides a block with a Dropdown Language Switcher", + "homepage": "https://www.drupal.org/project/dropdown_language", + "support": { + "source": "http://cgit.drupalcode.org/dropdown_language" + } + }, { "name": "drupal/drutopia_action", "version": "1.0.0-beta1", @@ -6541,6 +6588,10 @@ "name": "golddragon007", "homepage": "https://www.drupal.org/user/2723471" }, + { + "name": "james.williams", + "homepage": "https://www.drupal.org/user/592268" + }, { "name": "lbesenyei", "homepage": "https://www.drupal.org/user/2626013" @@ -6597,10 +6648,6 @@ { "name": "kristiaanvandeneynde", "homepage": "https://www.drupal.org/user/1345130" - }, - { - "name": "ronaldtebrake", - "homepage": "https://www.drupal.org/user/2314038" } ], "description": "Enables Group functionality for the Node module", @@ -6704,10 +6751,6 @@ { "name": "kristiaanvandeneynde", "homepage": "https://www.drupal.org/user/1345130" - }, - { - "name": "ronaldtebrake", - "homepage": "https://www.drupal.org/user/2314038" } ], "description": "This module allows you to group users, content and other entities", From dd58eb1c24f9decb8a86613dac1a29322b03f993 Mon Sep 17 00:00:00 2001 From: Chris Thompson Date: Tue, 22 Jan 2019 11:55:30 -0500 Subject: [PATCH 13/49] Add makefile for sync command --- Makefile | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b4d30c2 --- /dev/null +++ b/Makefile @@ -0,0 +1,41 @@ +# Identify tasks which do not have output files: +.PHONY: help synclivetotest + +GREEN := $(shell tput -Txterm setaf 2) +WHITE := $(shell tput -Txterm setaf 7) +YELLOW := $(shell tput -Txterm setaf 3) +RESET := $(shell tput -Txterm sgr0) + +# Perl to convert target docs (following ##@). +# Example: +# mytarget: ##@group description +# Group items under @group in output, +# And show targetdescription +HELPME = \ + %help; \ + while(<>) { push @{$$help{$$2 // 'options'}}, [$$1, $$3] if /^([a-zA-Z\-]+)\s*:.*\#\#(?:@([a-zA-Z\-]+))?\s(.*)$$/ }; \ + for (sort keys %help) { \ + print "${WHITE}$$_:${RESET}\n"; \ + for (@{$$help{$$_}}) { \ + $$sep = " " x (20 - length $$_->[0]); \ + print " ${YELLOW}$$_->[0]${RESET}$$sep${GREEN}$$_->[1]${RESET}\n"; \ + }; \ + print "\n"; } + +# Should always be the first target (as this will run with just `make`): +help: ##@Targets Show this text (or just run make) + @perl -e '$(HELPME)' Makefile + +# Configure sync' +ALIAS_LIVE := @live.live +ALIAS_TEST := @test.dev +SRV := elizabeth.mayfirst.org +FILES_LIVE := /home/agaric_live/files +FILES_TEST := /home/agaric_test/files +ECHO := $(if $(TEST),@echo) +synclivetotest: ##@Targets Sync live environment to test + $(ECHO) drush -y $(ALIAS_TEST) sql-drop + $(ECHO) drush -y sql-sync $(ALIAS_LIVE) $(ALIAS_TEST) + $(ECHO) ssh -A $(SRV) rsync -rz --stats --exclude styles \ + --exclude css --exclude js $(FILES_LIVE) \ + --delete ${FILES_TEST} From 55c322eb7955e6e5881ddcad7a2de61b2fc64faf Mon Sep 17 00:00:00 2001 From: David Valdez Date: Tue, 22 Jan 2019 12:05:38 -0600 Subject: [PATCH 14/49] Displays a link to switch the language. Only if the content has been translated already. --- web/themes/custom/agarica/agarica.theme | 53 ++++++++++++++++++++++++- 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/web/themes/custom/agarica/agarica.theme b/web/themes/custom/agarica/agarica.theme index 210e044..f4980b3 100644 --- a/web/themes/custom/agarica/agarica.theme +++ b/web/themes/custom/agarica/agarica.theme @@ -1,6 +1,8 @@ getViewBuilder('block') ->view($block); $variables['language_switcher'] = $block_content; + $variables['language_switcher_link'] = agarica_languague_switch_link(); +} + +/** + * Provides a link to switch to another language. + */ +function agarica_languague_switch_link() { + $derivative_id = 'language_interface'; + $route = \Drupal::getContainer()->get('path.matcher')->isFrontPage() ? '' : ''; + $current_language = \Drupal::languageManager()->getCurrentLanguage($derivative_id)->getId(); + $links = \Drupal::languageManager()->getLanguageSwitchLinks($derivative_id, Url::fromRoute($route))->links; + $links['en']['title'] = 'Browser this page on English.'; + $links['es']['title'] = 'Consulta esta pagina en Español'; + $lid = ($current_language == 'en') ? 'es' : 'en'; + // Remove current language from the links + unset($links[$current_language]); + + // Check if the current path display an entity. + $entity = FALSE; + foreach (\Drupal::routeMatch()->getParameters() as $param) { + if ($param instanceof EntityInterface) { + $entity[] = $param; + } + } + + // Remove links if the content hasnt' been translated yet. + if ($entity) { + $has_translation = (method_exists($entity[0], 'getTranslationStatus')) ? $entity[0]->getTranslationStatus($lid) : FALSE; + $this_translation = ($has_translation && method_exists($entity[0], 'getTranslation')) ? $entity[0]->getTranslation($lid) : FALSE; + $access_translation = ($this_translation && method_exists($this_translation, 'access') && $this_translation->access('view')) ? TRUE : FALSE; + if (!$this_translation || !$access_translation || $current_language == $lid) { + unset($links[$lid]); + } + } + + $links_render_array = []; + // Transform the links to arrays that can be renderer. + foreach ($links as $language => $link) { + $links_render_array[] = [ + '#type' => 'link', + '#url' => $link['url'], + '#title' => $link['title'], + '#options' => [ + 'language' => $link['language'], + ], + ]; + } + + return $links_render_array; } From c05100545a141f6e3ed5aa3f3705e3bb5f85d38a Mon Sep 17 00:00:00 2001 From: David Valdez Date: Tue, 22 Jan 2019 12:27:57 -0600 Subject: [PATCH 15/49] Typo --- web/themes/custom/agarica/agarica.theme | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/themes/custom/agarica/agarica.theme b/web/themes/custom/agarica/agarica.theme index f4980b3..02904d3 100644 --- a/web/themes/custom/agarica/agarica.theme +++ b/web/themes/custom/agarica/agarica.theme @@ -24,8 +24,8 @@ function agarica_languague_switch_link() { $route = \Drupal::getContainer()->get('path.matcher')->isFrontPage() ? '' : ''; $current_language = \Drupal::languageManager()->getCurrentLanguage($derivative_id)->getId(); $links = \Drupal::languageManager()->getLanguageSwitchLinks($derivative_id, Url::fromRoute($route))->links; - $links['en']['title'] = 'Browser this page on English.'; - $links['es']['title'] = 'Consulta esta pagina en Español'; + $links['en']['title'] = 'Browse this site in English'; + $links['es']['title'] = 'Consulta este sitio en Español'; $lid = ($current_language == 'en') ? 'es' : 'en'; // Remove current language from the links unset($links[$current_language]); From fbd90e84b86113780b9c88050e8cc82a6c72f88c Mon Sep 17 00:00:00 2001 From: Chris Thompson Date: Thu, 24 Jan 2019 13:46:35 -0500 Subject: [PATCH 16/49] Correct sync location and split up steps --- Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index b4d30c2..ba44b6d 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # Identify tasks which do not have output files: -.PHONY: help synclivetotest +.PHONY: help synclivetotest syncdb syncfiles GREEN := $(shell tput -Txterm setaf 2) WHITE := $(shell tput -Txterm setaf 7) @@ -29,13 +29,17 @@ help: ##@Targets Show this text (or just run make) # Configure sync' ALIAS_LIVE := @live.live ALIAS_TEST := @test.dev -SRV := elizabeth.mayfirst.org -FILES_LIVE := /home/agaric_live/files +SRV := root@elizabeth.mayfirst.org +FILES_LIVE := /home/agaric_live/files/ FILES_TEST := /home/agaric_test/files ECHO := $(if $(TEST),@echo) -synclivetotest: ##@Targets Sync live environment to test +synclivetotest: syncfiles syncdb ##@Targets Sync live environment to test + +syncdb: $(ECHO) drush -y $(ALIAS_TEST) sql-drop $(ECHO) drush -y sql-sync $(ALIAS_LIVE) $(ALIAS_TEST) + +syncfiles: $(ECHO) ssh -A $(SRV) rsync -rz --stats --exclude styles \ --exclude css --exclude js $(FILES_LIVE) \ --delete ${FILES_TEST} From 5bb006e2db778b60fcfb7d55a750bed1d1dd080c Mon Sep 17 00:00:00 2001 From: Chris Thompson Date: Thu, 24 Jan 2019 14:00:03 -0500 Subject: [PATCH 17/49] Tweak README for deployments --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 13bef42..c240458 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,12 @@ Set up [drutopia_host](https://gitlab.com/drutopia-platform/drutopia_host) and [ Then use [ahoy](https://github.com/ahoy-cli/ahoy/), from within the hosting_private directory. +Ensure all three related repositories are up-to-date with: + +``` +ahoy git-pull-all +``` + If Agaric's Drutopia PaaS base has changed (the composer.lock in this directory), produce and push a new build: ``` @@ -64,12 +70,11 @@ ahoy deploy-build agaric To deploy everything else (config, templates, styles): ``` -ahoy git-pull-all ahoy deploy-site agaric_live ``` -Then record the deployment by: -navigating to `/drutopia_host/build/artifacts` +Then record the deployment. This applies to both deploy-site and deploy-build record keeping: +Navigate to `/drutopia_host/build/artifacts` Add all new files generated with `git add . ` Commit the files with a message on what you deployed with 'git commit -m ' Push the changes to the repo with `git push` From 1fdcbb608b234c289bcc593ab3bf59a5c85d8850 Mon Sep 17 00:00:00 2001 From: Clayton Dewey Date: Fri, 25 Jan 2019 11:29:55 -0700 Subject: [PATCH 18/49] Add issue templates --- .gitlab/.DS_Store | Bin 0 -> 6148 bytes .gitlab/issue_templates/Bug.md | 26 ++++++++++++++++++++++++++ .gitlab/issue_templates/Task.md | 10 ++++++++++ .gitlab/issue_templates/User-story.md | 10 ++++++++++ 4 files changed, 46 insertions(+) create mode 100644 .gitlab/.DS_Store create mode 100644 .gitlab/issue_templates/Bug.md create mode 100644 .gitlab/issue_templates/Task.md create mode 100644 .gitlab/issue_templates/User-story.md diff --git a/.gitlab/.DS_Store b/.gitlab/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..5008ddfcf53c02e82d7eee2e57c38e5672ef89f6 GIT binary patch literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0 Date: Fri, 25 Jan 2019 11:30:37 -0700 Subject: [PATCH 19/49] Remove .DS_Store --- .gitlab/.DS_Store | Bin 6148 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 .gitlab/.DS_Store diff --git a/.gitlab/.DS_Store b/.gitlab/.DS_Store deleted file mode 100644 index 5008ddfcf53c02e82d7eee2e57c38e5672ef89f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 6148 zcmeH~Jr2S!425mzP>H1@V-^m;4Wg<&0T*E43hX&L&p$$qDprKhvt+--jT7}7np#A3 zem<@ulZcFPQ@L2!n>{z**++&mCkOWA81W14cNZlEfg7;MkzE(HCqgga^y>{tEnwC%0;vJ&^%eQ zLs35+`xjp>T0 Date: Fri, 25 Jan 2019 12:18:46 -0700 Subject: [PATCH 20/49] Fix formatting in User Story template --- .gitlab/issue_templates/User-story.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab/issue_templates/User-story.md b/.gitlab/issue_templates/User-story.md index fec9402..9fbe6ef 100644 --- a/.gitlab/issue_templates/User-story.md +++ b/.gitlab/issue_templates/User-story.md @@ -7,4 +7,4 @@ then I [result]. ## Work Required * [ ] -/label ~User Story +/label ~"User Story" From 8b2d3842e487655ae69f06b635212f65eb24b99a Mon Sep 17 00:00:00 2001 From: David Valdez Date: Fri, 25 Jan 2019 13:37:05 -0600 Subject: [PATCH 21/49] Update the patternlibrary It contains some changes in the footer --- web/themes/custom/agarica/patternlibrary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/themes/custom/agarica/patternlibrary b/web/themes/custom/agarica/patternlibrary index 07b835a..929b162 160000 --- a/web/themes/custom/agarica/patternlibrary +++ b/web/themes/custom/agarica/patternlibrary @@ -1 +1 @@ -Subproject commit 07b835a12b603b956f580afec838761c110fc11d +Subproject commit 929b16239943ed639c86b959bf80e8bc51612b69 From fd75dbd693ad86fe5f3da06dd4f61e0a5043cd79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sun, 27 Jan 2019 08:48:33 -0500 Subject: [PATCH 22/49] Add the Preview Link module --- composer.json | 1 + 1 file changed, 1 insertion(+) diff --git a/composer.json b/composer.json index 21ebe06..462ac27 100644 --- a/composer.json +++ b/composer.json @@ -32,6 +32,7 @@ "drupal/migrate_plus": "^4.0", "drupal/migrate_tools": "^4.0", "drupal/minimalhtml": "^1.0", + "drupal/preview_link": "^1.1", "drupal/redirect": "^1.2", "drupal/regionincontent": "1.x-dev", "drupal/search404": "^1.0", From 78df70c0bd781df7d2379699d75730024a859962 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Sun, 27 Jan 2019 08:48:59 -0500 Subject: [PATCH 23/49] Update composer lock file with preview link module --- composer.lock | 75 +++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 67 insertions(+), 8 deletions(-) diff --git a/composer.lock b/composer.lock index 7057ee3..65366b6 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f6b711848cb356b08282c888a7c34e09", + "content-hash": "86b813ee60cca07dddcb45e523f383fd", "packages": [ { "name": "asm89/stack-cors", @@ -2346,7 +2346,7 @@ }, "drupal": { "version": "8.x-1.25", - "datestamp": "1542915180", + "datestamp": "1542915384", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -2417,7 +2417,7 @@ }, "drupal": { "version": "8.x-1.25", - "datestamp": "1542915180", + "datestamp": "1542915384", "security-coverage": { "status": "covered", "message": "Covered by Drupal's security advisory policy" @@ -4076,7 +4076,7 @@ }, "drupal": { "version": "8.x-1.x-dev", - "datestamp": "1542572880", + "datestamp": "1542578580", "security-coverage": { "status": "not-covered", "message": "Dev releases are not covered by Drupal security advisories." @@ -6588,10 +6588,6 @@ "name": "golddragon007", "homepage": "https://www.drupal.org/user/2723471" }, - { - "name": "james.williams", - "homepage": "https://www.drupal.org/user/592268" - }, { "name": "lbesenyei", "homepage": "https://www.drupal.org/user/2626013" @@ -6648,6 +6644,10 @@ { "name": "kristiaanvandeneynde", "homepage": "https://www.drupal.org/user/1345130" + }, + { + "name": "ronaldtebrake", + "homepage": "https://www.drupal.org/user/2314038" } ], "description": "Enables Group functionality for the Node module", @@ -6751,6 +6751,10 @@ { "name": "kristiaanvandeneynde", "homepage": "https://www.drupal.org/user/1345130" + }, + { + "name": "ronaldtebrake", + "homepage": "https://www.drupal.org/user/2314038" } ], "description": "This module allows you to group users, content and other entities", @@ -7630,6 +7634,61 @@ "source": "http://cgit.drupalcode.org/pathauto" } }, + { + "name": "drupal/preview_link", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://git.drupal.org/project/preview_link", + "reference": "8.x-1.1" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/preview_link-8.x-1.1.zip", + "reference": "8.x-1.1", + "shasum": "30e1fc8566a567ab82503256be7505c1c0cc17bc" + }, + "require": { + "drupal/core": "~8.0" + }, + "require-dev": { + "drupal/entity_reference_revisions": "*", + "drupal/paragraphs": "*" + }, + "type": "drupal-module", + "extra": { + "branch-alias": { + "dev-1.x": "1.x-dev" + }, + "drupal": { + "version": "8.x-1.1", + "datestamp": "1548270823", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "benjy", + "homepage": "https://www.drupal.org/user/1852732" + }, + { + "name": "larowlan", + "homepage": "https://www.drupal.org/user/395439" + } + ], + "description": "Allows anyone to preview unpublished content with a unique link.", + "homepage": "https://www.drupal.org/project/preview_link", + "support": { + "source": "http://cgit.drupalcode.org/preview_link" + } + }, { "name": "drupal/redirect", "version": "1.3.0", From bcc7e544ec7864918e6f75d2a8477d3283c17410 Mon Sep 17 00:00:00 2001 From: David Valdez Date: Mon, 28 Jan 2019 13:38:24 -0600 Subject: [PATCH 24/49] Add at the readme instructions about how to use the PRISM library. --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index c240458..8a1ca0f 100644 --- a/README.md +++ b/README.md @@ -80,3 +80,16 @@ Commit the files with a message on what you deployed with 'git commit -m ' Push the changes to the repo with `git push` If you need to overwrite live configuration (only after confirming you've committed any parts you want to keep) you can use ahoy for that too with `deploy-site-force`. + +## Code Hightlight. + +The [prism.js](https://prismjs.com/) library was added in the site and can be used like this: + +``` +
+  
+    p { color: red }
+  
+
+``` +The suffix of the class needs to be changed depending of the language that is going to be highlighted eg: `language-php`, `language-js` etc. From f93dd4595af15e37961110f2ffb9ff40ad5568b4 Mon Sep 17 00:00:00 2001 From: David Valdez Date: Mon, 28 Jan 2019 14:46:12 -0600 Subject: [PATCH 25/49] Menu items are now translatables. --- ...d_override.menu_link_content.menu_link_content.changed.yml | 2 +- ...erride.menu_link_content.menu_link_content.description.yml | 2 +- ...d_override.menu_link_content.menu_link_content.metatag.yml | 2 +- ...eld_override.menu_link_content.menu_link_content.title.yml | 2 +- ...e.content_settings.menu_link_content.menu_link_content.yml | 4 ++-- config/sync/language/es/system.menu.main.yml | 2 ++ 6 files changed, 8 insertions(+), 6 deletions(-) create mode 100644 config/sync/language/es/system.menu.main.yml diff --git a/config/sync/core.base_field_override.menu_link_content.menu_link_content.changed.yml b/config/sync/core.base_field_override.menu_link_content.menu_link_content.changed.yml index 1d69fd0..0325a94 100644 --- a/config/sync/core.base_field_override.menu_link_content.menu_link_content.changed.yml +++ b/config/sync/core.base_field_override.menu_link_content.menu_link_content.changed.yml @@ -11,7 +11,7 @@ bundle: menu_link_content label: Changed description: 'The time that the menu link was last edited.' required: false -translatable: false +translatable: true default_value: { } default_value_callback: '' settings: { } diff --git a/config/sync/core.base_field_override.menu_link_content.menu_link_content.description.yml b/config/sync/core.base_field_override.menu_link_content.menu_link_content.description.yml index c7372db..5c7a4b7 100644 --- a/config/sync/core.base_field_override.menu_link_content.menu_link_content.description.yml +++ b/config/sync/core.base_field_override.menu_link_content.menu_link_content.description.yml @@ -11,7 +11,7 @@ bundle: menu_link_content label: Description description: 'Shown when hovering over the menu link.' required: false -translatable: false +translatable: true default_value: { } default_value_callback: '' settings: { } diff --git a/config/sync/core.base_field_override.menu_link_content.menu_link_content.metatag.yml b/config/sync/core.base_field_override.menu_link_content.menu_link_content.metatag.yml index 3f94bba..4a46ec9 100644 --- a/config/sync/core.base_field_override.menu_link_content.menu_link_content.metatag.yml +++ b/config/sync/core.base_field_override.menu_link_content.menu_link_content.metatag.yml @@ -11,7 +11,7 @@ bundle: menu_link_content label: Metatags description: 'The meta tags for the entity.' required: false -translatable: false +translatable: true default_value: { } default_value_callback: '' settings: { } diff --git a/config/sync/core.base_field_override.menu_link_content.menu_link_content.title.yml b/config/sync/core.base_field_override.menu_link_content.menu_link_content.title.yml index 4f0a2c9..0dba987 100644 --- a/config/sync/core.base_field_override.menu_link_content.menu_link_content.title.yml +++ b/config/sync/core.base_field_override.menu_link_content.menu_link_content.title.yml @@ -11,7 +11,7 @@ bundle: menu_link_content label: 'Menu link title' description: 'The text to be used for this link in the menu.' required: true -translatable: false +translatable: true default_value: { } default_value_callback: '' settings: { } diff --git a/config/sync/language.content_settings.menu_link_content.menu_link_content.yml b/config/sync/language.content_settings.menu_link_content.menu_link_content.yml index ce190e8..0cca9f8 100644 --- a/config/sync/language.content_settings.menu_link_content.menu_link_content.yml +++ b/config/sync/language.content_settings.menu_link_content.menu_link_content.yml @@ -7,11 +7,11 @@ dependencies: - menu_link_content third_party_settings: content_translation: - enabled: false + enabled: true bundle_settings: untranslatable_fields_hide: '0' id: menu_link_content.menu_link_content target_entity_type_id: menu_link_content target_bundle: menu_link_content default_langcode: site_default -language_alterable: false +language_alterable: true diff --git a/config/sync/language/es/system.menu.main.yml b/config/sync/language/es/system.menu.main.yml new file mode 100644 index 0000000..1599e4f --- /dev/null +++ b/config/sync/language/es/system.menu.main.yml @@ -0,0 +1,2 @@ +label: Navegación +description: 'Sección de enlaces' From 50d1c3c5b19cc229290c0e174f70ce7a1de8c4e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 28 Jan 2019 17:44:29 -0500 Subject: [PATCH 26/49] Here's what was different on my local for RSS feeds --- config/sync/views.view.taxonomy_term.yml | 25 ++++++++++-------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/config/sync/views.view.taxonomy_term.yml b/config/sync/views.view.taxonomy_term.yml index cfde60e..23dc17e 100644 --- a/config/sync/views.view.taxonomy_term.yml +++ b/config/sync/views.view.taxonomy_term.yml @@ -3,7 +3,6 @@ langcode: en status: true dependencies: config: - - core.entity_view_mode.node.rss - core.entity_view_mode.node.rss_teaser - core.entity_view_mode.node.teaser - field.storage.node.field_authors @@ -206,20 +205,12 @@ display: footer: { } empty: { } relationships: { } - fields: - title: - id: title - table: node_field_data - field: title - entity_type: node - entity_field: title - plugin_id: field + fields: { } display_extenders: { } link_url: '' link_display: page_1 cache_metadata: contexts: - - 'languages:language_content' - 'languages:language_interface' - url - url.query_args @@ -251,10 +242,16 @@ display: uses_fields: false description: '' row: - type: node_rss + type: rss_fields options: - relationship: none - view_mode: rss + title_field: title + link_field: view_node + description_field: field_body_paragraph + creator_field: field_authors + date_field: created + guid_field_options: + guid_field: nid + guid_field_is_permalink: true display_extenders: { } fields: nid: @@ -723,7 +720,6 @@ display: cache_metadata: max-age: -1 contexts: - - 'languages:language_content' - 'languages:language_interface' - url - 'user.node_grants:view' @@ -742,7 +738,6 @@ display: display_extenders: { } cache_metadata: contexts: - - 'languages:language_content' - 'languages:language_interface' - url - url.query_args From 1b088635a678f07c6a2751830803308f113a9bfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 28 Jan 2019 17:53:43 -0500 Subject: [PATCH 27/49] Tell Drupal to use the preview view mode with all the config --- .../core.entity_view_display.node.blog.rss_teaser.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/config/sync/core.entity_view_display.node.blog.rss_teaser.yml b/config/sync/core.entity_view_display.node.blog.rss_teaser.yml index 4544e28..be22897 100644 --- a/config/sync/core.entity_view_display.node.blog.rss_teaser.yml +++ b/config/sync/core.entity_view_display.node.blog.rss_teaser.yml @@ -16,7 +16,7 @@ dependencies: - node.type.blog module: - ds - - paragraphs + - entity_reference_revisions - user _core: default_config_hash: e8yvfhoZmb_vDdkLtsMVv8u8XKzSRihmLtMph3nm6rM @@ -36,11 +36,13 @@ content: ds: ds_limit: '' field_body_paragraph: - type: paragraph_summary + type: entity_reference_revisions_entity_view weight: 1 region: content label: hidden - settings: { } + settings: + view_mode: preview + link: '' third_party_settings: ds: ds_limit: '' From 948d84c84f1e79c3e28b7477d30d6bd0ebca571c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 28 Jan 2019 17:59:41 -0500 Subject: [PATCH 28/49] Update pattern library remove debug code > Remove test printing of paragraph type > Format source code (indenting) --- web/themes/custom/agarica/patternlibrary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/themes/custom/agarica/patternlibrary b/web/themes/custom/agarica/patternlibrary index 929b162..46f0dcf 160000 --- a/web/themes/custom/agarica/patternlibrary +++ b/web/themes/custom/agarica/patternlibrary @@ -1 +1 @@ -Subproject commit 929b16239943ed639c86b959bf80e8bc51612b69 +Subproject commit 46f0dcf1b9aa504ad03d5451ef73c236e554ceb9 From 3569087ddcf69eb2e8699574e103278cf8d88b11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Mon, 28 Jan 2019 21:42:53 -0500 Subject: [PATCH 29/49] Update pattern library with Paragraph vertical spacing fix > Make distance between Paragraphs match distance between paragraphs > Commit compiled CSS --- web/themes/custom/agarica/patternlibrary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/themes/custom/agarica/patternlibrary b/web/themes/custom/agarica/patternlibrary index 46f0dcf..5efe918 160000 --- a/web/themes/custom/agarica/patternlibrary +++ b/web/themes/custom/agarica/patternlibrary @@ -1 +1 @@ -Subproject commit 46f0dcf1b9aa504ad03d5451ef73c236e554ceb9 +Subproject commit 5efe918b8deb9fda6be9025b31373c6e690d74fc From 784f860228492b6578a9be89e807e5b3160163e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 29 Jan 2019 07:29:05 -0500 Subject: [PATCH 30/49] Add paragraphs features module for split text paragraphs ability --- composer.json | 1 + 1 file changed, 1 insertion(+) diff --git a/composer.json b/composer.json index 462ac27..d13e010 100644 --- a/composer.json +++ b/composer.json @@ -32,6 +32,7 @@ "drupal/migrate_plus": "^4.0", "drupal/migrate_tools": "^4.0", "drupal/minimalhtml": "^1.0", + "drupal/paragraphs_features": "^1.4", "drupal/preview_link": "^1.1", "drupal/redirect": "^1.2", "drupal/regionincontent": "1.x-dev", From d10537051949155775c7656cac40ae1f66da08aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 29 Jan 2019 07:29:23 -0500 Subject: [PATCH 31/49] Update composer lock file with paragraphs features --- composer.lock | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 66 insertions(+), 1 deletion(-) diff --git a/composer.lock b/composer.lock index 65366b6..17a281d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "86b813ee60cca07dddcb45e523f383fd", + "content-hash": "d9bae6524ab49b82ac074bd757a8b75d", "packages": [ { "name": "asm89/stack-cors", @@ -7518,6 +7518,71 @@ "source": "http://cgit.drupalcode.org/paragraphs" } }, + { + "name": "drupal/paragraphs_features", + "version": "1.4.0", + "source": { + "type": "git", + "url": "https://git.drupal.org/project/paragraphs_features", + "reference": "8.x-1.4" + }, + "dist": { + "type": "zip", + "url": "https://ftp.drupal.org/files/projects/paragraphs_features-8.x-1.4.zip", + "reference": "8.x-1.4", + "shasum": "1c875c35c3ef75d462385cbc451d9a2f768b016f" + }, + "require": { + "drupal/core": "^8.5", + "drupal/paragraphs": "^1.3" + }, + "type": "drupal-module", + "extra": { + "branch-alias": { + "dev-1.x": "1.x-dev" + }, + "drupal": { + "version": "8.x-1.4", + "datestamp": "1536759480", + "security-coverage": { + "status": "covered", + "message": "Covered by Drupal's security advisory policy" + } + } + }, + "notification-url": "https://packages.drupal.org/8/downloads", + "license": [ + "GPL-2.0-or-later" + ], + "authors": [ + { + "name": "Mladen Todorovic", + "homepage": "https://www.drupal.org/user/2103716", + "email": "mladen.todorovic@burda.com" + }, + { + "name": "daniel.bosen", + "homepage": "https://www.drupal.org/user/404865" + }, + { + "name": "mtodor", + "homepage": "https://www.drupal.org/user/3453049" + }, + { + "name": "thunderbot", + "homepage": "https://www.drupal.org/user/3511180" + }, + { + "name": "volkerk", + "homepage": "https://www.drupal.org/user/57527" + } + ], + "description": "Paragraphs features for extending paragraphs widget functionality.", + "homepage": "https://www.drupal.org/project/paragraphs_features", + "support": { + "source": "http://cgit.drupalcode.org/paragraphs_features" + } + }, { "name": "drupal/paranoia", "version": "1.0.0-alpha1", From 26f30d4e093a5bc753f3cf89a7823e0d42fcf6f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 29 Jan 2019 07:49:10 -0500 Subject: [PATCH 32/49] Remove gnuget's now-committed comment notify patches * https://www.drupal.org/node/2575819 * https://www.drupal.org/node/2938134 --- composer.json | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/composer.json b/composer.json index d13e010..620cf48 100644 --- a/composer.json +++ b/composer.json @@ -101,11 +101,7 @@ }, "drupal/honeypot": { "Accessibility Issue Triggered": "https://www.drupal.org/files/issues/2018-08-05/honeypot-aria-hidden-on-text-field-2944843-12.patch" - }, - "drupal/comment_notify": { - "Invalid placeholder (!types) in string": "https://www.drupal.org/files/issues/2019-01-16/2938134-4.patch", - "The unsubscribe option is not working": "https://www.drupal.org/files/issues/2019-01-17/3026687-2.patch" - } + } } }, "config": { From dfe3313ccc9dcd32c9e71117edfec27f2a2217ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 29 Jan 2019 08:13:53 -0500 Subject: [PATCH 33/49] Update composer lock file --- composer.lock | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/composer.lock b/composer.lock index 17a281d..084ccd0 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "d9bae6524ab49b82ac074bd757a8b75d", + "content-hash": "577780153fce8a33a72ad2165283ce92", "packages": [ { "name": "asm89/stack-cors", @@ -2953,7 +2953,7 @@ "source": { "type": "git", "url": "https://git.drupal.org/project/comment_notify", - "reference": "01751b118ce3765fe3af07a36ca8c6f6687c6534" + "reference": "96ecd28cd0f674291e93102661149520e7b45259" }, "require": { "drupal/core": "*", @@ -2965,16 +2965,12 @@ "dev-1.x": "1.x-dev" }, "drupal": { - "version": "8.x-1.0-beta2+7-dev", - "datestamp": "1544815219", + "version": "8.x-1.0-beta3+4-dev", + "datestamp": "1548372780", "security-coverage": { "status": "not-covered", "message": "Dev releases are not covered by Drupal security advisories." } - }, - "patches_applied": { - "Invalid placeholder (!types) in string": "https://www.drupal.org/files/issues/2019-01-16/2938134-4.patch", - "The unsubscribe option is not working": "https://www.drupal.org/files/issues/2019-01-17/3026687-2.patch" } }, "notification-url": "https://packages.drupal.org/8/downloads", @@ -2982,6 +2978,10 @@ "GPL-2.0-or-later" ], "authors": [ + { + "name": "gnuget", + "homepage": "https://www.drupal.org/user/992990" + }, { "name": "greggles", "homepage": "https://www.drupal.org/user/36762" @@ -2992,7 +2992,7 @@ "support": { "source": "http://cgit.drupalcode.org/comment_notify" }, - "time": "2018-12-28T18:11:39+00:00" + "time": "2019-01-25T14:32:11+00:00" }, { "name": "drupal/components", @@ -6431,6 +6431,10 @@ "name": "jmiccolis", "homepage": "https://www.drupal.org/user/31731" }, + { + "name": "joseph.olstad", + "homepage": "https://www.drupal.org/user/1321830" + }, { "name": "mpotter", "homepage": "https://www.drupal.org/user/616192" @@ -9929,7 +9933,7 @@ { "name": "Luís Otávio Cobucci Oblonczyk", "email": "lcobucci@gmail.com", - "role": "developer" + "role": "Developer" } ], "description": "A simple library to work with JSON Web Token and JSON Web Signature", @@ -11691,7 +11695,7 @@ }, { "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" + "email": "backendtea@gmail.com" } ], "description": "Symfony polyfill for ctype functions", @@ -12929,16 +12933,16 @@ }, { "name": "zendframework/zendxml", - "version": "1.1.0", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/zendframework/ZendXml.git", - "reference": "267db6a2c431a08a8f8ff0f1f4c302a5ba6f5b99" + "reference": "eceab37a591c9e140772a1470338258857339e00" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zendframework/ZendXml/zipball/267db6a2c431a08a8f8ff0f1f4c302a5ba6f5b99", - "reference": "267db6a2c431a08a8f8ff0f1f4c302a5ba6f5b99", + "url": "https://api.github.com/repos/zendframework/ZendXml/zipball/eceab37a591c9e140772a1470338258857339e00", + "reference": "eceab37a591c9e140772a1470338258857339e00", "shasum": "" }, "require": { @@ -12951,8 +12955,8 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1.x-dev", - "dev-develop": "1.2.x-dev" + "dev-master": "1.2.x-dev", + "dev-develop": "1.3.x-dev" } }, "autoload": { @@ -12971,7 +12975,7 @@ "xml", "zf" ], - "time": "2018-04-30T15:11:04+00:00" + "time": "2019-01-22T19:42:14+00:00" } ], "packages-dev": [], From e601fa3c5c9039e428b159f2fc5cdc8d566a7448 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 29 Jan 2019 08:18:06 -0500 Subject: [PATCH 34/49] Make process timeout 10 minutes instead of default 5 When Drupal core is unzipped there's a notice of a 300 second timeout, then it switches to the ZipArchive class; there's speculation that later errors that don't specify the timeout but also result in unzip failures. See: https://stackoverflow.com/questions/28177019/composer-exceeded-the-timeout-of-300-seconds-while-installing-sylius-on-composer https://www.drupal.org/project/drupal/issues/3000865 --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 620cf48..152d09c 100644 --- a/composer.json +++ b/composer.json @@ -105,6 +105,7 @@ } }, "config": { - "sort-packages": true + "sort-packages": true, + "process-timeout": 600 } } From 91d86f6eb50a90ae3e54d161734046569603d9dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 29 Jan 2019 08:49:05 -0500 Subject: [PATCH 35/49] Prevent prompt in database update & add file sync command --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8a1ca0f..1861e75 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,8 @@ git pull git submodule update --recursive --remote vagrant ssh composer install -drush -y sql-dump > /tmp/paranoia.sql && drush sql-drop && drush -y sql-sync @live @self && drush -y updb +drush -y sql-dump > /tmp/paranoia.sql && drush -y sql-drop && drush -y sql-sync @live @self && drush -y updb +drush -y rsync @live:%files @self:%files drush cim -y ``` From 94277f6ac055d07cef6d8d53e6c3e2115a2fffbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 29 Jan 2019 08:55:35 -0500 Subject: [PATCH 36/49] Enable Paragraphs Features module --- config/sync/core.extension.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 1846bba..8f0b1ce 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -105,6 +105,7 @@ module: node: 0 options: 0 page_cache: 0 + paragraphs_features: 0 path: 0 quickedit: 0 rdf: 0 From 59bd403e680382a4fbd31d679616f61672fe2ee9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 29 Jan 2019 08:56:44 -0500 Subject: [PATCH 37/49] Commit config snapshot (unrelated to anything i've done, but ok) --- ..._sync.module.drutopia_creative_license.yml | 219 ++++++++++++++++++ 1 file changed, 219 insertions(+) diff --git a/config/sync/config_snapshot.snapshot.config_sync.module.drutopia_creative_license.yml b/config/sync/config_snapshot.snapshot.config_sync.module.drutopia_creative_license.yml index 1b676b1..98c34ba 100644 --- a/config/sync/config_snapshot.snapshot.config_sync.module.drutopia_creative_license.yml +++ b/config/sync/config_snapshot.snapshot.config_sync.module.drutopia_creative_license.yml @@ -9,6 +9,225 @@ snapshotSet: config_sync extensionType: module extensionName: drutopia_creative_license items: + - + collection: '' + name: config_snapshot.snapshot.config_sync.module.drutopia_creative_license + data: + langcode: en + status: true + dependencies: + module: + - drutopia_creative_license + id: config_sync.module.drutopia_creative_license + snapshotSet: config_sync + extensionType: module + extensionName: drutopia_creative_license + items: + - + collection: '' + name: core.entity_view_display.taxonomy_term.license.default + data: + langcode: en + status: true + dependencies: + config: + - taxonomy.vocabulary.license + module: + - ds + - text + third_party_settings: + ds: + layout: + id: layout_onecol + library: layout_discovery/onecol + disable_css: false + entity_classes: all_classes + settings: { } + regions: + content: + - description + id: taxonomy_term.license.default + targetEntityType: taxonomy_term + bundle: license + mode: default + content: + description: + label: hidden + type: text_default + weight: 0 + region: content + settings: { } + third_party_settings: { } + hidden: { } + - + collection: '' + name: field.storage.node.field_license + data: + langcode: en + status: true + dependencies: + module: + - node + - taxonomy + id: node.field_license + field_name: field_license + entity_type: node + type: entity_reference + settings: + target_type: taxonomy_term + module: core + locked: false + cardinality: 1 + translatable: true + indexes: { } + persist_with_no_fields: false + custom_storage: false + - + collection: '' + name: taxonomy.vocabulary.license + data: + langcode: en + status: true + dependencies: { } + name: License + vid: license + description: '' + hierarchy: 0 + weight: 0 + - + collection: '' + name: core.base_field_override.taxonomy_term.license.changed + data: + langcode: en + status: true + dependencies: + config: + - taxonomy.vocabulary.license + id: taxonomy_term.license.changed + field_name: changed + entity_type: taxonomy_term + bundle: license + label: Changed + description: 'The time that the term was last edited.' + required: false + translatable: false + default_value: { } + default_value_callback: '' + settings: { } + field_type: changed + - + collection: '' + name: core.base_field_override.taxonomy_term.license.description + data: + langcode: en + status: true + dependencies: + config: + - taxonomy.vocabulary.license + module: + - text + id: taxonomy_term.license.description + field_name: description + entity_type: taxonomy_term + bundle: license + label: Description + description: '' + required: false + translatable: false + default_value: { } + default_value_callback: '' + settings: { } + field_type: text_long + - + collection: '' + name: core.base_field_override.taxonomy_term.license.metatag + data: + langcode: en + status: true + dependencies: + config: + - taxonomy.vocabulary.license + id: taxonomy_term.license.metatag + field_name: metatag + entity_type: taxonomy_term + bundle: license + label: Metatags + description: 'The meta tags for the entity.' + required: false + translatable: false + default_value: { } + default_value_callback: '' + settings: { } + field_type: map + - + collection: '' + name: core.base_field_override.taxonomy_term.license.name + data: + langcode: en + status: true + dependencies: + config: + - taxonomy.vocabulary.license + id: taxonomy_term.license.name + field_name: name + entity_type: taxonomy_term + bundle: license + label: Name + description: '' + required: true + translatable: false + default_value: { } + default_value_callback: '' + settings: { } + field_type: string + - + collection: '' + name: core.base_field_override.taxonomy_term.license.path + data: + langcode: en + status: true + dependencies: + config: + - taxonomy.vocabulary.license + module: + - path + id: taxonomy_term.license.path + field_name: path + entity_type: taxonomy_term + bundle: license + label: 'URL alias' + description: '' + required: false + translatable: false + default_value: { } + default_value_callback: '' + settings: { } + field_type: path + - + collection: '' + name: core.base_field_override.taxonomy_term.license.status + data: + langcode: en + status: true + dependencies: + config: + - taxonomy.vocabulary.license + id: taxonomy_term.license.status + field_name: status + entity_type: taxonomy_term + bundle: license + label: Published + description: '' + required: false + translatable: false + default_value: + - + value: 1 + default_value_callback: '' + settings: + on_label: 'On' + off_label: 'Off' + field_type: boolean - collection: '' name: core.entity_view_display.taxonomy_term.license.default From 55f0879762f363689aa4996d66bbf14bf2ff0860 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 29 Jan 2019 08:57:33 -0500 Subject: [PATCH 38/49] Commit paragraphs features default config --- config/sync/paragraphs_features.settings.yml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 config/sync/paragraphs_features.settings.yml diff --git a/config/sync/paragraphs_features.settings.yml b/config/sync/paragraphs_features.settings.yml new file mode 100644 index 0000000..89bf5c6 --- /dev/null +++ b/config/sync/paragraphs_features.settings.yml @@ -0,0 +1,3 @@ +dropdown_to_button: false +_core: + default_config_hash: lQErqdedK_5v01xVINKpMQnPQNpp4vS6oMsdNYbPfTI From 22494a1fceb7f923cb1e7963cc9fa39cee5eafd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 29 Jan 2019 08:57:59 -0500 Subject: [PATCH 39/49] Commit config snapshot --- ...ot.config_sync.module.paragraphs_features.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 config/sync/config_snapshot.snapshot.config_sync.module.paragraphs_features.yml diff --git a/config/sync/config_snapshot.snapshot.config_sync.module.paragraphs_features.yml b/config/sync/config_snapshot.snapshot.config_sync.module.paragraphs_features.yml new file mode 100644 index 0000000..9f212bb --- /dev/null +++ b/config/sync/config_snapshot.snapshot.config_sync.module.paragraphs_features.yml @@ -0,0 +1,16 @@ +uuid: 97234a14-9821-446a-9bdd-9f9cacaf4715 +langcode: en +status: true +dependencies: + module: + - paragraphs_features +id: config_sync.module.paragraphs_features +snapshotSet: config_sync +extensionType: module +extensionName: paragraphs_features +items: + - + collection: '' + name: paragraphs_features.settings + data: + dropdown_to_button: false From 03967d4a1f225ca971428bcd83494428dc3e60f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 29 Jan 2019 08:59:13 -0500 Subject: [PATCH 40/49] Commit harmless-looking spanish translations that added themselves ... and decline to commit the dozens of *deleted* translations; Gnuget any idea what's happening here? --- config/sync/language/es/block.block.bulma_main_menu.yml | 2 ++ config/sync/language/es/block.block.octavia_main_menu.yml | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 config/sync/language/es/block.block.bulma_main_menu.yml create mode 100644 config/sync/language/es/block.block.octavia_main_menu.yml diff --git a/config/sync/language/es/block.block.bulma_main_menu.yml b/config/sync/language/es/block.block.bulma_main_menu.yml new file mode 100644 index 0000000..4d2bdfa --- /dev/null +++ b/config/sync/language/es/block.block.bulma_main_menu.yml @@ -0,0 +1,2 @@ +settings: + label: Navegación diff --git a/config/sync/language/es/block.block.octavia_main_menu.yml b/config/sync/language/es/block.block.octavia_main_menu.yml new file mode 100644 index 0000000..4d2bdfa --- /dev/null +++ b/config/sync/language/es/block.block.octavia_main_menu.yml @@ -0,0 +1,2 @@ +settings: + label: Navegación From c00c90fe7c66c10c73f77392676da847d27b1911 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 29 Jan 2019 10:28:04 -0500 Subject: [PATCH 41/49] If we ever have only one paragraph type available, drop the dropdown --- config/sync/paragraphs_features.settings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/sync/paragraphs_features.settings.yml b/config/sync/paragraphs_features.settings.yml index 89bf5c6..bffe6e0 100644 --- a/config/sync/paragraphs_features.settings.yml +++ b/config/sync/paragraphs_features.settings.yml @@ -1,3 +1,3 @@ -dropdown_to_button: false +dropdown_to_button: true _core: default_config_hash: lQErqdedK_5v01xVINKpMQnPQNpp4vS6oMsdNYbPfTI From d831af05c1b57b9489df4fb2983a6c59facc1a07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 29 Jan 2019 10:34:10 -0500 Subject: [PATCH 42/49] Enable Preview Link module --- config/sync/core.extension.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 8f0b1ce..912a454 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -107,6 +107,7 @@ module: page_cache: 0 paragraphs_features: 0 path: 0 + preview_link: 0 quickedit: 0 rdf: 0 redirect: 0 From 2b3910a25a933e077f1432e26e5bb36f54a71be2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 29 Jan 2019 10:34:47 -0500 Subject: [PATCH 43/49] Commit config snapshot --- ...pshot.snapshot.config_sync.module.preview_link.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 config/sync/config_snapshot.snapshot.config_sync.module.preview_link.yml diff --git a/config/sync/config_snapshot.snapshot.config_sync.module.preview_link.yml b/config/sync/config_snapshot.snapshot.config_sync.module.preview_link.yml new file mode 100644 index 0000000..9a1ae1d --- /dev/null +++ b/config/sync/config_snapshot.snapshot.config_sync.module.preview_link.yml @@ -0,0 +1,11 @@ +uuid: cc0e34a0-e6c4-4e64-b41c-b6d83736ce26 +langcode: en +status: true +dependencies: + module: + - preview_link +id: config_sync.module.preview_link +snapshotSet: config_sync +extensionType: module +extensionName: preview_link +items: { } From 5a3bf66f0be8f6a0b7915227ab5a4e0749c2cfec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 29 Jan 2019 10:35:59 -0500 Subject: [PATCH 44/49] Commit a few more self-added translation files ... while continuing to ignore the dozens that want to be deleted --- .../language/es/core.entity_view_mode.paragraph.preview.yml | 1 + config/sync/language/es/webform.settings.yml | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 config/sync/language/es/core.entity_view_mode.paragraph.preview.yml create mode 100644 config/sync/language/es/webform.settings.yml diff --git a/config/sync/language/es/core.entity_view_mode.paragraph.preview.yml b/config/sync/language/es/core.entity_view_mode.paragraph.preview.yml new file mode 100644 index 0000000..ded3edb --- /dev/null +++ b/config/sync/language/es/core.entity_view_mode.paragraph.preview.yml @@ -0,0 +1 @@ +label: 'Vista previa' diff --git a/config/sync/language/es/webform.settings.yml b/config/sync/language/es/webform.settings.yml new file mode 100644 index 0000000..fbac193 --- /dev/null +++ b/config/sync/language/es/webform.settings.yml @@ -0,0 +1,3 @@ +settings: + default_preview_next_button_label: 'Vista previa' + default_preview_label: 'Vista previa' From 52a4b481653db16a5e1f95afe89b5d74c915c54b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 29 Jan 2019 10:47:00 -0500 Subject: [PATCH 45/49] Enable syslog --- config/sync/core.extension.yml | 1 + config/sync/syslog.settings.yml | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 config/sync/syslog.settings.yml diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 912a454..d785bd4 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -121,6 +121,7 @@ module: similarterms: 0 social_media_links: 0 statistics: 0 + syslog: 0 system: 0 taxonomy: 0 telephone: 0 diff --git a/config/sync/syslog.settings.yml b/config/sync/syslog.settings.yml new file mode 100644 index 0000000..272f915 --- /dev/null +++ b/config/sync/syslog.settings.yml @@ -0,0 +1,5 @@ +identity: drupal +facility: 128 +format: '!base_url|!timestamp|!type|!ip|!request_uri|!referer|!uid|!link|!message' +_core: + default_config_hash: vdXLRPZRg35PBykBRRXr6RTql5EJR_fUi2kxyZ8c5m0 From d249da84c508ae4ac94b17ade75249ea6f9176b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 29 Jan 2019 10:47:50 -0500 Subject: [PATCH 46/49] Commit config snapshot --- ...shot.snapshot.config_sync.module.syslog.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 config/sync/config_snapshot.snapshot.config_sync.module.syslog.yml diff --git a/config/sync/config_snapshot.snapshot.config_sync.module.syslog.yml b/config/sync/config_snapshot.snapshot.config_sync.module.syslog.yml new file mode 100644 index 0000000..3730950 --- /dev/null +++ b/config/sync/config_snapshot.snapshot.config_sync.module.syslog.yml @@ -0,0 +1,18 @@ +uuid: e88d65b8-4aec-4fbf-8548-9e8545efc31b +langcode: en +status: true +dependencies: + module: + - syslog +id: config_sync.module.syslog +snapshotSet: config_sync +extensionType: module +extensionName: syslog +items: + - + collection: '' + name: syslog.settings + data: + identity: drupal + facility: 8 + format: '!base_url|!timestamp|!type|!ip|!request_uri|!referer|!uid|!link|!message' From b38ec22fbd7d7d2270d778a98c725608788aea21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 29 Jan 2019 11:44:05 -0500 Subject: [PATCH 47/49] Update pattern library to display comment form even if no comments --- web/themes/custom/agarica/patternlibrary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/themes/custom/agarica/patternlibrary b/web/themes/custom/agarica/patternlibrary index 5efe918..628d52a 160000 --- a/web/themes/custom/agarica/patternlibrary +++ b/web/themes/custom/agarica/patternlibrary @@ -1 +1 @@ -Subproject commit 5efe918b8deb9fda6be9025b31373c6e690d74fc +Subproject commit 628d52a786c592359bac3b90a048a6569dae1d8b From 46ec28692b71910ad2c2ff2e4474c22569ed9463 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 29 Jan 2019 12:22:14 -0500 Subject: [PATCH 48/49] Improve look of comment form --- web/themes/custom/agarica/patternlibrary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/themes/custom/agarica/patternlibrary b/web/themes/custom/agarica/patternlibrary index 628d52a..610b794 160000 --- a/web/themes/custom/agarica/patternlibrary +++ b/web/themes/custom/agarica/patternlibrary @@ -1 +1 @@ -Subproject commit 628d52a786c592359bac3b90a048a6569dae1d8b +Subproject commit 610b7948b5dd68882381fe0338c9d1f8732dab53 From e62965946d659e09da4aab66ec2d7c9de69b0d40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 29 Jan 2019 16:46:19 -0500 Subject: [PATCH 49/49] Probably broke Planet, so Revert "Here's what was different on my local for RSS feeds" This reverts commit 50d1c3c5b19cc229290c0e174f70ce7a1de8c4e7. (This was probably changes to the existing feed view display we didn't want to change.) --- config/sync/views.view.taxonomy_term.yml | 25 ++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/config/sync/views.view.taxonomy_term.yml b/config/sync/views.view.taxonomy_term.yml index 23dc17e..cfde60e 100644 --- a/config/sync/views.view.taxonomy_term.yml +++ b/config/sync/views.view.taxonomy_term.yml @@ -3,6 +3,7 @@ langcode: en status: true dependencies: config: + - core.entity_view_mode.node.rss - core.entity_view_mode.node.rss_teaser - core.entity_view_mode.node.teaser - field.storage.node.field_authors @@ -205,12 +206,20 @@ display: footer: { } empty: { } relationships: { } - fields: { } + fields: + title: + id: title + table: node_field_data + field: title + entity_type: node + entity_field: title + plugin_id: field display_extenders: { } link_url: '' link_display: page_1 cache_metadata: contexts: + - 'languages:language_content' - 'languages:language_interface' - url - url.query_args @@ -242,16 +251,10 @@ display: uses_fields: false description: '' row: - type: rss_fields + type: node_rss options: - title_field: title - link_field: view_node - description_field: field_body_paragraph - creator_field: field_authors - date_field: created - guid_field_options: - guid_field: nid - guid_field_is_permalink: true + relationship: none + view_mode: rss display_extenders: { } fields: nid: @@ -720,6 +723,7 @@ display: cache_metadata: max-age: -1 contexts: + - 'languages:language_content' - 'languages:language_interface' - url - 'user.node_grants:view' @@ -738,6 +742,7 @@ display: display_extenders: { } cache_metadata: contexts: + - 'languages:language_content' - 'languages:language_interface' - url - url.query_args