Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
74cab8a
LG-9709: Add autocomplete attribute to password fields (#8466)
aduth May 24, 2023
e662471
Fix spinner button animation for long action text (#8472)
aduth May 24, 2023
47a3926
Adds make tidy (#8439)
n1zyy May 24, 2023
c4a4acd
Reintroduce Propshaft as replacement for Sprockets (#8457)
aduth May 25, 2023
87d71d5
Remove combined params from mobile upload step url (#8481)
amirbey May 25, 2023
b4b2fa7
LG-9816: Add accepted special characters to hint text on ID number p…
gina-yamada May 25, 2023
f46937c
Allow using StepIndicatorConcern w/o IdvSession (#8480)
matthinz May 25, 2023
45431f0
Fix mobile unstyled appearance for clipboard button (#8484)
aduth May 25, 2023
3f1177a
LG-8440: Ingest in-person enrollment status updates from SQS (#8403)
NavaTim May 25, 2023
a6728ff
LG-9784 New Hybrid Handoff Controller fka Upload Step (#8407)
eric-gade May 25, 2023
34e22d2
Allow configuring shortcodes for international country codes (LG-9839…
May 25, 2023
e370759
Remove handle_valid_otp method (#8392)
May 25, 2023
1ddc3e3
Upgrade ViewComponent dependencies (#8469)
aduth May 26, 2023
f1f9d87
CI speedup with support for more parallel jobs (#8311)
pauldoomgov May 26, 2023
6447b1e
LG-9959 Fix a bug in which in-person and GPO pending users do not hav…
jmhooper May 26, 2023
35af6cc
Jmax/lg 9794 delete front end async document capture code (#8396)
jmax-gsa May 26, 2023
ff834ff
LG-9860: Fix platform authenticator reauthentication redirect (#8490)
aduth May 26, 2023
b121550
LG-9423: Radio buttons are not read correctly by assistive technology…
jmdembe May 26, 2023
36507eb
Cherry-pick design system form control styles (#8497)
aduth May 30, 2023
a43b3d7
Improve one-time code pattern enforcement, prefix handling (#8495)
aduth May 30, 2023
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
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
.generators
*.pyc
*.rbc
*.sassc
**.orig
.bundle
.byebug_history
Expand Down
4 changes: 3 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

variables:
GITLAB_CI: 'true'
FF_SCRIPT_SECTIONS: 'true'
JUNIT_OUTPUT: 'true'
ECR_REGISTRY: '${AWS_ACCOUNT_ID}.dkr.ecr.${AWS_REGION}.amazonaws.com'
IDP_CI_SHA: 'sha256:e846ed99aa3c8f9083731105b8ef25536c7ab3ed5e9f2b781b63431badcb091b'
Expand Down Expand Up @@ -107,7 +108,7 @@ check_changelog:

specs:
stage: test
parallel: 11
parallel: 22
cache:
- <<: *ruby_cache
- <<: *yarn_cache
Expand All @@ -128,6 +129,7 @@ specs:
services:
- name: postgres:13.9
alias: db-postgres
command: ["--fsync=false", "--synchronous_commit=false", "--full_page_writes=false"]
- name: redis:7.0
alias: db-redis
artifacts:
Expand Down
9 changes: 6 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ gem 'aws-sdk-pinpoint'
gem 'aws-sdk-pinpointsmsvoice'
gem 'aws-sdk-ses', '~> 1.6'
gem 'aws-sdk-sns'
gem 'aws-sdk-sqs'
gem 'barby', '~> 0.6.8'
gem 'base32-crockford'
gem 'bootsnap', '~> 1.0', require: false
Expand All @@ -33,8 +34,9 @@ gem 'jsbundling-rails', '~> 1.0.0'
gem 'jwe'
gem 'jwt'
gem 'lograge', '>= 0.11.2'
gem 'lookbook', '~> 1.5.3', require: false
gem 'lookbook', '~> 2.0.0', require: false
gem 'lru_redux'
gem 'mail'
gem 'msgpack', '~> 1.6'
gem 'maxminddb'
gem 'multiset'
Expand All @@ -44,6 +46,7 @@ gem 'pg'
gem 'phonelib'
gem 'premailer-rails', '>= 1.12.0'
gem 'profanity_filter'
gem 'propshaft'
gem 'rack', '>= 2.2.3.1'
gem 'rack-attack', '>= 6.2.1'
gem 'rack-cors', '>= 1.0.5', require: 'rack/cors'
Expand All @@ -61,14 +64,13 @@ gem 'safe_target_blank', '>= 1.0.2'
gem 'saml_idp', github: '18F/saml_idp', tag: '0.18.2-18f'
gem 'scrypt'
gem 'simple_form', '>= 5.0.2'
gem 'sprockets-rails'
gem 'stringex', require: false
gem 'strong_migrations', '>= 0.4.2'
gem 'subprocess', require: false
gem 'terminal-table', require: false
gem 'uglifier', '~> 4.2'
gem 'valid_email', '>= 0.1.3'
gem 'view_component', '~> 2.82.0'
gem 'view_component', '~> 3.0.0'
gem 'webauthn', '~> 2.5.2'
gem 'xmldsig', '~> 0.6'
gem 'xmlenc', '~> 0.7', '>= 0.7.1'
Expand Down Expand Up @@ -98,6 +100,7 @@ group :development, :test do
gem 'erb_lint', '~> 0.3.0', require: false
gem 'i18n-tasks', '~> 1.0'
gem 'knapsack'
gem 'listen'
gem 'nokogiri', '~> 1.14.0'
gem 'pg_query', require: false
gem 'pry-byebug'
Expand Down
35 changes: 19 additions & 16 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,9 @@ GEM
aws-sdk-sns (1.49.0)
aws-sdk-core (~> 3, >= 3.122.0)
aws-sigv4 (~> 1.1)
aws-sdk-sqs (1.53.0)
aws-sdk-core (~> 3, >= 3.165.0)
aws-sigv4 (~> 1.1)
aws-sigv4 (1.5.2)
aws-eventstream (~> 1, >= 1.0.2)
axe-core-api (4.3.2)
Expand Down Expand Up @@ -375,17 +378,16 @@ GEM
loofah (2.20.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
lookbook (1.5.3)
actioncable
lookbook (2.0.3)
activemodel
css_parser
htmlbeautifier (~> 1.3)
htmlentities (~> 4.3.4)
listen (~> 3.0)
marcel (~> 1.0)
railties (>= 5.0)
redcarpet (~> 3.5)
rouge (>= 3.26, < 5.0)
view_component (> 2.0, < 4)
view_component (>= 2.0)
yard (~> 0.9.25)
zeitwerk (~> 2.5)
lru_redux (1.1.0)
Expand Down Expand Up @@ -451,6 +453,11 @@ GEM
net-smtp
premailer (~> 1.7, >= 1.7.9)
profanity_filter (0.1.1)
propshaft (0.7.0)
actionpack (>= 7.0.0)
activesupport (>= 7.0.0)
rack
railties (>= 7.0.0)
pry (0.14.1)
coderay (~> 1.1)
method_source (~> 1.0)
Expand Down Expand Up @@ -544,7 +551,7 @@ GEM
retries (0.0.5)
rexml (3.2.5)
rotp (6.2.0)
rouge (4.1.0)
rouge (4.1.1)
rqrcode (2.1.0)
chunky_png (~> 1.0)
rqrcode_core (~> 1.0)
Expand Down Expand Up @@ -635,13 +642,6 @@ GEM
simpleidn (0.2.1)
unf (~> 0.1.4)
smart_properties (1.17.0)
sprockets (4.0.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.4.2)
actionpack (>= 5.2)
activesupport (>= 5.2)
sprockets (>= 3.0.0)
stringex (2.8.5)
strong_migrations (0.8.0)
activerecord (>= 5.2)
Expand Down Expand Up @@ -669,7 +669,7 @@ GEM
activemodel
mail (>= 2.6.1)
simpleidn
view_component (2.82.0)
view_component (3.0.0)
activesupport (>= 5.2.0, < 8.0)
concurrent-ruby (~> 1.0)
method_source (~> 1.0)
Expand Down Expand Up @@ -729,6 +729,7 @@ DEPENDENCIES
aws-sdk-pinpointsmsvoice
aws-sdk-ses (~> 1.6)
aws-sdk-sns
aws-sdk-sqs
axe-core-rspec (~> 4.2)
barby (~> 0.6.8)
base32-crockford
Expand Down Expand Up @@ -766,9 +767,11 @@ DEPENDENCIES
jwt
knapsack
letter_opener (~> 1.8)
listen
lograge (>= 0.11.2)
lookbook (~> 1.5.3)
lookbook (~> 2.0.0)
lru_redux
mail
maxminddb
msgpack (~> 1.6)
multiset
Expand All @@ -781,6 +784,7 @@ DEPENDENCIES
phonelib
premailer-rails (>= 1.12.0)
profanity_filter
propshaft
pry-byebug
pry-doc
pry-rails
Expand Down Expand Up @@ -819,15 +823,14 @@ DEPENDENCIES
simplecov (~> 0.21.0)
simplecov-cobertura
simplecov_json_formatter
sprockets-rails
stringex
strong_migrations (>= 0.4.2)
subprocess
tableparser
terminal-table
uglifier (~> 4.2)
valid_email (>= 0.1.3)
view_component (~> 2.82.0)
view_component (~> 3.0.0)
webauthn (~> 2.5.2)
webdrivers (~> 5.2.0)
webmock
Expand Down
25 changes: 25 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ ARTIFACT_DESTINATION_FILE ?= ./tmp/idp.tar.gz
brakeman \
build_artifact \
check \
clobber_db \
clobber_assets \
clobber_logs \
docker_setup \
download_acuant_sdk \
fast_setup \
Expand All @@ -34,6 +37,7 @@ ARTIFACT_DESTINATION_FILE ?= ./tmp/idp.tar.gz
optimize_assets \
optimize_svg \
run \
tidy \
update \
urn \
README.md \
Expand Down Expand Up @@ -268,3 +272,24 @@ README.md: docs/ ## Generates README.md based on the contents of the docs direct

download_acuant_sdk: ## Downloads the most recent Acuant SDK release from Github
@scripts/download_acuant_sdk.sh

clobber_db: ## Resets the database for make setup
bin/rake db:create
bin/rake db:environment:set
bin/rake db:reset
bin/rake db:environment:set
bin/rake dev:prime

clobber_assets: ## Removes (clobbers) assets
bin/rake assets:clobber
RAILS_ENV=test bin/rake assets:clobber

clobber_logs: ## Purges logs and tmp/
rm -f log/*
rm -rf tmp/cache/*
rm -rf tmp/encrypted_doc_storage
rm -rf tmp/letter_opener
rm -rf tmp/mails

tidy: clobber_assets clobber_logs ## Remove assets, logs, and unused gems, but leave DB alone
bundle clean
10 changes: 0 additions & 10 deletions app/assets/config/manifest.js

This file was deleted.

4 changes: 2 additions & 2 deletions app/assets/stylesheets/_uswds-core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ $render-font-face: false !default;

@forward '@18f/identity-design-system/packages/uswds-core' with (
$theme-body-font-size: 'sm',
$theme-font-path: '.',
$theme-image-path: '@18f/identity-design-system/dist/assets/img',
$theme-font-path: '',
$theme-image-path: '',
$theme-global-border-box-sizing: true,
$theme-global-link-styles: true,
$theme-grid-container-max-width: 'tablet-lg',
Expand Down
13 changes: 13 additions & 0 deletions app/assets/stylesheets/_uswds-form-controls.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@forward 'usa-checkbox';
@forward 'usa-error-message';
@forward 'usa-fieldset';
@forward 'usa-file-input';
@forward 'usa-form-group';
@forward 'usa-hint';
@forward 'usa-input';
@forward 'usa-label';
@forward 'usa-legend';
@forward 'usa-memorable-date';
@forward 'usa-radio';
@forward 'usa-select';
@forward 'usa-success-message';
2 changes: 1 addition & 1 deletion app/assets/stylesheets/components/_alert.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
font-weight: bold;

&::before {
background-image: url('alert/info-white.svg');
background-image: url('/alert/info-white.svg');
}
}

Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/components/_icon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ $icon-min-padding: 2px;

&-success {
&::before {
background-image: url('alert/success.svg');
background-image: url('/alert/success.svg');
content: '';
display: block;
height: $h4;
Expand Down
6 changes: 3 additions & 3 deletions app/assets/stylesheets/components/_language-picker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@
}

&::after {
background-image: url(@18f/identity-design-system/dist/assets/img/angle-arrow-up.svg);
background-image: url('/angle-arrow-up.svg');

@include at-media('tablet') {
background-image: url(@18f/identity-design-system/dist/assets/img/angle-arrow-up-white.svg);
background-image: url('/angle-arrow-up-white.svg');
}
}
}
Expand All @@ -79,7 +79,7 @@
color: color('white');

&::after {
background-image: url(@18f/identity-design-system/dist/assets/img/angle-arrow-down-white.svg);
background-image: url('/angle-arrow-down-white.svg');
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion app/assets/stylesheets/components/_list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
padding: 1rem 1rem 1rem 0;

&::before {
background-image: url('alert/success.svg');
background-image: url('/alert/success.svg');
background-repeat: no-repeat;
content: '';
display: inline-block;
Expand Down
4 changes: 2 additions & 2 deletions app/assets/stylesheets/components/_personal-key.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

.personal-key-block {
@include u-padding-y(2);
background-image: url('personal-key/pkey-block.svg');
background-image: url('/personal-key/pkey-block.svg');
background-position: center;
background-repeat: no-repeat;

Expand All @@ -28,7 +28,7 @@

.bg-personal-key {
height: 145px;
background-image: url('personal-key/shield.svg');
background-image: url('/personal-key/shield.svg');
background-position: center;
background-repeat: no-repeat;
background-size: 145px 145px;
Expand Down
4 changes: 2 additions & 2 deletions app/assets/stylesheets/components/_phone-input.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ lg-phone-input {
}

.iti__flag {
background-image: url('intl-tel-input/build/img/flags.png');
background-image: url('/flags.png');

/* stylelint-disable-next-line media-feature-name-no-vendor-prefix */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
background-image: url('intl-tel-input/build/img/flags@2x.png');
background-image: url('/flags@2x.png');
}
}

Expand Down
Loading