-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into VACMS-17400-next_build_node_version
- Loading branch information
Showing
782 changed files
with
26,721 additions
and
6,247 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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>. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.