Skip to content

Commit

Permalink
Merge branch 'main' into VACMS-17400-next_build_node_version
Browse files Browse the repository at this point in the history
  • Loading branch information
timcosgrove authored Jan 9, 2025
2 parents 932edfb + fd1bd17 commit d2dbcf7
Show file tree
Hide file tree
Showing 782 changed files with 26,721 additions and 6,247 deletions.
2 changes: 1 addition & 1 deletion .ddev/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ web_environment:
- CMS_MARIADB_USERNAME=db
- CMS_MARIADB_PASSWORD=db
- CMS_MARIADB_HOST=db
- CYPRESS_TAGS=\"not @ignore and not @piv\"
- CYPRESS_TAGS=\"not @piv\"
- DDEV_APPROOT=/var/www/html
- DRUPAL_ADDRESS=https://va-gov-cms.ddev.site
nodejs_version: "16"
Expand Down
4 changes: 2 additions & 2 deletions .ddev/mutagen/mutagen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# and add your own configuration. If you override it you will
# probably want to check it in.
# Please do `ddev mutagen reset` after changing the file.
# See ddev mutagen docs at
# https://ddev.readthedocs.io/en/latest/users/install/performance/
# See DDEV Mutagen docs at
# https://ddev.readthedocs.io/en/stable/users/install/performance/#mutagen
# For detailed information about mutagen configuration options, see
# https://mutagen.io/documentation/introduction/configuration
sync:
Expand Down
107 changes: 107 additions & 0 deletions .ddev/nginx_full/nginx-site.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# ddev drupal10 config

# If you want to take over this file and customize it, remove the line above
# and ddev will respect it and won't overwrite the file.
# See https://ddev.readthedocs.io/en/stable/users/extend/customization-extendibility/#custom-nginx-configuration

server {
listen 80 default_server;
listen 443 ssl default_server;

root /var/www/html/docroot;

ssl_certificate /etc/ssl/certs/master.crt;
ssl_certificate_key /etc/ssl/certs/master.key;

include /etc/nginx/monitoring.conf;

index index.php index.htm index.html;

# Disable sendfile as per https://docs.vagrantup.com/v2/synced-folders/virtualbox.html
sendfile off;
error_log /dev/stdout info;
access_log /var/log/nginx/access.log;

location / {
absolute_redirect off;
try_files $uri $uri/ /index.php?$query_string; # For Drupal >= 7
}

location @rewrite {
# For D7 and above:
# Clean URLs are handled in drupal_environment_initialize().
rewrite ^ /index.php;
}

# Handle image styles for Drupal 7+
location ~ ^/sites/.*/files/styles/ {
try_files $uri @rewrite;
}

# pass the PHP scripts to FastCGI server listening on socket
location ~ '\.php$|^/update.php' {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php-fpm.sock;

fastcgi_buffers 256 256k;
fastcgi_buffer_size 256k;
client_max_body_size 50M;
proxy_buffer_size 256k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;

fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_intercept_errors off;
# fastcgi_read_timeout should match max_execution_time in php.ini
fastcgi_read_timeout 10m;
fastcgi_param SERVER_NAME $host;
fastcgi_param HTTPS $fcgi_https;
}

# Expire rules for static content

# Prevent clients from accessing hidden files (starting with a dot)
# This is particularly important if you store .htpasswd files in the site hierarchy
# Access to `/.well-known/` is allowed.
# https://www.mnot.net/blog/2010/04/07/well-known
# https://tools.ietf.org/html/rfc5785
location ~* /\.(?!well-known\/) {
deny all;
}

# Prevent clients from accessing to backup/config/source files
location ~* (?:\.(?:bak|conf|dist|fla|in[ci]|log|psd|sh|sql|sw[op])|~)$ {
deny all;
}

## Regular private file serving (i.e. handled by Drupal).
location ^~ /system/files/ {
## For not signaling a 404 in the error log whenever the
## system/files directory is accessed add the line below.
## Note that the 404 is the intended behavior.
log_not_found off;
access_log off;
expires 30d;
try_files $uri @rewrite;
}

# Media: images, icons, video, audio, HTC
location ~* \.(jpg|jpeg|gif|png|ico|cur|gz|svg|svgz|mp4|ogg|ogv|webm|webp|htc)$ {
try_files $uri @rewrite;
expires max;
log_not_found off;
}

# js and css always loaded
location ~* \.(js|css)$ {
try_files $uri @rewrite;
expires -1;
log_not_found off;
}

include /etc/nginx/common.d/*.conf;
include /mnt/ddev_config/nginx/*.conf;
}
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
/config/sync/*full_width_banner_alert* @department-of-veterans-affairs/facilities-cms
# To catch VAMC stuff with older naming convention
/config/sync/*health_care* @department-of-veterans-affairs/facilities-cms
/config/sync/*connect_with_us* @department-of-veterans-affairs/public-websites-cms
/config/sync/*jsonapi* @department-of-veterans-affairs/accelerated-publishing
# aka VAMC System Locations List
/config/sync/*locations_listing* @department-of-veterans-affairs/facilities-cms
Expand All @@ -50,6 +51,7 @@
/docroot/modules/custom/va_gov_api @department-of-veterans-affairs/accelerated-publishing
/docroot/modules/custom/va_gov_backend # @department-of-veterans-affairs/platform-cms-drupal-engineers
/docroot/modules/custom/va_gov_banner @department-of-veterans-affairs/public-websites-cms
/docroot/modules/custom/va_gov_batch @department-of-veterans-affairs/public-websites-cms
/docroot/modules/custom/va_gov_benefits @department-of-veterans-affairs/public-websites-cms
/docroot/modules/custom/va_gov_block_types @department-of-veterans-affairs/public-websites-cms
/docroot/modules/custom/va_gov_build_trigger # @department-of-veterans-affairs/platform-cms-drupal-engineers
Expand All @@ -66,6 +68,7 @@
/docroot/modules/custom/va_gov_events @department-of-veterans-affairs/public-websites-cms
/docroot/modules/custom/va_gov_facilities @department-of-veterans-affairs/facilities-cms
/docroot/modules/custom/va_gov_flags @department-of-veterans-affairs/platform-cms-drupal-engineers @department-of-veterans-affairs/public-websites-cms @department-of-veterans-affairs/facilities-cms
/docroot/modules/custom/va_gov_form_builder @department-of-veterans-affairs/form-engine
/docroot/modules/custom/va_gov_git # @department-of-veterans-affairs/platform-cms-drupal-engineers
/docroot/modules/custom/va_gov_github # @department-of-veterans-affairs/platform-cms-drupal-engineers
/docroot/modules/custom/va_gov_govdelivery @department-of-veterans-affairs/facilities-cms
Expand All @@ -78,6 +81,7 @@
/docroot/modules/custom/va_gov_login # @department-of-veterans-affairs/platform-cms-drupal-engineers
/docroot/modules/custom/va_gov_lovell @department-of-veterans-affairs/facilities-cms
/docroot/modules/custom/va_gov_magichead @department-of-veterans-affairs/public-websites-cms
/docroot/modules/custom/va_gov_manila @department-of-veterans-affairs/facilities-cms
/docroot/modules/custom/va_gov_media # @department-of-veterans-affairs/platform-cms-drupal-engineers
/docroot/modules/custom/va_gov_menu_access # @department-of-veterans-affairs/platform-cms-drupal-engineers
/docroot/modules/custom/va_gov_menus # @department-of-veterans-affairs/platform-cms-drupal-engineers
Expand Down
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/508-accessibility-audit-defect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
name: 508 Accessibility Audit Defect
about: Capture defects from 508 office audit
title: Defect <number> <defect description>
labels: 508-audit, accessibility, Needs refining
assignees: ''

---

## Description or Additional Context
Description from 508 office

## Example
Example and any screenshots

### Code snippet


### Steps to reproduce


## Recommended resolution


## Defect Criterion
[Defect number and name](urlToGuideline) - Defect description

### Users affected
- List user types (e.g. keyboard only, screen reader, etc.)

## Teams that this affects:
- [x] Team name
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/508-accessibility-audit-epic.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: 508 Accessibility Audit Epic
about: Epic for 508 office audit
title: "[Epic} 508 Audit <Date of audit>"
labels: 508-audit, accessibility, Epic, Needs refining
assignees: ''

---

## Audit Document

## Severity Matrix

- A product with no defects has a score of 100
- Each open 'Critical' defect lowers the score by 15
- Each open 'High' defect lowers the score by 5
- Each open 'Medium' defect lowers the score by 2.5
- Each open 'Low' defect lowers the score by 1
- Accessibility defects have no effect on the score.

| Severity | Number |
|----------|--------|
| Critical | x |
| High | x |
| Medium | x |
| Low | x |
| TOTAL | x |
| Score | x |

## Timeline
This was completed on <date of audit> and the 508 office is planning on doing an audit of issues every 6 months for all projects. This should try to be addressed by <date 6 months from now>.
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/__cms-task.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
---
name: Task
name: CMS Task
about: A task for the CMS team.
title: "<Insert summary of task>"
labels: Needs refining
labels: Needs refining, UX writing
assignees: ''

---
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/_cms-epic.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
name: Epic
name: CMS Epic
about: Epic template
title: "<Insert summary of epic>"
labels: Epic, Needs refining
Expand Down
69 changes: 69 additions & 0 deletions .github/ISSUE_TEMPLATE/_sitewide-epic.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
name: "(Sitewide) Epic template"
about: Epic template for Sitewide projects for Public Websites and Facilities portfolios
title: ''
labels: Epic, sitewide
assignees: ''

---

## Top-line Description / Goal(s)

**Initiative brief:**

### Business Case

### User Story or Problem Statement

<As a _____, I need _____ so I can _____.>
<Problem description. How might we _____________ ?>

### Affected users and stakeholders

## Scope
### In scope

### Out of scope


## Product documentation
* **Existing product docs**:

---
### High level work required to complete the epic
- [ ] Analytics review
- [ ] Backlog review
- [ ] Content audit
- [ ] FE Design
- [ ] Usability research
- [ ] Drupal
- [ ] CMS Design
- [ ] New config, fields, or entities
- [ ] Content modeling is required
- [ ] Revisions to existing config, fields, or entities -- Content modeling _may_ be required, tbd scope
- [ ] Editor Change management is required in either case
- [ ] Knowledge Base article creation or updates are required in either case
- [ ] Vets-api (Ruby)
- [ ] New API or endpoints
- [ ] Datadog monitoring is required
- [ ] Revisions to existing API / endpoints
- [ ] Datadog monitoring updates may be required, tbd the scope of changes
- [ ] Content-build (FE)
- [ ] New templates -- try to avoid this and build in Next if possible
- [ ] Revisions to existing templates
- [ ] Next-build (FE)
- [ ] New template(s)
- [ ] Migration of existing content-build template(s)
- [ ] Revisions to existing Next templates
- [ ] Vets-website (FE)
- [ ] New React app or widget
- [ ] Revisions to existing apps, widgets, templates, or styles
- [ ] Collab Cycle - required for any new application, usability research, major architectural change to an existing product. If you're not sure, ask Governance team.

---

## Monthly project updates:


## Decision log
* **[yyyy-mm-dd]**
49 changes: 49 additions & 0 deletions .github/ISSUE_TEMPLATE/_sitewide-issue.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
---
name: "(Sitewide) Issue template"
about: Issue template for Sitewide team
title: ''
labels: Needs refining, sitewide
assignees: ''

---

## Description

### User story
> _Describe the audience/user, enhancement or fix, and value / outcome desired._
**AS A**
**I WANT**
**SO THAT**


### Engineering notes / background


### Analytics considerations


## Testing & QA

### Scope / Impact analysis
_What, if anything, could break as a result of this change?_
_Engineer should assess this when approaching PR._


### Roles / assignments
_After functional testing, code review, accessibility review, and design review can happen in parallel._
- [ ] **Functional testing:**
- [ ] **Code review:**
- [ ] **Design review:**
- [ ] **Accessibility review:**
- [ ] **Product acceptance:**

## Acceptance criteria
_ACs should capture expected behavior, to inform test plans. Consider devices, documentation updates including KBs, change management, and [content model](https://prod.cms.va.gov/admin/structure/cm_document) when applicable._


- [ ]
- [ ] Impact analysis is filled out and QA test plan is updated accordingly
- [ ] Does this product have an existing regression test plan?
- [ ] Yes, link:
- [ ] No, regression test plan will be created as part of the work / points in this ticket
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/ap-defect.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
name: (AP) Defect
name: "(AP) Defect"
about: Work to fix a problem with existing functionality
title: "<Short description of the functional problem>"
labels: Accelerated Publishing, Defect
assignees: ''

---

Expand Down Expand Up @@ -43,4 +44,3 @@ Log messages here
<!-- Provide any information about why the bug is happening. Links to tickets where the work was originally done are helpful. -->
<!-- This is the place for info about the technical failure. -->
<!-- This probably will not be filled out when the ticket is initially created. -->

5 changes: 3 additions & 2 deletions .github/ISSUE_TEMPLATE/ap-epic.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
name: (AP) Epic
name: "(AP) Epic"
about: A collection of work towards a defined goal
title: "[Epic][AP] <brief description of value>"
labels: Needs refining, Accelerated Publishing, Epic
labels: Accelerated Publishing, Epic, Needs refining
assignees: ''

---

Expand Down
Loading

0 comments on commit d2dbcf7

Please sign in to comment.