Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy to prod #1737

Merged
merged 689 commits into from
Sep 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
689 commits
Select commit Hold shift + click to select a range
895d9fe
Feat: define an enrollment success template for agencies (#1620)
thekaveman Aug 7, 2023
646ed69
Agency Selector Modal: Fix padding regression (#1622)
machikoyasuda Aug 7, 2023
39e9066
Chore: update English agency-specific copy (#1621)
thekaveman Aug 7, 2023
29134b2
fix(help): h1 is centered on desktop and mobile
machikoyasuda Aug 7, 2023
eb720f8
fix(help): create and use .h3-sm class
machikoyasuda Aug 7, 2023
0cc46a8
fix(help): use pt-4 for mobile, pt-lg-8 for desktop
machikoyasuda Aug 7, 2023
b03b9a4
fix(help): mobile - lessen padding b/w grafs by 4px
machikoyasuda Aug 7, 2023
99e8d94
chore: rename class
machikoyasuda Aug 7, 2023
840ef32
chore: implement re-name
machikoyasuda Aug 7, 2023
1839379
feat(css): new body text color
machikoyasuda Aug 7, 2023
48cbb0e
chore(pre-commit): autoupdate hooks
pre-commit-ci[bot] Aug 7, 2023
91a2e2c
chore(pre-commit): autoupdate hooks (#1625)
angela-tran Aug 7, 2023
783bf90
Landing Pages: Fix text padding (#1614)
machikoyasuda Aug 7, 2023
c13715c
Styles: New body text color (#1624)
machikoyasuda Aug 8, 2023
5cafeda
Help: Mobile - Type fixes (#1623)
machikoyasuda Aug 8, 2023
dbf66c9
refactor(copy): msgid most one-line strings
thekaveman Aug 7, 2023
022fef1
refactor(copy): msgid eligibility strings
thekaveman Aug 8, 2023
1e7b142
refactor(copy): msgid enrollment strings
thekaveman Aug 8, 2023
591fa39
refactor(copy): msgid core strings
thekaveman Aug 7, 2023
23616ab
chore(help): move the FOSS text
thekaveman Aug 8, 2023
db27d68
fix: missing word
thekaveman Aug 8, 2023
86a0213
fix: quotes
thekaveman Aug 8, 2023
ac122bc
fix: remove duplicate msgstr for Get Started
thekaveman Aug 8, 2023
30268d0
chore: replace TODO alt text
thekaveman Aug 8, 2023
119f9ce
Refactor: app strings into msgid (#1626)
thekaveman Aug 8, 2023
c8c47ec
refactor(index): use modal-trigger-link for selector, add period=False
machikoyasuda Aug 8, 2023
d28c08d
refactor(elig-start): use modal-trigger-link for Login.gov, add login…
machikoyasuda Aug 8, 2023
9fdfbbc
refactor(modals): add period=True for the rest of the modals
machikoyasuda Aug 8, 2023
cd673e7
refactor(trigger): rename cssId to just ID
machikoyasuda Aug 8, 2023
f112387
chore: rename files
machikoyasuda Aug 8, 2023
c49d35f
fix: fully rename file
machikoyasuda Aug 8, 2023
8675331
fix: use the word text instead of trigger_text
machikoyasuda Aug 8, 2023
3a54e84
fix(modal-trigger): use Modal for HREF
machikoyasuda Aug 8, 2023
02fc681
Refactor: All modal triggers are now links, not buttons (#1627)
machikoyasuda Aug 8, 2023
b5498e3
fix(css): first pass @ responsive letter-spacing for h1
machikoyasuda Aug 2, 2023
67c810b
feat(css): h2 - rename p-sm to h2-sm; apply responsive letter-spacing
machikoyasuda Aug 8, 2023
333149f
chore(css): make comment clearer
machikoyasuda Aug 3, 2023
edac160
fix(agency-modal): use .h1 instead of custom font declaration
machikoyasuda Aug 8, 2023
6ea1a92
fix(css): add .h1 to font fam declaration
machikoyasuda Aug 3, 2023
8a134e6
fix(css): h1, h2 - declare font sizes responsively up front
machikoyasuda Aug 3, 2023
0044f8d
fix(css): h1, h2 - declare font sizes responsively up front
machikoyasuda Aug 8, 2023
ea037c5
fix(css): replace p-sm with h2-sm, renamed class
machikoyasuda Aug 8, 2023
b631a85
fix(css): replace p-sm with h2-sm, renamed class
machikoyasuda Aug 8, 2023
29d6f03
fix(css): add l-s for h3, h4 responsive
machikoyasuda Aug 8, 2023
fabdfcc
fix(h4): flip the 3 and 5 perc
machikoyasuda Aug 8, 2023
c47bbaa
refactor(css): card title font size/letter-spacing should come f from h4
machikoyasuda Aug 8, 2023
ce8da3b
chore: remove unused vars
machikoyasuda Aug 8, 2023
fa3c6f0
feat(css): add new body letter-spacing
machikoyasuda Aug 8, 2023
c4506ef
feat(css): footer link letter-spacing
machikoyasuda Aug 8, 2023
51976f1
feat(css): letter-spacing for buttons
machikoyasuda Aug 8, 2023
ee2c2e5
feat(css): letter-spacing for ls-base, rest of links
machikoyasuda Aug 8, 2023
540c7a3
fix: remove this for now, use from Help PR
machikoyasuda Aug 8, 2023
958baa9
fix(h2): h2 only has 1 letter-spacing percent
machikoyasuda Aug 8, 2023
7c145d8
fix(h2): add letter-spacing for h2-sm
machikoyasuda Aug 8, 2023
5163dd1
chore: omit unneeded comment
machikoyasuda Aug 8, 2023
e3975e4
fix(landing): resolve merge conflict
machikoyasuda Aug 8, 2023
cc6bb56
feat(copy): add Spanish copy
machikoyasuda Aug 9, 2023
7bff521
fix: add back issues link
machikoyasuda Aug 9, 2023
cdbec01
fix(help): correct mst cc q/a on help
machikoyasuda Aug 9, 2023
0dfae40
fix(titles): change back Overview to Information
machikoyasuda Aug 9, 2023
0932209
fix(copy): add new Page TItles
machikoyasuda Aug 9, 2023
ec94d48
fix(enrollment): fix lp link misplaced
machikoyasuda Aug 9, 2023
abc79b3
fix(copy): switch around titles
machikoyasuda Aug 9, 2023
424161b
fix(copy): fix page titles for elig/start - use Overview
machikoyasuda Aug 9, 2023
d64d52d
chore(css): remove unused .btn-link class
machikoyasuda Aug 9, 2023
7c31e8f
feat(css): add focus ring for basic link
machikoyasuda Aug 9, 2023
8f7c066
feat(css): add focus ring for basic btn
machikoyasuda Aug 9, 2023
ed873b2
feat(css): add focus ring for card
machikoyasuda Aug 9, 2023
2613607
feat(css): add focus ring for radio input
machikoyasuda Aug 9, 2023
7e8225b
feat(css): add focus ring for cc form inputs
machikoyasuda Aug 9, 2023
7b8f853
feat(css): add white focus ring for footer links
machikoyasuda Aug 9, 2023
937fc07
fix: update benefits/locale/es/LC_MESSAGES/django.po
machikoyasuda Aug 9, 2023
1362fdb
fix: Update benefits/locale/es/LC_MESSAGES/django.po
machikoyasuda Aug 9, 2023
be02a6d
docs(copy): first draft of copy/translation process doc
machikoyasuda Jun 23, 2023
d01771e
docs(copy): update link
machikoyasuda Aug 9, 2023
a2f785f
docs: delete readme, move to docs section
machikoyasuda Aug 9, 2023
992486c
docs: update i18n docs to reflect new process
machikoyasuda Aug 9, 2023
b3503f7
docs: add new product/design sidebar
machikoyasuda Aug 9, 2023
a586202
docs: add line about transferring copy
machikoyasuda Aug 9, 2023
e84ac70
docs(i18n): add instructions for agency-specific copy
machikoyasuda Aug 9, 2023
ac6eb5f
fix: Update benefits/core/templates/core/base.html
machikoyasuda Aug 10, 2023
476d8fb
fix: Update benefits/core/templates/core/base.html
machikoyasuda Aug 10, 2023
d977889
fix: Update benefits/locale/en/LC_MESSAGES/django.po
machikoyasuda Aug 10, 2023
8e82450
fix: Update benefits/locale/es/LC_MESSAGES/django.po
machikoyasuda Aug 10, 2023
a0db4e7
fix: Update benefits/locale/es/LC_MESSAGES/django.po
machikoyasuda Aug 10, 2023
6ed89e7
fix: Update benefits/locale/es/LC_MESSAGES/django.po
machikoyasuda Aug 10, 2023
91b7081
fix: Update benefits/locale/es/LC_MESSAGES/django.po
machikoyasuda Aug 10, 2023
83eba05
fix: Update benefits/locale/es/LC_MESSAGES/django.po
machikoyasuda Aug 10, 2023
8a19a0e
fix: Update benefits/locale/es/LC_MESSAGES/django.po
machikoyasuda Aug 10, 2023
947a439
fix: Update benefits/locale/es/LC_MESSAGES/django.po
machikoyasuda Aug 10, 2023
8e3f04c
fix(copy): fix VeteranS everywhere
machikoyasuda Aug 10, 2023
2dfb7fe
fix(copy): : Agency card overview / Descripción de la tarjeta de agencia
machikoyasuda Aug 10, 2023
d33a410
fix(sp): don't title case any buttons in Spanish
machikoyasuda Aug 10, 2023
1335e2c
fix(copy): Courtesy card -> Agency card
machikoyasuda Aug 10, 2023
3843ff5
fix(copy): We couldn't connect your card
machikoyasuda Aug 10, 2023
2eb1184
Letter-spacing (#1613)
machikoyasuda Aug 10, 2023
18ecc4e
fix(enrollment-success): remove offset
machikoyasuda Aug 10, 2023
1c5bc10
fix(landing): add 72px extra padding/margin top for Desktop
machikoyasuda Aug 10, 2023
f04c693
fix(success): make text col-7, bigger from 6
machikoyasuda Aug 10, 2023
29d1fc9
refactor: update agency selector template to use new logo dimensions
angela-tran Aug 11, 2023
2b2ee37
Refactor: agency logo width and height (#1632)
angela-tran Aug 11, 2023
25a9f4d
Spanish copy + small copy fixes (#1629)
machikoyasuda Aug 11, 2023
7b40b0d
Merge branch 'dev' into feat/1387-focus-rings
machikoyasuda Aug 11, 2023
cf65fad
Feat: Focus rings (#1633)
machikoyasuda Aug 11, 2023
f61a608
Landing Page: Desktop - Add 72px extra padding/margin top (#1641)
machikoyasuda Aug 11, 2023
603f15d
fix(css): .btn uses primaryry-color
machikoyasuda Aug 10, 2023
24950e6
fix(btn): add hover color
machikoyasuda Aug 11, 2023
f3fb13b
fix(agency-selector): use h4 instead of .card-title
machikoyasuda Aug 11, 2023
9c716ae
Enrollment Success: Desktop - Bring text/img closer together (#1640)
machikoyasuda Aug 11, 2023
fa69047
refactor(footer): first pass at Footer refactor
machikoyasuda Aug 10, 2023
4ff0f76
refactor(footer): first pass at Footer refactor
machikoyasuda Aug 11, 2023
d4d31e3
fix(footer): add translate to mobile footer privacy link
machikoyasuda Aug 10, 2023
45991ac
fix(footer): fix extra-spacing on Desktop bug, add .footer-link to al…
machikoyasuda Aug 11, 2023
457f22a
Fix: Button uses primary-color for background (#1639)
machikoyasuda Aug 11, 2023
269c3e3
fix(enrollment-index): widen header to col-lg-8, use manual <br> betw…
machikoyasuda Aug 11, 2023
97aecf3
Enrollment Index: Ensure header is always 2 lines. (#1644)
machikoyasuda Aug 11, 2023
63be611
Fix: Agency Selector h4 bug (#1649)
machikoyasuda Aug 11, 2023
e36324e
Refactor: Footer - Re-do mobile footer alignment (#1642)
machikoyasuda Aug 11, 2023
5b243aa
feat(skip-nav): first pass @ skip nav
machikoyasuda Aug 11, 2023
43258e2
chore(css): clean up unnecessary css
machikoyasuda Aug 10, 2023
035bb78
Feat: Skip Nav (#1645)
machikoyasuda Aug 14, 2023
233c318
feat(sbmtd/senior): define EligibilityType for SBMTD senior flow
angela-tran Aug 9, 2023
4f61663
feat(sbmtd/senior): define EligibilityVerifier
angela-tran Aug 9, 2023
b938d0b
feat(sbmtd/senior): define TransitAgency with placeholder templates
angela-tran Aug 9, 2023
05b808d
feat(sbmtd/senior): add SBMTD logo files
angela-tran Aug 11, 2023
1f99743
feat(sbmtd/senior): define PaymentProcessor
angela-tran Aug 14, 2023
9ac52ab
feat(sbmtd/senior): add copy and translations to templates
angela-tran Aug 14, 2023
f2043d4
feat(sbmtd/senior): add app settings pointed at Key Vault secrets
angela-tran Aug 14, 2023
ebea84f
fix: update link to internal link
machikoyasuda Aug 14, 2023
8e99c02
Document copy/translation/i18n/PO file process (#1447)
machikoyasuda Aug 15, 2023
b251c74
Feat: configure SBMTD senior flow (#1631)
angela-tran Aug 15, 2023
f08e874
fix(eligibility): unverified takes user to index
thekaveman Aug 14, 2023
739d0f3
fix(200-user-error): use index button, override text
thekaveman Aug 15, 2023
b6d8417
fix(errors): small typo in titles
thekaveman Aug 15, 2023
43e61b4
Fix: return home button (#1655)
thekaveman Aug 15, 2023
0a55722
feat(agency-modal): first pass @ new responsive design
machikoyasuda Aug 11, 2023
9af81aa
feat(modal): get the outer spacing right
machikoyasuda Aug 11, 2023
c5c0397
refactor(modal): first pass @ combining into 1 modal template
machikoyasuda Aug 11, 2023
f2870d6
fix(modal): rename file in last 2 modals
machikoyasuda Aug 11, 2023
6cb64c7
fix(modal): fix mobile class issue
machikoyasuda Aug 11, 2023
4e96b71
chore(css): eliminate unnecessary css
machikoyasuda Aug 11, 2023
1bb0235
fix(card): add border:0 above border-top for card focus ring
machikoyasuda Aug 11, 2023
5fb062b
fix(modal): first pass @ new svg for btn-close + focus ring
machikoyasuda Aug 14, 2023
139e9a3
feat(modal): btn-close - add hover color
machikoyasuda Aug 14, 2023
c5b2e1a
fix(css): remify last border-radius
machikoyasuda Aug 15, 2023
1a5af00
chore: remove unused svg
machikoyasuda Aug 15, 2023
63c451b
fix(sbmtd/senior): typo in info_url
angela-tran Aug 15, 2023
d9aed34
Agency Modal: New design + modal includes refactor (#1646)
machikoyasuda Aug 15, 2023
0b2dc06
Fix: typo in info_url for SBMTD (#1656)
angela-tran Aug 15, 2023
f02020e
fix(card): specify card focus outline offset as 0
machikoyasuda Aug 15, 2023
c38ce96
Fix: Focus ring on Card on Google Chrome (#1658)
machikoyasuda Aug 15, 2023
d4bb71f
chore(deps-dev): bump cypress from 12.17.3 to 12.17.4 in /tests/cypress
dependabot[bot] Aug 15, 2023
07fc790
chore(deps-dev): bump cypress from 12.17.3 to 12.17.4 in /tests/cypre…
thekaveman Aug 15, 2023
5068f9d
fix(skip nav): add scroll-padding-top to remove skip nav page jank
machikoyasuda Aug 15, 2023
774be89
feat(icons): remove alt tag from decorative icons
machikoyasuda Aug 15, 2023
cf99040
fix(icon): remove name validation
machikoyasuda Aug 15, 2023
dca4eb4
fix(contactless): add back alt for contactless
machikoyasuda Aug 15, 2023
daca274
chore: format
machikoyasuda Aug 15, 2023
f806add
Fix: Remove alt tag from decorative icons (#1654)
machikoyasuda Aug 15, 2023
32cad6c
fix(tests): typo in test names
thekaveman Aug 15, 2023
3b8989c
refactor(EligibilityVerifier): references form class
thekaveman Aug 15, 2023
3711239
fix(skip-nav): add comment and better number
machikoyasuda Aug 15, 2023
54dc82f
refactor(eligibility/forms): config for MST CC
thekaveman Aug 15, 2023
0b6ea04
refactor(eligibility/confirm): simpler form context
thekaveman Aug 15, 2023
cf013de
Fix: Skip Nav - Remove skip nav page jank (#1663)
machikoyasuda Aug 15, 2023
7bfe439
Refactor: eligibility forms (#1657)
thekaveman Aug 15, 2023
cdba0b8
feat(models): add support to EligibilityVerifier for being active or not
angela-tran Aug 16, 2023
28b00cf
feat: data migration reads Key Vault secrets to set verifier active flag
angela-tran Aug 16, 2023
68078ef
feat(form): EligibilityVerifierSelectionForm only shows active verifiers
angela-tran Aug 16, 2023
baa0f56
test: set test fixture object to be seen as active EligibilityVerifier
angela-tran Aug 16, 2023
34a0506
test: update test to mirror implementation in EligibilityVerifierForm
angela-tran Aug 16, 2023
02dc099
chore: have data migration set some verifiers to active
angela-tran Aug 16, 2023
b697b92
Feat: EligibilityVerifier active flag (#1665)
angela-tran Aug 16, 2023
7858641
refactor(cypress): use .contains() and real copy, instead of DOM/ID/e…
machikoyasuda Aug 16, 2023
c82b88b
Refactor Cypress helper (#1667)
machikoyasuda Aug 16, 2023
7842e89
Deploy to test (#1669)
thekaveman Aug 16, 2023
26fc6a6
fix: rename senior verifier secret names and env vars to be consistent
angela-tran Aug 16, 2023
b48b6a3
fix: make courtesy card verifier secret/env name consistent with others
angela-tran Aug 16, 2023
0a53fb2
chore: terraform format
angela-tran Aug 16, 2023
3661647
Fix: verifier secret name (#1670)
angela-tran Aug 16, 2023
a17dd0b
Deploy to test (#1671)
thekaveman Aug 16, 2023
ab2513f
refactor(base): remove Call To Action Text + CSS
machikoyasuda Aug 16, 2023
8d3a0f8
refactor(form): remove unused Help Text and CSS
machikoyasuda Aug 16, 2023
9d97a08
Refactor: Remove unnecessary template code (#1674)
machikoyasuda Aug 21, 2023
9de6f5e
chore(deps): bump cypress-io/github-action from 5 to 6
dependabot[bot] Aug 21, 2023
32634fa
chore(pre-commit): autoupdate hooks
pre-commit-ci[bot] Aug 21, 2023
3699d14
chore(pre-commit): autoupdate hooks (#1689)
thekaveman Aug 22, 2023
b5f763d
chore(deps): bump cypress-io/github-action from 5 to 6 (#1688)
thekaveman Aug 22, 2023
996ce6b
chore(deps-dev): bump sentry-sdk from 1.29.2 to 1.30.0
dependabot[bot] Aug 29, 2023
b21915a
chore(deps-dev): bump cypress from 12.17.4 to 13.1.0 in /tests/cypress
dependabot[bot] Aug 31, 2023
5d3f718
chore(deps): bump actions/checkout from 3 to 4
dependabot[bot] Sep 4, 2023
051b17c
chore(pre-commit): autoupdate hooks
pre-commit-ci[bot] Sep 4, 2023
f886c58
chore(pre-commit): autoupdate hooks (#1703)
thekaveman Sep 5, 2023
454e936
chore(deps): bump actions/checkout from 3 to 4 (#1701)
thekaveman Sep 5, 2023
d74cf48
chore(deps-dev): bump cypress from 12.17.4 to 13.1.0 in /tests/cypres…
thekaveman Sep 5, 2023
49340f3
chore(deps-dev): bump sentry-sdk from 1.29.2 to 1.30.0 (#1695)
thekaveman Sep 5, 2023
ef04a19
chore(deps-dev): bump django from 4.2.4 to 4.2.5
dependabot[bot] Sep 5, 2023
7f1bbda
feat(elig-start): Veterans - Use same copy as Older Adult
machikoyasuda Sep 5, 2023
1473974
feat(elig-start): Veterans - Use Login.gov button for CTA
machikoyasuda Sep 5, 2023
829e4d7
chore: update django.po
machikoyasuda Sep 5, 2023
edb1d10
fix(elig-start): change heading, change to Spaces: 2
machikoyasuda Sep 6, 2023
f9dffcb
fix(modal): rename modal from Senior to Login
machikoyasuda Sep 6, 2023
4cb2853
chore: run makemessages
machikoyasuda Sep 6, 2023
2e9089d
Eligibility Start: Veterans - Use Older Adult copy (#1705)
machikoyasuda Sep 6, 2023
170136b
feat(elig-index): Veterans - Use Older Adult language for Veterans. C…
machikoyasuda Sep 6, 2023
46f40ca
fix(login): use .login, not #login for Elig Start, Sign Out
machikoyasuda Sep 6, 2023
fc6a432
fix(elig-index): actually don't create 2nd modal
machikoyasuda Sep 6, 2023
32f125f
fix(modal-trigger): prevent duplicate ID issue
machikoyasuda Sep 6, 2023
2413e16
feat(modal-trigger): remove ID field, unused
machikoyasuda Sep 6, 2023
8d2c3e1
feat(modal): rename from Senior to Login.gov modal
machikoyasuda Sep 6, 2023
93e2e1c
chore: indent by spaces 2
machikoyasuda Sep 6, 2023
2766a29
fix(elig-start): use Login class, not ID
machikoyasuda Sep 6, 2023
6ae3415
fix(copy): Seguro Social, not seguro social
machikoyasuda Sep 6, 2023
acb192c
fix(copy): Seguro Social, not seguro social (#1708)
machikoyasuda Sep 7, 2023
ff4ee18
fix(veteran-selector): add --veteran modal
machikoyasuda Sep 7, 2023
38d9da8
chore(deps-dev): bump django from 4.2.4 to 4.2.5 (#1702)
machikoyasuda Sep 7, 2023
a282b4e
fix(copy): socio de pagos, not pago
machikoyasuda Sep 7, 2023
f17ea78
fix(copy): update spanish tense for Login.gov modal
machikoyasuda Sep 7, 2023
aadce51
Fix: Add one S (#1711)
machikoyasuda Sep 7, 2023
57553fd
fix(naming): remove S
machikoyasuda Sep 11, 2023
989096b
fix(copy): su not tu
machikoyasuda Sep 11, 2023
e85122f
chore: run makemessages
machikoyasuda Sep 11, 2023
42e5fa1
Merge branch 'dev' into feat/1709-login-gov-spanish
machikoyasuda Sep 11, 2023
4f43293
Fix: Update Spanish tense for Login.gov modal (#1712)
machikoyasuda Sep 11, 2023
22e7def
Eligibility Index: Veterans - Use Older Adult copy (#1706)
machikoyasuda Sep 11, 2023
711b3a8
chore(pre-commit): autoupdate hooks
pre-commit-ci[bot] Sep 11, 2023
58091f2
feat(veterans): add Sign Out link for Veterans/Login.gov flow
machikoyasuda Sep 7, 2023
497c268
Veterans: add Sign Out link for Veterans/Login.gov flow (#1713)
machikoyasuda Sep 11, 2023
5bc97b9
chore(pre-commit): autoupdate hooks (#1716)
machikoyasuda Sep 11, 2023
cbbf553
chore(deps): bump docker/build-push-action from 4 to 5
dependabot[bot] Sep 12, 2023
ccb6027
chore(deps): bump docker/login-action from 2 to 3
dependabot[bot] Sep 12, 2023
c465fc3
chore(deps): bump docker/setup-buildx-action from 2 to 3
dependabot[bot] Sep 12, 2023
0f08308
chore(deps-dev): bump cypress from 13.1.0 to 13.2.0 in /tests/cypress
dependabot[bot] Sep 12, 2023
945db93
chore(deps-dev): bump sentry-sdk from 1.30.0 to 1.31.0
dependabot[bot] Sep 13, 2023
a25aced
chore(deps): bump docker/setup-buildx-action from 2 to 3 (#1719)
thekaveman Sep 13, 2023
46b83f7
chore(deps): bump docker/build-push-action from 4 to 5 (#1717)
thekaveman Sep 13, 2023
8715351
chore(deps): bump docker/login-action from 2 to 3 (#1718)
thekaveman Sep 14, 2023
a01423a
chore(deps-dev): bump cypress from 13.1.0 to 13.2.0 in /tests/cypress…
thekaveman Sep 14, 2023
9a15856
chore(deps-dev): bump sentry-sdk from 1.30.0 to 1.31.0 (#1723)
thekaveman Sep 14, 2023
110202f
chore: bump version ahead of release
thekaveman Sep 14, 2023
a82f1af
Chore: bump version ahead of release (#1725)
thekaveman Sep 15, 2023
3ac3307
chore(deps-dev): bump eligibility-api from 2023.6.1 to 2023.9.1
dependabot[bot] Sep 18, 2023
40a2834
chore(deps-dev): bump eligibility-api from 2023.6.1 to 2023.9.1 (#1728)
thekaveman Sep 18, 2023
13419d4
chore(version): manage string in pyproject
thekaveman Sep 18, 2023
5464c84
chore: normalize pyproject structure
thekaveman Sep 18, 2023
60b6d0b
Chore: version management (#1729)
thekaveman Sep 19, 2023
0fdb8da
chore: update Python version for GitHub workflows
angela-tran Sep 19, 2023
eeea738
chore: update Black target version to 3.11
angela-tran Sep 19, 2023
ec7981c
Chore: update to Python 3.11 (#1734)
angela-tran Sep 19, 2023
b5d0b20
Deploy to test (#1726)
thekaveman Sep 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 44 additions & 12 deletions .github/ISSUE_TEMPLATE/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,50 +19,82 @@ body:
release process](https://docs.calitp.org/benefits/deployment/release/).

Close this issue when the checklist is complete.
validations:
required: true
- type: input
id: manager
attributes:
label: Release manager
description: GitHub handle of who is responsible for this release; assign this issue to this user
placeholder: "@cal-itp-bot"
validations:
required: true
- type: input
id: version
attributes:
label: Release version
description: Calver-formatted version for this release
placeholder: YYYY.0M.R
validations:
required: true
- type: markdown
attributes:
value: |
## Release type

Reference the diagram and discussion on [the release process docs](https://docs.calitp.org/benefits/deployment/release/).

* `Regular` release: propogates from `dev` to `test`, and then `test` to `prod`. Only possible if `dev` is ready to deploy.
* `Hotfix` release: propogates from `test` to `prod`, skipping `dev`.
* `Regular` release: propagates from `dev` to `test`, and then `test` to `prod`. Only possible if `dev` is ready to deploy.
* `Hotfix` release: fix is merged into `prod`. After release, fix is propagated to `dev` and `test`.
- type: dropdown
id: type
attributes:
label: What type of release is this?
options:
- "Regular"
- "Hotfix"
validations:
required: true
- type: markdown
attributes:
value: |
## Release checklist

After this issue is created, edit the description to keep only the checklist for the release type.
- type: checkboxes
id: checklist
id: regular-checklist
attributes:
label: Release checklist
description: Complete these items in sequence as the release progresses
label: Regular release checklist
description: Complete these items in sequence as the `Regular` release progresses
options:
- label: Ensure the `dev` branch and secrets are up to date
- label: Create a branch called release/version from the source branch
- label: Bump the application version
- label: Open a PR for the release branch into the staging target, merge
- label: "(If applicable): update staging data migrations"
- label: "(If applicable): open another PR from dev to test"
- label: "(If applicable): update data migrations"
- label: Open a PR for the release branch into `dev`, merge
- label: Ensure `test` secrets are up to date
- label: Open another PR from `dev` to `test`, merge
- label: QA the app in test
- label: "(If applicable): prepare production data migrations"
- label: Open a PR to for the test branch into prod, merge
- label: Ensure `prod` secrets are up to date
- label: Open a PR for the `test` branch into `prod`, merge
- label: QA the app in prod
- label: Tag the release on the prod branch, push the tag to GitHub
- label: Tag the release on the `prod` branch, push the tag to GitHub (see [docs](https://docs.calitp.org/benefits/deployment/release/#5-tag-the-release) for commands)
- label: Create a release in GitHub for the tag, generating release notes
- label: Edit release notes with additional context, images, animations, etc. as-needed
- type: checkboxes
id: hotfix-checklist
attributes:
label: Hotfix release checklist
description: Complete these items in sequence as the `Hotfix` release progresses
options:
- label: Make the hotfix in a branch from `prod`
- label: Bump the application version
- label: Ensure `prod` secrets are up to date
- label: Open a PR from the hotfix branch into `prod`, merge
- label: QA the fix in prod
- label: Tag the release on `prod`, push the tag to GitHub (see [docs](https://docs.calitp.org/benefits/deployment/release/#5-tag-the-release) for commands)
- label: Create a release in GitHub for the tag, generating release notes
- label: Edit release notes with additional context, images, animations, etc. as-needed
- label: Create a branch off `dev`
- label: Open a PR from `prod` into that branch, merge
- label: (optional) Adapt hotfix to current state of `dev` in that same branch
- label: Merge the PR into `dev`
2 changes: 1 addition & 1 deletion .github/workflows/.python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.10
3.11
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,24 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Write commit SHA to file
run: echo "${{ github.sha }}" >> benefits/static/sha.txt

- name: Docker Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Build, tag, and push image to GitHub Container Registry
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
builder: ${{ steps.buildx.outputs.name }}
build-args: GIT-SHA=${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
if: github.event.workflow_run == null || github.event.workflow_run.conclusion == 'success'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download coverage report
uses: dawidd6/action-download-artifact@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests-cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Start app
run: |
touch .env
docker compose up --detach client server

- name: Run Cypress tests
uses: cypress-io/github-action@v5
uses: cypress-io/github-action@v6
env:
CYPRESS_baseUrl: http://localhost:8000
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install system packages
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Start app
run: |
touch .env
docker compose up --detach client

- name: Run Lighthouse tests for a11y
uses: treosh/lighthouse-ci-action@9.6.8
uses: treosh/lighthouse-ci-action@10.1.0
with:
urls: |
http://localhost:8000
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
*.mo
*.tfbackend
*.tmp
*.egg-info
static/
!benefits/static
benefits/static/sha.txt
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ default_stages:

repos:
- repo: https://github.com/compilerla/conventional-pre-commit
rev: v2.1.1
rev: v2.4.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
Expand All @@ -34,14 +34,14 @@ repos:
args: ["--maxkb=1500"]

- repo: https://github.com/psf/black
rev: 23.3.0
rev: 23.9.1
hooks:
- id: black
types:
- python

- repo: https://github.com/PyCQA/flake8
rev: 6.0.0
rev: 6.1.0
hooks:
- id: flake8
types:
Expand All @@ -55,12 +55,12 @@ repos:
files: .py$

- repo: https://github.com/pre-commit/mirrors-prettier
rev: v3.0.0-alpha.6
rev: v3.0.3
hooks:
- id: prettier
types_or: [javascript, css]

- repo: https://github.com/Riverside-Healthcare/djLint
rev: v1.23.0
rev: v1.32.1
hooks:
- id: djlint-django
3 changes: 2 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"args": ["runserver", "--insecure", "0.0.0.0:8000"],
"django": true,
"env": {
"DJANGO_DEBUG": "true"
"DJANGO_DEBUG": "true",
"PYTHONWARNINGS": "default"
}
},
{
Expand Down
10 changes: 4 additions & 6 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
{
"djlint.guessProfile": false,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"[html]": {
"editor.defaultFormatter": "monosans.djlint"
},
"[django-html]": {
"editor.defaultFormatter": "monosans.djlint"
"[django-html][html]": {
"editor.defaultFormatter": "monosans.djlint",
"djlint.enableLinting": true,
"djlint.profile": "django"
},
"files.encoding": "utf8",
"files.eol": "\n",
Expand Down
4 changes: 2 additions & 2 deletions appcontainer/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ http {

# 404 known scraping path targets
# case-insensitive regex matches the given path fragment anywhere in the request path
location ~* /(\.?git|api|app|assets|ats|bootstrap|bower|cgi|content|credentials|docker|doc|env|example|swagger|web) {
location ~* /(\.?git|api|app|assets|ats|bootstrap|bower|cgi|content|cpanel|credentials|debug|docker|doc|env|example|jenkins|robots|swagger|web|yq) {
access_log off;
log_not_found off;
return 404;
}

# 404 known scraping file targets
# case-insensitive regex matches the given file extension anywhere in the request path
location ~* /.*\.(asp|axd|cgi|com|env|json|php|xml|ya?ml) {
location ~* /.*\.(ash|asp|axd|cgi|com|env|json|php|ping|xml|ya?ml) {
access_log off;
log_not_found off;
return 404;
Expand Down
9 changes: 8 additions & 1 deletion benefits/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
__version__ = "2023.04.2"
from importlib.metadata import version, PackageNotFoundError

try:
__version__ = version("benefits")
except PackageNotFoundError:
# package is not installed
pass


VERSION = __version__
49 changes: 42 additions & 7 deletions benefits/core/context_processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,37 @@
The core application: context processors for enriching request context data.
"""
from django.conf import settings
from django.urls import reverse

from . import session
from . import models, session


def _agency_context(agency):
return {
"eligibility_index_url": agency.eligibility_index_url,
"help_template": agency.help_template,
"info_url": agency.info_url,
"long_name": agency.long_name,
"phone": agency.phone,
"short_name": agency.short_name,
"slug": agency.slug,
}


def agency(request):
"""Context processor adds some information about the active agency to the request context."""
agency = session.agency(request)

if agency is None:
return {}

return {"agency": _agency_context(agency)}


def active_agencies(request):
"""Context processor adds some information about all active agencies to the request context."""
agencies = models.TransitAgency.all_active()

return {"active_agencies": [_agency_context(agency) for agency in agencies]}


def analytics(request):
Expand All @@ -18,15 +46,12 @@ def authentication(request):

if verifier:
data = {
"required": verifier.is_auth_required,
"logged_in": session.logged_in(request),
"sign_out_route": reverse("oauth:logout"),
}

if verifier.is_auth_required:
auth_provider = verifier.auth_provider
data["sign_in_button_label"] = auth_provider.sign_in_button_label
data["sign_out_button_label"] = auth_provider.sign_out_button_label
data["sign_out_button_template"] = verifier.auth_provider.sign_out_button_template
data["sign_out_link_template"] = verifier.auth_provider.sign_out_link_template

return {"authentication": data}
else:
Expand All @@ -36,3 +61,13 @@ def authentication(request):
def debug(request):
"""Context processor adds debug information to request context."""
return {"debug": session.context_dict(request)}


def origin(request):
"""Context processor adds session.origin to request context."""
origin = session.origin(request)

if origin:
return {"origin": origin}
else:
return {}
Loading