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

126 Коммитов

Автор SHA1 Сообщение Дата
Luke Crouch 8bee2c7bf3 fix #1555: add waitlists_joined db column 2020-02-25 11:56:53 -06:00
Luke Crouch afa029cf42 fix email_addresses.verified update 2020-02-12 15:15:18 -06:00
Luke Crouch 7d070893ef for #1412: postResolveBreach updates 2020-01-21 15:48:58 -06:00
Luke Crouch 61f9d3138b fix #1413: add /breach-resolution endpoint 2020-01-21 15:48:58 -06:00
Luke Crouch ef2de4bd4f for #1412: add tests for getDashboard 2020-01-15 09:02:40 -06:00
Luke Crouch 7e4ab25eaf fix #1411: add breaches_resolved JSON to subscribers table 2019-12-02 16:13:44 -06:00
Luke Crouch 01715ad025 use knex-paginate to paginate pre-FXA query 2019-11-20 16:24:33 -06:00
Luke Crouch dfcb9e0885 drop email_addresses subquery 2019-11-20 09:45:58 -06:00
Luke Crouch c02c133128 optimize query for sending email to pre-FXA subs 2019-11-18 17:33:54 -06:00
Luke Crouch f917c8646b add subscribers_fxa_uid_idx migration 2019-11-18 10:10:41 -06:00
Luke Crouch 3cdd0c0e3e fix #816: refresh fxa profile data on page loads 2019-11-13 14:46:39 -06:00
Luke Crouch 8708eba10a fix pre-fxa SQL WHERE clause 2019-11-08 14:31:01 -06:00
Luke Crouch 71bc0bbcd5 add script to send email to pre-fxa subscribers 2019-10-31 12:42:39 -05:00
Luke Crouch 881feff0f6 fix db migration for knext 0.19.5 2019-10-23 15:52:15 -05:00
Luke Crouch 4a1b6a2390 fix #1131: destroy old refresh tokens 2019-09-24 14:25:32 -05:00
Luke Crouch e921363881 for #1182: lowercase email addresses for all HIBP calls
for #1182: script to lower-case sha1 db records
2019-09-16 10:31:06 -05:00
Luke Crouch 65222398ab fix #1084 fix #1146 - only put ids and emails into user object
When a user adds many email addresses, joining all of their full
email_addresses records data into the session user object makes the
client-sessions object larger than the cookie size limit of Firefox.

This temporary fix joins only the ids and emails of the records, because
they are the only columns we're using. This cuts the object size down by
approx. 70%.

https://github.com/mozilla/blurts-server/issues/1148 tracks moving
session data to the back-end.
2019-07-29 11:59:14 -05:00
Luke Crouch 47805cb08d add email_addresses_sha1_idx 2019-07-15 09:30:33 -05:00
Luke Crouch 93a56c7661 fix #1110: add /user/breach-stats endpoint 2019-07-10 14:54:41 -05:00
luke crouch 09bfb84af8
Merge pull request #1009 from mozilla/fix-ses-callbacks-985
fix #985: update SES callback code for multiple emails
2019-06-05 15:11:58 -05:00
Luke Crouch d629f2d933 for #985: fix log.warn syntax 2019-06-05 11:48:02 -05:00
Luke Crouch d2f677986b fix #985: update ses tests for email_addresses 2019-06-05 11:42:35 -05:00
Luke Crouch 649d27a8ce fix #985: update SES callback code for multiple emails 2019-06-04 10:20:28 -05:00
Luke Crouch ca1b580992 fix #1044: ensure session user always has email_addresses 2019-05-31 17:43:17 -05:00
Luke Crouch 399ce03aed fix tests for #992 2019-05-23 16:06:31 -05:00
Luke Crouch 0a204f0164 fix #992: destroy access and refresh tokens on Remove 2019-05-23 15:53:31 -05:00
Luke Crouch afc4a73b58 fix pre-FxA unsubscribe links 2019-05-23 11:53:29 -05:00
Luke Crouch d1d1c70694 tests 2019-05-22 16:08:00 -05:00
Luke Crouch 267d134eae fix #941: implement remove button 2019-05-22 13:54:24 -05:00
Luke Crouch 16823c72cc fix #927: disallow duplicate email addresses 2019-05-15 15:43:19 -05:00
Luke Crouch 774197518c wire /update-comm-option to DB.setAllEmailsToPrimary 2019-05-14 13:45:36 -05:00
Luke Crouch 55067e461c all_emails_to_primary sends all emails to primary 2019-05-14 10:47:21 -05:00
Luke Crouch ad519e59fc fix #889: implement resend email functionality 2019-05-12 16:50:04 -05:00
luke crouch eec01aad13
Merge pull request #876 from mozilla/update-hibp-callback
fix #862: make HIBP callback check email_addresses
2019-05-09 10:59:30 -05:00
lesleyjanenorton 344833090c Add/update user dashboards. 2019-05-06 18:16:35 -05:00
Luke Crouch 671a133e8b test for getEmailAddressesByHashes 2019-05-06 15:53:57 -05:00
Luke Crouch a63203decd fix #862: make HIBP callback check email_addresses 2019-05-06 15:14:45 -05:00
Luke Crouch 82dbb34753 for #863: add test for setBreachesLastShown 2019-04-24 14:12:55 -05:00
Luke Crouch c83f4c86fd for #863: clean up tests for new DB methods 2019-04-24 13:21:12 -05:00
Luke Crouch 4bb097e07c fix primary_ column name 2019-04-24 11:28:14 -05:00
Luke Crouch d3ef59ede5 wip for #863: add breaches_last_shown to DB 2019-04-24 10:31:28 -05:00
Lesley Norton 874492060e Add "getUserEmails" and round up all user's emails. 2019-04-03 17:11:20 -05:00
Lesley Norton 461351fbb3 Update add new email flow. 2019-04-03 16:34:39 -05:00
Luke Crouch 02354157e0 migration for email_addresses table
update DB code to match email_addresses table

start preferences page and POST /user/email
2019-03-29 15:23:49 -05:00
Luke Crouch 4556428643 fix #710 fix #721: delete subscriber on fxa delete
Store fxa uid when adding subscribers; handle SNS callback messages from
FXA delete events, and delete the corresponding Monitor subscriber.
2019-02-19 16:34:47 -06:00
Luke Crouch 147af48ddd review changes for #738 2019-02-15 09:51:06 -06:00
Luke Crouch 3e18c45ffc for #738: tests for revokeOAuthToken 2019-02-15 09:51:06 -06:00
Luke Crouch 1a26d3c0e2 fix #738: FXA.revokeOAuthToken 2019-02-15 09:51:06 -06:00
Luke Crouch 28c53f3c38 bug 1517343 - add index to verified column 2019-01-17 15:12:21 -06:00
Luke Crouch 239ed9b2ce fix #675: store accept-language as signup_language during fxa oauth 2019-01-03 13:28:15 -06:00