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

31 Коммитов

Автор SHA1 Сообщение Дата
Amri Toufali 7961f820ae
add cron and breach stats lookup/update 2022-08-21 23:02:37 -07:00
Amri Toufali 9920cec64e
fix ESLint weird conditionals 2022-05-10 22:08:56 -07:00
Amri Toufali 344e394bb0
add ESLint auto-fixable changes (quotes, semi...) 2022-05-10 16:40:26 -07:00
Maxx Crawford cddbf3d82c Revert "Merge pull request #1797 from mozilla/1789-join-the-party-experiment"
This reverts commit 978d4e1e3b, reversing
changes made to 929381c880.
2020-08-26 12:15:32 -05:00
Maxx Crawford b7ed439111 Revert "Fixed #1779 - Removed Homepage FxA Experiment"
This reverts commit 24cd49eb7d.
2020-08-17 10:52:49 -05:00
Maxx Crawford 24cd49eb7d Fixed #1779 - Removed Homepage FxA Experiment
This reverts commit e5716aab35.
2020-07-12 23:00:22 -05:00
Maxx Crawford e5716aab35 Revert "Fixed #1747 - Removed I10N Homepage FxA Experiment"
This reverts commit 98195c5be6.
2020-06-26 16:23:14 -05:00
Maxx Crawford 98195c5be6 Fixed #1747 - Removed I10N Homepage FxA Experiment 2020-06-15 10:41:27 -05:00
Maxx Crawford a0512f89a1 Fixed #1725 - Integrated MozOrg Traffic Cop logic into the experiment. Branch sorting is now dynamic. 2020-06-08 13:28:32 -05:00
Maxx Crawford 9ceb9d4de6 Fixed #1698 - Refactored experiment session setting into a single utility function, and reduced let usage 2020-06-08 13:28:32 -05:00
Maxx Crawford 69d04c0ff3 Added back cohort/assignment logic from previous experiments. 2020-06-08 13:28:32 -05:00
Maxx Crawford 3dac2f91be Fixed #1711 - Removed Homepage FxA Experiment code 2020-05-27 14:08:14 -05:00
Maxx Crawford 8abe9f675e
Relaunch: Homepage FxA Experiment (Growth Exp 2) (#1695)
* Fixed #1638 - Added baseline logic for A/B branches across the home page, scan results page and user dashboard pages.

* Adjusted logic (and updated controller test) to split the experiment into 29/29/42 split.

* Added experiment design/content and analytics instrumentation

* Added custom dimension for experiment name

* Updated campaign ID for easier tracking
2020-05-21 13:09:37 -05:00
Maxx Crawford 31cc8a74a3 Fixed #1687 - Removed Growth Experiment 3 Code 2020-05-14 15:04:25 -05:00
Maxx Crawford 7a879d7de8
Breach Results FxA Experiment (Growth Exp 3) (#1659)
* Added experiment logic

* Added A/B test code

* Fixed lint errors from rebase

* Add experiment info to the user (dashboard) template

* Removed rebase artifacts, corrected if-logic in HTML blocks

* Removed the blanket "transport: beacon" settings and moved them to event options as it was breaking analytics reporting in Chrome environments.

* Add new FxA entry points (treatment branch) into FxA reporting

* Revised experiment campaign ID

* Revised home page render to not include experiment assignment functionality, except for when a user passes a URL param.

* Revised test for revised cohort assignment (50/50)

* Removed Experiment 2 Artifacts

* Removed language logic for cohort selection

* Revised cohort split to be 30/30/40

* Reordered view/click ping listeners to fire after the page view event fires.

* Updated tests for scan/user controllers

* Fixed lint errors

* Updated getExperimentBranch unit test comments

* Removed getExperimentBranch function from the user controller, and only set meta info on the page if the user has already been sorted into the experiment.

* Remove debug logging

* Fixed #1652
2020-05-07 11:35:42 -05:00
Maxx Crawford 8920513186
Exp 2 Analytics Fix (#1672)
* Revert pageview nonInteraction change

* Updated utm_campaign for debugging

* Set campaign name/term before pageview send

* Added event trigger for sign-in button clicks

* Updated campaign name for additionally debugging

* Added session dimension

* Added a durable session variable to remember when a session has been removed/excluded from the experiment.

* Fixed #1671 - Updated campaign name for clean data collection

* Added session reset to the experiment assignment unit test

* Updated ga set event to use correct language to set the utm_term: campaignKeyword

* Updated campaign name to stay in-line with experiment naming conventions
2020-04-30 14:08:18 -05:00
Maxx Crawford 5524e76f5d Revised the amount of total users that are exposed to the experiment, based on the coin flip. Added test to confirm that the selection is correct. 2020-04-27 12:32:24 -05:00
Maxx Crawford a38f30c0bf Moved getExperimentBranch to /utils, extended it to both home and scan results files, added UTMs to /scan page 2020-04-23 14:03:18 -05:00
lesley 4fa5dcbdc9 Breach resolution dashboard updates - WIP
- Adds progress bar (should show number of breaches resolved, percent of breaches resolved, and a message that varies based on percent of breaches resolved).
- Updates breach stat callouts (2nd and third callouts change after the first breach has been resolved)
- Moves resolved breaches to the end of an emails' breach list.
- Hides previously resolved breaches by default
- Adds button to toggle resolved breach visibility
- Updates the "Appears in X known breaches" message beside each email address to show the number of breaches that have been resolved for that email (after the first breach for that email has been resolved)
2020-01-14 15:50:40 -06:00
lesley 39050e4e3c Remove old scan page. 2019-12-03 15:58:43 -06:00
lesley 62d93ed026 Review update 2019-11-20 16:01:30 -06:00
lesleyjanenorton 4125c35843 Rename "newMarketingScanPage" to "newScanPage". 2019-11-15 15:19:40 -06:00
lesleyjanenorton c701e11f13 New scan results page for marketing tests. 2019-11-15 11:34:57 -06: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 93a56c7661 fix #1110: add /user/breach-stats endpoint 2019-07-10 14:54:41 -05:00
Lesley Norton 9a314f7373
Merge pull request #851 from mozilla/multiple-emails-849
DRAFT/WIP: migration for email_addresses table
2019-04-03 14:18:26 -05:00
Lesley Norton ed588144f2 WIP V2 2019-04-03 13:30:19 -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
lesleyjanenorton 83790c180d Use sessionStorage, show last scanned email in scan-results 2019-03-27 15:15:20 -05:00
Lesley Norton 20afd2fbee Review updates / Resolve conflicts 2019-02-14 14:28:05 -06:00
Lesley Norton 45a36eb782 Add scan-results.js and update controllers and routes. 2019-02-12 14:22:01 -06:00