Skip to content

Commit

Permalink
Merge branch '11.x' of https://github.com/SU-SWS/stanford_profile int…
Browse files Browse the repository at this point in the history
…o 11.x
  • Loading branch information
pookmish committed Mar 11, 2024
2 parents 5789159 + 3b795e1 commit 7ce27bf
Show file tree
Hide file tree
Showing 44 changed files with 14,501 additions and 9,286 deletions.
8 changes: 7 additions & 1 deletion config/sync/block.block.claro_page_title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ uuid: 7695e8e8-305e-4e3e-b5d5-e2885539e8c5
langcode: en
status: true
dependencies:
module:
- system
theme:
- claro
_core:
Expand All @@ -17,4 +19,8 @@ settings:
label: 'Page title'
label_display: '0'
provider: core
visibility: { }
visibility:
request_path:
id: request_path
negate: true
pages: /user/login
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ visibility:
id: request_path
negate: true
context_mapping: { }
pages: "/node/*\r\n/news*\r\n/people*\r\n/events*\r\n/event-series*\r\n/publications*\r\n/courses*"
pages: "/node/*\r\n/news*\r\n/people*\r\n/events*\r\n/event-series*\r\n/publications*\r\n/courses*\r\n/user/login"
response_code:
id: response_code
negate: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ uuid: bcb0e656-856b-452d-9fb0-bf54090db73c
langcode: en
status: true
dependencies:
module:
- system
theme:
- stanford_profile_admin_theme
_core:
Expand All @@ -17,4 +19,8 @@ settings:
label: 'Page title'
label_display: '0'
provider: core
visibility: { }
visibility:
request_path:
id: request_path
negate: true
pages: /user/login
2 changes: 1 addition & 1 deletion config/sync/colorbox.settings.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
_core:
default_config_hash: GXgpFNb8H7n-27gImTB9s1A2lE-lmH43d6qf2KMYp_A
dompurify_hide_warning: false
dompurify_hide_warning: true
custom:
style: default
activate: 1
Expand Down
8 changes: 8 additions & 0 deletions config/sync/config_pages.type.stanford_saml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ third_party_settings:
column: value
config_name: stanford_samlauth.settings
config_item: allowed.affiliations
a2134b74-d1d3-464c-b4a6-88045d6edb91:
field: su_saml_role_eval
delta: 0
column: value
config_name: stanford_samlauth.settings
config_item: role_mapping.reevaluate
prefix: ''
suffix: ''
id: stanford_saml
label: SAML
token: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ dependencies:
- field.field.config_pages.stanford_basic_site_settings.su_site_algolia_index
- field.field.config_pages.stanford_basic_site_settings.su_site_algolia_key
- field.field.config_pages.stanford_basic_site_settings.su_site_algolia_search
- field.field.config_pages.stanford_basic_site_settings.su_site_algolia_ui
- field.field.config_pages.stanford_basic_site_settings.su_site_dropdowns
- field.field.config_pages.stanford_basic_site_settings.su_site_email
- field.field.config_pages.stanford_basic_site_settings.su_site_home
Expand Down Expand Up @@ -119,6 +120,7 @@ third_party_settings:
- su_hide_site_search
- su_site_nobots
- su_site_algolia
- su_site_algolia_ui
- su_site_algolia_id
- su_site_algolia_key
- su_site_algolia_search
Expand Down Expand Up @@ -200,43 +202,50 @@ content:
third_party_settings: { }
su_site_algolia_file:
type: file_generic
weight: 14
weight: 15
region: content
settings:
progress_indicator: throbber
third_party_settings: { }
su_site_algolia_id:
type: string_textfield
weight: 10
weight: 11
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
su_site_algolia_index:
type: string_textfield
weight: 13
weight: 14
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
su_site_algolia_key:
type: string_textfield
weight: 11
weight: 12
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
su_site_algolia_search:
type: string_textfield
weight: 12
weight: 13
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
su_site_algolia_ui:
type: boolean_checkbox
weight: 10
region: content
settings:
display_label: true
third_party_settings: { }
su_site_dropdowns:
type: boolean_checkbox
weight: 5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ status: true
dependencies:
config:
- config_pages.type.stanford_saml
- field.field.config_pages.stanford_saml.su_saml_role_eval
- field.field.config_pages.stanford_saml.su_simplesaml_affil
- field.field.config_pages.stanford_saml.su_simplesaml_allowed
- field.field.config_pages.stanford_saml.su_simplesaml_roles
Expand All @@ -21,7 +22,7 @@ third_party_settings:
label: 'Login Restrictions'
region: content
parent_name: ''
weight: 1
weight: 2
format_type: details
format_settings:
classes: ''
Expand All @@ -34,6 +35,12 @@ targetEntityType: config_pages
bundle: stanford_saml
mode: default
content:
su_saml_role_eval:
type: options_buttons
weight: 1
region: content
settings: { }
third_party_settings: { }
su_simplesaml_affil:
type: options_select
weight: 4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,3 +254,4 @@ content:
region: content
hidden:
search_api_excerpt: true
su_site_algolia_ui: true
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ status: true
dependencies:
config:
- config_pages.type.stanford_saml
- field.field.config_pages.stanford_saml.su_saml_role_eval
- field.field.config_pages.stanford_saml.su_simplesaml_affil
- field.field.config_pages.stanford_saml.su_simplesaml_allowed
- field.field.config_pages.stanford_saml.su_simplesaml_roles
Expand All @@ -15,6 +16,13 @@ targetEntityType: config_pages
bundle: stanford_saml
mode: default
content:
su_saml_role_eval:
type: list_default
label: above
settings: { }
third_party_settings: { }
weight: 4
region: content
su_simplesaml_affil:
type: list_default
label: above
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,14 @@ third_party_settings:
card_image:
- su_page_banner
- su_page_image
card_super_headline:
- su_basic_page_type
card_headline:
- node_title
card_body:
- su_page_description
fields:
node_title:
plugin_id: node_title
weight: 3
weight: 2
label: hidden
formatter: default
settings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ dependencies:
- field.field.node.stanford_page.su_shared_tags
- node.type.stanford_page
module:
- cshs
- ds
- entity_reference_revisions
- field_formatter_class
Expand All @@ -39,15 +38,13 @@ third_party_settings:
card_image:
- su_page_banner
- su_page_image
card_super_headline:
- su_basic_page_type
card_body:
- node_title
- su_page_description
fields:
node_title:
plugin_id: node_title
weight: 3
weight: 2
label: hidden
formatter: default
settings:
Expand All @@ -64,17 +61,6 @@ targetEntityType: node
bundle: stanford_page
mode: stanford_h3_card
content:
su_basic_page_type:
type: cshs_flexible_hierarchy
label: above
settings:
linked: false
reverse: false
format: '[term:name]'
clear: true
third_party_settings: { }
weight: 2
region: card_super_headline
su_page_banner:
type: entity_reference_revisions_entity_view
label: hidden
Expand All @@ -94,7 +80,7 @@ content:
third_party_settings:
field_formatter_class:
class: su-basic-page-types__description
weight: 4
weight: 3
region: card_body
su_page_image:
type: media_multimedia_formatter
Expand Down Expand Up @@ -124,6 +110,7 @@ hidden:
links: true
search_api_excerpt: true
stanford_intranet__access: true
su_basic_page_type: true
su_metatags: true
su_page_components: true
su_shared_tags: true
1 change: 0 additions & 1 deletion config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ module:
components: 0
conditional_fields: 0
config: 0
config_filter: 0
config_ignore: 0
config_pages: 0
config_readonly: 0
Expand Down
16 changes: 12 additions & 4 deletions config/sync/editoria11y.settings.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
_core:
default_config_hash: 8d0nv-vvXs9MZkqD1mhxm8mPeF4yF9fqLLIcVp4cnLQ
content_root: '#page-content'
assertiveness: smart
content_root: '#page-content, .block-config-pages-super-footer, .ds-entity--stanford-local-footer'
assertiveness: assertive
no_load: ''
embedded_content_warning: ''
ignore_all_if_absent: ''
ignore_elements: nav
embedded_content_warning: .media.embeddable
download_links: ''
ignore_link_strings: ''
link_ignore_selector: 'svg.ext, svg.mailto, .link-purpose-text'
hidden_handlers: ''
ed11y_theme: sleekTheme
shadow_components: ''
disable_sync: false
preserve_params: ''
custom_tests: 0
ignore_containers: .su-secondary-nav
allow_overflow: ''
link_ignore_selector: 'svg.ext, svg.mailto, .link-purpose-text'
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ id: config_pages.stanford_basic_site_settings.su_site_algolia
field_name: su_site_algolia
entity_type: config_pages
bundle: stanford_basic_site_settings
label: 'Use Algolia'
description: ''
label: 'Index Content with Algolia'
description: 'Send content data to Algolia using the configured credentials below.'
required: false
translatable: false
default_value: { }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ field_name: su_site_algolia_index
entity_type: config_pages
bundle: stanford_basic_site_settings
label: 'Algolia Search Index'
description: ''
description: 'Algolia index machine name. This can be found at the top of the Algolia UI when on the "Search" configuration page.'
required: false
translatable: false
default_value: { }
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
uuid: ec46c75b-d6eb-4675-9e28-9142830375ce
langcode: en
status: true
dependencies:
config:
- config_pages.type.stanford_basic_site_settings
- field.storage.config_pages.su_site_algolia_ui
id: config_pages.stanford_basic_site_settings.su_site_algolia_ui
field_name: su_site_algolia_ui
entity_type: config_pages
bundle: stanford_basic_site_settings
label: 'Algolia Searching UI'
description: 'Enable Algolia searching on the <a href="/search">search page</a>.'
required: false
translatable: false
default_value: { }
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
uuid: d8903c97-ecd6-4320-bcb9-581edb921860
langcode: en
status: true
dependencies:
config:
- config_pages.type.stanford_saml
- field.storage.config_pages.su_saml_role_eval
module:
- options
id: config_pages.stanford_saml.su_saml_role_eval
field_name: su_saml_role_eval
entity_type: config_pages
bundle: stanford_saml
label: 'Reevaluate roles when the user logs in'
description: ''
required: true
translatable: false
default_value:
-
value: new
default_value_callback: ''
settings: { }
field_type: list_string
Loading

0 comments on commit 7ce27bf

Please sign in to comment.