Skip to content

Deploy RC 53 to Prod#2053

Merged
tbaxter-18f merged 17 commits intostages/prodfrom
stages/rc-2018-03-15
Mar 15, 2018
Merged

Deploy RC 53 to Prod#2053
tbaxter-18f merged 17 commits intostages/prodfrom
stages/rc-2018-03-15

Conversation

@tbaxter-18f
Copy link
Contributor

No description provided.

jmhooper and others added 17 commits March 7, 2018 10:12
**Why**: So we can create a readonly database user to be used in the
console after #1996
Add rake task to create readonly database user
**Why**: So that console users in deployed environments will not be able
to modify records without explicitly enabling write access. Enabling
write access is done by setting ALLOW_CONSOLE_DB_WRITE_ACCESS=true.

**How**: This commit adds a class called ProductionDatabaseConfiguration
which is loaded in database.yml and used to determine the value of
configs such as the username, password, and pool size. When the rails
console is defined, it uses 2 new configs for user name and password
that should correspond to a read only user.
Use readonly production database config in console
**Why**: Some email servers don't configure an MX record and rely on
senders falling back to the A record, as recommended by the RFC.

**How**: The email validation gem takes a parameter to do a check of
the MX record and fall back to an A record if there is no MX record.
* Updated OTP and Session timeouts

**Why**: In order to provide a bit more time for USAJobs users.

* LG-132 Fixed tests

**Why**: Changes to config broke a couple of them.
…g-mx

LG-136 - Fall back to A record if MX record doesn't exist
**Why**: We need to steadily increase our sending volume when moving
between AWS regions to keep from being block as spam. This commit allows
us to configure what percentage of mail gets sent from what region.
**Why**: We want to be able to leverage several phone validation
options, so we are (1) moving the validation to the backend, (2)
giving feedback to the user when the phone number is considered
valid, (3) enabling "Send Code" only when the phone number is
considered valid.

**How**: We send a POST to an endpoint when the phone input field blurs
or the country code changes. The result of the POST indicates if the
number is valid. We can add more information later.
LG-125 Select AWS SES region from a pool
…rs-before-sending-code

LG-126 - Validate the appearance of phone numbers before allowing OTP submission
**Why**: To make sure that only requests that contain Twilio's signature
are allowed.

Reference:
https://twilio-ruby.readthedocs.io/en/latest/usage/validation.html#rack-middleware
Validate Twilio requests to /api/voice/otp
**Why**: So they know up front when it will expire.
**Why**: Translations are not available for French and Spanish

**How** Update the locale files
LG-123 Show OTP expiration to user on web page
@tbaxter-18f tbaxter-18f merged commit f732d87 into stages/prod Mar 15, 2018
@mitchellhenke mitchellhenke deleted the stages/rc-2018-03-15 branch December 28, 2021 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants