Skip to content

Commit

Permalink
Stories updates (#105)
Browse files Browse the repository at this point in the history
Co-authored-by: Mike Decker <pookmish@gmail.com>
Co-authored-by: sws-developers@lists.stanford.edu <CircleCI>
Co-authored-by: Jen Breese <jbreese@stanford.edu>
  • Loading branch information
3 people authored May 25, 2023
1 parent 6d53be0 commit f470740
Show file tree
Hide file tree
Showing 68 changed files with 20,280 additions and 11,683 deletions.
6 changes: 3 additions & 3 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ checks:
enabled: false
method-complexity:
config:
threshold: 15
threshold: 20

plugins:
# https://docs.codeclimate.com/docs/eslint
Expand Down Expand Up @@ -84,8 +84,8 @@ plugins:
# https://docs.codeclimate.com/docs/duplication
duplication:
enabled: true
# exclude_paths:
# - examples/
exclude_paths:
- themes
config:
languages:
javascript:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Coverage and Acceptance Tests
name: PHPUnit and Acceptance Tests
on: [push]
jobs:
phpunit:
name: PHPUnit and Coverage Tests
name: PHPUnit Tests
runs-on: ubuntu-latest
container:
image: pookmish/drupal8ci:latest
Expand Down
54 changes: 54 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,60 @@ _Release Date: 2022-05-22_
--------------------------------------------------------------------------------
_Release Date: 2022-05-12_

9.1.3
--------------------------------------------------------------------------------
_Release Date: 2022-08-22_

- Fixed courses field widget with view query parameter.

9.2.0
--------------------------------------------------------------------------------
_Release Date: 2022-10-25_

- D8CORE-6347 Show body summary and add help text
- D8CORE-6346 Reorder form fields and add help text
- Added and adjusted printable view mode for policies
- Prepend "Canceled" to canceled events
- D8CORE-6237: Corrected courses migration (#638)
- D8CORE-6330: moved the back and forward button for mobile (#636)
- Moved modules into consolidated repo location for stanford_profile_helper (#637)
- Added update hook to make deployment smoother
- D8CORE-6329: unique ids for prev/next buttons (#635)
- D8CORE-6327: fix to the policy related cards for mobile (#634)
- D8CORE-6323: adding styling for change log block anywhere (#633)
- D8CORE-6325 Set the active item on book side navigation (#632)
- D8CORE-3498: Added additional contact information field for events (#631)
- D8CORE-6304: layout and style set up for Policy (#628)
- D8CORE-6251: Added a toggle in the theme to turn off the external links (#623)
- D8CORE-6304: adding the logo for the print function on policy (#625)
- Added Fast 404 module (#630)
- D8CORE-6315 Remove duplicate "All" publication menu link
- Apply chosen to related policy field
- D8CORE-6312 Fix node title not reflecting the changes (#629)
- D8CORE-5250 Add "Last Updated" to search results items (#619)
- Modify directory permissions when copying the file during install (#626)
- Added view to display policy child pages (#624)
- D8CORE-6288 Policy content type (#617)
- D8CORE-6247 Add "Code" to WYSIWYG Style dropdown
- D8CORE-6242 D8CORE-4977 D8CORE-6055 Improve people lists and add pronoun field (#615)
- Disable confirm-leave js on CI environments
- D8CORE-6244: fixing float with a clear (#614)
- D8CORE-4363: Sjpw images in cards at all breakpoint (#610)
- D8CORE-6235 Fix "Save and Import" on importer forms. (#613)
- D8CORE-6058 Adjust, improve, and add metatags for content (#608)
- D8CORE-6217 Allow configuring maximum main menu depth (#611)
- D8CORE-5825 Add taxonomy field to media types for categorization (#609)
- D8CORE-6245: fix to the transparent localist event link (#612)
- D8CORE-6224 Added localist bookmark url for importer (#607)
- D8CORE-5955: Added journal publisher field, updated publisher label. (#602)
- D8CORE-5656 D8CORE-6215 D8CORE-6048 Adjustments to people node form and views (#606)

9.1.3
--------------------------------------------------------------------------------
_Release Date: 2022-08-22_

- Fixed courses field widget with view query parameter.

9.1.2
--------------------------------------------------------------------------------
_Release Date: 2022-08-15_
Expand Down
25 changes: 20 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,6 @@
}
],
"require": {
"drupal/memcache": "^2.3",
"drupal/typogrify": "^1.1",
"drupal/views_autosubmit": "^1.4",
"drupal/views_data_export": "^1.0",
"ext-imagick": "*",
"acquia/drupal-environment-detector": "^1.0",
"citation-style-language/locales": "1.0.0",
Expand All @@ -116,11 +112,13 @@
"ckeditor-plugin/fakeobjects": "^4.14.0",
"ckeditor-plugin/link": "^4.14.0",
"composer/installers": ">=1.2",
"drupal/acquia_purge": "^1.1",
"drupal/address": "^1.2",
"drupal/admin_toolbar": "^3.1",
"drupal/allowed_formats": "^1.1",
"drupal/anchor_link": "^2.5",
"drupal/auto_entitylabel": "^3.0@beta",
"drupal/autoservices": "^1.0",
"drupal/block_content_permissions": "^1.8",
"drupal/change_labels": "^1.0",
"drupal/chosen": "^3.0",
Expand Down Expand Up @@ -182,6 +180,7 @@
"drupal/linkit": "^6.0",
"drupal/markup": "^1.0",
"drupal/mathjax": "^3.0",
"drupal/memcache": "^2.3",
"drupal/menu_admin_per_menu": "^1.0",
"drupal/menu_block": "dev-1.x#567becffbb0589e824fb053f15fb38a5846e7276",
"drupal/menu_link_weight": "^1.0-beta3",
Expand Down Expand Up @@ -213,13 +212,16 @@
"drupal/taxonomy_menu": "^3.5",
"drupal/token_or": "^2.0",
"drupal/transliterate_filenames": "^2.0",
"drupal/typogrify": "^1.1",
"drupal/ui_patterns": "^1.0",
"drupal/view_unpublished": "^1.0",
"drupal/viewfield": "^3.0@beta",
"drupal/views_autosubmit": "^1.4",
"drupal/views_block_filter_block": "^1.0@beta",
"drupal/views_bulk_edit": "^2.6",
"drupal/views_contextual_filters_or": "^1.3",
"drupal/views_custom_cache_tag": "^1.2",
"drupal/views_data_export": "^1.0",
"drupal/views_infinite_scroll": "^2.0",
"drupal/views_taxonomy_term_name_depth": "^7.0",
"drupal/webp": "^1.0@beta",
Expand All @@ -240,8 +242,21 @@
"sort-packages": true,
"preferred-install": {
"drupal/printable": "source"
},
"allow-plugins": {
"composer/installers": true,
"cweagans/composer-patches": true,
"davidbarratt/custom-installer": true,
"simplesamlphp/composer-module-installer": true
}
},
"conflict": {
"drupal/core": ">=9.5.0",
"drupal/core-dev": ">=9.5.0",
"drupal/core-composer-scaffold": ">=9.5.0",
"symfony/string": ">=6.0",
"drupal/real_aes": ">=2.5"
},
"autoload": {
"psr-4": {
"Drupal\\engineering_profile\\": "src/"
Expand All @@ -267,7 +282,7 @@
"drupal/ckeditor_blockimagepaste": {
"https://www.drupal.org/project/ckeditor_blockimagepaste/issues/3272772": "https://www.drupal.org/files/issues/2022-04-14/prevent_js_alert_and_block_ms_word_paste-v2.patch"
},
"drupal/default_content":{
"drupal/default_content": {
"https://www.drupal.org/project/default_content/issues/3160146": "https://git.drupalcode.org/project/default_content/-/merge_requests/15.patch"
},
"drupal/jsonapi_extras": {
Expand Down
8 changes: 4 additions & 4 deletions config/sync/config_ignore.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ _core:
ignored_config_entities:
- 'core.extension:theme'
- 'system.theme:default'
- '~block.block.seven_*'
- '~block.block.stanford_basic_*'
- '~block.block.soe_basic_*'
- '~block.block.minimally_branded_subtheme_*'
- 'block.block.seven_*'
- 'block.block.stanford_basic_*'
- 'block.block.soe_basic_*'
- 'block.block.minimally_branded_subtheme_*'
- 'block.block.*'
- 'google_tag.container.*'
- 'user.role.custm_*'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ dependencies:
- field.field.node.stanford_page.su_shared_tags
- node.type.stanford_page
module:
- change_labels
- field_group
- media_library
- metatag
Expand Down Expand Up @@ -142,16 +143,20 @@ content:
settings:
resizable: false
sizes:
stanford_banner: 12
stanford_card: 3
stanford_entity: 1
stanford_lists: 1
stanford_gallery: 12
stanford_banner: 12
stanford_wysiwyg: 3
stanford_media_caption: 3
stanford_spacer: 1
stanford_cta_list: 12
stanford_image_cta: 1
stanford_stories: 12
stanford_gallery: 12
third_party_settings: { }
stanford_stories: 3
third_party_settings:
change_labels:
add_another: ''
su_page_description:
type: string_textfield
weight: 1
Expand Down
23 changes: 0 additions & 23 deletions config/sync/core.entity_view_display.node.spotlight.default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,29 +212,6 @@ third_party_settings:
class: ''
weight: -8
additional: { }
4f9158ff-4e01-4db7-b830-516f99233707:
uuid: 4f9158ff-4e01-4db7-b830-516f99233707
region: main
configuration:
id: 'field_block:node:spotlight:created'
label: 'Authored on'
label_display: '0'
provider: layout_builder
context_mapping:
entity: layout_builder.entity
view_mode: view_mode
formatter:
type: timestamp
label: hidden
settings:
date_format: custom
custom_date_format: 'M Y'
timezone: ''
third_party_settings:
field_formatter_class:
class: ''
weight: -10
additional: { }
third_party_settings: { }
-
layout_id: layout_onecol
Expand Down
10 changes: 10 additions & 0 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
_core:
default_config_hash: R4IF-ClDHXxblLcG0L7MgsLvfBIMAvi_skumNFQwkDc
module:
acquia_purge: 0
address: 0
admin_toolbar: 0
admin_toolbar_links_access_filter: 0
Expand Down Expand Up @@ -116,6 +117,8 @@ module:
media: 0
media_duplicate_validation: 0
media_library: 0
memcache: 0
memcache_admin: 0
menu_block: 0
menu_ui: 0
metatag: 0
Expand Down Expand Up @@ -147,6 +150,12 @@ module:
pdb_react: 0
preprocess_event_dispatcher: 0
printable: 0
purge: 0
purge_drush: 0
purge_processor_cron: 0
purge_processor_lateruntime: 0
purge_queuer_coretags: 0
purge_tokens: 0
rabbit_hole: 0
react_paragraphs: 0
react_paragraphs_behaviors: 0
Expand Down Expand Up @@ -219,6 +228,7 @@ module:
ui_patterns_library: 0
ui_patterns_views: 0
ultimate_cron: 0
update: 0
user: 0
user_event_dispatcher: 0
view_unpublished: 0
Expand Down
2 changes: 1 addition & 1 deletion config/sync/image.style.large_headshot_circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ effects:
id: image_effects_mask
weight: 3
data:
mask_image: modules/custom/stanford_image_styles/img/mask-image.png
mask_image: modules/custom/stanford_profile_helper/modules/stanford_image_styles/img/mask-image.png
mask_width: '360'
mask_height: '360'
placement: center-center
Expand Down
2 changes: 1 addition & 1 deletion config/sync/image.style.stanford_circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ effects:
id: image_effects_mask
weight: -8
data:
mask_image: profiles/custom/engineering_profile/modules/stanford_image_styles/img/mask-image.png
mask_image: modules/custom/stanford_profile_helper/modules/stanford_image_styles/img/mask-image.png
mask_width: ''
mask_height: ''
placement: center-center
Expand Down
3 changes: 3 additions & 0 deletions config/sync/memcache_admin.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
_core:
default_config_hash: iBWtED5f6elEVpoVLYW_BEKiofxsXpjuXKdS4UabXZM
show_memcache_statistics: 0
23 changes: 23 additions & 0 deletions config/sync/purge.logger_channels.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
channels:
-
id: purgers
grants:
- 0
- 2
- 3
-
id: queue
grants:
- 0
- 2
- 3
-
id: diagnostics
grants:
- 3
-
id: purger_acquia_purge_bbb103e73e
grants:
- 0
- 2
- 3
5 changes: 5 additions & 0 deletions config/sync/purge.plugins.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
purgers:
-
instance_id: bbb103e73e
plugin_id: acquia_purge
order_index: 2
7 changes: 7 additions & 0 deletions config/sync/purge_queuer_coretags.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
_core:
default_config_hash: LNM6W4jzX5aRPKL0VFHMDznKihCuefP3a5K0Z2428b8
blacklist:
- 4xx-response
- theme_registry
- route_match
- routes
4 changes: 2 additions & 2 deletions config/sync/seckit.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ seckit_clickjacking:
x_frame: '1'
x_frame_allow_from: ''
seckit_ssl:
hsts: false
hsts: true
hsts_subdomains: false
hsts_max_age: 1000
hsts_max_age: 31536000
hsts_preload: false
seckit_ct:
expect_ct: false
Expand Down
17 changes: 17 additions & 0 deletions config/sync/ultimate_cron.job.purge_processor_cron_cron.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
uuid: 03e78c67-d539-4150-9355-bcc835d86965
langcode: en
status: true
dependencies:
module:
- purge_processor_cron
title: 'Default cron handler'
id: purge_processor_cron_cron
weight: 0
module: purge_processor_cron
callback: purge_processor_cron_cron
scheduler:
id: simple
launcher:
id: serial
logger:
id: database
17 changes: 17 additions & 0 deletions config/sync/ultimate_cron.job.update_cron.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
uuid: c25f398e-1dbf-434a-a32a-269efd78faa6
langcode: en
status: true
dependencies:
module:
- update
title: 'Update indexes'
id: update_cron
weight: 0
module: update
callback: update_cron
scheduler:
id: simple
launcher:
id: serial
logger:
id: database
Loading

0 comments on commit f470740

Please sign in to comment.