Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .github/instructions/config.instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
applyTo: "config/sync/*.yml"
---

Ignore all changes to these files because they are automatically generated
by the Configuration Management system.
6 changes: 6 additions & 0 deletions .github/instructions/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
applyTo: "**"
---
# Project general coding standards

Use the [Drupal Coding Standards](https://www.drupal.org/docs/develop/standards) as the base coding standards for all projects.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
run: |
mysql -h mysql -P 3306 -u root -pdrupal -e 'SET GLOBAL max_allowed_packet=67108864;' &&
composer global require su-sws/stanford-caravan:11.x-dev &&
composer global require su-sws/stanford-caravan:dev-lock_112 &&
~/.config/composer/vendor/bin/sws-caravan phpunit /var/www/html --extension-dir=$GITHUB_WORKSPACE/project
- name: Save Test Results
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
run: |
n=${{ vars.TEST_SHARDS || 4 }} &&
mysql -h mysql -P 3306 -u root -pdrupal -e 'SET GLOBAL max_allowed_packet=67108864;' &&
composer global require su-sws/stanford-caravan:11.x-dev &&
composer global require su-sws/stanford-caravan:dev-lock_112 &&
~/.config/composer/vendor/bin/sws-caravan codeception /var/www/html --extension-dir=$GITHUB_WORKSPACE/project --suites=${{ matrix.suite }} --shard=${{ matrix.shard }}/$n &&
if [ ! -f /var/www/html/artifacts/${{ matrix.suite }}/results.html ]; then
exit 1
Expand Down
65 changes: 63 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,69 @@
# SOE Profile

11.5.4
12.1.4
-------------------------------------------------------------------------------
- SRC-81: Fix lockup work wrapping
- Fix border on non-spotlight news

12.1.2
-------------------------------------------------------------------------------
- Apply alternating borders to spotlight filtered list cards

12.1.1
-------------------------------------------------------------------------------
- adjust quote and headline font styles; add border radius and color pattern to images

12.1.2
-------------------------------------------------------------------------------
- Updated help text on news dek field
- Added localist id field for lookup on the external system

12.1.1
-------------------------------------------------------------------------------
- Add course_filters to site manager role permissions
- Increase number of admin toolbar entity bundles available

12.1.0
-------------------------------------------------------------------------------
- D8CORE-5180: Remove alt text for people image cards
- D8CORE-8393: Add course filtering view (#1028)
- D8CORE-8461: New People filtered list view and adjustments to edit form and help text (#1025)
- D8CORE-8462 D8CORE-8463 | add spotlight filters to news card display (#1027)
- D8CORE-8235: update spotlight list paragraph grid from 4 to 3 (#1026)
- D8CORE-8239: Moved the list class names on the view (#1020)
- Added new media content type, taxonomy, and views. (#1004)
- D8CORE-8408: News adjust label of the title field (#1023)
- D8CORE-8412: replace spotlight text in layout with content block; show body field on Spotlight variant (#1022)
- Removed link from spotlight filter terms in H3 Card display mode (#1021)
- D8CORE-8413: smart trim spotlight quotes in card displays (#1019)
- D8CORE-8418: Removed default "Spotlights" taxonomy term
- D8CORE-8450: Style spotlight card images as 1/1 square (#1017)
- D8CORE-8234 D8CORE-8238: Spotlights-related Views for paragraphs (#1015)
- D8CORE-8232: Added related spotlights view display (#1013)
- D8CORE-8390: Hide and show news fields correctly based on variants (#1012)
- D8CORE-8414: Add body field to spotlight node display (#1016)
- D8CORE-8377: Course Filters field (#1007)
- D8CORE-7945: added no follow to link to person node (#1014)
- Use display mode instead of fields in event views (#1011)
- D8CORE-8395: changed permissions on sunet field in site settings (#1009)
- D8CORE-8294: Adjust date on RSS feeds (#1003)
- D8CORE-8227: Build out spotlight variant on News CT (#1005)
- D8CORE-8090: Removing fields from Opportunity content type (#1001)
- D8CORE-8343: Add counts and other tools to manage content views (#997)
- D8CORE-8346: Increase news dek field from 180 to 500 characters (#998)
- D8CORE-8316 | Adjust events page details section layout (#996)
- SUL23-818 | Update font awesome icon help text (#994)
- STVP26-74 STVP26-75: Add "Body" field to news and basic pages (#993)
- D8CORE-8196 | update card structure to match banner and fulfill a11y (#992)
- D8CORE-8196 | adjust banner overlay card content order for a11y (#990)


12.0.2
-------------------------------------------------------------------------------

- Updated external link settings
- Added acceptance test for publication csv importer
- Prevent federated search checkbox shrinking
- Added person and policy external source fields to graphql

12.0.2
-------------------------------------------------------------------------------
Expand Down
69 changes: 37 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,64 +1,69 @@
# [SOE Profile](https://github.com/SU-SOE/soe_profile)

# [Engineering Profile](https://github.com/SU-SOE/engineering_profile)
##### 8.x

Maintainers: [Mike Decker](https://github.com/pookmish), [sherakama](https://github.com/sherakama)

Changelog: [Changelog.md](CHANGELOG.md)

## Description

This is the main installation profile for School of Engineering's self service platform. It is similar to SU-SWS/stanford_profile, and shares common parts via the stanford_profile_helper module.
Description
---

## Accessibility
This is the main installation profile for School of Engineering's main site. It is similar to SU-SWS/stanford_profile, and shares common parts via the stanford_profile_helper module.

Accessibility
---
[![WCAG Conformance 2.0 AA Badge](https://www.w3.org/WAI/wcag2AA-blue.png)](https://www.w3.org/TR/WCAG20/)
This module conforms to level AA WCAG 2.0 standards as required by the university's accessibility policy. For more information on the policy please visit: [https://ucomm.stanford.edu/policies/accessibility-policy.html](https://ucomm.stanford.edu/policies/accessibility-policy.html).

## Installation
Installation
---

Install this installation profile like any other profile. [See Drupal Documentation](https://www.drupal.org/docs/7/install/using-an-installation-profile)

## Configuration
Configuration
---

Nothing special needed.

## Releases
Releases
---

Steps to build a new release:

- Checkout the latest commit from the `12.x` branch.
- Checkout the latest commit from the `8.x-1.x` branch.
- Create a new branch for the release.
- Commit any necessary changes to the release branch.
- These may include, but are not necessarily limited to:
- Update the version in any `info.yml` files, including in any submodules.
- Update the CHANGELOG to reflect the changes made in the new release.
- These may include, but are not necessarily limited to:
- Update the version in any `info.yml` files, including in any submodules.
- Update the CHANGELOG to reflect the changes made in the new release.
- Make a PR to merge your release branch into `main`
- Give the PR a semver-compliant label, e.g., (`patch`, `minor`, `major`). This may happen automatically via Github actions (if a labeler action is configured).
- Give the PR a semver-compliant label, e.g., (`patch`, `minor`, `major`). This may happen automatically via Github actions (if a labeler action is configured).
- When the PR is merged to `main`, a new tag will be created automatically, bumping the version by the semver label.
- The github action is built from: [semver-release-action](https://github.com/K-Phoen/semver-release-action), and further documentation is available there.

## Troubleshooting

Troubleshooting
---

If you are experiencing issues with this try posting an issue on the [GitHub issues page](https://github.com/SU-SWS/stanford_profile/issues).

## Contribution / Collaboration
Contribution / Collaboration
---

You are welcome to contribute functionality, bug fixes, or documentation to this module. If you would like to suggest a fix or new functionality you may add a new issue to the GitHub issue queue or you may fork this repository and submit a pull request. For more help please see [GitHub's article on fork, branch, and pull requests](https://help.github.com/articles/using-pull-requests)

## GitPod

GitPod
---
1. Add your ssh key to [GitPod](https://gitpod.io/variables)
1. It is recommended to have a password-less ssh key for simplicity.
1. `ssh-keygen -b 4096`, press enter when asked for the password
1. Add this ssh public key to the necessary services: Acquia, Github, etc.
1. Get the base64 string of your ssh key files
1. `cat id_rsa | base64` for the private key
1. `cat id_rsa.pub | base64` for the public key.
1. In GitPod, add the variable named `SSH_PRIVATE_KEY` with the private key
1. In GitPod, add the variable named `SSH_PUBLIC_KEY` with the public key
1. In Gitpod, add the variable named `GITCONFIG` with the base64 of your git config: `cat ~/.gitconfig | base64`
1. Recommended, but not required:
1. install the GitPod browser plugin
1. Configure your browser settings for an easier experience: https://www.gitpod.io/docs/configure/browser-settings
1. Open a gitpod workspace with [these instructions](https://www.gitpod.io/docs/getting-started#start-your-first-workspace)
1. It is recommended to have a password-less ssh key for simplicity.
1. `ssh-keygen -b 4096`, press enter when asked for the password
2. Add this ssh public key to the necessary services: Acquia, Github, etc.
2. Get the base64 string of your ssh key files
1. `cat id_rsa | base64` for the private key
2. `cat id_rsa.pub | base64` for the public key.
3. In GitPod, add the variable named `SSH_PRIVATE_KEY` with the private key
4. In GitPod, add the variable named `SSH_PUBLIC_KEY` with the public key
5. In Gitpod, add the variable named `GITCONFIG` with the base64 of your git config: `cat ~/.gitconfig | base64`
2. Recommended, but not required:
1. install the GitPod browser plugin
2. Configure your browser settings for an easier experience: https://www.gitpod.io/docs/configure/browser-settings
3. Open a gitpod workspace with [these instructions](https://www.gitpod.io/docs/getting-started#start-your-first-workspace)
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,9 @@
"su-sws/stanford_samlauth": "^2.0",
"su-sws/stanford_syndication": "^1.0"
},
"conflict": {
"drupal/core": ">=11.3.0"
},
"config": {
"sort-packages": true
},
Expand Down
10 changes: 10 additions & 0 deletions config/engineering/config_split.patch.config_ignore.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
adding:
ignored_config_entities:
config_split_sequence_prc9vijnikisglfb: stanford_syndication.settings
config_split_sequence_1_84app3fkp0hnaqh: 'system.theme:default'
config_split_sequence_1_t5nicpsfmjgfjjs0: '~block.block.claro_*'
config_split_sequence_qc79dchr6kncf4e: '~block.block.engineering_*'
config_split_sequence_1_lsb2kt3hu228s8d2: '~block.block.minimally_branded_subtheme_*'
config_split_sequence_1_jko2j5jutj75dcoe: '~block.block.stanford_basic_*'
config_split_sequence_1_rjdpomlahqcreai0: '~block.block.stanford_profile_admin_*'
removing: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
adding:
label: Headline
removing:
label: 'Headline / Name'
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
adding: { }
removing:
content:
su_site_org:
settings:
allow_unpublished: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
adding:
hidden:
syndication: true
removing: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
adding:
hidden:
syndication: true
removing: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
adding:
hidden:
syndication: true
removing: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
adding:
hidden:
syndication: true
removing: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
adding:
dependencies:
config:
- field.field.node.stanford_news.su_mag_featured
- field.field.node.stanford_news.su_magazine_issue
- field.field.node.stanford_news.su_magazine_story
- field.field.node.stanford_news.su_soe_department
- field.field.node.stanford_news.su_soe_external_source_text
- field.field.node.stanford_news.su_soe_mag_collection
- field.field.node.stanford_news.su_soe_mag_topics
content:
su_mag_featured:
type: boolean_checkbox
weight: 36
region: content
settings:
display_label: true
third_party_settings: { }
su_magazine_issue:
type: options_select
weight: 33
region: content
settings: { }
third_party_settings: { }
su_magazine_story:
type: boolean_checkbox
weight: 32
region: content
settings:
display_label: true
third_party_settings: { }
su_soe_department:
type: options_buttons
weight: 6
region: content
settings: { }
third_party_settings: { }
su_soe_external_source_text:
type: string_textfield
weight: 6
region: content
settings:
size: 60
placeholder: ''
third_party_settings:
field_formatter_class:
class: ''
maxlength:
maxlength_js: null
maxlength_js_label: 'Content limited to @limit characters, remaining: <strong>@remaining</strong>'
maxlength_js_enforce: false
change_labels:
field_label_overwrite: ''
su_soe_mag_collection:
type: options_select
weight: 35
region: content
settings: { }
third_party_settings: { }
su_soe_mag_topics:
type: options_buttons
weight: 34
region: content
settings: { }
third_party_settings: { }
removing: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
adding:
hidden:
syndication: true
removing: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
adding:
hidden:
su_department: true
syndication: true
removing: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
adding:
hidden:
syndication: true
removing: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
adding:
hidden:
syndication: true
removing: { }
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
adding:
hidden:
syndication: true
removing: { }
Loading