Skip to content

Commit

Permalink
Production Release (#609)
Browse files Browse the repository at this point in the history
Includes sprint 34 and 34 issues

Link Checker #369
Adding Drone Content to all Trainings #599
Adding FASCSA Order Check to all Trainings #598
Accessibility Bug: Buttons without Accessible Names on all Trainings Print Training Functionality #591
Admin Panel - Display Completed Quizzes/Certificates for Users #317
Research solutions for implementing audit fields #451
Update GSPC Image #601
Log Tracking Editing of User Records #443
  • Loading branch information
felder101 authored Jul 26, 2024
1 parent dd9479a commit 479bcaa
Show file tree
Hide file tree
Showing 35 changed files with 1,022 additions and 52 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/frontend-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,6 @@ jobs:

- name: Run pa11y
run: npm run pa11y-ci:gh

- name: Run broken link checker
run: npm run link-checker:pipeline
31 changes: 31 additions & 0 deletions alembic/versions/291331bea272_user_audit_fields.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
"""user-audit-fields
Revision ID: 291331bea272
Revises: a5fbdcd0e719
Create Date: 2024-07-19 09:06:27.754024
"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '291331bea272'
down_revision = 'a5fbdcd0e719'
branch_labels = None
depends_on = None


def upgrade() -> None:
op.add_column('users', sa.Column('created_on', sa.DateTime, nullable=False, server_default=sa.func.current_timestamp()))
op.add_column('users', sa.Column('created_by', sa.String(), nullable=False, server_default='Migrated'))
op.alter_column('users', 'created_by', server_default=None)
op.add_column('users', sa.Column('modified_on', sa.DateTime, nullable=True))
op.add_column('users', sa.Column('modified_by', sa.String(), nullable=True))


def downgrade() -> None:
op.drop_column('users', 'created_on')
op.drop_column('users', 'created_by')
op.drop_column('users', 'modified_on')
op.drop_column('users', 'modified_by')
1 change: 0 additions & 1 deletion data/seedsdata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -966,7 +966,6 @@ AOPSs:
email: [email protected]
agency: Native American Tribal Governments
bureau: Sierra Tribal Consortium, INC.
bureau: null
reporting_agencies:
- report_agency: Native American Tribal Governments
report_bureau: Sierra Tribal Consortium, INC.
Expand Down
17 changes: 17 additions & 0 deletions training-front-end/linkinator-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"recurse": true,
"headers": {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0",
"Referer": "http://localhost:4321/"
},
"skip": [
"https://www.fpds.gov/",
"https://www.congress.gov/bill/101st-congress/house-bill/94",
"/printable/printable/$",
"http://www.energystar.gov/",
"http://www.biopreferred.gov/BioPreferred/",
"https://www.gsaadvantage.gov/advantage/ws/main/start_page\\?store=ADVANTAGE",
"https://www.congress.gov/bill/118th-congress/house-bill/2670"
],
"verbosity": "debug"
}
182 changes: 180 additions & 2 deletions training-front-end/package-lock.json

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

7 changes: 5 additions & 2 deletions training-front-end/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
"pa11y-ci": "npm run pa11y-ci:desktop && npm run pa11y-ci:mobile",
"pa11y-ci:desktop": "pa11y-ci --config ./.pa11yci-desktop --sitemap http://localhost:8080/sitemap-0.xml --sitemap-find \"^https://training.smartpay.gsa.gov/\" --sitemap-replace \"http://localhost:8080/\"",
"pa11y-ci:mobile": "pa11y-ci --config ./.pa11yci-mobile --sitemap http://localhost:8080/sitemap-0.xml --sitemap-find \"^https://training.smartpay.gsa.gov\" --sitemap-replace \"http://localhost:8080/\"",
"pa11y-ci:gh": "npx start-server-and-test serve http://localhost:8080 pa11y-ci"
"pa11y-ci:gh": "npx start-server-and-test serve http://localhost:8080 pa11y-ci",
"link-checker": "npx linkinator http://localhost:4321/ --config linkinator-config.json",
"link-checker:pipeline": "npx start-server-and-test serve http://localhost:8080 'npx linkinator http://localhost:8080 --config linkinator-config.json'"
},
"dependencies": {
"@astrojs/mdx": "^3.0.1",
Expand Down Expand Up @@ -51,7 +53,8 @@
"jsdom": "^21.1.1",
"pa11y-ci": "^3.0.1",
"start-server-and-test": "^2.0.3",
"vitest": "^1.5.3"
"vitest": "^1.5.3",
"linkinator": "^6.0.5"
},
"overrides": {
"glob-parent": "^5.1.2"
Expand Down
1 change: 1 addition & 0 deletions training-front-end/public/images/gspc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 479bcaa

Please sign in to comment.