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 2024.01.1 to Test #1869

Merged
merged 111 commits into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
6c9149b
docs: add system use case with retry as alternate flow
angela-tran Nov 28, 2023
29279f5
chore(deps-dev): bump cypress from 13.6.0 to 13.6.1 in /tests/cypress
dependabot[bot] Dec 5, 2023
7fb2ecc
chore(deps-dev): bump cypress from 13.6.0 to 13.6.1 in /tests/cypress…
machikoyasuda Dec 6, 2023
82c071d
chore(deps): bump actions/setup-python from 4 to 5
dependabot[bot] Dec 6, 2023
ee9e336
chore(deps): bump actions/setup-python from 4 to 5 (#1813)
machikoyasuda Dec 6, 2023
6fcb1c4
fix: update docs and comments to remove outdated information
angela-tran Dec 7, 2023
1f3d8c3
chore: use 'phase' instead for better understanding across the team
angela-tran Dec 7, 2023
ae474d6
docs: supported enrollment pathways
machikoyasuda Dec 7, 2023
0bedc53
docs: supported enrollment pathways
machikoyasuda Dec 7, 2023
069f439
chore(pre-commit): autoupdate hooks
pre-commit-ci[bot] Dec 11, 2023
6d39bd0
docs: remove college, rename Enrollment Pathways
machikoyasuda Dec 11, 2023
c467d4b
docs: rename seniors to older adults
machikoyasuda Dec 11, 2023
bfb7aa1
docs: add links to apis
machikoyasuda Dec 11, 2023
4d84456
docs: add links
machikoyasuda Dec 11, 2023
ad7ee35
docs(analytics): first pass @ analytics docs
machikoyasuda Dec 11, 2023
3386465
docs(analytics): add more details/links
machikoyasuda Dec 11, 2023
488536c
docs(analytics): add user prop sentence
machikoyasuda Dec 11, 2023
daf646e
chore(deps-dev): bump sentry-sdk from 1.38.0 to 1.39.0
dependabot[bot] Dec 12, 2023
c8176ce
docs: Update README.md
indexing Dec 13, 2023
bd94b59
docs(analytics): add links, supplemental sentence
machikoyasuda Dec 13, 2023
2a3b8d0
Docs: Analytics (#1818)
machikoyasuda Dec 13, 2023
810bc3f
docs(readme): add links, months
machikoyasuda Dec 13, 2023
aa2002d
docs: Update README.md (#1821)
machikoyasuda Dec 13, 2023
77531fd
chore(pre-commit): autoupdate hooks (#1808)
machikoyasuda Dec 13, 2023
228a0ba
chore(deps-dev): bump sentry-sdk from 1.38.0 to 1.39.0 (#1820)
machikoyasuda Dec 13, 2023
c7b4ddd
chore(deps): bump github/codeql-action from 2 to 3
dependabot[bot] Dec 13, 2023
139609f
chore(deps): bump dawidd6/action-download-artifact from 2 to 3
dependabot[bot] Dec 13, 2023
a5c63c5
docs: add qa manual test scripts
machikoyasuda Dec 13, 2023
62e1b8f
fix: typo
machikoyasuda Dec 13, 2023
d4680b7
chore(deps): bump github/codeql-action from 2 to 3 (#1822)
machikoyasuda Dec 13, 2023
6b928ed
chore(deps): bump dawidd6/action-download-artifact from 2 to 3 (#1823)
machikoyasuda Dec 14, 2023
d1281e8
Update docs/README.md
machikoyasuda Dec 14, 2023
4468baf
Update docs/README.md
machikoyasuda Dec 14, 2023
7b9d26a
Update docs/README.md
machikoyasuda Dec 14, 2023
6af39c6
chore(deps-dev): bump sentry-sdk from 1.39.0 to 1.39.1
dependabot[bot] Dec 14, 2023
cb8db9e
chore(deps): bump actions/upload-artifact from 3 to 4
dependabot[bot] Dec 14, 2023
88c0524
fix(copy): fix NIST typo in English. Spanish typo remains.
machikoyasuda Dec 14, 2023
27ccef2
chore(deps): bump actions/upload-artifact from 3 to 4 (#1826)
machikoyasuda Dec 14, 2023
0e252b2
Docs: add system use case with retry as alternate flow (#1798)
angela-tran Dec 14, 2023
8b5259a
Docs: supported agencies, enrollment pathways (#1815)
machikoyasuda Dec 14, 2023
dbd3ed7
Fix: Fix NIST typo in English. (#1827)
machikoyasuda Dec 14, 2023
b31a4a8
Docs: add manual qa instructions (#1824)
machikoyasuda Dec 14, 2023
cc1175a
chore(deps-dev): bump sentry-sdk from 1.39.0 to 1.39.1 (#1825)
machikoyasuda Dec 14, 2023
75707fc
docs(sidebar): add Use cases to Product & Design section
machikoyasuda Dec 15, 2023
3e8eb38
docs(sidebar): rename to Enrollment use cases; fix indented bullets
machikoyasuda Dec 15, 2023
e05f8a3
docs(fix): fix new use-case path
machikoyasuda Dec 15, 2023
290431a
Docs: Various small fixes (#1828)
machikoyasuda Dec 20, 2023
44b6d26
fix(server): remove unnecessary configuration of FLASK_APP
angela-tran Dec 20, 2023
025f5a6
Fix(server): remove unnecessary configuration of FLASK_APP (#1836)
angela-tran Dec 20, 2023
39dae9e
docs(config): necessary templates for new agencies
machikoyasuda Dec 18, 2023
a877ddc
docs(copy): first pass at terms & style guide
machikoyasuda Dec 18, 2023
ac44d4d
chore(pre-commit): autoupdate hooks
pre-commit-ci[bot] Dec 18, 2023
dce1167
chore(deps-dev): bump authlib from 1.2.1 to 1.3.0
dependabot[bot] Dec 20, 2023
1c743b8
chore(pre-commit): autoupdate hooks (#1830)
machikoyasuda Dec 20, 2023
0f621a9
chore(deps-dev): bump django from 4.2.7 to 5.0
dependabot[bot] Dec 14, 2023
132eb1a
docs: update django to 5
machikoyasuda Dec 14, 2023
13bcb1b
chore: undo local change
machikoyasuda Dec 14, 2023
611dcbc
chore(deps-dev): bump authlib from 1.2.1 to 1.3.0 (#1831)
machikoyasuda Dec 20, 2023
0abbf67
chore: remove setting that Django 5.0 has removed
angela-tran Dec 20, 2023
9b68a93
Merge branch 'dev' into dependabot/pip/django-5.0
angela-tran Dec 20, 2023
24db141
chore(deps-dev): bump django from 4.2.7 to 5.0 (#1809)
angela-tran Dec 20, 2023
45d6cec
Docs: List necessary templates for new agencies (#1833)
machikoyasuda Dec 21, 2023
4d5a14a
Docs: Copy terms & style guide (#1832)
machikoyasuda Dec 22, 2023
600f583
chore(pre-commit): autoupdate hooks
pre-commit-ci[bot] Dec 25, 2023
e8a468a
chore(deps-dev): bump cypress from 13.6.1 to 13.6.2 in /tests/cypress
dependabot[bot] Dec 26, 2023
753d469
chore(pre-commit): autoupdate hooks (#1837)
angela-tran Jan 2, 2024
85fe98b
chore(deps-dev): bump cypress from 13.6.1 to 13.6.2 in /tests/cypress…
angela-tran Jan 2, 2024
70cc7a5
chore(deps-dev): bump django from 5.0 to 5.0.1
dependabot[bot] Jan 2, 2024
0983eaf
docs(login.gov): correct verification API
thekaveman Jan 2, 2024
eca70d3
Docs: fix small typo (#1840)
thekaveman Jan 2, 2024
d45b138
Docs: update landing page
thekaveman Jan 2, 2024
f16ee37
docs: wording and punctuation
thekaveman Jan 2, 2024
d842518
docs: add product image
thekaveman Jan 3, 2024
0ab9623
docs: move image
thekaveman Jan 3, 2024
a9c95e6
Docs: update landing page (#1842)
thekaveman Jan 3, 2024
aee265f
chore(deps-dev): bump django from 5.0 to 5.0.1 (#1839)
machikoyasuda Jan 5, 2024
467b11f
chore(pre-commit): autoupdate hooks
pre-commit-ci[bot] Jan 8, 2024
4343885
chore(pre-commit): autoupdate hooks (#1843)
machikoyasuda Jan 8, 2024
b8f27e6
feat(ci): publish docs site previews
thekaveman Jan 8, 2024
7ceba1d
chore(ci): formatting
thekaveman Jan 8, 2024
10a3063
fix(ci): update syntax for octokit
thekaveman Jan 8, 2024
91b4067
fix(ci): read python version from file
thekaveman Jan 8, 2024
df899df
Feat: docs site previews for Pull Requests (#1845)
thekaveman Jan 8, 2024
b5f4c99
docs(analytics): add table for default user props
machikoyasuda Jan 8, 2024
5b84649
docs(analytics): add table for default user props (#1846)
machikoyasuda Jan 9, 2024
c9c9b15
chore(deps-dev): bump sentry-sdk from 1.39.1 to 1.39.2
dependabot[bot] Jan 10, 2024
81e7f31
chore(deps-dev): bump sentry-sdk from 1.39.1 to 1.39.2 (#1850)
thekaveman Jan 11, 2024
630b449
chore(pre-commit): autoupdate hooks
pre-commit-ci[bot] Jan 15, 2024
c6ec545
chore(deps-dev): bump cypress from 13.6.2 to 13.6.3 in /tests/cypress
dependabot[bot] Jan 16, 2024
2291d96
chore(pre-commit): autoupdate hooks (#1853)
machikoyasuda Jan 17, 2024
4ba66e8
chore(deps-dev): bump cypress from 13.6.2 to 13.6.3 in /tests/cypress…
machikoyasuda Jan 17, 2024
7a8fcf8
fix(copy): lowercase main content
machikoyasuda Jan 19, 2024
cd64efc
feat(css): first pass @ new skip nav
machikoyasuda Jan 19, 2024
ed5d213
refactor(css): use variables
machikoyasuda Jan 19, 2024
807277d
fix(css): remove unnecessary style declarations
machikoyasuda Jan 19, 2024
d6b5410
fix: undo testing
machikoyasuda Jan 19, 2024
754b615
refactor(css): variable-ize focus style
machikoyasuda Jan 22, 2024
5f41656
Skip to main content link (#1857)
machikoyasuda Jan 24, 2024
db51581
chore(pre-commit): autoupdate hooks
pre-commit-ci[bot] Jan 29, 2024
e2d05cc
chore(pre-commit): autofix run
pre-commit-ci[bot] Jan 29, 2024
4a220d5
chore(pre-commit): autoupdate hooks (#1860)
thekaveman Jan 29, 2024
a70bb42
fix: update GitHub branch for sample eligibility server config
thekaveman Jan 30, 2024
06b17a9
Fix: update GitHub branch for sample eligibility server config (#1862)
thekaveman Jan 30, 2024
e9b9757
chore(deps-dev): bump cypress from 13.6.3 to 13.6.4 in /tests/cypress
dependabot[bot] Jan 30, 2024
c9e0960
chore(deps-dev): bump sentry-sdk from 1.39.2 to 1.40.0
dependabot[bot] Jan 30, 2024
ef92c8d
chore(release-plan): add steps/notes for smoke testing
thekaveman Jan 31, 2024
c4c2d6b
chore(deps-dev): bump sentry-sdk from 1.39.2 to 1.40.0 (#1864)
angela-tran Jan 31, 2024
aaf29fe
chore(deps-dev): bump cypress from 13.6.3 to 13.6.4 in /tests/cypress…
thekaveman Jan 31, 2024
7c4a33e
Chore: add steps/notes for smoke testing to release plan template (#1…
thekaveman Jan 31, 2024
cf08d18
chore(release): bump version for 2024.01.1
thekaveman Jan 31, 2024
4e003b0
Chore: bump version for 2024.01.1 (#1868)
thekaveman Jan 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 0 additions & 1 deletion .devcontainer/server/.env.server
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
ELIGIBILITY_SERVER_SETTINGS=/.devcontainer/server/settings.py
FLASK_APP=eligibility_server/app.py
8 changes: 4 additions & 4 deletions .devcontainer/server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

# Eligibility Verification settings

CLIENT_KEY_PATH = "https://raw.githubusercontent.com/cal-itp/eligibility-server/dev/keys/client.pub"
SERVER_PRIVATE_KEY_PATH = "https://raw.githubusercontent.com/cal-itp/eligibility-server/dev/keys/server.key"
SERVER_PUBLIC_KEY_PATH = "https://raw.githubusercontent.com/cal-itp/eligibility-server/dev/keys/server.pub"
CLIENT_KEY_PATH = "https://raw.githubusercontent.com/cal-itp/eligibility-server/main/keys/client.pub"
SERVER_PRIVATE_KEY_PATH = "https://raw.githubusercontent.com/cal-itp/eligibility-server/main/keys/server.key"
SERVER_PUBLIC_KEY_PATH = "https://raw.githubusercontent.com/cal-itp/eligibility-server/main/keys/server.pub"
SUB_FORMAT_REGEX = r".+"

# Data settings

IMPORT_FILE_PATH = "https://raw.githubusercontent.com/cal-itp/eligibility-server/dev/data/server.csv"
IMPORT_FILE_PATH = "https://raw.githubusercontent.com/cal-itp/eligibility-server/main/data/server.csv"
INPUT_HASH_ALGO = ""

# CSV-specific settings
Expand Down
17 changes: 15 additions & 2 deletions .github/ISSUE_TEMPLATE/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ body:
Each release is coordinated by a **Release Manager**. The release manager may assign sub-tasks or ask for help
as-needed, but is otherwise responsible for all aspects of the release.

Each release also identifies a **Smoke Tester** responsible for carrying out the [Smoke Tests according to our
established procedure](https://docs.google.com/document/d/1ADXWW4mfLJwLKVqtVemPNX9yTqYKqIWfCz1DipAU02g/edit).

After this issue is created, use the checklist to manage the steps
of the release process, marking items as completed. [Read more about the
release process](https://docs.calitp.org/benefits/deployment/release/).
Expand All @@ -29,6 +32,14 @@ body:
placeholder: "@cal-itp-bot"
validations:
required: true
- type: input
id: smoke-tester
attributes:
label: Smoke tester
description: GitHub handle of who is responsible for smoke testing this release
placeholder: "@cal-itp-bot"
validations:
required: true
- type: input
id: version
attributes:
Expand Down Expand Up @@ -76,7 +87,8 @@ body:
- label: QA the app in test
- 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: Smoke Test the app in prod
- label: Confirm acceptance of Smoke Tests by adding a comment to this issue
- 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
Expand All @@ -90,7 +102,8 @@ body:
- 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: Smoke Test the fix in prod
- label: Confirm acceptance of Smoke Tests by adding a comment to this issue
- 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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -42,4 +42,4 @@ jobs:
# queries: ./path/to/local/query, your-org/your-repo/queries@main

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version-file: .github/workflows/.python-version
cache: pip
Expand Down
66 changes: 61 additions & 5 deletions .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,25 +8,81 @@ on:
- completed
branches:
- dev
pull_request:
branches:
- dev
paths:
- "docs/**"
- "mkdocs.yml"
- ".github/workflows/mkdocs.yml"
push:
branches:
- dev
paths:
- 'docs/**'
- 'mkdocs.yml'
- '.github/workflows/mkdocs.yml'
- "docs/**"
- "mkdocs.yml"
- ".github/workflows/mkdocs.yml"

jobs:
docs-preview:
name: Publish docs preview
runs-on: ubuntu-latest
# only pull requests should generate a preview
if: github.event.pull_request
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: "refs/pull/${{ github.event.number }}/merge"

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version-file: .github/workflows/.python-version
cache: pip
cache-dependency-path: "docs/requirements.txt"

- name: Build MkDocs website
run: |
pip install -r docs/requirements.txt
mkdocs build

- name: Install Netlify CLI
run: npm install --location=global netlify-cli

- name: Deploy Preview to Netlify
run: |
netlify deploy \
--dir="site" \
--alias="${GITHUB_REPOSITORY#*/}-${{ github.event.number }}"
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_PREVIEW_APP_SITE_ID }}

- name: Add Netlify link PR comment
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const hostnameSuffix = "cal-itp-previews.netlify.app"
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: `Preview url: https://${context.repo.repo}-${{ github.event.number }}--${hostnameSuffix}`,
})

docs:
name: Publish docs
runs-on: ubuntu-latest
if: github.event.workflow_run == null || github.event.workflow_run.conclusion == 'success'
# don't publish for pull requests, and also not for unsuccessful (triggering) workflow runs
if: github.event.pull_request == null && (github.event.workflow_run == null || github.event.workflow_run.conclusion == 'success')
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Download coverage report
uses: dawidd6/action-download-artifact@v2
uses: dawidd6/action-download-artifact@v3
with:
workflow: tests-pytest.yml
branch: dev
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
working-directory: tests/cypress
wait-on: http://localhost:8000/healthcheck

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests-pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
sudo apt-get update -y
sudo apt-get install -y gettext

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version-file: .github/workflows/.python-version
cache: pip
Expand All @@ -38,7 +38,7 @@ jobs:
run: ./tests/pytest/run.sh

- name: Upload coverage report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: benefits/static/coverage
Expand Down
12 changes: 6 additions & 6 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: v3.0.0
rev: v3.1.0
hooks:
- id: conventional-pre-commit
stages: [commit-msg]
Expand All @@ -34,33 +34,33 @@ repos:
args: ["--maxkb=1500"]

- repo: https://github.com/psf/black
rev: 23.11.0
rev: 24.1.1
hooks:
- id: black
types:
- python

- repo: https://github.com/PyCQA/flake8
rev: 6.1.0
rev: 7.0.0
hooks:
- id: flake8
types:
- python

- repo: https://github.com/pycqa/bandit
rev: 1.7.5
rev: 1.7.7
hooks:
- id: bandit
args: ["-ll"]
files: .py$

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

- repo: https://github.com/Riverside-Healthcare/djLint
rev: v1.34.0
rev: v1.34.1
hooks:
- id: djlint-django
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Benefits
![Cal-ITP Benefits - Landing - Laptop+Mobile](https://github.com/cal-itp/benefits/assets/6279581/3f5c558b-ad45-49cd-bb51-b230c625837b)

Cal-ITP Benefits is an application that enables automated eligibility verification and enrollment for transit benefits onto customers’ existing contactless bank (credit/debit) cards.
<a href="https://benefits.calitp.org" target="_blank">Cal-ITP Benefits</a> is a web application that enables digital eligibility verification and enrollment for transit benefits onto transit riders’ existing contactless debit and credit cards.

View the technical documentation online: <https://docs.calitp.org/benefits>

Expand Down
1 change: 1 addition & 0 deletions benefits/core/admin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The core application: Admin interface configuration.
"""

from django.conf import settings


Expand Down
1 change: 1 addition & 0 deletions benefits/core/analytics.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The core application: analytics implementation.
"""

import itertools
import json
import logging
Expand Down
1 change: 1 addition & 0 deletions benefits/core/apps.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The core application: Houses base templates and reusable models and components.
"""

from django.apps import AppConfig


Expand Down
1 change: 1 addition & 0 deletions benefits/core/context_processors.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The core application: context processors for enriching request context data.
"""

from django.conf import settings

from . import models, session
Expand Down
1 change: 1 addition & 0 deletions benefits/core/middleware.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The core application: middleware definitions for request/response cycle.
"""

import logging

from django.conf import settings
Expand Down
5 changes: 3 additions & 2 deletions benefits/core/migrations/0002_data.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""Data migration which loads configuration data for Benefits.
"""

import json
import os

Expand Down Expand Up @@ -39,14 +40,14 @@ def load_data(app, *args, **kwargs):
mst_server_public_key = PemData.objects.create(
label="Eligibility server public key",
remote_url=os.environ.get(
"MST_SERVER_PUBLIC_KEY_URL", "https://raw.githubusercontent.com/cal-itp/eligibility-server/dev/keys/server.pub"
"MST_SERVER_PUBLIC_KEY_URL", "https://raw.githubusercontent.com/cal-itp/eligibility-server/main/keys/server.pub"
),
)

sbmtd_server_public_key = PemData.objects.create(
label="Eligibility server public key",
remote_url=os.environ.get(
"SBMTD_SERVER_PUBLIC_KEY_URL", "https://raw.githubusercontent.com/cal-itp/eligibility-server/dev/keys/server.pub"
"SBMTD_SERVER_PUBLIC_KEY_URL", "https://raw.githubusercontent.com/cal-itp/eligibility-server/main/keys/server.pub"
),
)

Expand Down
1 change: 1 addition & 0 deletions benefits/core/models.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The core application: Common model definitions.
"""

import importlib
import logging

Expand Down
1 change: 1 addition & 0 deletions benefits/core/recaptcha.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The core application: helpers to work with reCAPTCHA.
"""

import requests

from django.conf import settings
Expand Down
1 change: 1 addition & 0 deletions benefits/core/session.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The core application: helpers to work with request sessions.
"""

import hashlib
import logging
import time
Expand Down
2 changes: 1 addition & 1 deletion benefits/core/templates/core/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
{% endif %}
<header role="banner" id="header">
<a id="skip-to-content" href="#main-content" class="d-block w-100">
<div class="container">{% translate "Skip to Main Content" %}</div>
<div class="container"><span>{% translate "Skip to main content" %}</span></div>
</a>
{% if messages %}
{% for message in messages %}
Expand Down
2 changes: 1 addition & 1 deletion benefits/core/templates/core/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ <h2 class="h2-sm pt-4 pt-lg-8" id="login-gov">{% translate "What is Login.gov?"
<h2 class="h2-sm pt-4 pt-lg-8" id="why-login-gov">{% translate "Why is Cal-ITP Benefits using Login.gov?" %}</h2>
<p class="pt-2 pt-lg-4">
{% blocktranslate trimmed %}
Login.gov uses two-factor authentication, and stronger passwords, that meet new National Institute of Standards of
Login.gov uses two-factor authentication, and stronger passwords, that meet new National Institute of Standards and
Technology requirements for secure validation and verification. By using Login.gov, you’ll get an extra layer of
security to help protect your account against password compromises.
{% endblocktranslate %}
Expand Down
1 change: 1 addition & 0 deletions benefits/core/urls.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The core application: URLConf for the root of the webapp.
"""

import logging

from django.urls import path, register_converter
Expand Down
1 change: 1 addition & 0 deletions benefits/core/views.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The core application: view definition for the root of the webapp.
"""

from django.http import HttpResponse, HttpResponseBadRequest, HttpResponseNotFound, HttpResponseServerError
from django.template import loader
from django.template.response import TemplateResponse
Expand Down
1 change: 1 addition & 0 deletions benefits/core/widgets.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The core application: Helper form widgets.
"""

import copy
from django.forms import widgets

Expand Down
1 change: 1 addition & 0 deletions benefits/eligibility/analytics.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
The eligibility application: analytics implementation.
"""

from benefits.core import analytics as core


Expand Down