diff --git a/.circleci/config.yml b/.circleci/config.yml index a0c92730e..9e06cfb2b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -75,6 +75,27 @@ jobs: root: ./ paths: - ./ + build_edge_branch: + docker: + - image: circleci/php:7.3.14-apache-browsers + steps: + - checkout_code + - install_php_os_extensions + - run: + name: Switch to edge build branch + command: | + cd ~/project + git checkout -b $EDGE_BUILD_BRANCH + - run: + name: Install dev versions of dof-dss packages with composer. + command: | + composer require dof-dss/nidirect-site-modules:dev-development dof-dss/nidirect-migrations:dev-development \ + dof-dss/nidirect-d8-test-install-profile:dev-development dof-dss/nicsdru_origins_theme:dev-development \ + dof-dss/nicsdru_origins_modules:dev-development dof-dss/nicsdru_nidirect_theme:dev-development + - persist_to_workspace: + root: ./ + paths: + - ./ # Test for coding standards and deprecated code. static_analysis: @@ -346,9 +367,10 @@ workflows: only: - development jobs: - - build - - sync_data + - build_edge_branch + - sync_data: + requires: + - build_edge_branch - functional_tests: requires: - - build - sync_data diff --git a/composer.json b/composer.json index 0b56ac425..48cb203e9 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "dof-dss/nicsdru_origins_theme": "^0.3.1", "dof-dss/nidirect-d8-test-install-profile": "^0.2.2", "dof-dss/nidirect-migrations": "^0.10.0", - "dof-dss/nidirect-site-modules": "^0.10.2", + "dof-dss/nidirect-site-modules": "^0.10.3", "drupal/address": "^1.7", "drupal/admin_toolbar": "^2.0", "drupal/adminimal_theme": "^1.5", @@ -172,6 +172,9 @@ }, "drupal/paragraphs": { "Integrity constraint violation: 1048 Column 'langcode' cannot be null": "https://www.drupal.org/files/issues/2020-06-25/paragraphs-2901390-51.patch" + }, + "drupal/shs": { + "SHS select is empty on views": "https://www.drupal.org/files/issues/2018-12-10/shs-blank-select-fix-3019378-3.patch" } }, "composer-exit-on-patch-failure": true, diff --git a/composer.lock b/composer.lock index b452208ea..bae89e2e9 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": "4cb1df6ac5ff58ffe3d0fd682f74b6a2", + "content-hash": "d908f8a5c4e4b5d3e28ff9bb734d4738", "packages": [ { "name": "alchemy/zippy", @@ -2016,16 +2016,16 @@ }, { "name": "dof-dss/nidirect-migrations", - "version": "0.10.2", + "version": "0.10.3", "source": { "type": "git", "url": "https://github.com/dof-dss/nidirect-d8-mig-mods.git", - "reference": "53c5906be0810f8f76352f42b49e79e86c62ffee" + "reference": "cf281a189004a8daca1d7e4e596a832473cb2a94" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dof-dss/nidirect-d8-mig-mods/zipball/53c5906be0810f8f76352f42b49e79e86c62ffee", - "reference": "53c5906be0810f8f76352f42b49e79e86c62ffee", + "url": "https://api.github.com/repos/dof-dss/nidirect-d8-mig-mods/zipball/cf281a189004a8daca1d7e4e596a832473cb2a94", + "reference": "cf281a189004a8daca1d7e4e596a832473cb2a94", "shasum": "" }, "require": { @@ -2037,20 +2037,20 @@ "MIT" ], "description": "Drupal Migrate API modules for NI Direct", - "time": "2020-08-24T14:25:37+00:00" + "time": "2020-09-02T10:16:23+00:00" }, { "name": "dof-dss/nidirect-site-modules", - "version": "0.10.2", + "version": "0.10.3", "source": { "type": "git", "url": "https://github.com/dof-dss/nidirect-site-modules.git", - "reference": "5fd32aaa24db50f841d015fa66b440a8f9e52dee" + "reference": "a2747312c2031723139fee5469acd157fd3281c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dof-dss/nidirect-site-modules/zipball/5fd32aaa24db50f841d015fa66b440a8f9e52dee", - "reference": "5fd32aaa24db50f841d015fa66b440a8f9e52dee", + "url": "https://api.github.com/repos/dof-dss/nidirect-site-modules/zipball/a2747312c2031723139fee5469acd157fd3281c7", + "reference": "a2747312c2031723139fee5469acd157fd3281c7", "shasum": "" }, "require": { @@ -2063,7 +2063,7 @@ "MIT" ], "description": "Drupal modules to provide custom code for NI Direct", - "time": "2020-08-25T10:27:56+00:00" + "time": "2020-09-02T13:00:31+00:00" }, { "name": "drupal/address", @@ -6418,6 +6418,9 @@ "status": "not-covered", "message": "Alpha releases are not covered by Drupal security advisories." } + }, + "patches_applied": { + "SHS select is empty on views": "https://www.drupal.org/files/issues/2018-12-10/shs-blank-select-fix-3019378-3.patch" } }, "notification-url": "https://packages.drupal.org/8/downloads", diff --git a/config/sync/user.role.anonymous.yml b/config/sync/user.role.anonymous.yml index 97a5cc1d4..cb5309f34 100644 --- a/config/sync/user.role.anonymous.yml +++ b/config/sync/user.role.anonymous.yml @@ -19,3 +19,4 @@ permissions: - 'view files' - 'view media' - 'view published gp entities' + - 'view terms in site_themes' diff --git a/config/sync/views.view.contacts.yml b/config/sync/views.view.contacts.yml index 721063ae3..9f3400e7b 100644 --- a/config/sync/views.view.contacts.yml +++ b/config/sync/views.view.contacts.yml @@ -194,7 +194,7 @@ display: default_group_multiple: { } group_items: { } parse_mode: phrase - min_length: 3 + min_length: 2 fields: - title_fulltext plugin_id: search_api_fulltext @@ -253,7 +253,6 @@ display: relationships: { } arguments: { } display_extenders: { } - title: Contacts cache_metadata: max-age: -1 contexts: @@ -263,7 +262,9 @@ display: - url.query_args - 'url.query_args:sort_by' - 'url.query_args:sort_order' - tags: { } + - 'user.node_grants:view' + tags: + - 'config:search_api.index.contacts' contact_search: display_plugin: embed id: contact_search @@ -281,4 +282,6 @@ display: - url.query_args - 'url.query_args:sort_by' - 'url.query_args:sort_order' - tags: { } + - 'user.node_grants:view' + tags: + - 'config:search_api.index.contacts' diff --git a/config/sync/views.view.site_themes.yml b/config/sync/views.view.site_themes.yml index d8a7dd12f..fad1117f6 100644 --- a/config/sync/views.view.site_themes.yml +++ b/config/sync/views.view.site_themes.yml @@ -493,10 +493,10 @@ display: entity_type: flagging plugin_id: flag_filter sorts: - field_taxonomy_rank_value: - id: field_taxonomy_rank_value - table: taxonomy_term__field_taxonomy_rank - field: field_taxonomy_rank_value + weight: + id: weight + table: taxonomy_term_field_data + field: weight relationship: none group_type: group admin_label: '' @@ -504,6 +504,8 @@ display: exposed: false expose: label: '' + entity_type: taxonomy_term + entity_field: weight plugin_id: standard name: id: name