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

148 Коммитов

Автор SHA1 Сообщение Дата
Amri Toufali 2722e9d8f0
add CSP object directive for email-l10n route 2022-10-03 20:56:12 -07:00
Amri Toufali dfa5291039
refactor email-l10n preview 2022-09-14 23:19:08 -07:00
Amri Toufali 12ca0281d6
allow GCP stage to use monthly email mockup 2022-08-30 09:13:57 -07:00
Amri Toufali 7122c1fbc4
add monthly email optout 2022-08-28 22:40:43 -07:00
Amri Toufali 481871b13f
Merge branch 'main' into MNTOR-697/monthly-email 2022-08-28 16:29:30 -07:00
Amri Toufali 0e5153a8d6
add CSP unsafe-inline comment and restrict routes 2022-08-25 21:46:43 -07:00
John Whitlock 49c9efc9b3
Add /test-senty endpoint
A request to /test-sentry will raise a test exception, if the requesting
user has a @mozilla.com email address.
2022-08-24 11:49:29 -05:00
Amri Toufali bf3ad9f27a
add breach stats to DB and show in view 2022-08-18 22:53:27 -07:00
Amri Toufali 1dc22680bc
add 2022 email view and preview/send functionality 2022-08-18 20:15:54 -07:00
Amri Toufali abc5cfcd30
rerun eslint fix after merge from `main` 2022-05-31 19:57:59 -07:00
Amri Toufali 21773f9d95
Merge branch 'main' into MNTOR-723/use-eslint-standard 2022-05-31 19:47:57 -07:00
Amri Toufali 0128a1a122
remove data-removal sign-up page and code 2022-05-31 14:07:59 -07:00
Amri Toufali 344e394bb0
add ESLint auto-fixable changes (quotes, semi...) 2022-05-10 16:40:26 -07:00
Amri Toufali 1ceeb42721
IP location banner for VPN education/promotion (#2284)
* add banner expand functionality

* refactor home content to nest in top-level `main`

* optimize homepage style for vpn banner

* optimize breach page style for vpn banner

* optimize "security tips" page style for vpn banner

* optimize about page style for vpn banner

* move header shadow to avoid vpn banner conflict

* add 2nd panel main content

* add en locale strings

* add "protected" version of banner with associated strings

* handle ip address not found in MaxMind DB

* add Heroku Buildpack vars for MaxMind db

* update .env-dist vars for MaxMind GeoLite2

* handle MaxMind db read error

* refactor client-side mullvad API and async geodata

* default to "not protected" for cache/fetch error

* use full country name

* add abort controller for Mullvad req

* cache location lookup with redis session

* allow optional env vars

* update readme

* add analytics/attribution

* add localization to MaxMind location data

* add blocked locales to env var

* refactor ip-location to open db once every 3 days

* Fix broken visual integration tests
2021-11-19 12:06:30 -08:00
Luke Crouch f80d96d09b remove data waitlist page experiment 2021-03-31 09:21:32 -05:00
Maxx Crawford bf4964dba7 Fixed #1776 - Rewrote share URL redirects to append contextual UTMs to that users' session 2020-08-17 10:54:55 -05:00
Maxx Crawford 4daaa41c3d Fixed #1821 - Added route for "orange" share link 2020-08-17 10:52:49 -05:00
Maxx Crawford 8b3cd290a8 Resolved controller test failure - Improved how the check for req.params qualifies 2020-08-17 10:52:49 -05:00
Maxx Crawford 00161583e7 Added the four share points, the modal and all images, scripts required to make it work! 2020-08-17 10:52:49 -05:00
lesleyjanenorton 56327989c8 Review updates 2020-08-11 15:14:11 -05:00
lesleyjanenorton e07be34b96 Take down Privacy Defender test 2020-08-11 15:14:11 -05:00
Lesley Norton ea12bfb5a2
Update routes/home.js
Co-authored-by: luke crouch <luke.crouch@gmail.com>
2020-08-03 14:36:41 -05:00
Lesley Norton 8244c146d8
Update routes/home.js
Co-authored-by: luke crouch <luke.crouch@gmail.com>
2020-08-03 14:34:20 -05:00
lesleyjanenorton 6029179a7a Review updates, add survey link 2020-07-31 16:12:49 -05:00
lesley f4f97e9644 Add bundle test 2020-07-27 12:32:21 -05:00
lesley 23f3a9106a Add placeholder routes and controllers for private relay test 2020-02-20 15:25:43 -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 0786d704dc for #1412: breach-details using real isResolved values 2020-01-15 10:29:32 -06:00
lesleyjanenorton c57bc2d67c Breach resolution /breach-details updates - WIP 2020-01-14 15:50:40 -06:00
Luke Crouch e349e1cb1a fix #1329: redirect user to FxA sign-in instead of error 2019-11-01 15:48:04 -05:00
lesley a9edda808c Add bento button to header. 2019-09-26 12:00:16 -05:00
Luke Crouch 93a56c7661 fix #1110: add /user/breach-stats endpoint 2019-07-10 14:54:41 -05:00
lesleyjanenorton c980173f8d Update dashboard and preferences pages.
- Adds form for adding additional emails to the dashboard page and shows an "Email Sent!" message.

- Adds new string to replace the "Global Communication" string.
2019-05-29 16:10:23 -05:00
Luke Crouch f3d81c49dc fix #961: add csrf tokens to all preferences forms 2019-05-23 15:15:55 -05:00
Luke Crouch 197081ad93 fix #951: preferences and dashboard need asyncMiddleware 2019-05-23 14:17:06 -05:00
Luke Crouch 267d134eae fix #941: implement remove button 2019-05-22 13:54:24 -05:00
Lesley Norton 78e7a7179a UI updates from spec and feedback. 2019-05-13 11:35:41 -05:00
lesleyjanenorton 03a3714dad Reroute and update breach details pages. WIP. 2019-05-06 18:20:18 -05:00
lesleyjanenorton 344833090c Add/update user dashboards. 2019-05-06 18:16:35 -05:00
Lesley Norton 652d9688e6 User dashboards- WIP 2019-04-22 14:34:02 -05:00
lesleyjanenorton ef1b69a979 Add routes and other necessaries for /breaches and /security-tips pages. 2019-04-16 20:00:04 -05:00
Lesley Norton 330d651af1 Beginning user dashboard work. 2019-04-04 17:55:24 -05:00
Lesley Norton 4ec56c90d0 Delete old "user_dashboard" and "full_report" routes. 2019-04-03 16:38:00 -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
Lesley Norton 0269c9024f
Merge branch 'master' into streamlined-scan-results 2019-02-14 14:32:29 -06: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
Luke Crouch c52d867b89 for #688: add basic csrf protection to scans 2019-02-06 16:06:21 -06:00