Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
For #12289 Add lib-auth for authentication using biometrics or PIN.
Browse files Browse the repository at this point in the history
  • Loading branch information
iorgamgabriel committed Jun 23, 2022
2 parents 2181e0c + 7b520d2 commit ae7d53e
Show file tree
Hide file tree
Showing 90 changed files with 1,029 additions and 41 deletions.
4 changes: 2 additions & 2 deletions buildSrc/src/main/java/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ object Versions {
const val disklrucache = "2.0.2"
const val leakcanary = "2.8.1"

const val mozilla_appservices = "93.4.0"
const val mozilla_appservices = "93.5.0"

const val mozilla_glean = "50.0.1"
const val mozilla_glean = "50.1.0"

const val material = "1.2.1"

Expand Down
2 changes: 1 addition & 1 deletion buildSrc/src/main/java/Gecko.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ object Gecko {
/**
* GeckoView Version.
*/
const val version = "103.0.20220615093700"
const val version = "103.0.20220619065701"

/**
* GeckoView channel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ fun Autocomplete.Address.toAddress() = Address(
*/
fun Address.toAutocompleteAddress() = Autocomplete.Address.Builder()
.guid(guid)
.name(fullName)
.givenName(givenName)
.additionalName(additionalName)
.familyName(familyName)
Expand Down
21 changes: 21 additions & 0 deletions components/browser/errorpages/src/main/res/values-be/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,27 @@
<!-- The text shown inside the advanced options button used to bypass the invalid SSL certificate. It's only shown if the user has expanded the advanced options. -->
<string name="mozac_browser_errorpages_security_bad_cert_accept_temporary">Прыняць рызыку і працягнуць</string>

<!-- The document title and heading of the error page shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_title">Гэты вэб-сайт патрабуе бяспечнага злучэння.</string>

<!-- The error message shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_message"><![CDATA[
<ul>
<li>Старонку, якую вы спрабуеце прагледзець, немагчыма паказаць, бо для гэтага вэб-сайта патрабуецца бяспечнае злучэнне.</li>
<li>Праблема, хутчэй за ўсё, звязана з вэб-сайтам, і вы нічога не можаце зрабіць, каб яе вырашыць.</li>
<li>Вы можаце паведаміць адміністратарам вэб-сайта аб праблеме.</li>
</ul>
]]></string>

<!-- The text shown inside the advanced button used to expand the advanced options. It's only shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_advanced">Дадаткова…</string>
<!-- The advanced certificate information shown when a website uses HSTS. The %1$s will be replaced by the website URL and %2$s will be replaced by the app name. It's only shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_techInfo"><![CDATA[
<label> <b>%1$s</b> мае палітыку бяспекі, што называецца HTTP Strict Transport Security (HSTS), і гэта азначае, што <b>%2$s</b> можа звязвацца з ім толькі абароненым злучэннем. Вы не можаце дадаць выключэнне для наведвання гэтага сайта.
]]></string>
<!-- The text shown inside the advanced options button used to go back. It's only shown if the user has expanded the advanced options. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_back">Вярнуцца</string>

<!-- The document title and heading of the error page shown when the user's network connection is interrupted while connecting to a website. -->
<string name="mozac_browser_errorpages_net_interrupt_title">Злучэнне перарвана</string>

Expand Down
20 changes: 20 additions & 0 deletions components/browser/errorpages/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,26 @@
<!-- The text shown inside the advanced options button used to bypass the invalid SSL certificate. It's only shown if the user has expanded the advanced options. -->
<string name="mozac_browser_errorpages_security_bad_cert_accept_temporary">Risiko akzeptieren und fortfahren</string>

<!-- The document title and heading of the error page shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_title">Diese Website erfordert eine sichere Verbindung.</string>
<!-- The error message shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_message"><![CDATA[
<ul>
<li>Die Seite, die Sie aufrufen möchten, kann nicht angezeigt werden, da für diese Website eine sichere Verbindung erforderlich ist.</li>
<li>Das Problem liegt höchstwahrscheinlich bei der Website, und Sie können nichts tun, um es zu lösen.</li>
<li>Sie können den Administrator der Website über das Problem informieren.</li>
</ul>
]]></string>

<!-- The text shown inside the advanced button used to expand the advanced options. It's only shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_advanced">Erweitert…</string>
<!-- The advanced certificate information shown when a website uses HSTS. The %1$s will be replaced by the website URL and %2$s will be replaced by the app name. It's only shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_techInfo"><![CDATA[
<label> <b>%1$s</b> hat eine Sicherheitsrichtlinie namens HTTP Strict Transport Security (HSTS), was bedeutet, dass sich <b>%2$s</b> nur über eine sichere Verbindung mit der Website verbinden kann. Daher kann keine Ausnahme für die Website hinzugefügt werden.
]]></string>
<!-- The text shown inside the advanced options button used to go back. It's only shown if the user has expanded the advanced options. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_back">Zurück</string>

<!-- The document title and heading of the error page shown when the user's network connection is interrupted while connecting to a website. -->
<string name="mozac_browser_errorpages_net_interrupt_title">Fehler: Datenübertragung unterbrochen</string>
<!-- The error message shown when the user's network connection is interrupted while connecting to a website. -->
Expand Down
20 changes: 20 additions & 0 deletions components/browser/errorpages/src/main/res/values-dsb/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,26 @@
<!-- The text shown inside the advanced options button used to bypass the invalid SSL certificate. It's only shown if the user has expanded the advanced options. -->
<string name="mozac_browser_errorpages_security_bad_cert_accept_temporary">Riziko akceptěrowaś a pókšacowaś</string>

<!-- The document title and heading of the error page shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_title">Toś to websedło se wěsty zwisk pomina.</string>
<!-- The error message shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_message"><![CDATA[
<ul>
<li>Bok, kótaryž se cośo woglědaś, njedajo se pokazaś, dokulaž toś to websedło se wěsty zwisk pomina.</li>
<li>Problem se nejskerjej pśez websedło zawinujo a togodla njedajo nic, což móžośo cyniś, aby jen rozwězał.</li>
<li>Móžośo administratoroju websedła problem k wěsći daś.</li>
</ul>
]]></string>

<!-- The text shown inside the advanced button used to expand the advanced options. It's only shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_advanced">Rozšyrjony…</string>
<!-- The advanced certificate information shown when a website uses HSTS. The %1$s will be replaced by the website URL and %2$s will be replaced by the app name. It's only shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_techInfo"><![CDATA[
<label> <b>%1$s</b> ma wěstotne pšawidło z mjenim HTTP Strict Transport Security (HSTS), kótarež wóznamjenijo, až <b>%2$s</b> móžo se jano wěsće zwězaś. Njamóžśo wuwześe pśidaś, aby se k toś tomu sedłoju woglědał.
]]></string>
<!-- The text shown inside the advanced options button used to go back. It's only shown if the user has expanded the advanced options. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_back">Slědk</string>

<!-- The document title and heading of the error page shown when the user's network connection is interrupted while connecting to a website. -->
<string name="mozac_browser_errorpages_net_interrupt_title">Zwisk jo se pśetergnuł</string>
<!-- The error message shown when the user's network connection is interrupted while connecting to a website. -->
Expand Down
21 changes: 21 additions & 0 deletions components/browser/errorpages/src/main/res/values-el/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,27 @@
<!-- The text shown inside the advanced options button used to bypass the invalid SSL certificate. It's only shown if the user has expanded the advanced options. -->
<string name="mozac_browser_errorpages_security_bad_cert_accept_temporary">Αποδοχή κινδύνου και συνέχεια</string>

<!-- The document title and heading of the error page shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_title">Αυτός ο ιστότοπος απαιτεί ασφαλή σύνδεση.</string>

<!-- The error message shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_message"><![CDATA[
<ul>
<li>Δεν είναι δυνατή η εμφάνιση της σελίδας που προσπαθείτε να προβάλετε, επειδή αυτός ο ιστότοπος απαιτεί ασφαλή σύνδεση.</li>
<li>Το ζήτημα οφείλεται κατά πάσα πιθανότητα στον ιστότοπο και δεν μπορείτε να κάνετε τίποτα για να το επιλύσετε.</li>
<li>Μπορείτε να ειδοποιήστε τον διαχειριστή του ιστοτόπου σχετικά με το πρόβλημα.</li>
</ul>
]]></string>

<!-- The text shown inside the advanced button used to expand the advanced options. It's only shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_advanced">Σύνθετα…</string>
<!-- The advanced certificate information shown when a website uses HSTS. The %1$s will be replaced by the website URL and %2$s will be replaced by the app name. It's only shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_techInfo"><![CDATA[
<label> Το <b>%1$s</b> διαθέτει μια πολιτική ασφαλείας, η οποία ονομάζεται «HTTP Strict Transport Security» (HSTS), που σημαίνει ότι το <b>%2$s</b> μπορεί να συνδεθεί μόνο με ασφάλεια σε αυτό. Δεν μπορείτε να προσθέσετε εξαίρεση για να επισκεφθείτε τον ιστότοπο αυτό.
]]></string>
<!-- The text shown inside the advanced options button used to go back. It's only shown if the user has expanded the advanced options. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_back">Επιστροφή</string>

<!-- The document title and heading of the error page shown when the user's network connection is interrupted while connecting to a website. -->
<string name="mozac_browser_errorpages_net_interrupt_title">Η σύνδεση διακόπηκε</string>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,26 @@
<!-- The text shown inside the advanced options button used to bypass the invalid SSL certificate. It's only shown if the user has expanded the advanced options. -->
<string name="mozac_browser_errorpages_security_bad_cert_accept_temporary">Accept the Risk and Continue</string>

<!-- The document title and heading of the error page shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_title">This web site requires a secure connection.</string>
<!-- The error message shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_message"><![CDATA[
<ul>
<li>The page you are trying to view cannot be shown because this web site requires a secure connection.</li>
<li>The issue is most likely with the web site, and there is nothing you can do to resolve it.</li>
<li>You can notify the web site’s administrator about the problem.</li>
</ul>
]]></string>

<!-- The text shown inside the advanced button used to expand the advanced options. It's only shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_advanced">Advanced…</string>
<!-- The advanced certificate information shown when a website uses HSTS. The %1$s will be replaced by the website URL and %2$s will be replaced by the app name. It's only shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_techInfo"><![CDATA[
<label> <b>%1$s</b> has a security policy called HTTP Strict Transport Security (HSTS), which means that <b>%2$s</b> can only connect to it securely. You can’t add an exception to visit this site.
]]></string>
<!-- The text shown inside the advanced options button used to go back. It's only shown if the user has expanded the advanced options. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_back">Go Back</string>

<!-- The document title and heading of the error page shown when the user's network connection is interrupted while connecting to a website. -->
<string name="mozac_browser_errorpages_net_interrupt_title">The connection was interrupted</string>
<!-- The error message shown when the user's network connection is interrupted while connecting to a website. -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,26 @@
<!-- The text shown inside the advanced options button used to bypass the invalid SSL certificate. It's only shown if the user has expanded the advanced options. -->
<string name="mozac_browser_errorpages_security_bad_cert_accept_temporary">Aceptar el riesgo y continuar</string>

<!-- The document title and heading of the error page shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_title">Este sitio web requiere una conexión segura.</string>
<!-- The error message shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_message"><![CDATA[
<ul>
<li>La página que estás tratando de ver no se puede mostrar porque este sitio web requiere una conexión segura.</li>
<li>Lo más probable es que el problema esté relacionado con el sitio web y no hay nada que se pueda hacer para resolverlo.</li>
<li>Puedes notificar al administrador del sitio web sobre este problema.</li>
</ul>
]]></string>

<!-- The text shown inside the advanced button used to expand the advanced options. It's only shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_advanced">Opciones avanzadas…</string>
<!-- The advanced certificate information shown when a website uses HSTS. The %1$s will be replaced by the website URL and %2$s will be replaced by the app name. It's only shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_techInfo"><![CDATA[
<label> <b>%1$s</b> tiene una política de segurdad llamada HTTP Strict Transport Security (HSTS), lo que significa que <b>%2$s</b> solo puede conectarse de forma segura. No puedes agregar una excepción para visitar este sitio.
]]></string>
<!-- The text shown inside the advanced options button used to go back. It's only shown if the user has expanded the advanced options. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_back">Regresar</string>

<!-- The document title and heading of the error page shown when the user's network connection is interrupted while connecting to a website. -->
<string name="mozac_browser_errorpages_net_interrupt_title">La conexión fue interrumpida</string>
<!-- The error message shown when the user's network connection is interrupted while connecting to a website. -->
Expand Down
20 changes: 20 additions & 0 deletions components/browser/errorpages/src/main/res/values-et/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,26 @@ ja sa võid hiljem uuesti proovida.</li>
<!-- The text shown inside the advanced options button used to bypass the invalid SSL certificate. It's only shown if the user has expanded the advanced options. -->
<string name="mozac_browser_errorpages_security_bad_cert_accept_temporary">Nõustu riskiga ja jätka</string>

<!-- The document title and heading of the error page shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_title">See sait nõuab turvalist ühendust.</string>
<!-- The error message shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_message"><![CDATA[
<ul>
<li>Lehte, mida soovid vaadata, pole võimalik kuvada, sest see sait nõuab turvalist ühendust.</li>
<li>Probleem on suure tõenäosusega saidi poolel ja sa ei saa selle lahendamiseks midagi teha.</li>
<li>Sa võid sellest probleemist teavitada saidi administraatorit.</li>
</ul>
]]></string>

<!-- The text shown inside the advanced button used to expand the advanced options. It's only shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_advanced">Edasijõudnuile…</string>
<!-- The advanced certificate information shown when a website uses HSTS. The %1$s will be replaced by the website URL and %2$s will be replaced by the app name. It's only shown when a website uses HSTS. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_techInfo"><![CDATA[
<label>Sait <b>%1$s</b> kasutab HTTP Strict Transport Security (HSTS) turvaprotokolli, mis tähendab, et <b>%2$s</b> saab sellega ühenduda ainult turvaliselt. Selle saidi külastamiseks pole võimalik erandit lisada.
]]></string>
<!-- The text shown inside the advanced options button used to go back. It's only shown if the user has expanded the advanced options. -->
<string name="mozac_browser_errorpages_security_bad_hsts_cert_back">Mine tagasi</string>

<!-- The document title and heading of the error page shown when the user's network connection is interrupted while connecting to a website. -->
<string name="mozac_browser_errorpages_net_interrupt_title">Ühendus katkes</string>

Expand Down
Loading

0 comments on commit ae7d53e

Please sign in to comment.