Skip to content

Commit

Permalink
Testing/vote 2227 update php version (#897)
Browse files Browse the repository at this point in the history
* VOTE-464 Initialize redesign votegov theme

* VOTE-464 resolve phplint errors with new theme

* VOTE-414: scaffolding for header

* Header refinements

* Update text formats for wysiwyg content

* Add ordered list to simple text format

* VOTE-499 configure main menu
VOTE-497 configure sitewide alert

* VOTE-415 Configure footer

* VOTE-528: state page title scaffolding

* revert block placement

* VOTE-525: add breadcrumb module

* VOTE-418: Homepage template scaffolding (#445)

* add nvrf block to state page nodes

* fix page title

* create registration type template suggestions

* satisfy phplint

* state page main content scaffolding

* votegov theme refinements

* Remove unused files from bixal_uswds theme

* Update CI/CD and references to new theme

* Move drupal_breadcrumb enable to right config dir

* testing rolling deploy on test

* Vote-2195: Cypress version and test updates (#860)

* Vote-2195: Update cypress to next version

* Vote-2195: Update to cypress tests

* Adding a sleep command to wait to rerun any failed test (#865)

* VOTE-2418: Resolve issue with taxonomy page loading when not loading from a parenting paragraph. (#857)

* VOTE-1121 Update SCSS to select USWDS packages (#837)

* VOTE-2240: Add high contrast main navigation menu styles (#822)

* VOTE-2319 Change date format for election day to long format (#863)

* Vote-2364:  Test coverage for accessibility toolbar (#862)

* remove zombie code

* add testing coverage for accessability tool bar

* VOTE-2429: Add external link class to Military and Overseas card (#866)

* VOTE-2388: adjust heading max width for heading (#869)

* VOTE-2424: removes lazy loading from hero image (#867)

* VOTE-2443 Replace spanish usa.gov links in the footer (#864)

* VOTE-2381: Add 'lang' attribute to language names (#868)

* VOTE-2477: Add translation for know your voter rights (#872)

* VOTE-2433 Add Spanish translation for secondary nav aria label (#873)

* VOTE-2485: Update robots.txt file for search.gov testing

* BUGFIX: remove 'of' from alias ignore settings (#861)

* VOTE-2272 replace touchpoints global button modal with a link to a hosted form (#870)

* VOTE-2444 start or update registration copy change (#878)

* VOTE-2444 Update registration heading in English

* VOTE-2444 Update Spanish translation

* VOTE-2324: Enable Somali for production. (#875)

* VOTE-2324: Enable Somali for production.

* VOTE-2324: Enable Somali translations for local environment.

* Vote 2425: hide untranslated content (#881)

* VOTE-2490 add config translations for home label (#882)

* VOTE-2505 Add (FVAP) back into temporary voter cards (#883)

* VOTE-972: Add robotstxt module. set robots.txt file per env (#758)

* VOTE-2372 Fix regression in state registration string

* VOTE-2324 Update somali config file

* HOTFIX replace Virginia with @state_name in string translations

* VOTE-2443 add missing double quotes around href attributes

* VOTE-2381 correct lang attributes in language swticher

* VOTE-2272 make touchpoints button translatable

* VOTE-2511: retry tome generating files or fail if the command exits non-zero (#886)

* VOTE-2241 configure a minimal maintenance page template (#884)

* Revert "VOTE-2444 start or update registration copy change (#878)"

This reverts commit ca6f179.

* VOTE-2512 Change link text on state page for English and Spanish

* VOTE-2510 Fix voter guide url axe test

* VOTE-970: update URIs as preparation for launch

* HOTFIX: disable FAQ JSON scheme on state pages

* testing buildpack version increase

---------

Co-authored-by: Ray Estrada <raymond.estrada@gsa.gov>
Co-authored-by: mlloydbixal <amanda.lloyd@gsa.gov>
Co-authored-by: Christian Medders - Bixal <88721460+clmedders@users.noreply.github.com>
Co-authored-by: Russell O'Neill <russell.oneill@gsa.gov>
Co-authored-by: Daniel Crowder <daniel.crowder@gsa.gov>
Co-authored-by: SamiraMSadat <108487505+SamiraMSadat@users.noreply.github.com>
Co-authored-by: Mandy Lloyd <121046395+mlloydbixal@users.noreply.github.com>
Co-authored-by: SamiraMSadat <samira.sadat@gsa.gov>
  • Loading branch information
9 people authored Aug 1, 2024
1 parent 836f550 commit dfed51c
Show file tree
Hide file tree
Showing 203 changed files with 6,684 additions and 400 deletions.
4 changes: 2 additions & 2 deletions .bp-config/options.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
],
"COMPOSER_VENDOR_DIR": "vendor",
"WEBDIR": "web",
"PHP_VERSION": "{PHP_82_LATEST}",
"ADDITIONAL_PREPROCESS_CMDS": [
"PHP_VERSION": "{PHP_83_LATEST}",
"ADDITIONAL_PREPROCESS_CMDS": [
"source $HOME/scripts/bootstrap.sh"
]
}
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:
- run:
name: "Cypress - frontend tests - rerun"
command: |
sleep 120
sleep 120
echo "I am the result of frontend tests failed job"
cd testing
npm install
Expand All @@ -79,7 +79,7 @@ jobs:
- run:
name: "Cypress - axe tests - rerun"
command: |
sleep 120
sleep 120
echo "I am the result of axe tests failed job"
cd testing
npm install
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
/drush/Commands/contrib/
/web/profiles/contrib/
/web/libraries/
/web/robots.txt

# Ignore configuration files that may contain sensitive information.
/web/sites/*/settings*.php
Expand Down
9 changes: 9 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"drupal/redirect": "^1.8",
"drupal/remove_http_headers": "^2.0",
"drupal/rest_views": "^3.0",
"drupal/robotstxt": "^1.5",
"drupal/s3fs": "^3.1",
"drupal/samlauth": "^3.8",
"drupal/simple_sitemap": "^4.1",
Expand Down Expand Up @@ -143,5 +144,13 @@
" composer remove drupal/core-project-message"
]
}
},
"scripts": {
"post-install-cmd": [
"test -e web/robots.txt && rm web/robots.txt || echo The default robots.txt file has been deleted."
],
"post-update-cmd": [
"test -e web/robots.txt && rm web/robots.txt || echo The default robots.txt file has been deleted."
]
}
}
57 changes: 57 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 0 additions & 9 deletions config/local/config_split.patch.language.entity.so.yml

This file was deleted.

9 changes: 0 additions & 9 deletions config/production/config_split.patch.language.entity.so.yml

This file was deleted.

3 changes: 3 additions & 0 deletions config/production/robotstxt.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
_core:
default_config_hash: ceCx5XZ_ay1Mxcv-sB95U_fBKoVkpvo8RaQiwutSZLI
content: "#\r\n# robots.txt\r\n#\r\n# This file is to prevent the crawling and indexing of certain parts\r\n# of your site by web crawlers and spiders run by sites like Yahoo!\r\n# and Google. By telling these \"robots\" where not to go on your site,\r\n# you save bandwidth and server resources.\r\n#\r\n# This file will be ignored unless it is at the root of your host:\r\n# Used: http://example.com/robots.txt\r\n# Ignored: http://example.com/site/robots.txt\r\n#\r\n# For more information about the robots.txt standard, see:\r\n# http://www.robotstxt.org/robotstxt.html\r\n\r\nUser-agent: *\r\nCrawl-delay: 10\r\n\r\n# Sitemaps\r\nSitemap: https://vote.gov/sitemap.xml\r\n\r\n# CSS, JS, Images\r\nAllow: /*.css$\r\nAllow: /*.js$\r\nAllow: /core/*.css$\r\nAllow: /core/*.css?\r\nAllow: /core/*.js$\r\nAllow: /modules/*.css$\r\nAllow: /modules/*.css?\r\nAllow: /modules/*.js$\r\nAllow: /modules/*.js?\r\nAllow: /modules/*.gif\r\nAllow: /modules/*.jpg\r\nAllow: /modules/*.jpeg\r\nAllow: /modules/*.png\r\nAllow: /themes/*.css$\r\nAllow: /themes/*.css?\r\nAllow: /themes/*.js$\r\nAllow: /themes/*.js?\r\nAllow: /themes/*.gif\r\nAllow: /themes/*.jpg\r\nAllow: /themes/*.jpeg\r\nAllow: /themes/*.png\r\n# Directories\r\nDisallow: /core/\r\nDisallow: /modules/\r\nDisallow: /themes/\r\n"
12 changes: 12 additions & 0 deletions config/sync/bixal_uswds.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
_core:
default_config_hash: cI-Pl1vK4EZIlVhkBeRB-LcoEoKTUgI5gdJ7paB8cQk
favicon:
use_default: true
features:
comment_user_picture: true
comment_user_verification: true
favicon: true
node_user_picture: true
logo:
use_default: true
time_picker_style: html5_time_picker
32 changes: 32 additions & 0 deletions config/sync/block.block.bixal_uswds_breadcrumbs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
uuid: 9d925d66-c067-4f97-b040-543c96e23916
langcode: en
status: true
dependencies:
module:
- node
- system
theme:
- bixal_uswds
_core:
default_config_hash: W00dRxBD1MUkvdrG5GCp5ucRMano3bszsmhxU8gkn4E
id: bixal_uswds_breadcrumbs
theme: bixal_uswds
region: breadcrumb
weight: 0
provider: null
plugin: system_breadcrumb_block
settings:
id: system_breadcrumb_block
label: Breadcrumbs
label_display: '0'
provider: system
visibility:
'entity_bundle:node':
id: 'entity_bundle:node'
negate: false
context_mapping:
node: '@node.node_route_context:node'
bundles:
article: article
bx_update: bx_update
page: page
22 changes: 22 additions & 0 deletions config/sync/block.block.bixal_uswds_content.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: 2b0e2fb8-f0e6-4673-aa12-57a4701ff740
langcode: en
status: true
dependencies:
module:
- system
theme:
- bixal_uswds
_core:
default_config_hash: 2G5FjlDbZWWDTiD3NUntBHFuQ4sFrp1VsMH2kKIDB2I
id: bixal_uswds_content
theme: bixal_uswds
region: content
weight: -6
provider: null
plugin: system_main_block
settings:
id: system_main_block
label: 'Main page content'
label_display: '0'
provider: system
visibility: { }
22 changes: 22 additions & 0 deletions config/sync/block.block.bixal_uswds_local_tasks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: fce6a776-e80f-4975-9fe8-8eb25533bcb4
langcode: en
status: true
dependencies:
theme:
- bixal_uswds
_core:
default_config_hash: ezVrmCOm0kkrQu3AkWTHOJo9DOQPkTDQcpUqjCx3QIQ
id: bixal_uswds_local_tasks
theme: bixal_uswds
region: help
weight: -5
provider: null
plugin: local_tasks_block
settings:
id: local_tasks_block
label: Tabs
label_display: '0'
provider: core
primary: true
secondary: true
visibility: { }
22 changes: 22 additions & 0 deletions config/sync/block.block.bixal_uswds_messages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
uuid: 1b705334-213b-40ad-87d1-41af9695f461
langcode: en
status: true
dependencies:
module:
- system
theme:
- bixal_uswds
_core:
default_config_hash: KIRJdxuSar1WHKnHKfD-tAyAp6I6yTPBfDS9A6tBaTg
id: bixal_uswds_messages
theme: bixal_uswds
region: help
weight: -6
provider: null
plugin: system_messages_block
settings:
id: system_messages_block
label: 'Status messages'
label_display: '0'
provider: system
visibility: { }
20 changes: 20 additions & 0 deletions config/sync/block.block.bixal_uswds_page_title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
uuid: ece2eb22-ccef-481a-9c95-71e72789e613
langcode: en
status: true
dependencies:
theme:
- bixal_uswds
_core:
default_config_hash: Y1X3ac5Q9KbzE_7p4d5WMA3P1WtvzLi4I56Cf_pddy8
id: bixal_uswds_page_title
theme: bixal_uswds
region: help
weight: -3
provider: null
plugin: page_title_block
settings:
id: page_title_block
label: 'Page title'
label_display: '0'
provider: core
visibility: { }
1 change: 1 addition & 0 deletions config/sync/config_split.config_split.production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ theme: { }
complete_list:
- log_stdout.settings
- new_relic_rpm.settings
- robotstxt.settings
- s3fs.settings
- samlauth.authentication
- usagov_login.settings
Expand Down
1 change: 1 addition & 0 deletions config/sync/core.extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ module:
remove_http_headers: 0
rest: 0
rest_views: 0
robotstxt: 0
serialization: 0
simple_sitemap: 0
system: 0
Expand Down
1 change: 0 additions & 1 deletion config/sync/language.entity.so.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ uuid: 2b30c6ab-f133-4c1d-a7be-997bb27da4b6
langcode: so
status: true
dependencies: { }
third_party_settings: { }
id: so
label: Somali
direction: ltr
Expand Down
1 change: 1 addition & 0 deletions config/sync/language/am/easy_breadcrumb.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
home_segment_title: 'መነሻ ገጽ'
1 change: 1 addition & 0 deletions config/sync/language/ar/easy_breadcrumb.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
home_segment_title: 'الصفحة الرئيسية'
1 change: 1 addition & 0 deletions config/sync/language/bn/easy_breadcrumb.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
home_segment_title: হোমপেজ
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
settings:
label: 'Pestañas principales'
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
settings:
label: 'Pestañas secundarias'
1 change: 1 addition & 0 deletions config/sync/language/es/easy_breadcrumb.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
home_segment_title: 'Página principal'
1 change: 1 addition & 0 deletions config/sync/language/fr/easy_breadcrumb.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
home_segment_title: "Page d'accueil"
1 change: 1 addition & 0 deletions config/sync/language/hi/easy_breadcrumb.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
home_segment_title: 'मुख्य पृष्ठ'
1 change: 1 addition & 0 deletions config/sync/language/ht/easy_breadcrumb.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
home_segment_title: 'Paj dakèy'
1 change: 1 addition & 0 deletions config/sync/language/km/easy_breadcrumb.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
home_segment_title: ទំព័រដើម
1 change: 1 addition & 0 deletions config/sync/language/ko/easy_breadcrumb.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
home_segment_title: 홈페이지
1 change: 1 addition & 0 deletions config/sync/language/nv/easy_breadcrumb.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
home_segment_title: 'Hooghangi naaltsoos'
1 change: 1 addition & 0 deletions config/sync/language/pt/easy_breadcrumb.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
home_segment_title: 'Página inicial'
1 change: 1 addition & 0 deletions config/sync/language/ru/easy_breadcrumb.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
home_segment_title: 'Главная страница'
1 change: 1 addition & 0 deletions config/sync/language/so/easy_breadcrumb.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
home_segment_title: 'Bogga guriga'
1 change: 1 addition & 0 deletions config/sync/language/tl/easy_breadcrumb.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
home_segment_title: Homepage
1 change: 1 addition & 0 deletions config/sync/language/vi/easy_breadcrumb.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
home_segment_title: 'Trang chủ'
1 change: 1 addition & 0 deletions config/sync/language/ypk/easy_breadcrumb.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
home_segment_title: 'Nem pinga'
1 change: 1 addition & 0 deletions config/sync/language/zh-hans/easy_breadcrumb.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
home_segment_title: 主页
1 change: 1 addition & 0 deletions config/sync/language/zh/easy_breadcrumb.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
home_segment_title: 主頁
2 changes: 1 addition & 1 deletion config/sync/pathauto.settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ max_component_length: 100
transliterate: true
reduce_ascii: false
case: true
ignore_words: 'a, an, as, at, before, but, by, for, from, is, in, into, like, of, off, on, onto, per, since, than, the, this, that, to, up, via, with'
ignore_words: 'a, an, as, at, before, but, by, for, from, is, in, into, like, off, on, onto, per, since, than, the, this, that, to, up, via, with'
update_action: 2
safe_tokens:
- alias
Expand Down
1 change: 1 addition & 0 deletions config/sync/robotstxt.settings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
content: "#\r\n# robots.txt\r\n#\r\n# This file is to prevent the crawling and indexing of certain parts\r\n# of your site by web crawlers and spiders run by sites like Yahoo!\r\n# and Google. By telling these \"robots\" where not to go on your site,\r\n# you save bandwidth and server resources.\r\n#\r\n# This file will be ignored unless it is at the root of your host:\r\n# Used: http://example.com/robots.txt\r\n# Ignored: http://example.com/site/robots.txt\r\n#\r\n# For more information about the robots.txt standard, see:\r\n# http://www.robotstxt.org/robotstxt.html\r\n\r\nUser-agent: *\r\nDisallow: /\r\n"
2 changes: 2 additions & 0 deletions config/sync/user.role.site_builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ dependencies:
- redirect
- remove_http_headers
- rest
- robotstxt
- simple_sitemap
- system
- taxonomy
Expand Down Expand Up @@ -110,6 +111,7 @@ permissions:
- 'administer redirect settings'
- 'administer redirects'
- 'administer rest resources'
- 'administer robots.txt'
- 'administer site configuration'
- 'administer sitemap settings'
- 'administer software updates'
Expand Down
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ List of development environments and their equivalent git branches.
|---------------------|--------------------|----------------------------|----------------|----------------------------------------------------------|
| ssg-dev.vote.gov | cms-dev.vote.gov | vote-drupal-dev | dev | App work that is ready for testing in cloud.gov |
| ssg-test.vote.gov | cms-test.vote.gov | vote-drupal-test | test | Pipeline development work ready for testing in cloud.gov |
| ssg-stage.vote.gov | cms-stage.vote.gov | vote-drupal-stage | stage | All work that is ready for release/UAT testing |
| ssg.vote.gov | cms.vote.gov | vote-drupal-prod | prod | All work that is approved and released |
| staging.vote.gov | cms-stage.vote.gov | vote-drupal-stage | stage | All work that is ready for release/UAT testing |
| vote.gov | cms.vote.gov | vote-drupal-prod | prod | All work that is approved and released |

## Table of Contents
- [Git standards](standards.md)
Expand Down
Loading

0 comments on commit dfed51c

Please sign in to comment.