Skip to content

Commit 4dc6285

Browse files
authored
Merge pull request #2770 from GSA/main
7/22/2025 Production Deploy
2 parents c935cf1 + 0c4125c commit 4dc6285

File tree

185 files changed

+1938
-11931
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

185 files changed

+1938
-11931
lines changed

.ds.baseline

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@
449449
"filename": "tests/__init__.py",
450450
"hashed_secret": "f8377c90fcfd699f0ddbdcb30c2c9183d2d933ea",
451451
"is_verified": false,
452-
"line_number": 388,
452+
"line_number": 389,
453453
"is_secret": false
454454
}
455455
],
@@ -507,7 +507,7 @@
507507
"filename": "tests/app/main/views/test_accept_invite.py",
508508
"hashed_secret": "07f0a6c13923fc3b5f0c57ffa2d29b715eb80d71",
509509
"is_verified": false,
510-
"line_number": 631,
510+
"line_number": 632,
511511
"is_secret": false
512512
}
513513
],
@@ -527,23 +527,23 @@
527527
"filename": "tests/app/main/views/test_register.py",
528528
"hashed_secret": "bdbb156d25d02fd7792865824201dda1c60f4473",
529529
"is_verified": false,
530-
"line_number": 114,
530+
"line_number": 115,
531531
"is_secret": false
532532
},
533533
{
534534
"type": "Secret Keyword",
535535
"filename": "tests/app/main/views/test_register.py",
536536
"hashed_secret": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8",
537537
"is_verified": false,
538-
"line_number": 184,
538+
"line_number": 185,
539539
"is_secret": false
540540
},
541541
{
542542
"type": "Secret Keyword",
543543
"filename": "tests/app/main/views/test_register.py",
544544
"hashed_secret": "bb5b7caa27d005d38039e3797c3ddb9bcd22c3c8",
545545
"is_verified": false,
546-
"line_number": 255,
546+
"line_number": 256,
547547
"is_secret": false
548548
}
549549
],
@@ -601,7 +601,7 @@
601601
"filename": "tests/app/notify_client/test_user_client.py",
602602
"hashed_secret": "f2c57870308dc87f432e5912d4de6f8e322721ba",
603603
"is_verified": false,
604-
"line_number": 55,
604+
"line_number": 56,
605605
"is_secret": false
606606
}
607607
],
@@ -629,10 +629,10 @@
629629
"filename": "tests/conftest.py",
630630
"hashed_secret": "f8377c90fcfd699f0ddbdcb30c2c9183d2d933ea",
631631
"is_verified": false,
632-
"line_number": 3266,
632+
"line_number": 3267,
633633
"is_secret": false
634634
}
635635
]
636636
},
637-
"generated_at": "2025-06-18T17:05:12Z"
637+
"generated_at": "2025-07-22T17:07:31Z"
638638
}

.github/dependabot.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,16 @@
55

66
version: 2
77
updates:
8-
- package-ecosystem: "pip" # See documentation for possible values
9-
directory: "/" # Location of package manifests
8+
- package-ecosystem: 'pip' # See documentation for possible values
9+
directory: '/' # Location of package manifests
1010
schedule:
11-
interval: "daily"
11+
interval: 'daily'
1212
assignees:
13-
- "alexjanousekGSA"
14-
reviewers:
15-
- "alexjanousekGSA"
16-
- package-ecosystem: "npm"
17-
directory: "/"
13+
- 'alexjanousekGSA'
14+
- package-ecosystem: 'npm'
15+
directory: '/'
1816
schedule:
19-
interval: "daily"
17+
interval: 'daily'
2018
versioning-strategy: increase
2119
assignees:
22-
- "alexjanousekGSA"
23-
reviewers:
24-
- "alexjanousekGSA"
20+
- 'alexjanousekGSA'

Makefile

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -159,22 +159,6 @@ clean:
159159
upload-static:
160160
aws s3 cp --region us-west-2 --recursive --cache-control max-age=315360000,immutable ./app/static s3://${DNS_NAME}-static
161161

162-
# .PHONY: cf-failwhale-deployed
163-
# cf-failwhale-deployed:
164-
# @cf app notify-admin-failwhale --guid || (echo "notify-admin-failwhale is not deployed on ${CF_SPACE}" && exit 1)
165-
166-
# .PHONY: enable-failwhale
167-
# enable-failwhale: cf-target cf-failwhale-deployed ## Enable the failwhale app and disable admin
168-
# @cf map-route notify-admin-failwhale ${DNS_NAME} --hostname www
169-
# @cf unmap-route notify-admin ${DNS_NAME} --hostname www
170-
# @echo "Failwhale is enabled"
171-
172-
# .PHONY: disable-failwhale
173-
# disable-failwhale: cf-target cf-failwhale-deployed ## Disable the failwhale app and enable admin
174-
# @cf map-route notify-admin ${DNS_NAME} --hostname www
175-
# @cf unmap-route notify-admin-failwhale ${DNS_NAME} --hostname www
176-
# @echo "Failwhale is disabled"
177-
178162
.PHONY: test-single
179163
test-single: export NEW_RELIC_ENVIRONMENT=test
180164
test-single: ## Run a single test file

app/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,12 @@ def _attach_current_organization():
359359
def _attach_current_user():
360360
return {"current_user": current_user}
361361

362+
@application.context_processor
363+
def _attach_enums():
364+
from app.enums import ServicePermission
365+
366+
return {"ServicePermission": ServicePermission}
367+
362368
@application.context_processor
363369
def _nav_selected():
364370
return navigation

app/assets/images/security-key.svg

Lines changed: 0 additions & 73 deletions
This file was deleted.

app/assets/javascripts/collapsibleCheckboxes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565

6666
return $(`<div class="selection-footer${stickyClass} margin-top-2">
6767
<button
68-
class="govuk-button govuk-button--secondary selection-footer__button usa-button usa-button--outline"
68+
class="usa-button usa-button--outline selection-footer__button"
6969
aria-expanded="${expanded ? 'true' : 'false'}"
7070
aria-controls="${this.fieldsetId}">
7171
${buttonContent}
@@ -214,7 +214,7 @@
214214
CollapsibleCheckboxes.prototype.bindEvents = function() {
215215
const self = this;
216216

217-
this.$formGroup.on('click', '.govuk-button', this.handleClick.bind(this));
217+
this.$formGroup.on('click', '.usa-button', this.handleClick.bind(this));
218218
this.$checkboxes.on('click', this.handleSelection.bind(this));
219219

220220
this.summary.bindEvents(this);

app/assets/javascripts/copyToClipboard.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,14 @@
8080
$('.copy-to-clipboard__value', component)[0], () =>
8181
$component
8282
.html(states.valueCopied(stateOptions))
83-
.find('.govuk-button').focus()
83+
.find('.usa-button').focus()
8484
)
8585
)
8686
.on(
8787
'click', '.copy-to-clipboard__button--show', () =>
8888
$component
8989
.html(states.valueVisible(stateOptions))
90-
.find('.govuk-button').focus()
90+
.find('.usa-button').focus()
9191
);
9292

9393
if ('stickAtBottomWhenScrolling' in GOVUK) {

app/assets/javascripts/listEntry.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@
3737
' {{{sharedAttributes}}}' +
3838
'/>' +
3939
'{{#button}}' +
40-
'<button type="button" class="govuk-button govuk-button--secondary input-list__button--remove">' +
40+
'<button type="button" class="usa-button input-list__button--remove">' +
4141
'Remove<span class="usa-sr-only"> {{listItemName}} number {{number}}</span>' +
4242
'</button>' +
4343
'{{/button}}' +
4444
'</div>'
4545
);
4646
ListEntry.prototype.addButtonTemplate = Hogan.compile(
47-
'<button type="button" class="govuk-button govuk-button--secondary input-list__button--add">Add another {{listItemName}} ({{entriesLeft}} remaining)</button>'
47+
'<button type="button" class="usa-button input-list__button--add">Add another {{listItemName}} ({{entriesLeft}} remaining)</button>'
4848
);
4949
ListEntry.prototype.getSharedAttributes = function () {
5050
var $inputs = this.$wrapper.find('input'),

app/assets/sass/uswds/_uswds-theme-custom-styles.scss

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,6 @@ p,
108108
box-shadow: none !important;
109109
}
110110

111-
.multiple-choice [type='radio']:focus + label::before {
112-
box-shadow: 0 0 0 3px color('blue-40v');
113-
}
114111

115112
.usa-dark-background .pill-item__container {
116113
color: #fff;

app/assets/stylesheets/main.scss

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,6 @@ $path: '/static/images/';
3434
// Dependencies from GOV.UK Frontend, packaged to be specific to this application
3535
@import './govuk-frontend/all';
3636

37-
// Custom overrides
38-
.govuk-link {
39-
font-weight: bold;
40-
color: #005ea5;
41-
}
42-
4337
// Specific to this application
4438
@import 'local/typography';
4539
@import 'grids';

0 commit comments

Comments
 (0)