From 1015c42fc46a54ed3507c8f3839362d923112853 Mon Sep 17 00:00:00 2001 From: Mike Decker Date: Mon, 22 Apr 2024 09:38:44 -0700 Subject: [PATCH 1/5] Updated scheduler config --- config/sync/scheduler.settings.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/config/sync/scheduler.settings.yml b/config/sync/scheduler.settings.yml index 09de9318..bf8fa9f0 100644 --- a/config/sync/scheduler.settings.yml +++ b/config/sync/scheduler.settings.yml @@ -18,7 +18,6 @@ default_unpublish_enable: false default_unpublish_required: false default_unpublish_revision: false hide_seconds: true -lightweight_cron_access_key: 205b205e78fbd0125e9c log: true time_letters: hHgGisaA time_only_format: 'H:i:s' From 38e706f3c982b70999a00e149b58f7d278e47d6c Mon Sep 17 00:00:00 2001 From: Mike Decker Date: Tue, 30 Apr 2024 09:04:52 -0700 Subject: [PATCH 2/5] Remove banner behavior on page title banner --- ...phs.paragraphs_type.stanford_page_title_banner.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/config/sync/paragraphs.paragraphs_type.stanford_page_title_banner.yml b/config/sync/paragraphs.paragraphs_type.stanford_page_title_banner.yml index a433951e..0f8203c9 100644 --- a/config/sync/paragraphs.paragraphs_type.stanford_page_title_banner.yml +++ b/config/sync/paragraphs.paragraphs_type.stanford_page_title_banner.yml @@ -1,17 +1,10 @@ uuid: a4f0325f-d80d-46cd-a8c2-ddde8bab17b2 langcode: en status: true -dependencies: - module: - - jumpstart_ui +dependencies: { } id: stanford_page_title_banner label: 'Page Title Banner' icon_uuid: null icon_default: null description: 'Page Title Banner Paragraph Type' -behavior_plugins: - hero_pattern: - enabled: true - overlay_position: left - heading: h2 - hide_heading: false +behavior_plugins: { } From b9226fcb7297193e61f137adc0b3ff49d808012b Mon Sep 17 00:00:00 2001 From: Mike Decker Date: Wed, 8 May 2024 09:01:54 -0700 Subject: [PATCH 3/5] Removed menu block patch --- composer.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/composer.json b/composer.json index aa7ff3e9..1ecea60c 100644 --- a/composer.json +++ b/composer.json @@ -191,9 +191,6 @@ "drupal/hook_event_dispatcher": { "https://www.drupal.org/project/hook_event_dispatcher/issues/3354751": "https://www.drupal.org/files/issues/2024-03-14/hook_event_dispatcher-4.x-3354751-7.patch" }, - "drupal/menu_block": { - "https://www.drupal.org/project/menu_block/issues/3271218": "https://www.drupal.org/files/issues/2022-04-29/menu_block_rendered_empty-3271218-17.patch" - }, "drupal/menu_link": { "https://www.drupal.org/project/menu_link/issues/3358081": "https://git.drupalcode.org/project/menu_link/-/merge_requests/9.patch" }, From bfd1ceec98110c1f4657d8273a51b1bbf2f18334 Mon Sep 17 00:00:00 2001 From: Dena DeBry Date: Thu, 16 May 2024 12:16:24 -0600 Subject: [PATCH 4/5] D8CORE-7414: Different sorting option for Basic Page lists (#791) --- .../sync/views.view.stanford_basic_pages.yml | 58 ++++++++++++++++++- 1 file changed, 57 insertions(+), 1 deletion(-) diff --git a/config/sync/views.view.stanford_basic_pages.yml b/config/sync/views.view.stanford_basic_pages.yml index 068b90c4..64c0c990 100644 --- a/config/sync/views.view.stanford_basic_pages.yml +++ b/config/sync/views.view.stanford_basic_pages.yml @@ -753,7 +753,7 @@ display: - 'config:field.storage.paragraph.su_banner_image' viewfield_block_1: id: viewfield_block_1 - display_title: 'Card Grid' + display_title: 'Card Grid, Creation Date Sort (desc)' display_plugin: viewfield_block position: 2 display_options: @@ -883,3 +883,59 @@ display: - 'config:field.storage.node.su_page_description' - 'config:field.storage.node.su_page_image' - 'config:field.storage.paragraph.su_banner_image' + viewfield_block_2: + id: viewfield_block_2 + display_title: 'Card Grid, Alphabetical Title Sort (asc)' + display_plugin: viewfield_block + position: 2 + display_options: + display_extenders: { } + display_description: '' + style: + type: html_list + options: + row_class: '' + default_row_class: 1 + uses_fields: 0 + type: ul + wrapper_class: '' + class: 'su-list-unstyled grid-container-3' + defaults: + style: false + row: false + arguments: true + sorts: false + row: + type: 'entity:node' + options: + relationship: none + view_mode: stanford_h3_card + block_category: 'Basic Page Type Lists (Views)' + sorts: + title: + id: title + table: node_field_data + field: title + relationship: none + group_type: group + admin_label: '' + order: ASC + exposed: false + expose: + label: '' + field_identifier: '' + entity_type: node + entity_field: title + plugin_id: standard + cache_metadata: + max-age: -1 + contexts: + - 'languages:language_content' + - 'languages:language_interface' + - url + - 'user.node_grants:view' + - user.permissions + tags: + - 'config:field.storage.node.su_page_description' + - 'config:field.storage.node.su_page_image' + - 'config:field.storage.paragraph.su_banner_image' From 078e0f1a0ff899b561237a8c1e914c43f52fd82e Mon Sep 17 00:00:00 2001 From: pookmish Date: Tue, 28 May 2024 11:25:31 -0700 Subject: [PATCH 5/5] D8CORE-7413 Enabled search api processor to add spaces between html tags (#792) --- composer.json | 6 +-- config/sync/autologout.settings.yml | 3 +- config/sync/core.extension.yml | 1 + config/sync/diff.settings.yml | 1 + config/sync/editoria11y.configuration.yml | 3 -- ...graphql_servers.graphql_compose_server.yml | 4 +- .../sync/search_api.index.algolia_search.yml | 40 ++++++++++++++++--- .../acceptance/Content/BasicPageCest.php | 2 + .../Contrib/NodeRevisionDeleteCest.php | 2 + .../Content/BasicPageParagraphsCest.php | 2 + .../functional/Paragraphs/CardCest.php | 2 - 11 files changed, 50 insertions(+), 16 deletions(-) delete mode 100644 config/sync/editoria11y.configuration.yml diff --git a/composer.json b/composer.json index 1ecea60c..9ad11588 100644 --- a/composer.json +++ b/composer.json @@ -62,7 +62,7 @@ "drupal/core": "~10.2.0", "drupal/cshs": "^4.0", "drupal/default_content": "^2.0@alpha", - "drupal/diff": "1.1.0", + "drupal/diff": "^1.3", "drupal/display_field_copy": "^2.0.", "drupal/domain_301_redirect": "^2.0", "drupal/ds": "^3.3", @@ -97,7 +97,7 @@ "drupal/jsonapi_views": "^1.1", "drupal/key": "^1.15", "drupal/layout_builder_modal": "^1.0", - "drupal/layout_builder_restrictions": "^2.2", + "drupal/layout_builder_restrictions": "^3.0", "drupal/layout_library": "^1.0-beta1", "drupal/layout_paragraphs": "^2.0", "drupal/link_attributes": "^2.0", @@ -127,7 +127,7 @@ "drupal/rabbit_hole": "^1.0@beta", "drupal/real_aes": "^2.4", "drupal/redirect": "^1.0-beta1", - "drupal/responsive_tables_filter": "^1.9", + "drupal/responsive_tables_filter": "^2.0", "drupal/role_delegation": "^1.0@beta", "drupal/scheduler": "^2.0", "drupal/search_api": "^1.19", diff --git a/config/sync/autologout.settings.yml b/config/sync/autologout.settings.yml index 79e14f8a..f133f889 100644 --- a/config/sync/autologout.settings.yml +++ b/config/sync/autologout.settings.yml @@ -10,7 +10,7 @@ role_logout: false role_logout_max: false redirect_url: /user/login no_dialog: false -message: 'Your session is about to expire. Do you want to reset it?' +message: 'We are about to log you out for inactivity. If we do, you will lose any unsaved work. Do you need more time?' inactivity_message: 'You have been logged out due to inactivity.' inactivity_message_type: status modal_width: 450 @@ -20,3 +20,4 @@ jstimer_js_load_option: false use_alt_logout_method: false use_watchdog: true whitelisted_ip_addresses: '' +include_destination: true diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index 45fd35cf..cd42e154 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -96,6 +96,7 @@ module: inline_form_errors: 0 jquery_ui: 0 jquery_ui_draggable: 0 + js_cookie: 0 jsonapi: 0 jsonapi_defaults: 0 jsonapi_extras: 0 diff --git a/config/sync/diff.settings.yml b/config/sync/diff.settings.yml index 699bbbbb..1a14c0a8 100644 --- a/config/sync/diff.settings.yml +++ b/config/sync/diff.settings.yml @@ -15,4 +15,5 @@ general_settings: unified_fields: enabled: true weight: 2 + visual_default_view_mode: full visual_inline_theme: default diff --git a/config/sync/editoria11y.configuration.yml b/config/sync/editoria11y.configuration.yml deleted file mode 100644 index 5e278f6d..00000000 --- a/config/sync/editoria11y.configuration.yml +++ /dev/null @@ -1,3 +0,0 @@ -ed11y_theme: lightTheme -disable_sync: false -preserve_params: 'search,keys,page,language,language_content_entity' diff --git a/config/sync/graphql.graphql_servers.graphql_compose_server.yml b/config/sync/graphql.graphql_servers.graphql_compose_server.yml index caf0910e..802af965 100644 --- a/config/sync/graphql.graphql_servers.graphql_compose_server.yml +++ b/config/sync/graphql.graphql_servers.graphql_compose_server.yml @@ -14,7 +14,9 @@ batching: true disable_introspection: false query_depth: null query_complexity: null -schema_configuration: { } +schema_configuration: + graphql_compose: + enabled: true persisted_queries_settings: automatic_persisted_query: weight: 0 diff --git a/config/sync/search_api.index.algolia_search.yml b/config/sync/search_api.index.algolia_search.yml index acfd293a..b976dc39 100644 --- a/config/sync/search_api.index.algolia_search.yml +++ b/config/sync/search_api.index.algolia_search.yml @@ -3,24 +3,25 @@ langcode: en status: false dependencies: config: - - field.storage.node.su_event_audience - field.storage.node.su_basic_page_type - field.storage.node.su_course_subject + - field.storage.node.su_event_audience - field.storage.node.su_event_date_time + - field.storage.node.su_event_subject - field.storage.node.su_event_type - - field.storage.node.su_person_full_title - field.storage.node.su_news_topics + - field.storage.node.su_person_full_title + - field.storage.node.su_person_short_title - field.storage.node.su_person_type_group - field.storage.node.su_publication_topics - field.storage.node.su_shared_tags - - field.storage.node.su_person_short_title - - field.storage.node.su_event_subject - search_api.server.algolia_search - core.entity_view_mode.node.search_indexing module: - taxonomy - node - search_api + - stanford_profile_helper id: algolia_search name: 'Algolia Search' description: '' @@ -267,8 +268,8 @@ processor_settings: entity_type: { } html_filter: weights: - preprocess_index: -15 - preprocess_query: -15 + preprocess_index: -49 + preprocess_query: -6 all_fields: true fields: - basic_page_type @@ -298,6 +299,33 @@ processor_settings: tags: { } language_with_fallback: { } rendered_item: { } + space_tags: + weights: + preprocess_index: -50 + all_fields: 1 + fields: + - basic_page_type + - byline + - course_subject + - dek + - email + - event_audience + - event_subject + - event_type + - html + - news_type + - person_full_title + - person_short_title + - person_type + - phone + - photo + - publication_type + - shared_tags + - subheadline + - summary + - title + - type + - url tracker_settings: default: indexing_order: fifo diff --git a/tests/codeception/acceptance/Content/BasicPageCest.php b/tests/codeception/acceptance/Content/BasicPageCest.php index 8f72a425..666e08b8 100644 --- a/tests/codeception/acceptance/Content/BasicPageCest.php +++ b/tests/codeception/acceptance/Content/BasicPageCest.php @@ -115,6 +115,8 @@ public function testH1Tags(AcceptanceTester $I) { * The revision history tab should be functional. * * Regression test for D8CORE-1547. + * + * @group D8CORE-1547 */ public function testRevisionPage(AcceptanceTester $I) { $title = $this->faker->words(3, TRUE); diff --git a/tests/codeception/acceptance/Contrib/NodeRevisionDeleteCest.php b/tests/codeception/acceptance/Contrib/NodeRevisionDeleteCest.php index 60cb34e0..52f43aea 100644 --- a/tests/codeception/acceptance/Contrib/NodeRevisionDeleteCest.php +++ b/tests/codeception/acceptance/Contrib/NodeRevisionDeleteCest.php @@ -4,6 +4,8 @@ /** * Test the node revision delete module functionality. + * + * @group node_revision_delete */ class NodeRevisionDeleteCest { diff --git a/tests/codeception/functional/Content/BasicPageParagraphsCest.php b/tests/codeception/functional/Content/BasicPageParagraphsCest.php index e0a9fbac..e56c6f62 100644 --- a/tests/codeception/functional/Content/BasicPageParagraphsCest.php +++ b/tests/codeception/functional/Content/BasicPageParagraphsCest.php @@ -63,6 +63,8 @@ public function testCardParagraph(FunctionalTester $I) { /** * The user should be able to see all revisions of a node. + * + * @group revisions */ public function testViewRevisions(FunctionalTester $I) { $paragraph = $I->createEntity([ diff --git a/tests/codeception/functional/Paragraphs/CardCest.php b/tests/codeception/functional/Paragraphs/CardCest.php index 2b1be9ae..47772b56 100644 --- a/tests/codeception/functional/Paragraphs/CardCest.php +++ b/tests/codeception/functional/Paragraphs/CardCest.php @@ -23,8 +23,6 @@ public function __construct() { /** * The banner paragraph should display its fields. - * - * @group foobar */ public function testCardBehaviors(FunctionalTester $I) { $field_values = [