From 99adfc98c71046d618091c69bb789ede50381353 Mon Sep 17 00:00:00 2001 From: mdyoung3 Date: Fri, 10 Jan 2025 19:17:39 -0700 Subject: [PATCH] Initial commit --- ..._pages.type.stanford_web_services_help.yml | 17 ++++ ...ges.stanford_web_services_help.default.yml | 52 ++++++++++++ ...ges.stanford_web_services_help.default.yml | 42 ++++++++++ config/sync/core.extension.yml | 2 +- config/sync/editor.editor.stanford_html.yml | 2 +- config/sync/editoria11y.settings.yml | 2 - ....citation.su_article_journal.su_author.yml | 1 - ...itation.su_article_newspaper.su_author.yml | 1 - ...field.field.citation.su_book.su_author.yml | 1 - ...ield.field.citation.su_other.su_author.yml | 1 - ...eld.field.citation.su_thesis.su_author.yml | 1 - ....config_pages.lockup_settings.su_intro.yml | 2 +- ...ford_web_services_help.su_help_content.yml | 82 +++++++++++++++++++ ...ord_web_services_help.su_help_subtitle.yml | 19 +++++ ...anford_web_services_help.su_help_title.yml | 21 +++++ ...d.storage.config_pages.su_help_content.yml | 21 +++++ ....storage.config_pages.su_help_subtitle.yml | 19 +++++ ...eld.storage.config_pages.su_help_title.yml | 21 +++++ config/sync/trash.settings.yml | 7 -- config/sync/ultimate_cron.job.trash_cron.yml | 17 ---- config/sync/user.role.site_builder.yml | 2 + config/sync/user.role.site_developer.yml | 2 + config/sync/user.role.site_manager.yml | 5 +- .../sync/views.view.su_block_edit_links.yml | 2 +- stanford_profile.links.menu.yml.bk | 5 ++ 25 files changed, 309 insertions(+), 38 deletions(-) create mode 100644 config/sync/config_pages.type.stanford_web_services_help.yml create mode 100644 config/sync/core.entity_form_display.config_pages.stanford_web_services_help.default.yml create mode 100644 config/sync/core.entity_view_display.config_pages.stanford_web_services_help.default.yml create mode 100644 config/sync/field.field.config_pages.stanford_web_services_help.su_help_content.yml create mode 100644 config/sync/field.field.config_pages.stanford_web_services_help.su_help_subtitle.yml create mode 100644 config/sync/field.field.config_pages.stanford_web_services_help.su_help_title.yml create mode 100644 config/sync/field.storage.config_pages.su_help_content.yml create mode 100644 config/sync/field.storage.config_pages.su_help_subtitle.yml create mode 100644 config/sync/field.storage.config_pages.su_help_title.yml delete mode 100644 config/sync/trash.settings.yml delete mode 100644 config/sync/ultimate_cron.job.trash_cron.yml create mode 100644 stanford_profile.links.menu.yml.bk diff --git a/config/sync/config_pages.type.stanford_web_services_help.yml b/config/sync/config_pages.type.stanford_web_services_help.yml new file mode 100644 index 000000000..62f577763 --- /dev/null +++ b/config/sync/config_pages.type.stanford_web_services_help.yml @@ -0,0 +1,17 @@ +uuid: 289733e9-45e2-493a-bcca-a0c31581b1b8 +langcode: en +status: true +dependencies: { } +id: stanford_web_services_help +label: 'Stanford Web Services Help' +token: false +context: + show_warning: true + group: + language: false + fallback: + language: '' +menu: + path: /admin/stanford/help + weight: 42 + description: '' diff --git a/config/sync/core.entity_form_display.config_pages.stanford_web_services_help.default.yml b/config/sync/core.entity_form_display.config_pages.stanford_web_services_help.default.yml new file mode 100644 index 000000000..a582e452c --- /dev/null +++ b/config/sync/core.entity_form_display.config_pages.stanford_web_services_help.default.yml @@ -0,0 +1,52 @@ +uuid: 90e69869-4a42-4366-9822-90e4a98ec85f +langcode: en +status: true +dependencies: + config: + - config_pages.type.stanford_web_services_help + - field.field.config_pages.stanford_web_services_help.su_help_content + - field.field.config_pages.stanford_web_services_help.su_help_subtitle + - field.field.config_pages.stanford_web_services_help.su_help_title + module: + - paragraphs +id: config_pages.stanford_web_services_help.default +targetEntityType: config_pages +bundle: stanford_web_services_help +mode: default +content: + su_help_content: + type: paragraphs + weight: 2 + region: content + settings: + title: Paragraph + title_plural: Paragraphs + edit_mode: open + closed_mode: summary + autocollapse: none + closed_mode_threshold: 0 + add_mode: dropdown + form_display_mode: default + default_paragraph_type: '' + features: + collapse_edit_all: collapse_edit_all + duplicate: duplicate + third_party_settings: { } + su_help_subtitle: + type: string_textarea + weight: 1 + region: content + settings: + rows: 5 + placeholder: '' + third_party_settings: { } + su_help_title: + type: string_textfield + weight: 0 + region: content + settings: + size: 60 + placeholder: '' + third_party_settings: { } +hidden: + label: true diff --git a/config/sync/core.entity_view_display.config_pages.stanford_web_services_help.default.yml b/config/sync/core.entity_view_display.config_pages.stanford_web_services_help.default.yml new file mode 100644 index 000000000..1d2179548 --- /dev/null +++ b/config/sync/core.entity_view_display.config_pages.stanford_web_services_help.default.yml @@ -0,0 +1,42 @@ +uuid: 5f9ed1c6-e436-4792-bfb9-397747610c36 +langcode: en +status: true +dependencies: + config: + - config_pages.type.stanford_web_services_help + - field.field.config_pages.stanford_web_services_help.su_help_content + - field.field.config_pages.stanford_web_services_help.su_help_subtitle + - field.field.config_pages.stanford_web_services_help.su_help_title + module: + - entity_reference_revisions +id: config_pages.stanford_web_services_help.default +targetEntityType: config_pages +bundle: stanford_web_services_help +mode: default +content: + su_help_content: + type: entity_reference_revisions_entity_view + label: above + settings: + view_mode: default + link: '' + third_party_settings: { } + weight: 2 + region: content + su_help_subtitle: + type: basic_string + label: above + settings: { } + third_party_settings: { } + weight: 1 + region: content + su_help_title: + type: string + label: above + settings: + link_to_entity: false + third_party_settings: { } + weight: 0 + region: content +hidden: + search_api_excerpt: true diff --git a/config/sync/core.extension.yml b/config/sync/core.extension.yml index b71f91f94..59ed57c88 100644 --- a/config/sync/core.extension.yml +++ b/config/sync/core.extension.yml @@ -9,6 +9,7 @@ module: basic_auth: 0 block: 0 block_content: 0 + block_content_permissions: 0 book: 0 breakpoint: 0 change_labels: 0 @@ -217,7 +218,6 @@ module: token: 0 token_or: 0 toolbar: 0 - trash: 0 typed_data: 0 ui_patterns: 0 ui_patterns_ds: 0 diff --git a/config/sync/editor.editor.stanford_html.yml b/config/sync/editor.editor.stanford_html.yml index 8009f78a0..66235ddcd 100644 --- a/config/sync/editor.editor.stanford_html.yml +++ b/config/sync/editor.editor.stanford_html.yml @@ -169,7 +169,7 @@ settings: label: 'Splash Font' element: '

' - - label: 'Quote' + label: 'Quote Text' element: '

' - label: 'Drop Cap First Letter' diff --git a/config/sync/editoria11y.settings.yml b/config/sync/editoria11y.settings.yml index ed41a70c7..946af5d94 100644 --- a/config/sync/editoria11y.settings.yml +++ b/config/sync/editoria11y.settings.yml @@ -15,7 +15,5 @@ shadow_components: '' disable_sync: false preserve_params: '' custom_tests: 0 -disable_live: false -live_h2: 'form[id^="node-"] #edit-body-wrapper .ck-content' ignore_containers: .su-secondary-nav allow_overflow: '' diff --git a/config/sync/field.field.citation.su_article_journal.su_author.yml b/config/sync/field.field.citation.su_article_journal.su_author.yml index d82c9e19e..b8017c53a 100644 --- a/config/sync/field.field.citation.su_article_journal.su_author.yml +++ b/config/sync/field.field.citation.su_article_journal.su_author.yml @@ -92,7 +92,6 @@ settings: field_title_display: before component_layout: default show_component_required_marker: false - flag_required_input: false credentials_inline: false override_format: default field_type: diff --git a/config/sync/field.field.citation.su_article_newspaper.su_author.yml b/config/sync/field.field.citation.su_article_newspaper.su_author.yml index 8b11a4118..0fde9e8c1 100644 --- a/config/sync/field.field.citation.su_article_newspaper.su_author.yml +++ b/config/sync/field.field.citation.su_article_newspaper.su_author.yml @@ -92,7 +92,6 @@ settings: field_title_display: before component_layout: default show_component_required_marker: false - flag_required_input: false credentials_inline: false override_format: default field_type: diff --git a/config/sync/field.field.citation.su_book.su_author.yml b/config/sync/field.field.citation.su_book.su_author.yml index 45208ffe7..aeaea4355 100644 --- a/config/sync/field.field.citation.su_book.su_author.yml +++ b/config/sync/field.field.citation.su_book.su_author.yml @@ -92,7 +92,6 @@ settings: field_title_display: before component_layout: default show_component_required_marker: false - flag_required_input: false credentials_inline: false override_format: default field_type: diff --git a/config/sync/field.field.citation.su_other.su_author.yml b/config/sync/field.field.citation.su_other.su_author.yml index b111ac522..83049212b 100644 --- a/config/sync/field.field.citation.su_other.su_author.yml +++ b/config/sync/field.field.citation.su_other.su_author.yml @@ -92,7 +92,6 @@ settings: field_title_display: before component_layout: default show_component_required_marker: false - flag_required_input: false credentials_inline: false override_format: default field_type: diff --git a/config/sync/field.field.citation.su_thesis.su_author.yml b/config/sync/field.field.citation.su_thesis.su_author.yml index ae2259603..eef6ec9b7 100644 --- a/config/sync/field.field.citation.su_thesis.su_author.yml +++ b/config/sync/field.field.citation.su_thesis.su_author.yml @@ -92,7 +92,6 @@ settings: field_title_display: before component_layout: default show_component_required_marker: false - flag_required_input: false credentials_inline: false override_format: default field_type: diff --git a/config/sync/field.field.config_pages.lockup_settings.su_intro.yml b/config/sync/field.field.config_pages.lockup_settings.su_intro.yml index dd9f479a1..c3b192df6 100644 --- a/config/sync/field.field.config_pages.lockup_settings.su_intro.yml +++ b/config/sync/field.field.config_pages.lockup_settings.su_intro.yml @@ -20,6 +20,6 @@ default_value: default_value_callback: '' settings: markup: - value: '

These branding options are only available on Stanford Basic. Users of the Minimally Branded or Faculty themes should use the default lockup. To determine which lockup is right for your official unity, consult Department Branding section of the Stanford Identity Guide.

This branding will appear in the top left corner of the header section for your site. Separate settings for the lockup at the bottom of your site can be found in the Local Footer settings and will not be affected by changes you make here.

' + value: "

\"\"

\r\n\r\n

These lockup options are only available on Stanford Basic. Users of the Minimally Branded or Faculty themes should use the default lockup. To determine which lockup is right for your official unity, consult the Stanford Identity Guide.

\r\n\r\n

This lockup will appear in the top left corner of the website's main header. Separate settings for the lockup at the bottom of your site can be found in the Local Footer settings and will not be affected by changes you make here.

\r\n
" format: stanford_html field_type: markup diff --git a/config/sync/field.field.config_pages.stanford_web_services_help.su_help_content.yml b/config/sync/field.field.config_pages.stanford_web_services_help.su_help_content.yml new file mode 100644 index 000000000..f4c546fb7 --- /dev/null +++ b/config/sync/field.field.config_pages.stanford_web_services_help.su_help_content.yml @@ -0,0 +1,82 @@ +uuid: 5ef2f2e7-a1ed-42b1-8bf7-f04b743bc2d5 +langcode: en +status: true +dependencies: + config: + - config_pages.type.stanford_web_services_help + - field.storage.config_pages.su_help_content + - paragraphs.paragraphs_type.stanford_accordion + - paragraphs.paragraphs_type.stanford_card + - paragraphs.paragraphs_type.stanford_faq + - paragraphs.paragraphs_type.stanford_layout + - paragraphs.paragraphs_type.stanford_lists + - paragraphs.paragraphs_type.stanford_media_caption + - paragraphs.paragraphs_type.stanford_wysiwyg + module: + - entity_reference_revisions +id: config_pages.stanford_web_services_help.su_help_content +field_name: su_help_content +entity_type: config_pages +bundle: stanford_web_services_help +label: 'Help Content' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: + handler: 'default:paragraph' + handler_settings: + target_bundles: + stanford_accordion: stanford_accordion + stanford_card: stanford_card + stanford_faq: stanford_faq + stanford_layout: stanford_layout + stanford_lists: stanford_lists + stanford_media_caption: stanford_media_caption + stanford_wysiwyg: stanford_wysiwyg + negate: 0 + target_bundles_drag_drop: + stanford_accordion: + weight: 15 + enabled: true + stanford_banner: + weight: 16 + enabled: false + stanford_card: + weight: 17 + enabled: true + stanford_entity: + weight: 18 + enabled: false + stanford_faq: + weight: 19 + enabled: true + stanford_gallery: + weight: 20 + enabled: false + stanford_layout: + weight: 21 + enabled: true + stanford_lists: + weight: 22 + enabled: true + stanford_media_caption: + weight: 23 + enabled: true + stanford_page_title_banner: + weight: 24 + enabled: false + stanford_person_cta: + weight: 25 + enabled: false + stanford_schedule: + weight: 26 + enabled: false + stanford_spacer: + weight: 27 + enabled: false + stanford_wysiwyg: + weight: 28 + enabled: true +field_type: entity_reference_revisions diff --git a/config/sync/field.field.config_pages.stanford_web_services_help.su_help_subtitle.yml b/config/sync/field.field.config_pages.stanford_web_services_help.su_help_subtitle.yml new file mode 100644 index 000000000..fbf672b81 --- /dev/null +++ b/config/sync/field.field.config_pages.stanford_web_services_help.su_help_subtitle.yml @@ -0,0 +1,19 @@ +uuid: 56475463-853c-4349-96ce-67d164f56677 +langcode: en +status: true +dependencies: + config: + - config_pages.type.stanford_web_services_help + - field.storage.config_pages.su_help_subtitle +id: config_pages.stanford_web_services_help.su_help_subtitle +field_name: su_help_subtitle +entity_type: config_pages +bundle: stanford_web_services_help +label: 'Help Subtitle' +description: '' +required: false +translatable: false +default_value: { } +default_value_callback: '' +settings: { } +field_type: string_long diff --git a/config/sync/field.field.config_pages.stanford_web_services_help.su_help_title.yml b/config/sync/field.field.config_pages.stanford_web_services_help.su_help_title.yml new file mode 100644 index 000000000..c7b47d7e9 --- /dev/null +++ b/config/sync/field.field.config_pages.stanford_web_services_help.su_help_title.yml @@ -0,0 +1,21 @@ +uuid: e398d108-da2a-4d4f-9466-a98fda186f0c +langcode: en +status: true +dependencies: + config: + - config_pages.type.stanford_web_services_help + - field.storage.config_pages.su_help_title +id: config_pages.stanford_web_services_help.su_help_title +field_name: su_help_title +entity_type: config_pages +bundle: stanford_web_services_help +label: 'Help Title' +description: '' +required: true +translatable: false +default_value: + - + value: 'Getting Started' +default_value_callback: '' +settings: { } +field_type: string diff --git a/config/sync/field.storage.config_pages.su_help_content.yml b/config/sync/field.storage.config_pages.su_help_content.yml new file mode 100644 index 000000000..cabe34330 --- /dev/null +++ b/config/sync/field.storage.config_pages.su_help_content.yml @@ -0,0 +1,21 @@ +uuid: ccaf38c0-e210-456b-b544-bea01afeb60c +langcode: en +status: true +dependencies: + module: + - config_pages + - entity_reference_revisions + - paragraphs +id: config_pages.su_help_content +field_name: su_help_content +entity_type: config_pages +type: entity_reference_revisions +settings: + target_type: paragraph +module: entity_reference_revisions +locked: false +cardinality: -1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.config_pages.su_help_subtitle.yml b/config/sync/field.storage.config_pages.su_help_subtitle.yml new file mode 100644 index 000000000..66bec59ed --- /dev/null +++ b/config/sync/field.storage.config_pages.su_help_subtitle.yml @@ -0,0 +1,19 @@ +uuid: c2df30b0-8bed-44f4-83e4-ac0761de9435 +langcode: en +status: true +dependencies: + module: + - config_pages +id: config_pages.su_help_subtitle +field_name: su_help_subtitle +entity_type: config_pages +type: string_long +settings: + case_sensitive: false +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/field.storage.config_pages.su_help_title.yml b/config/sync/field.storage.config_pages.su_help_title.yml new file mode 100644 index 000000000..f3de2c559 --- /dev/null +++ b/config/sync/field.storage.config_pages.su_help_title.yml @@ -0,0 +1,21 @@ +uuid: b094e6e7-9b69-46fe-8414-7722bef74dc7 +langcode: en +status: true +dependencies: + module: + - config_pages +id: config_pages.su_help_title +field_name: su_help_title +entity_type: config_pages +type: string +settings: + max_length: 255 + case_sensitive: false + is_ascii: false +module: core +locked: false +cardinality: 1 +translatable: true +indexes: { } +persist_with_no_fields: false +custom_storage: false diff --git a/config/sync/trash.settings.yml b/config/sync/trash.settings.yml deleted file mode 100644 index 4c14eb64c..000000000 --- a/config/sync/trash.settings.yml +++ /dev/null @@ -1,7 +0,0 @@ -_core: - default_config_hash: 6RYN2q1x9xeZY4gCN37ZqpEgHrLUQKEscWRd9UovdL0 -enabled_entity_types: - node: { } -auto_purge: - enabled: true - after: '30 days' diff --git a/config/sync/ultimate_cron.job.trash_cron.yml b/config/sync/ultimate_cron.job.trash_cron.yml deleted file mode 100644 index ce1fa1d3b..000000000 --- a/config/sync/ultimate_cron.job.trash_cron.yml +++ /dev/null @@ -1,17 +0,0 @@ -uuid: e669d5e4-9136-4ade-8b67-12e03ee08043 -langcode: en -status: true -dependencies: - module: - - trash -title: 'Default cron handler' -id: trash_cron -weight: 0 -module: trash -callback: 'trash#cron' -scheduler: - id: simple -launcher: - id: serial -logger: - id: database diff --git a/config/sync/user.role.site_builder.yml b/config/sync/user.role.site_builder.yml index 7331aa42b..54717889c 100644 --- a/config/sync/user.role.site_builder.yml +++ b/config/sync/user.role.site_builder.yml @@ -37,6 +37,7 @@ dependencies: module: - block - block_content + - block_content_permissions - book - config_pages - content_lock @@ -316,6 +317,7 @@ permissions: - 'select account cancellation method' - 'switch shortcut sets' - 'update any media' + - 'update any stanford_component_block block content' - 'update media' - 'use text format stanford_html' - 'use text format stanford_minimal_html' diff --git a/config/sync/user.role.site_developer.yml b/config/sync/user.role.site_developer.yml index c68965911..382298a0c 100644 --- a/config/sync/user.role.site_developer.yml +++ b/config/sync/user.role.site_developer.yml @@ -38,6 +38,7 @@ dependencies: - auto_entitylabel - block - block_content + - block_content_permissions - book - config_pages - content_lock @@ -360,6 +361,7 @@ permissions: - 'select account cancellation method' - 'switch shortcut sets' - 'update any media' + - 'update any stanford_component_block block content' - 'update media' - 'use text format stanford_html' - 'use text format stanford_minimal_html' diff --git a/config/sync/user.role.site_manager.yml b/config/sync/user.role.site_manager.yml index 3e65ecd83..f01525c34 100644 --- a/config/sync/user.role.site_manager.yml +++ b/config/sync/user.role.site_manager.yml @@ -3,7 +3,6 @@ langcode: en status: true dependencies: config: - - block_content.type.stanford_component_block - filter.format.stanford_html - filter.format.stanford_minimal_html - media.type.embeddable @@ -29,7 +28,7 @@ dependencies: - taxonomy.vocabulary.stanford_publication_topics - taxonomy.vocabulary.su_shared_tags module: - - block_content + - block_content_permissions - book - config_pages - content_lock @@ -177,7 +176,6 @@ permissions: - 'edit any file media' - 'edit any google_form media' - 'edit any image media' - - 'edit any stanford_component_block block content' - 'edit any stanford_course content' - 'edit any stanford_event content' - 'edit any stanford_event_series content' @@ -242,6 +240,7 @@ permissions: - 'revert stanford_publication revisions' - 'schedule publishing of nodes' - 'update any media' + - 'update any stanford_component_block block content' - 'update media' - 'use text format stanford_html' - 'use text format stanford_minimal_html' diff --git a/config/sync/views.view.su_block_edit_links.yml b/config/sync/views.view.su_block_edit_links.yml index 450d65bf4..453b233f6 100644 --- a/config/sync/views.view.su_block_edit_links.yml +++ b/config/sync/views.view.su_block_edit_links.yml @@ -92,7 +92,7 @@ display: access: type: perm options: - perm: 'edit any stanford_component_block block content' + perm: 'update any stanford_component_block block content' cache: type: tag options: { } diff --git a/stanford_profile.links.menu.yml.bk b/stanford_profile.links.menu.yml.bk new file mode 100644 index 000000000..3617cfaa6 --- /dev/null +++ b/stanford_profile.links.menu.yml.bk @@ -0,0 +1,5 @@ +stanford_profile.admin: + title: "SWS Help" + parent: system.admin_config + route_name: stanford_profile.sws_help + weight: 100