* add fx-integration.mmd sequence diagram

* add localization copy

* Protemps logo (#2404)

* fix advisory

* Pontoon: Update Norwegian Nynorsk (nn-NO) localization of Firefox Monitor Website

Co-authored-by: Björn I. <bjorni.svindseth@yahoo.com>

* Pontoon: Update Norwegian Nynorsk (nn-NO) localization of Firefox Monitor Website

Co-authored-by: Björn I. <bjorni.svindseth@yahoo.com>

* Pontoon: Update Norwegian Nynorsk (nn-NO) localization of Firefox Monitor Website

Co-authored-by: Björn I. <bjorni.svindseth@yahoo.com>

* change "WiFi" localization to "Wi-Fi"

* Pontoon: Update Ukrainian (uk) localization of Firefox Monitor Website

Co-authored-by: Іhor Hordiichuk <igor_ck@outlook.com>

* Pontoon: Update Spanish (Chile) (es-CL) localization of Firefox Monitor Website

Co-authored-by: ravmn <ravmn@ravmn.cl>

* Pontoon: Update Swedish (sv-SE) localization of Firefox Monitor Website

Co-authored-by: Andreas Pettersson <az@kth.se>

* Pontoon: Update Greek (el) localization of Firefox Monitor Website

Co-authored-by: Jim Spentzos <jimspentzos2000@gmail.com>

* Pontoon: Update Chinese (China) (zh-CN) localization of Firefox Monitor Website

Co-authored-by: 你我皆凡人 <yuanbingyan@mail.ee>

* Pontoon: Update Vietnamese (vi) localization of Firefox Monitor Website

Co-authored-by: Quế Tùng <best.cloney.1301@gmail.com>

* Pontoon: Update Chinese (Taiwan) (zh-TW) localization of Firefox Monitor Website

Co-authored-by: Pin-guang Chen <petercpg@mail.moztw.org>

* Pontoon: Update Spanish (Argentina) (es-AR) localization of Firefox Monitor Website

Co-authored-by: Marcelo Poli <enzomatrix@gmail.com>

* Pontoon: Update Chinese (China) (zh-CN) localization of Firefox Monitor Website

Co-authored-by: 你我皆凡人 <yuanbingyan@mail.ee>

* Pontoon: Update Norwegian Nynorsk (nn-NO) localization of Firefox Monitor Website

Co-authored-by: Björn I. <bjorni.svindseth@yahoo.com>

* Pontoon: Update Hungarian (hu) localization of Firefox Monitor Website

Co-authored-by: Balázs Meskó <meskobalazs@mailbox.org>

* Pontoon: Update Welsh (cy) localization of Firefox Monitor Website

Co-authored-by: Rhoslyn Prys <rprys@posteo.net>

* Pontoon: Update Guarani (gn) localization of Firefox Monitor Website

Co-authored-by: Abelardo Ayala Rodríguez <abe_aya@hotmail.com>

* Pontoon: Update German (de) localization of Firefox Monitor Website

Co-authored-by: Michael Köhler <michael.koehler1@gmx.de>

* Pontoon: Update Spanish (Mexico) (es-MX) localization of Firefox Monitor Website

Co-authored-by: Bund10z <abu.avila@gmail.com>

* add validation to email partials

* Pontoon: Update Portuguese (Brazil) (pt-BR) localization of Firefox Monitor Website

Co-authored-by: Marcelo Ghelman <marcelo.ghelman@gmail.com>
Co-authored-by: Luana Coelho <luanamaira@gmail.com>

* Pontoon: Update Slovak (sk) localization of Firefox Monitor Website

Co-authored-by: Vlado Valaštiak <valastiak@mozilla.sk>

* Pontoon: Update Spanish (Spain) (es-ES) localization of Firefox Monitor Website

Co-authored-by: jlG <jlg.l10n.es@gmail.com>

* Pontoon: Update Dutch (nl) localization of Firefox Monitor Website

Co-authored-by: Mark Heijl <markh@babelzilla.org>

* Add RedLine Stealer breach logo (#2423)

* Pontoon: Update Portuguese (Portugal) (pt-PT) localization of Firefox Monitor Website

Co-authored-by: Cláudio Esperança <cesperanc@gmail.com>

* Add DatPiff logo (#2431)

* Add FlexBooker logo (#2432)

* create pages for the removal pilot terms and privacy policy
link to these pages from the enroll form
require user to click a checkbox for the enroll form before submitting.

Co-authored-by: Luke Crouch <lcrouch@mozilla.com>
Co-authored-by: Amri Toufali <atoufali@mozilla.com>
Co-authored-by: Kaitlyn Andres <kandres@mozilla.com>
Co-authored-by: Amri Toufali <amri@handsomemedia.com>
Co-authored-by: Björn I <bjorni.svindseth@yahoo.com>
Co-authored-by: Іhor Hordiichuk <igor_ck@outlook.com>
Co-authored-by: ravmn <ravmn@ravmn.cl>
Co-authored-by: Andreas Pettersson <az@kth.se>
Co-authored-by: Jim Spentzos <jimspentzos2000@gmail.com>
Co-authored-by: 你我皆凡人 <yuanbingyan@mail.ee>
Co-authored-by: Quế Tùng <best.cloney.1301@gmail.com>
Co-authored-by: Pin-guang Chen <petercpg@mail.moztw.org>
Co-authored-by: Marcelo Poli <enzomatrix@gmail.com>
Co-authored-by: Balázs Meskó <meskobalazs@mailbox.org>
Co-authored-by: Rhoslyn Prys <rprys@posteo.net>
Co-authored-by: Abelardo Ayala Rodríguez <abe_aya@hotmail.com>
Co-authored-by: Michael Köhler <michael.koehler1@gmx.de>
Co-authored-by: Bund10z <abu.avila@gmail.com>
Co-authored-by: Luana Coelho <luanamaira@gmail.com>
Co-authored-by: Marcelo Ghelman <marcelo.ghelman@gmail.com>
Co-authored-by: Vlado Valaštiak <valastiak@mozilla.sk>
Co-authored-by: jlG <jlg.l10n.es@gmail.com>
Co-authored-by: Mark Heijl <markh@babelzilla.org>
Co-authored-by: Maxx Crawford <maxx.crawford@gmail.com>
Co-authored-by: luke crouch <luke.crouch@gmail.com>
Co-authored-by: Cláudio Esperança <cesperanc@gmail.com>
This commit is contained in:
Mike Heavers 2022-01-06 12:57:24 -08:00 коммит произвёл GitHub
Родитель ad8b746821
Коммит 4d768e99e0
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
13 изменённых файлов: 64 добавлений и 9 удалений

Просмотреть файл

@ -172,6 +172,20 @@ function getRemovalFAQPage(req, res) {
});
}
function getRemovalPilotTermsPage(req, res) {
return res.render("top-level-page", {
title: "Data Removal Pilot Terms of Service",
whichPartial: "top-level/removal-pilot-terms",
});
}
function getRemovalPilotPrivacyPage(req, res) {
return res.render("top-level-page", {
title: "Data Removal Pilot Privacy Notice",
whichPartial: "top-level/removal-pilot-privacy",
});
}
module.exports = {
addEmailToWaitlist,
getAboutPage,
@ -182,4 +196,6 @@ module.exports = {
notFound,
removeMyData,
getRemovalFAQPage,
getRemovalPilotTermsPage,
getRemovalPilotPrivacyPage,
};

7
docs/fx-integration.mmd Normal file
Просмотреть файл

@ -0,0 +1,7 @@
sequenceDiagram
Firefox->>accounts.firefox.com: POST /oauth/token grant_type:fxa-credentials
accounts.firefox.com->>Firefox: {access_token: ...}
Firefox->>monitor.firefox.com: GET /user/breach-stats Bearer: $access_token
monitor.firefox.com->>accounts.firefox.com: POST /oauth/verify $access_token
accounts.firefox.com->>monitor.firefox.com: {user: ...}
monitor.firefox.com->>Firefox: {breaches ...}

Двоичные данные
docs/fx-integration.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 130 KiB

Двоичные данные
public/img/logos/DatPiff.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 2.7 KiB

Двоичные данные
public/img/logos/FlexBooker.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 1.8 KiB

Просмотреть файл

@ -15,4 +15,7 @@ $status-in-progress-color: #0060df;
$status-blocked-color: #ee0700;
//z-index
$z-modal: 10;
$z-modal: 10;
//dimensions
$header-height: 80px;

Просмотреть файл

@ -23,6 +23,10 @@
@include list-item-inside;
}
&-terms {
margin-right: 10px;
}
&-submit {
margin-top: 25px;
}

Просмотреть файл

@ -1,5 +1,5 @@
.remove-faq {
padding-top: 80px; //MH must match header height
padding-top: $header-height; //MH must match header height
&__header {
background-color: var(--inkDark);
padding: 84px 0;
@ -147,4 +147,4 @@
}
}
}
}
}

Просмотреть файл

@ -217,7 +217,9 @@ remove-enroll-terms = The pilot service will be offered at no cost to you for a
You may discontinue the { remove-process-name } service at any point within the 90 day pilot period.
remove-enroll-link-faq = { -product-name } { remove-pilot-title } FAQ
remove-enroll-link-tos = { remove-pilot-title } Terms of Service and Privacy Notice
remove-enroll-terms-agreement = By continuing, I agree to the Terms of Service and Privacy Notice.
remove-enroll-terms-agreement = By continuing, I agree to the
remove-enroll-terms-link = Terms of Service
remove-enroll-privacy-link = Privacy Notice
remove-enroll-submit = Join the pilot
# Data Removal Pilot Enrollment Full Page

Просмотреть файл

@ -11,6 +11,8 @@ const {
getBentoStrings,
getSecurityTips,
getRemovalFAQPage,
getRemovalPilotPrivacyPage,
getRemovalPilotTermsPage,
notFound,
removeMyData,
addEmailToWaitlist,
@ -34,9 +36,7 @@ router.get("/breaches", getAllBreaches);
router.get("/security-tips", getSecurityTips);
router.get("/getBentoStrings", getBentoStrings);
router.get("/iplocation", getIpLocation);
//DATA REMOVAL SPECIFIC
router.get("/remove-my-data", requireSessionUser, removeMyData); //MH TODO: think this can be deleted and its associated files
router.get("/remove-faq", getRemovalFAQPage);
//MH TODO: this can be deleted and its associated files(?)
router.post(
"/join-waitlist",
@ -44,6 +44,10 @@ router.post(
requireSessionUser,
addEmailToWaitlist
);
//DATA REMOVAL SPECIFIC
router.get("/remove-faq", getRemovalFAQPage);
router.get("/removal-pilot-terms", getRemovalPilotTermsPage);
router.get("/removal-pilot-privacy", getRemovalPilotPrivacyPage);
//END DATA REMOVAL SPECIFIC
router.use(notFound);

Просмотреть файл

@ -21,9 +21,12 @@
<div class="flx">
<form id="remove-enroll-form" action="/user/remove-enroll-submit">
<input type="hidden" name="_csrf" value="{{ csrfToken }}">
<p>
<a href="#">{{getRemoveString "remove-enroll-terms-agreement"}}</a>
</p>
<div class="flx">
<input id="remove-enroll-terms" class="remove-enroll-terms" type="checkbox" name="terms" required>
<label for="remove-enroll-terms">{{getRemoveString "remove-enroll-terms-agreement"}}
<a href="/removal-pilot-terms">{{getRemoveString "remove-enroll-terms-link"}}</a> &
<a href="/removal-pilot-privacy">{{getRemoveString "remove-enroll-privacy-link"}}</a></label>
</div>
<input id="" class="js-enroll-submit remove-enroll-submit" type="submit" value="{{getRemoveString "remove-enroll-submit"}}"/>
</form>
</div>

Просмотреть файл

@ -0,0 +1,8 @@
<main id="removal-pilot-privacy" class="remove-page dashboard clear-header flx flx-col" data-page-label="Removal Pilot Privacy">
<div class="mw-860 flx flx-col">
<h2 class="remove-enroll-title">{{getRemoveString "remove-pilot-title"}} {{getRemoveString "remove-enroll-privacy-link"}}</h2>
<p>TODO</p>
</div>
{{> dashboards/remove-form-kanary-footer}}
</main>

Просмотреть файл

@ -0,0 +1,8 @@
<main id="removal-pilot-terms" class="remove-page dashboard clear-header flx flx-col" data-page-label="Removal Pilot Terms">
<div class="mw-860 flx flx-col">
<h2 class="remove-enroll-title">{{getRemoveString "remove-pilot-title"}} {{getRemoveString "remove-enroll-terms-link"}}</h2>
<p>TODO</p>
</div>
{{> dashboards/remove-form-kanary-footer}}
</main>