Skip to content
This repository has been archived by the owner. It is now read-only.

Backport email opt-in code to train-38 #2532

Merged
merged 15 commits into from Jun 5, 2015
Merged

Conversation

@rfk
Copy link
Member

@rfk rfk commented Jun 5, 2015

/cc @jrgm @zaach

Here's my attempt at cherry-picking the email optin commits from master over into the train-38 branch. I'm not sure it actually skips much extra code from master though.

It also hides the "communication preferences" link which was suggested by @ryanfeeley and the engagment team if we're still testing the corner-cases in that UI. Since each email will contain an "unsubscribe" link, we should be safe to ship just the opt-in checkbox for a short while, and users will still have a way to opt back out.

Now, let's see if it'll actually build and pass tests...

zaach and others added 14 commits May 24, 2015
* Strip the "Bearer " portion of a token before verification.
* Enable CORS from the content server.
* Handle errors from both the OAuth and Basket servers.

(cherry picked from commit cc0dfdb)
(cherry picked from commit 3d9d882)
(cherry picked from commit f6a1690)
* `verifyApiKey` is already middleware, do not make a function call when setting it up as middleware.
* Fetch the parameters from the right place.

(cherry picked from commit effd5d3)
Contains @zaach's proxy from #2460

issue #2443

(cherry picked from commit 8c4246e)
(cherry picked from commit 4e8e2dc)
@rfk rfk force-pushed the rfk/train-38-email-optin-backport branch from c1290f9 to 65f8b86 Jun 5, 2015
@rfk
Copy link
Member Author

@rfk rfk commented Jun 5, 2015

(Also includes the fix from #2531)

@rfk rfk force-pushed the rfk/train-38-email-optin-backport branch from 65f8b86 to b3fdc4e Jun 5, 2015
@rfk
Copy link
Member Author

@rfk rfk commented Jun 5, 2015

I've got a green tick from travis here, and a clean run of npm test from fxa-local-dev...pending an r? from @zaach and depending on how @jrgm is feeling on the ops side, I think we could safely ship this to get the opt-in checkbox in front of our users while the marketing campaign still has some steam.

@zaach

This comment has been minimized.

Copy link
Contributor

@zaach zaach commented on server/bin/basket-proxy-server.js in f2f2f1a Jun 5, 2015

!! So this is why I kept getting 404s on lookup-user calls.

This comment has been minimized.

Copy link
Member

@shane-tomlinson shane-tomlinson replied Jun 7, 2015

Hmmm... it's a URI component though, isn't it?

zaach added a commit that referenced this pull request Jun 5, 2015
Backport email opt-in code to train-38 r=zaach,jrgm
@zaach zaach merged commit a1aa709 into train-38 Jun 5, 2015
3 checks passed
3 checks passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details
coverage/coveralls Coverage increased (+0.08%) to 98.47%
Details
@zaach zaach deleted the rfk/train-38-email-optin-backport branch Jun 5, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants