Граф коммитов

17806 Коммитов

Автор SHA1 Сообщение Дата
Danny Coates 4aab0ce02c
feat(ci): use store_test_results in circleci for auth-server
this might help us keep track of flaky tests over time
2020-06-15 13:57:52 -07:00
Danny Coates fe1a36a22e
Merge pull request #5667 from mozilla/ancient-history
fix(content): stop using padStart
2020-06-12 12:04:52 -07:00
Danny Coates bef50ba09f
fix(content): stop using padStart
because ancient webviews on android are ancient
2020-06-12 10:55:18 -07:00
Lauren Zugai 3413ca2c0e
Merge pull request #5654 from LZoog/settings-readme-typos
chore(docs): Fix settings README typos
2020-06-12 10:06:00 -05:00
Ryan Kelly 1c410a4d2a
Merge pull request #5652 from mozilla/bug-1639838; r=rfk
fix(devices): improve lastAccessTime accuracy for OAuth devices
2020-06-12 14:56:34 +10:00
Edouard Oger 6bee0dfc10
fix(devices): improve lastAccessTime accuracy for OAuth devices
Because:

* The /devices route only uses information from the auth-server db.
* OAuth devices may have more up-to-date information in the oauth db.

This commit:

* Adds a lookup to the oauth db when calculatig the list of devices.
2020-06-12 12:01:14 +10:00
Lauren Zugai dcda41c7d3
chore(docs): Fix settings README typos 2020-06-11 16:30:55 -05:00
Lauren Zugai 61fc64bfc3
Merge pull request #5651 from mozilla/train-175
Release 1.175.0
2020-06-11 15:09:29 -05:00
Lauren Zugai 4b8d83be53
Release 1.175.0 2020-06-11 11:48:41 -05:00
Jody Heavener bb10dca6b8
Merge pull request #5648 from mozilla/jh/revert-5550/settings-server-config
Revert "feat(settings): start injecting server config into beta settings"
2020-06-11 12:10:22 -04:00
Lauren Zugai c3571864b3
Merge pull request #5645 from mozilla/issues/4929
feat(settings): Add AlertBar
2020-06-11 11:00:43 -05:00
Vijay Budhram 2c552b0342
Merge pull request #5501 from imskr/dead-links, r=@vbudhram
style(README files): Fix dead links in READMEs
2020-06-11 11:59:59 -04:00
Lauren Zugai 8c0b2b0d30
feat(settings): Add AlertBar
Because:
* The new Settings page needs an alert-style bar to display messages to users.

This commit:
* Creates an AlertBar component in fxa-settings and places it in the correct DOM location
* Moves shared hooks with Modal into hooks.tsx
* Adds titles to AlertBar/Modal close buttons per content strategy request
* Removes 'transition:desktop' class in AppLayout because it canceled out position:fixed Nav functionality

fixes #4929
2020-06-11 10:46:43 -05:00
Jody Heavener 52771fe3b7
Revert "feat(settings): start injecting server config into beta settings"
This reverts commit 41fb60f637.
2020-06-11 11:38:20 -04:00
Shubham Kumar 38624143e8
style(README files): Fix dead links in READMEs 2020-06-11 11:52:57 +05:30
Danny Coates 0b79117dbc
Merge pull request #5624 from mozilla/auth-require-pw-change
feat(auth): handle a password change requirement in login
2020-06-10 19:11:04 -07:00
Danny Coates c495177e88
feat(auth): handle a password change requirement in login
When a password change is required the lockedAt flag is set, currently by an external script. Until the password is changed all sessions for such an account must be verified. The 'password-change' verificationReason is returned in the response to tell the frontend to show the change password ui. The resetAccount db procedure resets the lockedAt value to null when the password is changed.
2020-06-10 15:44:56 -07:00
Jody Heavener bbd2f100ff
Merge pull request #5637 from mozilla/train-174 2020-06-10 18:31:33 -04:00
Jody Heavener 8a41d4ccdd
Merge branch 'master' into train-174 2020-06-10 17:57:15 -04:00
Jody Heavener 1d276a60f5
Release 1.174.2 2020-06-10 16:50:15 -04:00
Barry Chen 84be6c12e5
Merge pull request #5633 from chenba/1998-survey-langs
feat(surveys): add the "languages" condition
2020-06-10 15:47:27 -05:00
Vijay Budhram c5eb726cb8
fix(customs): Update customs rules for session verify code 2020-06-10 16:42:13 -04:00
Jody Heavener 35c864cb7a
Release 1.174.1 2020-06-10 16:42:13 -04:00
Vijay Budhram e5a1c88f69
fix(experiments): Enabled QR cad, disable newsletters experiment 2020-06-10 16:42:13 -04:00
Vijay Budhram 92e304456f
fix(customs): Update customs to better handle email records
fix(customs): Fix undefined errors when blocking a request from ip service

fix(customs): don't try to write records from reputationService to memcache

fix(customs): Call setRecord instead of setRecords

fix(logs): Emit statsd errnos

feat(auth): changed handling of logins

fix(customs): flag emails in customs server blocking
2020-06-10 16:32:04 -04:00
Jody Heavener f297888aa3
Release 1.174.0 2020-06-10 16:32:03 -04:00
Vijay Budhram 2ad237e215
feat(email): Update email template 2020-06-10 16:32:03 -04:00
Barry Chen 8d85e09bf8
add and update tests 2020-06-10 15:12:38 -05:00
Ben Bangert deebd5e607
Merge pull request #5621 from mozilla/feat/issue-5592
feat: add must-change-password script
2020-06-10 12:58:42 -07:00
Barry Chen 12ccf7370c
Merge pull request #5634 from chenba/2050-survey-content-overlap
fix(surveys): display the survey above other content
2020-06-10 14:47:53 -05:00
Lauren Zugai dbb8846f1e
Merge pull request #5622 from mozilla/settings-style-fix
fix(settings): Fix layout and fixed nav width
2020-06-10 14:14:18 -05:00
Barry Chen 6b6f2d0862
fix(surveys): display the survey above other content
Because:
 - a survey should be displayed above other content

This commit:
 - set a z-index for the survey that's higher than others in the content server
2020-06-10 13:50:48 -05:00
Vijay Budhram 7ebceaed5a
Merge pull request #5600 from mozilla/fxa-2069, r=@chenba, @jodyheavener
feat(emails): Add password change required email
2020-06-10 14:50:36 -04:00
Ben Bangert 638170424f
feat: add must-change-password script
Because:

* We want to require batches of users to change their password.
* The graphql-api package has easy access to the auth database for
  update statements.

This commit:

* Add's a must-change-password script that will batch larger update
  commands to quickly set the lockedAt flag used to determine if the
  user needs to change their password.

Closes #5592
2020-06-10 11:30:11 -07:00
Lauren Zugai 0090ca5de2
fix(settings): Fix layout and fixed nav width
Because:
* The main content layout was missing a class and the nav fixed width didn't render properly with long strings.

This commit:
* Adds 'w-full' class to the Nav/main container and 'transform' class to the nav container.
2020-06-10 13:26:59 -05:00
Vijay Budhram d1c14bcb3b
feat(emails): Add password change required email 2020-06-10 14:25:48 -04:00
Barry Chen cec1fc8da9
feat(surveys): add the "languages" condition
Because:
 - we want to be able to use a user's language(s) to determine survey
   eligibility

This commit:
 - compare the configured languages in the browser against a list of
   configured for a survey
2020-06-10 13:00:08 -05:00
Vlad Filippov 4a63826317
Merge pull request #5630 from mozilla/jh/fix-proxy-middleware
fix(content server): make http-proxy-middleware a proper dep
2020-06-10 13:46:29 -04:00
Jody Heavener 71639d8c9e
fix(content server): make http-proxy-middleware a proper dep 2020-06-10 13:20:45 -04:00
Les Orchard 386c6d96c8
Merge pull request #5602 from lmorchard/5450-email-currencies
feat(payments): revise currency formatting in subplat emails for l10n
2020-06-10 09:38:16 -07:00
Barry Chen 1a2b1777ff
Merge pull request #5623 from chenba/1960-survey-rate
feat(surveys): add "rate" configuration
2020-06-10 10:11:46 -05:00
Jody Heavener e34c7b0fa3
Merge pull request #5563 from mozilla/jh/5550/settings-server-config
feat(settings): start injecting server config into beta settings
2020-06-10 11:08:22 -04:00
Jody Heavener 41fb60f637
feat(settings): start injecting server config into beta settings 2020-06-10 10:44:59 -04:00
Barry Chen 00cfaa1811
feat(surveys): add "rate" configuration
Because:
 - we want to limit a survey to a certain percentage of visitors

This commit:
 - use the rate value from a survey's configuration in the process that
   determines whether the visitor should receive a survey
2020-06-10 08:06:10 -05:00
Ryan Kelly 07ce536e17
Merge pull request #5603 from mozilla/reformatting-push-related-code; r=dannycoates
chore(formatting): Apply automated formatting to push-related code.
2020-06-10 10:59:20 +10:00
Lauren Zugai 245144032e
Merge pull request #5571 from mozilla/admin-panel-style-tweak
fix(admin-panel): Adjust input height
2020-06-09 15:49:59 -05:00
Les Orchard d2632a77a0
feat(payments): revise currency formatting in subplat emails for l10n
- supply both cents and currency values for every price to be formatted
  in emails based on user locale

- remove `$` currency symbol from all strings tagged for l10n in email
  templates

- normalize on `paymentProrated` across emails for prorated payment (was
  `proratedAmount` in some spots)

- tweak `acceptedLanguage` in email tests, which ended up exposing an
  unexpected issue during development

fixes #5450
2020-06-09 15:32:03 -04:00
Vijay Budhram 37fd1e4845
Merge pull request #5619 from mozilla/update-customs, =@vladikoff
refactor(customs): Update vars to `checkAllowlist`
2020-06-09 15:04:06 -04:00
Vijay Budhram bf0133e1a3
refactor(customs): Update vars to `checkAllowlist` 2020-06-09 14:45:23 -04:00
Danny Coates 5d36b4cd12
Merge pull request #5617 from mozilla/coolit
fix(css): stop the endless css rebuilds
2020-06-09 10:53:47 -07:00