Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
9070c33
LG-6885: Remind users about backup codes & regenerate (#6723)
jc-gsa Aug 17, 2022
e574c84
LG-7179 | Capture client port number (#6738)
n1zyy Aug 18, 2022
8ba0b79
Fix Help Center article links for in-person proofing (#6781)
aduth Aug 18, 2022
5b22a19
changelog: Bug Fixes, Account Recovery, put back proper path (#6780)
mdiarra3 Aug 18, 2022
a1c9177
Remove CircleCI (#6671)
Aug 18, 2022
bd887cf
Adds logging for IRS at MFA selection (LG-6979) (#6767)
mdiarra3 Aug 18, 2022
b90f21d
Enroll verify failure events (#6772)
ThatSpaceGuy Aug 18, 2022
1af6cea
Fix FrontendLogController payload splatting (#6791)
aduth Aug 18, 2022
7dbd3ef
LG-7091: account reset submitted event (#6784)
mdiarra3 Aug 18, 2022
cfbbcf7
Add MultilineMethodCallIndentation cop (#6786)
n1zyy Aug 18, 2022
1c78bbb
Encrypt IRS Attempts API in compressed envelope (#6776)
Aug 18, 2022
81c7471
Lg 7142 gpo welcome back (#6790)
peggles2 Aug 18, 2022
ba74e80
LG-7290 Unify naming of irs attempts tracker event (#6797)
ThatSpaceGuy Aug 19, 2022
0b4caed
Remove custom "Required" form validation message (#6782)
aduth Aug 19, 2022
cc9441a
Update default irs_attempt_api_csp_id (#6796)
Aug 19, 2022
73b89b0
Remove mail bounced implementation (#6775)
jmhooper Aug 19, 2022
7720410
Alphabetize events (#6802)
ThatSpaceGuy Aug 19, 2022
33047ed
Use self-contained component for SimpleForm submit buttons (#6771)
aduth Aug 19, 2022
fed0472
LG-7092: request cancelled event (#6789)
mdiarra3 Aug 19, 2022
54d6691
Remove validated_form_for form helper (#6804)
aduth Aug 19, 2022
f68c8f0
LG-7307: Remove ThreatMetrix from In-Person Proofing flow (#6800)
matthinz Aug 19, 2022
1e43e71
LG-7201 - Added attempt events - MFA submitted rate limited (#6783)
Rwolfe-Nava Aug 19, 2022
438de09
LG-7291 TypeScript refactoring for 6777 (#6769)
eric-gade Aug 19, 2022
59a0a19
Enable subresource integrity for JavaScript packs (#6803)
aduth Aug 19, 2022
2611878
LG-6874: Keep doc auth errors available on "Back" for first couple IP…
NavaTim Aug 19, 2022
2cd5e01
Disable the FSMv2 react tooling in local dev (#6807)
jmhooper Aug 19, 2022
4f71099
Fix 500 error when not providing Authorization header in Attempts API…
Aug 19, 2022
781377d
LG-7302 Record overall result from TMX in the database (#6806)
stevegsa Aug 19, 2022
d0514d8
Tie in-person nil issuer condition to SP required config (#6812)
aduth Aug 22, 2022
b719d90
Track Attempt api account complete logged (#6805)
mdiarra3 Aug 22, 2022
4468904
Bugfix - temporary bugfix for reauthentication param (#6813)
Rwolfe-Nava Aug 22, 2022
9c4b3e1
LG-7073 Hint text on the form fields for screen readers (#6747)
eric-gade Aug 22, 2022
6581489
LG-7088: Add tracking for forgot password email confirmed event (#6779)
jc-gsa Aug 22, 2022
f938cdf
Hash Device UUID for IRS Attempts API (#6814)
Aug 22, 2022
ee20a05
LG-7202 - Add tracking for user_registration_password_submitted even…
jc-gsa Aug 22, 2022
9df5f67
LG-7089 - Add tracking for event forgot_password_new_password_submitt…
jc-gsa Aug 22, 2022
3564573
LG-7141 Better Context in Verify By Mail Workflow (#6815)
eric-gade Aug 23, 2022
5ed26ee
LG-7303 - send IP address to TMX, LG-7304 - send app_id to TMX (#6793)
gsa-manish Aug 23, 2022
851bdbb
LG-7162: Feature flag controlling whether the user is forced to confi…
solipet Aug 23, 2022
54c0362
LG-7097 add Event: IDV phone upload link sent (#6826)
olatifflexion Aug 23, 2022
d87550c
LG-7179 | Refer to HTTP header properly (#6816)
n1zyy Aug 23, 2022
9823a45
Allow triggering different review_status values in mock DDP proofer (…
matthinz Aug 23, 2022
836b5ac
Ensure distinction between WebAuthn Roaming and Platform in registrat…
Aug 24, 2022
4ce76e0
Rescue more generic pinpoint error (#6835)
zachmargolis Aug 24, 2022
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
300 changes: 0 additions & 300 deletions .circleci/config.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,10 @@ Layout/MultilineHashBraceLayout:
Layout/MultilineMethodCallBraceLayout:
Enabled: true

Layout/MultilineMethodCallIndentation:
Enabled: true
EnforcedStyle: indented

Layout/MultilineMethodDefinitionBraceLayout:
Enabled: true
EnforcedStyle: symmetrical
Expand Down
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
Login.gov Identity Provider (IdP)
=================================

[![Build Status](https://circleci.com/gh/18F/identity-idp.svg?style=svg)](https://circleci.com/gh/18F/identity-idp)
[![Code Climate](https://api.codeclimate.com/v1/badges/e78d453f7cbcac64a664/maintainability)](https://codeclimate.com/github/18F/identity-idp/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/e78d453f7cbcac64a664/test_coverage)](https://codeclimate.com/github/18F/identity-idp/test_coverage)

Login.gov is the public's one account for government. Use one account and password for secure, private access to participating government agencies.

This repository contains the core code base and documentation for the identity management system powering secure.login.gov.
Expand Down
11 changes: 10 additions & 1 deletion app/components/button_component.rb
Original file line number Diff line number Diff line change
@@ -1,27 +1,36 @@
class ButtonComponent < BaseComponent
attr_reader :action, :icon, :big, :wide, :outline, :tag_options
attr_reader :action, :icon, :big, :wide, :full_width, :outline, :unstyled, :danger, :tag_options

def initialize(
action: ->(**tag_options, &block) { button_tag(**tag_options, &block) },
icon: nil,
big: false,
wide: false,
full_width: false,
outline: false,
unstyled: false,
danger: false,
**tag_options
)
@action = action
@icon = icon
@big = big
@wide = wide
@full_width = full_width
@outline = outline
@unstyled = unstyled
@danger = danger
@tag_options = tag_options
end

def css_class
classes = ['usa-button', *tag_options[:class]]
classes << 'usa-button--big' if big
classes << 'usa-button--wide' if wide
classes << 'usa-button--full-width' if full_width
classes << 'usa-button--outline' if outline
classes << 'usa-button--unstyled' if unstyled
classes << 'usa-button--danger' if danger
classes
end

Expand Down
9 changes: 9 additions & 0 deletions app/components/submit_button_component.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
class SubmitButtonComponent < ButtonComponent
def initialize(big: true, wide: true, **tag_options)
super(big: big, wide: wide, **tag_options)
end

def call
content_tag(:'lg-submit-button', super)
end
end
1 change: 1 addition & 0 deletions app/components/submit_button_component.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import '@18f/identity-submit-button/submit-button-element';
4 changes: 4 additions & 0 deletions app/components/validated_field_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@
describedby: [
*tag_options.dig(:input_html, :aria, :describedby),
"validated-field-error-#{unique_id}",
"validated-field-hint-#{unique_id}",
],
},
},
hint_html: {
id: "validated-field-hint-#{unique_id}",
},
error_html: { id: "validated-field-error-#{unique_id}" },
),
) %>
Expand Down
4 changes: 4 additions & 0 deletions app/controllers/account_reset/delete_account_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ def delete
result = AccountReset::DeleteAccount.new(granted_token).call
analytics.account_reset_delete(**result.to_h.except(:email))

irs_attempts_api_tracker.account_reset_account_deleted(
success: result.success?,
failure_reason: result.errors,
)
if result.success?
handle_successful_deletion(result)
else
Expand Down
Loading