From 1cb8434d5a5e1293910299108c4d675153ec7ebf Mon Sep 17 00:00:00 2001 From: Mike Decker Date: Tue, 28 May 2024 09:48:24 -0700 Subject: [PATCH 1/5] D8CORE-7413 Enabled search api processor to add spaces between html tags --- .../sync/search_api.index.algolia_search.yml | 40 ++++++++++++++++--- 1 file changed, 34 insertions(+), 6 deletions(-) diff --git a/config/sync/search_api.index.algolia_search.yml b/config/sync/search_api.index.algolia_search.yml index acfd293a1..b976dc39d 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 From e90c5dfab6d8960f696a54defe9c9a6ba33d2dc3 Mon Sep 17 00:00:00 2001 From: Mike Decker Date: Tue, 28 May 2024 10:23:46 -0700 Subject: [PATCH 2/5] Updated dependencies --- composer.json | 4 ++-- config/sync/autologout.settings.yml | 3 ++- config/sync/editoria11y.configuration.yml | 3 --- .../sync/graphql.graphql_servers.graphql_compose_server.yml | 4 +++- 4 files changed, 7 insertions(+), 7 deletions(-) delete mode 100644 config/sync/editoria11y.configuration.yml diff --git a/composer.json b/composer.json index 1ecea60c9..5d472c584 100644 --- a/composer.json +++ b/composer.json @@ -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 79e14f8a2..f133f8890 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/editoria11y.configuration.yml b/config/sync/editoria11y.configuration.yml deleted file mode 100644 index 5e278f6db..000000000 --- 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 caf0910e3..802af965b 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 From ba5040641a06d3b675fa39b475f2c8c966e71fea Mon Sep 17 00:00:00 2001 From: Mike Decker Date: Tue, 28 May 2024 10:28:12 -0700 Subject: [PATCH 3/5] Enable missing 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 45fd35cfd..cd42e1548 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 From 3225b13fc02c1f0a0135f789ad8cc97f883ad146 Mon Sep 17 00:00:00 2001 From: Mike Decker Date: Tue, 28 May 2024 10:45:09 -0700 Subject: [PATCH 4/5] Updated diff module --- composer.json | 2 +- tests/codeception/acceptance/Content/BasicPageCest.php | 2 ++ tests/codeception/acceptance/Contrib/NodeRevisionDeleteCest.php | 2 ++ .../codeception/functional/Content/BasicPageParagraphsCest.php | 2 ++ tests/codeception/functional/Paragraphs/CardCest.php | 2 -- 5 files changed, 7 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 5d472c584..9ad115885 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", diff --git a/tests/codeception/acceptance/Content/BasicPageCest.php b/tests/codeception/acceptance/Content/BasicPageCest.php index 8f72a425f..666e08b88 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 60cb34e03..52f43aeaa 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 e0a9fbac9..e56c6f628 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 2b1be9aea..47772b563 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 = [ From 7bfcef8971c462e894ffc23ca7414334e516057b Mon Sep 17 00:00:00 2001 From: Mike Decker Date: Tue, 28 May 2024 10:47:11 -0700 Subject: [PATCH 5/5] Updated diff config --- config/sync/diff.settings.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/config/sync/diff.settings.yml b/config/sync/diff.settings.yml index 699bbbbb8..1a14c0a88 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