Skip to content

Commit

Permalink
Release 11.1.2 (#115)
Browse files Browse the repository at this point in the history
* Enabled spotlight content access via JSON API

* tests

* updated github workflow

* upstream updates

* updated configs

* drozone update

* locked dropzone

* added new modules

* Added publishing date to spotlights page.

* updated subtheme test

* updated spotlight display

* Added stanford_syndication module
  • Loading branch information
imonroe authored Mar 6, 2024
1 parent 58c7cac commit 297a5d9
Show file tree
Hide file tree
Showing 215 changed files with 12,340 additions and 3,960 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
pr-labeler:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: codelytv/pr-size-labeler@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- 33306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: project
- name: Build project
Expand All @@ -31,7 +31,7 @@ jobs:
composer global require su-sws/stanford-caravan:10.x-dev
~/.config/composer/vendor/bin/sws-caravan phpunit /var/www/html --extension-dir=$GITHUB_WORKSPACE/project
- name: Save Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure()
with:
name: unit-tests-results
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- 33306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: project
- name: Run tests
Expand All @@ -69,7 +69,7 @@ jobs:
composer global require su-sws/stanford-caravan:10.x-dev
~/.config/composer/vendor/bin/sws-caravan codeception /var/www/html --extension-dir=$GITHUB_WORKSPACE/project --suites=acceptance
- name: Save Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: acceptance-tests-results
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
- 33306:3306
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
path: project
- name: Run tests
Expand All @@ -110,7 +110,7 @@ jobs:
composer global require su-sws/stanford-caravan:10.x-dev
~/.config/composer/vendor/bin/sws-caravan codeception /var/www/html --extension-dir=$GITHUB_WORKSPACE/project --suites=functional
- name: Save Test Results
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: always()
with:
name: functional-tests-results
Expand Down
7 changes: 6 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"drupal/display_field_copy": "^2.0.",
"drupal/domain_301_redirect": "^2.0",
"drupal/ds": "^3.3",
"drupal/dropzonejs": "2.8",
"drupal/editoria11y": "^2.0",
"drupal/element_class_formatter": "^2.0@beta",
"drupal/encrypt": "^3.0",
Expand All @@ -77,6 +78,7 @@
"drupal/field_encrypt": "^3.0",
"drupal/field_formatter_class": "^1.5",
"drupal/field_group": "^3.0@rc",
"drupal/field_label": "^1.4",
"drupal/field_permissions": "^1.0@RC",
"drupal/field_validation": "^1.0-alpha",
"drupal/file_mdm": "^2.4 || ^3.0",
Expand All @@ -87,6 +89,7 @@
"drupal/graphql_compose": "^2.0",
"drupal/hook_event_dispatcher": "^4.0@beta",
"drupal/image_effects": "^3.2",
"drupal/imagecache_external": "^3.0",
"drupal/imagemagick": "^3.1",
"drupal/jquery_ui_draggable": "^2.0",
"drupal/jsonapi_extras": "^3.20",
Expand Down Expand Up @@ -166,7 +169,8 @@
"su-sws/stanford_media": "^11.0",
"su-sws/stanford_migrate": "^8.3",
"su-sws/stanford_profile_helper": "9.x-dev",
"su-sws/stanford_samlauth": "^1.0"
"su-sws/stanford_samlauth": "^1.0",
"su-sws/stanford_syndication": "^1.0"
},
"config": {
"sort-packages": true
Expand Down Expand Up @@ -205,4 +209,5 @@
}
}
}

}
34 changes: 34 additions & 0 deletions config/sync/block.block.claro_saml.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
uuid: fd0a976c-de2d-48ae-a691-642daaab9e88
langcode: en
status: true
dependencies:
module:
- stanford_samlauth
- system
- user
theme:
- claro
id: claro_saml
theme: claro
region: header
weight: 0
provider: null
plugin: stanford_samlauth_login_block
settings:
id: stanford_samlauth_login_block
label: 'SAML SUNetID Block'
label_display: '0'
provider: stanford_samlauth
link_text: 'SUNetID Login'
visibility:
request_path:
id: request_path
negate: true
pages: '/user/*'
user_role:
id: user_role
negate: false
context_mapping:
user: '@user.current_user_context:current_user'
roles:
anonymous: anonymous
2 changes: 1 addition & 1 deletion config/sync/block.block.stanford_basic_pagetitle.yml
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
4 changes: 2 additions & 2 deletions config/sync/block.block.stanford_profile_admin_theme_help.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
uuid: fc161856-2f89-48df-9a41-45dd069327fa
uuid: f47eb930-9278-48a7-9281-526881933312
langcode: en
status: true
dependencies:
Expand All @@ -7,7 +7,7 @@ dependencies:
theme:
- stanford_profile_admin_theme
_core:
default_config_hash: BCXUdXEBGKejTQMlsiSJNsZCT7gJxBhivHOK_fAJAig
default_config_hash: dG9OciTVvWopPKuUXP5eMez2i2tr7byANDwzSzokkF4
id: stanford_profile_admin_theme_help
theme: stanford_profile_admin_theme
region: help
Expand Down
34 changes: 34 additions & 0 deletions config/sync/block.block.stanford_profile_admin_theme_saml.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
uuid: 76952091-0758-46c3-b10a-8b61849bc812
langcode: en
status: true
dependencies:
module:
- stanford_samlauth
- system
- user
theme:
- stanford_profile_admin_theme
id: stanford_profile_admin_theme_saml
theme: stanford_profile_admin_theme
region: header
weight: 0
provider: null
plugin: stanford_samlauth_login_block
settings:
id: stanford_samlauth_login_block
label: 'SAML SUNetID Block'
label_display: '0'
provider: stanford_samlauth
link_text: 'SUNetID Login'
visibility:
request_path:
id: request_path
negate: true
pages: '/user/*'
user_role:
id: user_role
negate: false
context_mapping:
user: '@user.current_user_context:current_user'
roles:
anonymous: anonymous
40 changes: 40 additions & 0 deletions config/sync/config_pages.type.stanford_basic_site_settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,46 @@ third_party_settings:
config_item: settings.depth
prefix: ''
suffix: ''
c4beaf76-95bc-43de-a5b8-dc94351690ae:
field: su_site_algolia
delta: 0
column: value
config_name: search_api.server.algolia_search
config_item: status
prefix: ''
suffix: ''
06ad5b8d-698a-4c3b-a217-b71f986255ad:
field: su_site_algolia
delta: 0
column: value
config_name: search_api.index.algolia_search
config_item: status
prefix: ''
suffix: ''
b130f719-a257-4303-88b8-a20cfd06a4d7:
field: su_site_algolia_id
delta: 0
column: value
config_name: search_api.server.algolia_search
config_item: backend_config.application_id
prefix: ''
suffix: ''
bedb41db-a366-4e0e-a5c1-1dc6b39b76c3:
field: su_site_algolia_key
delta: 0
column: value
config_name: search_api.server.algolia_search
config_item: backend_config.api_key
prefix: ''
suffix: ''
b8e438b9-828c-41e2-bbfb-84c5a9c61637:
field: su_site_algolia_index
delta: 0
column: value
config_name: search_api.index.algolia_search
config_item: options.algolia_index_name
prefix: ''
suffix: ''
id: stanford_basic_site_settings
label: 'Site Settings'
token: null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ dependencies:
- field.field.config_pages.stanford_basic_site_settings.su_site_404
- field.field.config_pages.stanford_basic_site_settings.su_site_a11y_contact
- field.field.config_pages.stanford_basic_site_settings.su_site_admin_notes
- field.field.config_pages.stanford_basic_site_settings.su_site_algolia
- field.field.config_pages.stanford_basic_site_settings.su_site_algolia_file
- field.field.config_pages.stanford_basic_site_settings.su_site_algolia_id
- 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_dropdowns
- field.field.config_pages.stanford_basic_site_settings.su_site_email
- field.field.config_pages.stanford_basic_site_settings.su_site_home
Expand All @@ -28,6 +34,7 @@ dependencies:
- conditional_fields
- cshs
- field_group
- file
- link
- text
third_party_settings:
Expand Down Expand Up @@ -163,6 +170,52 @@ content:
rows: 5
placeholder: ''
third_party_settings: { }
su_site_algolia:
type: boolean_checkbox
weight: 9
region: content
settings:
display_label: true
third_party_settings: { }
su_site_algolia_file:
type: file_generic
weight: 14
region: content
settings:
progress_indicator: throbber
third_party_settings: { }
su_site_algolia_id:
type: string_textfield
weight: 10
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
su_site_algolia_index:
type: string_textfield
weight: 13
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
su_site_algolia_key:
type: string_textfield
weight: 11
region: content
settings:
size: 60
placeholder: ''
third_party_settings: { }
su_site_algolia_search:
type: string_textfield
weight: 12
region: content
settings:
size: 60
placeholder: ''
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 @@ -383,6 +383,7 @@ hidden:
path: true
promote: true
sticky: true
su_event_ext_image: true
uid: true
unpublish_on: true
url_redirects: true
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ dependencies:
- field.field.config_pages.stanford_basic_site_settings.su_site_404
- field.field.config_pages.stanford_basic_site_settings.su_site_a11y_contact
- field.field.config_pages.stanford_basic_site_settings.su_site_admin_notes
- field.field.config_pages.stanford_basic_site_settings.su_site_algolia
- field.field.config_pages.stanford_basic_site_settings.su_site_algolia_file
- field.field.config_pages.stanford_basic_site_settings.su_site_algolia_id
- 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_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 @@ -90,6 +96,56 @@ content:
third_party_settings: { }
weight: 13
region: content
su_site_algolia:
type: boolean
label: above
settings:
format: default
format_custom_false: ''
format_custom_true: ''
third_party_settings: { }
weight: 19
region: content
su_site_algolia_file:
type: file_default
label: above
settings:
use_description_as_link_text: true
third_party_settings: { }
weight: 24
region: content
su_site_algolia_id:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 20
region: content
su_site_algolia_index:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 22
region: content
su_site_algolia_key:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 21
region: content
su_site_algolia_search:
type: string
label: above
settings:
link_to_entity: false
third_party_settings: { }
weight: 23
region: content
su_site_dropdowns:
type: boolean
label: above
Expand Down
Loading

0 comments on commit 297a5d9

Please sign in to comment.