Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
33d90d6
remove unused method (#4476)
Dec 2, 2020
68dff7b
Remove slim (LG-3755) (#4477)
Dec 2, 2020
99959f5
LG-3711: Migrate ad hoc alerts to USWDS alert partial (#4418)
aduth Dec 2, 2020
c9a5af0
LG-3694 Bumping identity-doc-auth version. (#4478)
amathews-fs Dec 2, 2020
d50189f
Remove whitespace between segments of personal key (#4480)
zachmargolis Dec 3, 2020
175ed24
Remove outdated dependencies (LG-3755) (#4481)
Dec 3, 2020
52d5d01
Remove user flows (#4483)
jmhooper Dec 3, 2020
d45abe9
Updates to IdP README and CONTRIBUTING guidance. (#4479)
Dec 4, 2020
669da7d
Notify New Relic if the config is missing a service provider (#4486)
orenyk Dec 4, 2020
fe4f643
do not show alert if sp help text is a blank string (#4487)
Dec 4, 2020
64aa02d
LG-3664 Only run GPO uploads on weekdays and non-holidays (#4484)
stevegsa Dec 4, 2020
de4ab2e
update rubocop (#4491)
Dec 4, 2020
d08ea3b
fix newrelic method tracers (#4489)
Dec 4, 2020
13c3e04
Increase wait time for async steps (#4488)
zachmargolis Dec 4, 2020
77269ff
Add missing closing tag to connected accounts content (#4490)
aduth Dec 7, 2020
126ed8a
LG-3807 Implementation: Use Plain Text for 2FA success alert text (#4…
stevegsa Dec 7, 2020
b4d7bd1
Compile bundles for production in ES5 safety test (#4494)
aduth Dec 7, 2020
e0bd0b9
Return the AAL level in the authn context and include the IAL level i…
solipet Dec 7, 2020
ed74c1c
LG-3814 Bumping identity_doc_auth gem version. (#4496)
amathews-fs Dec 7, 2020
00dc66b
refactor async doc auth (#4495)
Dec 7, 2020
bec5d19
LG-3816 Fix doc auth SSN enter extra digits breaks continue (#4492)
stevegsa Dec 8, 2020
977a1d8
LG-3764, LG-3716: Use identity-style-guide@3 to deduplicate zxcvbn de…
aduth Dec 9, 2020
c67c260
re-enable SMS in countries where it was disabled (#4500)
Dec 9, 2020
bb33b8a
Refactor async proofing data storage (#4498)
Dec 9, 2020
67fa538
LG-3738: Resolve parse error on password change screen (#4497)
aduth Dec 10, 2020
9cf6919
add autoloader check in CI (#4502)
Dec 10, 2020
60a220c
Allow some leeway when validating OIDC token iat (#4504)
Dec 10, 2020
9d42187
[skip release notes] Allow SP to send skip_encryption for non-encrypt…
solipet Dec 11, 2020
f4b630f
LG-3816 Fix doc auth SSN enter extra digits breaks continue Part 2 (#…
stevegsa Dec 11, 2020
6a3fbc7
Bump ini from 1.3.5 to 1.3.7 (#4506)
dependabot[bot] Dec 11, 2020
6809bd7
LG-3738: Extract spinner button JavaScript to pack (#4505)
aduth Dec 11, 2020
28f1b7e
Handful of performance improvements (#4509)
Dec 14, 2020
7f0bb78
Update continue button on document capture forms (LG-3622) (#4501)
zachmargolis Dec 14, 2020
020b99a
Make the document capture step enabled by default in the tests (#4507)
jmhooper Dec 14, 2020
4218aaf
add analytics for async doc auth failure (#4511)
Dec 15, 2020
2022d5d
LG-3788 Update docauth funnel steps to match new UI (#4512)
stevegsa Dec 15, 2020
2d3b073
Update smoke tests to check out SHA deployed to staging (#4514)
zachmargolis Dec 15, 2020
f22a249
specify totp secret length (#4515)
Dec 16, 2020
d129ea9
more async doc auth analytics (#4516)
Dec 16, 2020
8c45e88
allow Numeric for iat field on OIDC tokens (#4518)
Dec 17, 2020
d10f2d2
Fix a typo (#4520)
jmhooper Dec 21, 2020
ffc77ff
LG-3756: Bump Node devDependencies to latest (#4521)
aduth Dec 21, 2020
9c3ac26
LG-3756: Remove duplicate normalize.css dependency (#4522)
aduth Dec 21, 2020
f66cfa8
Implement headless USPS in-person proofing (LG-3855) (#4523)
Dec 21, 2020
50f2efc
update ruby gems (#4525)
Dec 21, 2020
083f3fd
LG-3964: Prevent page submission when clicking TOTP code "Copy" butto…
aduth Dec 22, 2020
b797e4b
use keyword init for USPS IPP struct (#4526)
Dec 22, 2020
e9a1490
remove deprecated async proofing result functionality (#4527)
Dec 22, 2020
1fe7097
Remove the legacy doc auth steps and feature flags (#4508)
jmhooper Dec 22, 2020
9d5f678
LG-3787: Create waiting experience for address checking, ID resolutio…
aduth Dec 22, 2020
9b1e99a
store whole flow session in analytics if unable to find DCS during as…
Dec 22, 2020
f945e1b
LG-3968 Reduce proofing timeout from 24 hrs to 6 hrs (#4533)
stevegsa Dec 28, 2020
91a0482
LG-3729 Handling of Timeouts for address checking and ID resolution (…
stevegsa Dec 28, 2020
9b9156d
LG-3511 MFA devices prominence in MyAccount (#4531)
stevegsa Dec 28, 2020
01d1b65
Update identity-validations to use main branch (#4537)
Dec 28, 2020
533ef30
Remove hint.css TOTP informational tooltip (#4535)
aduth Dec 28, 2020
0911601
Don't allow identity proofing in prod without SP context (LG-3942) (#…
solipet Dec 28, 2020
300778d
Rename document_capture_session in verify actions (#4539)
zachmargolis Dec 28, 2020
64f2299
LG-3484: Migrate BassCSS align module to USWDS (#4540)
aduth Dec 29, 2020
078b04d
LG-3756: Upgrade intl-tel-input from 16.0.7 to 17.0 (#4536)
aduth Dec 29, 2020
ab1c195
LG-3756: Bump NPM packages with minor version outdated (#4534)
aduth Dec 29, 2020
b7298bc
LG-3756: Upgrade remaining outdated package.json dependencies (#4542)
aduth Dec 29, 2020
68cc557
Upgrade to Rails 6.1 to prepare to replace secure_headers gem (LG-383…
Dec 29, 2020
36f5cd6
make the environment configurable (LG-3942) (#4545)
solipet Dec 29, 2020
2dc4cf1
Allow visiting /verify directly in local development (#4547)
zachmargolis Dec 30, 2020
c5d3a21
Add spinner button to phone step (#4546)
zachmargolis Dec 30, 2020
00dcacd
Add keypair for testing SAML with the 2020 endpoint (#4530)
orenyk Dec 30, 2020
e5e6e90
Restore pointer cursor to selfie capture overlay "button" (#4541)
aduth Jan 4, 2021
7aaa1bf
Fix error on bad password during password verification (#4551)
Jan 4, 2021
d41c2c4
update nokogiri to patch vulnerability (#4552)
Jan 4, 2021
c4c5852
return invalid if client_id contains null byte (#4555)
Jan 4, 2021
2f43ce8
Log info for smoketest debugging (#4557)
zachmargolis Jan 4, 2021
eb75f91
LG-3911 Localize Add PIV/CAC card button (#4559)
stevegsa Jan 5, 2021
daea8b0
LG-3847 Update the language on the “Connectivity” error message (#4560)
stevegsa Jan 5, 2021
faf0b6e
add analytic events for lambda callbacks (#4561)
Jan 5, 2021
e82740a
Enqueue a letter every day to a designated receiver (LG-3939) (#4558)
zachmargolis Jan 5, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 6 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ jobs:
command: |
mkdir /tmp/test-results
./cc-test-reporter before-build
bin/rails zeitwerk:check

bundle exec rake knapsack:rspec
yarn test
Expand Down Expand Up @@ -182,9 +183,8 @@ jobs:
yarn run lint
yarn run typecheck
bundle exec rubocop
bundle exec slim-lint app/views
make check_asset_strings
./bin/webpack && yarn es5-safe
NODE_ENV=production ./bin/webpack && yarn es5-safe
build-release-container:
working_directory: ~/identity-idp
docker:
Expand Down Expand Up @@ -233,7 +233,9 @@ jobs:
environment:
MONITOR_ENV: STAGING
steps:
- checkout
- jq/install
- checkout-deployed-sha:
sha_url: https://idp.staging.login.gov/api/deploy.json
- bundle-yarn-install
- run:
name: "Smoke tests"
Expand Down Expand Up @@ -302,7 +304,7 @@ workflows:
filters:
branches:
only:
- stages/staging
- master
jobs:
- smoketest-staging

Expand Down
9 changes: 0 additions & 9 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ checks:
plugins:
brakeman:
enabled: true
exclude_patterns:
# Excluding User Flows tools since these are not loaded
# except when explicitly called from the User Flow rake tasks
- 'lib/user_flow_exporter.rb'
- 'lib/rspec/formatters/user_flow_formatter.rb'
bundler-audit:
enabled: true
coffeelint:
Expand All @@ -53,8 +48,6 @@ plugins:
- 'node_modules/**/*'
- 'db/schema.rb'
- 'app/forms/password_form.rb'
- 'lib/user_flow_exporter.rb'
- 'lib/rspec/formatters/user_flow_formatter.rb'
fixme:
enabled: true
exclude_patterns:
Expand All @@ -81,9 +74,7 @@ exclude_patterns:
- 'db/schema.rb'
- 'node_modules/'
- 'lib/proofer_mocks/'
- 'lib/rspec/formatters/user_flow_formatter.rb'
- 'lib/tasks/create_test_accounts.rb'
- 'lib/user_flow_exporter.rb'
- 'scripts/load_testing/'
- 'tmp/'
- 'config/initializers/jwt.rb'
Expand Down
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"indent": "off",
"max-classes-per-file": "off",
"newline-per-chained-call": "off",
"no-empty": ["error", { "allowEmptyCatch": true }],
"no-param-reassign": ["off", "never"],
"no-confusing-arrow": "off",
"no-plusplus": "off",
Expand Down
174 changes: 14 additions & 160 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,18 @@ AllCops:
- 'bin/**/*'
- 'db/migrate/*'
- 'db/schema.rb'
- 'lib/rspec/user_flow_formatter.rb'
- 'lib/tasks/create_test_accounts.rb'
- 'lib/user_flow_exporter.rb'
- 'node_modules/**/*'
- 'tmp/**/*'
- 'vendor/**/*'
TargetRubyVersion: 2.6
TargetRailsVersion: 5.2
TargetRailsVersion: 6.0
UseCache: true
DisabledByDefault: true

Rails:
Enabled: true

Metrics/AbcSize:
Description: A calculated magnitude based on number of assignments, branches, and
conditions.
Enabled: false
Max: 15
Exclude:
- spec/**/*

Metrics/CyclomaticComplexity:
Enabled: false

Metrics/BlockLength:
CountComments: false # count full line comments?
Enabled: true
Expand All @@ -47,12 +35,6 @@ Metrics/BlockLength:
- 'config/routes.rb'
- 'spec/**/*.rb'

Metrics/ClassLength:
Description: Avoid classes longer than 100 lines of code.
Enabled: false
CountComments: false
Max: 100

Layout/LineLength:
Description: Limit lines to 100 characters.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#80-character-limits
Expand All @@ -65,16 +47,6 @@ Layout/LineLength:
Exclude:
- 'config/routes.rb'

Metrics/MethodLength:
Description: Avoid methods longer than 15 lines of code.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#short-methods
Enabled: false
CountComments: false
Max: 15
Exclude:
- 'db/migrate/*'
- spec/**/*

Metrics/ModuleLength:
CountComments: false
Max: 200
Expand All @@ -93,6 +65,9 @@ Naming/VariableName:
Rails/FilePath:
Enabled: false

Rails/ApplicationMailer:
Enabled: false

Rails/HttpPositionalArguments:
Description: 'Use keyword arguments instead of positional arguments in http method calls.'
Enabled: true
Expand Down Expand Up @@ -150,13 +125,6 @@ Style/AndOr:
- always
- conditionals

Style/Documentation:
Description: Document classes and non-namespace modules.
Enabled: false
Exclude:
- 'spec/**/*'
- 'test/**/*'

Layout/DotPosition:
Description: Checks the position of the dot in multi-line method calls.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains
Expand All @@ -165,9 +133,6 @@ Layout/DotPosition:
- leading
- trailing

Style/DoubleNegation:
Enabled: false

# Warn on empty else statements
# empty - warn only on empty else
# nil - warn on else with nil in it
Expand All @@ -187,12 +152,6 @@ Layout/ExtraSpacing:
# When true, forces the alignment of = in assignments on consecutive lines.
ForceEqualSignAlignment: false

Style/FrozenStringLiteralComment:
Description: >-
Add the frozen_string_literal comment to the top of files
to help transition from Ruby 2.3.0 to Ruby 3.0.
Enabled: false

Style/IfUnlessModifier:
Description: Favor modifier if/unless usage when you have a single-line body.
StyleGuide: https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier
Expand Down Expand Up @@ -250,9 +209,6 @@ Style/StringLiterals:
- double_quotes
ConsistentQuotesInMultiline: true

Style/RegexpLiteral:
Enabled: false

Style/TrailingCommaInArguments:
# If `comma`, the cop requires a comma after the last argument, but only for
# parenthesized method calls where each argument is on its own line.
Expand Down Expand Up @@ -289,42 +245,6 @@ Style/TrailingCommaInHashLiteral:
Naming/MethodParameterName:
MinNameLength: 2

Style/ExpandPathArguments:
Enabled: false

Style/FormatStringToken:
Enabled: false

Style/SingleLineBlockParams:
Enabled: false

Layout/EmptyLineAfterGuardClause:
Enabled: false

Naming/MemoizedInstanceVariableName:
Enabled: false

Naming/RescuedExceptionsVariableName:
Enabled: false

Style/HashEachMethods:
Enabled: false

Style/HashTransformKeys:
Enabled: false

Style/HashTransformValues:
Enabled: false

Lint/SuppressedException:
Enabled: false

Lint/SendWithMixinArgument:
Enabled: false

Layout/EmptyLinesAroundAttributeAccessor:
Enabled: false

Layout/SpaceAroundMethodCallOperator:
Enabled: true

Expand All @@ -337,24 +257,9 @@ Lint/MixedRegexpCaptureTypes:
Lint/RaiseException:
Enabled: true

Lint/StructNewOverride:
Enabled: false

Style/ExponentialNotation:
Enabled: false

Style/RedundantRegexpCharacterClass:
Enabled: true

Style/RedundantRegexpEscape:
Enabled: false

Style/SlicingWithRange:
Enabled: false

Rails/ApplicationMailer:
Enabled: false

Lint/BinaryOperatorWithIdenticalOperands:
Enabled: true

Expand All @@ -367,9 +272,6 @@ Lint/DuplicateRescueException:
Lint/FloatComparison:
Enabled: true

Lint/MissingSuper:
Enabled: false

Lint/OutOfRangeRegexpRef:
Enabled: true

Expand All @@ -388,9 +290,6 @@ Lint/SelfAssignment:
Lint/TopLevelReturnWithArgument:
Enabled: true

Style/GlobalStdStream:
Enabled: false

Style/RedundantAssignment:
Enabled: true

Expand All @@ -400,42 +299,6 @@ Style/RedundantFetchBlock:
Style/RedundantFileExtensionInRequire:
Enabled: true

Lint/EmptyConditionalBody:
Enabled: false

Lint/UnreachableLoop:
Enabled: false

Style/AccessorGrouping:
Enabled: false

Style/ArrayCoercion:
Enabled: false

Style/BisectedAttrAccessor:
Enabled: false

Style/CaseLikeIf:
Enabled: false

Style/ExplicitBlockArgument:
Enabled: false

Style/HashAsLastArrayItem:
Enabled: false

Style/HashLikeCase:
Enabled: false

Style/OptionalBooleanParameter:
Enabled: false

Style/SingleArgumentDig:
Enabled: false

Style/StringConcatenation:
Enabled: false

Style/MultilineWhenThen:
Enabled: true

Expand All @@ -448,30 +311,12 @@ Lint/DuplicateRequire:
Lint/TrailingCommaInAttributeDeclaration:
Enabled: true

Lint/EmptyFile:
Enabled: false

Lint/UselessMethodDefinition:
Enabled: false

Style/CombinableLoops:
Enabled: false

Style/RedundantSelfAssignment:
Enabled: false

Style/SoleNestedConditional:
Enabled: false

Lint/UselessTimes:
Enabled: true

Layout/BeginEndAlignment:
Enabled: true

Lint/ConstantDefinitionInBlock:
Enabled: false

Lint/IdentityComparison:
Enabled: true

Expand All @@ -480,3 +325,12 @@ Bundler/DuplicatedGem:

Naming/BinaryOperatorParameterName:
Enabled: true

Lint/DuplicateRegexpCharacterClassElement:
Enabled: true

Style/ArgumentsForwarding:
Enabled: true

Style/NilLambda:
Enabled: true
17 changes: 4 additions & 13 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
## Welcome!

We're so glad you're thinking about contributing to an 18F open source project!
If you're unsure about anything, just ask — or submit the issue or pull request
anyway. The worst that can happen is you'll be politely asked to change
something. We love all friendly contributions.
We’re so glad you’re thinking about contributing to a Technology Transformation Services (TTS) open source project! If you’re unsure about anything, just ask — or submit your issue or pull request anyway. The worst that can happen is we’ll politely ask you to change something. We appreciate all friendly contributions.

We want to ensure a welcoming environment for all of our projects. Our staff
follow the [18F Code of Conduct][code] and all contributors should do the same.
TTS is committed to building a safe, welcoming, harassment-free culture for everyone. We expect everyone on the TTS team and everyone within TTS spaces, including contributors to our projects, to follow the [TTS Code of Conduct](https://github.com/18F/code-of-conduct/blob/master/code-of-conduct.md).

We encourage you to read this project's CONTRIBUTING policy (you are here), its
[LICENSE](LICENSE.md), and its [README](README.md).
We encourage you to read this project’s CONTRIBUTING policy (you are here), its [LICENSE](LICENSE.md), [README](README.md)

If you have any questions or want to read more, check out the
[18F Open Source Policy GitHub repository][os-policy], or just
[shoot us an email](mailto:18f@gsa.gov).
If you have any questions or want to read more, check out the [18F Open Source Policy GitHub repository]( https://github.com/18f/open-source-policy), or [send us an email](mailto:18f@gsa.gov).

[code]: https://github.com/18F/code-of-conduct/blob/master/code-of-conduct.md
[os-policy]: https://github.com/18f/open-source-policy

## Pull request guidelines

Expand Down
Loading