Commit Graph

3960 Commits

Author SHA1 Message Date
Erik Nordin
195bd58b5b Bug 1829691 - Add Translations settings panel to about:preferences r=gregtatum,fluent-reviewers,settings-reviewers,Gijs,flod
Adds a new button and panel for managing Translations
settings to the about:preferences panel.

Manages always-translate languages, never-translate
languages, and never-translate sites.

Depends on D178228

Differential Revision: https://phabricator.services.mozilla.com/D177854
2023-05-24 01:22:43 +00:00
Erik Nordin
549b3cf760 Bug 1829691 - Copy Translation Exceptions code to new files r=gregtatum,settings-reviewers,Gijs
Copies the code for Translation exceptions in about:preferences
to new files to preserve the git-blame history so that they can be
modified in a subsequent patch

Depends on D178723

Differential Revision: https://phabricator.services.mozilla.com/D178228
2023-05-24 01:22:43 +00:00
Dão Gottwald
3676502aae Bug 1834051 - Decommission --in-content-deemphasized-text and use --text-color-deemphasized instead. r=Itiel
Differential Revision: https://phabricator.services.mozilla.com/D178520
2023-05-23 15:32:33 +00:00
Noemi Erli
ef2fcbe9f5 Backed out changeset db1ae5bf8516 (bug 1831259) for causing failures in browser_UsageTelemetry_interaction.js CLOSED TREE
browser/components/preferences/preferences.js HG: changed browser/components/preferences/tests/browser_experimental_features_filter.js
2023-05-23 19:10:18 +03:00
Gijs Kruitbosch
5ebd531cc4 Bug 1831259 - prevent initialization re-entrancy for preference panes, r=mconley
This should fix the issue experienced by the reporter. It also pushes the
re-entrancy guard into the the 'init' method we define on gCategoryInits
objects, and removes the asynchronicity which was only there for fluent's sake.

Instead of blocking the insertion on fluent, which meant that for the in-page
find functionality we do N initializations and fluent passes, we make each of
the 2 consumers responsible for checking translation has completed. This means
find in page now just has 1 fluent pass, instead of N passes for N categories.
This should speed up the find in page initialization, and means initialization
of a category is now sync instead of async.

Differential Revision: https://phabricator.services.mozilla.com/D178232
2023-05-23 13:16:18 +00:00
Butkovits Atila
3495b22475 Backed out 11 changesets (bug 1834014, bug 1829691) for causing failures at browser_console_content_object_in_sidebar.js.
Backed out changeset bd3077e43541 (bug 1834014)
Backed out changeset 96dc91b50ecf (bug 1834014)
Backed out changeset 6099ee399488 (bug 1829691)
Backed out changeset d3488c2d7309 (bug 1829691)
Backed out changeset a89ce140c316 (bug 1829691)
Backed out changeset 40d7f94265c2 (bug 1829691)
Backed out changeset e86660a6f994 (bug 1829691)
Backed out changeset 5c63d7e15cac (bug 1829691)
Backed out changeset 2e5a01539749 (bug 1829691)
Backed out changeset 1b53cac4d88b (bug 1829691)
Backed out changeset be4a4c19e24f (bug 1829691)
2023-05-23 03:20:38 +03:00
Erik Nordin
bf3bf6e5ef Bug 1829691 - Add Translations settings panel to about:preferences r=gregtatum,fluent-reviewers,settings-reviewers,Gijs,flod
Adds a new button and panel for managing Translations
settings to the about:preferences panel.

Manages always-translate languages, never-translate
languages, and never-translate sites.

Depends on D178228

Differential Revision: https://phabricator.services.mozilla.com/D177854
2023-05-22 21:11:11 +00:00
Erik Nordin
6d8fc6d0c4 Bug 1829691 - Copy Translation Exceptions code to new files r=gregtatum,settings-reviewers,Gijs
Copies the code for Translation exceptions in about:preferences
to new files to preserve the git-blame history so that they can be
modified in a subsequent patch

Differential Revision: https://phabricator.services.mozilla.com/D178228
2023-05-22 21:11:11 +00:00
Butkovits Atila
ca3a270f82 Backed out 10 changesets (bug 1834014, bug 1829691) for causing failures at browser_about_translations_debounce.js. CLOSED TREE
Backed out changeset 680e9579fca5 (bug 1834014)
Backed out changeset e9c17faebbe3 (bug 1834014)
Backed out changeset 6b3a514450af (bug 1829691)
Backed out changeset 58b154e4accc (bug 1829691)
Backed out changeset 749af53af3bd (bug 1829691)
Backed out changeset 252c0d70934b (bug 1829691)
Backed out changeset 6ed4a66b1e40 (bug 1829691)
Backed out changeset fb6112332b59 (bug 1829691)
Backed out changeset 70cb62814390 (bug 1829691)
Backed out changeset 7fb6e8f6251e (bug 1829691)
2023-05-22 23:30:46 +03:00
Erik Nordin
7c85b159e5 Bug 1829691 - Add Translations settings panel to about:preferences r=gregtatum,fluent-reviewers,settings-reviewers,Gijs,flod
Adds a new button and panel for managing Translations
settings to the about:preferences panel.

Manages always-translate languages, never-translate
languages, and never-translate sites.

Depends on D178228

Differential Revision: https://phabricator.services.mozilla.com/D177854
2023-05-22 17:43:10 +00:00
Erik Nordin
27401a49d5 Bug 1829691 - Copy Translation Exceptions code to new files r=gregtatum,settings-reviewers,Gijs
Copies the code for Translation exceptions in about:preferences
to new files to preserve the git-blame history so that they can be
modified in a subsequent patch

Differential Revision: https://phabricator.services.mozilla.com/D178228
2023-05-22 17:43:10 +00:00
Mark Banner
b61a6a6502 Bug 1826063 - Automatic fixes for enabling Prettier on production xhtml and html files. r=mossop,webdriver-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,fxview-reviewers,sgalich,nalexander,devtools-reviewers,sclements,denschub,robwu,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177938
2023-05-20 12:26:56 +00:00
Mark Banner
0666077666 Bug 1826062 - Automatic fixes for upgrading Prettier to 2.8.8. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,calu
Differential Revision: https://phabricator.services.mozilla.com/D177027
2023-05-20 12:26:53 +00:00
Mark Banner
91fde42f7b Bug 1826062 - Automatic fixes for Prettier 2.0.5 upgrade. r=mossop,perftest-reviewers,webcompat-reviewers,geckoview-reviewers,denschub,devtools-reviewers,sparky,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177025
2023-05-20 12:26:49 +00:00
Iulian Moraru
9a36d620f9 Backed out changeset bbb3bbd9b6af (bug 1830679) for causing dt failures on browser_storage_cache_delete.js. CLOSED TREE 2023-05-18 22:09:25 +03:00
Itiel
801dad3de3 Bug 1830679 - Convert element.setAttribute(data-l10n-{id,args}) uses in the codebase to document.l10n.setAttributes(element, id, args) r=eemeli,willdurand,extension-reviewers,settings-reviewers,search-reviewers,devtools-reviewers,fxview-reviewers,mconley,Standard8,jdescottes,kcochrane
Differential Revision: https://phabricator.services.mozilla.com/D176791
2023-05-18 17:19:45 +00:00
Abhishek Madan
aa971cac82 Bug 1831363 - Converted SitePermissions.jsm to ES modules and all of its corresponding references. r=pbz
Differential Revision: https://phabricator.services.mozilla.com/D177380
2023-05-17 14:45:26 +00:00
Tim Huang
8e73dafdc8 Bug 1830054 - Disable Email tracking protection if tracking protection is disabled on the ETP Custom UI. r=anti-tracking-reviewers,pbz
We surface the email tracking protection using the existing tracking
protection UI on the protection panel, but we don't disable email
tracking protection if tracking protection is disabled. So, users will
still see blocked trackers if tracking protection is disabled for
private windows. To provide a way to disable email tracking protection
in private windows, we also use the existing tracking protection checkbox
UI to disable the email tracking protection.

This patch implements that disabling the tracking protection via the
tracking protection checkbox also disables email tracking protection.

Differential Revision: https://phabricator.services.mozilla.com/D177520
2023-05-16 07:06:01 +00:00
Harshit Sohaney
1a67d20cfd Bug 1826340 - Removed level2 PBM from ETP strict as it is now set as true by default pref from ETP strict. r=anti-tracking-reviewers,pbz
Differential Revision: https://phabricator.services.mozilla.com/D177308
2023-05-15 13:43:02 +00:00
Eemeli Aro
71dfc2ea23 Bug 1831851 - Migrate accounts.properties strings used by preferences/sync.js to Fluent. r=sync-reviewers,fluent-reviewers,settings-reviewers,flod,markh
Differential Revision: https://phabricator.services.mozilla.com/D177603
2023-05-11 06:27:42 +00:00
Valentin Gosu
46399d1990 Bug 1829905 - Add tests for DoH UI settings telemetry r=settings-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D177256
2023-05-07 20:54:33 +00:00
Valentin Gosu
92b83ac2cd Bug 1829905 - Add telemetry for DoH settings UI interaction r=Gijs,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D176505
2023-05-05 13:21:42 +00:00
Mathew Hodson
cfd9a18d45 Bug 1830687 - Move link to end of disable reporting description. r=Gijs,settings-reviewers
This looks more consistent with other Learn more links and fixes
an issue where the link wasn't always being placed inside the info
box.

Differential Revision: https://phabricator.services.mozilla.com/D176816
2023-05-05 11:04:22 +00:00
Valentin Gosu
afa67c8451 Bug 1828858 - Learn more links don't work in DNS over HTTPS submenu r=Gijs,kershaw,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D176520
2023-04-27 10:20:16 +00:00
Greg Tatum
967c375f70 Bug 1820259 - Implement the translation language download preferences; r=nordzilla,flod,mconley
Differential Revision: https://phabricator.services.mozilla.com/D176189
2023-04-26 19:12:17 +00:00
Narcis Beleuzu
33e0b4677c Backed out changeset f1fd6f277c40 (bug 1829427) for bc failure on browser_privacy_relayIntegration.js . CLOSED TREE 2023-04-24 22:02:15 +03:00
Sergey Galich
2ee025cb9a Bug 1829427 - Update Relay integration checkbox in Settings r=credential-management-reviewers,fluent-reviewers,settings-reviewers,flod,jneuberger,mconley
Differential Revision: https://phabricator.services.mozilla.com/D176192
2023-04-24 16:31:13 +00:00
Gijs Kruitbosch
5672958fb9 Bug 1828280 - honour enterprise policy for profile import in the prefs import section, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D175902
2023-04-21 10:23:22 +00:00
anayo
f562857268 Bug 1820654 - Replace the label link under manualUpdate with html element. r=tgiles,flod,application-update-reviewers,bytesized
Differential Revision: https://phabricator.services.mozilla.com/D175011
2023-04-18 16:01:17 +00:00
Norisz Fay
117e38b0cf Backed out 2 changesets (bug 1820654) for causing bc failures on browser_aboutPrefs_fc_check_cantApply.js
Backed out changeset 27155fbfd0e5 (bug 1820654)
Backed out changeset 753a6e3c83e1 (bug 1820654)
2023-04-17 21:12:44 +03:00
anayo
163781c8ff Bug 1820654 - Replace the label link under manualUpdate with html element. r=tgiles,flod
Differential Revision: https://phabricator.services.mozilla.com/D175011
2023-04-17 15:06:43 +00:00
Valentin Gosu
08f7c165d0 Bug 1826749 - DoH Settings UI tests r=Gijs,settings-reviewers
This adapts previous test cases from the connection UI to the privacy UI.

Additional improvements:
- Set the ROLLOUT_URI_Pref to empty string to avoid DoHConfig reset setting it to undefined.
- Always set network.trr.uri even if it matches the default_provider_uri if it's a user choice.
- If the value of network.trr.uri doesn't match any of the providers, then set custom_uri so
  it shows up in the input text field. This can happen when it's set by a policy.

Differential Revision: https://phabricator.services.mozilla.com/D174876
2023-04-16 19:52:18 +00:00
Abhishek Tiwari
cec6f4b2e7 Bug 1820878 - Convert toolkit/mozapps/downloads to ESmodules . r=Standard8,extension-reviewers,application-update-reviewers,bytesized,robwu
Differential Revision: https://phabricator.services.mozilla.com/D172245
2023-04-12 17:32:30 +00:00
Francesco Lodolo (:flod)
1dfecb77f0 Bug 1826755 - Move Firefox account Fluent term to toolkit, r=fluent-reviewers,settings-reviewers,credential-management-reviewers,fxview-reviewers,mconley,sclements,sgalich,eemeli
Differential Revision: https://phabricator.services.mozilla.com/D175097
2023-04-12 15:51:42 +00:00
Ebilite Uchenna
ed5dc481d8 Bug 1824611 - Convert consumers of toolkit/components/passwordmgr to import ES modules directly. r=Standard8,credential-management-reviewers,settings-reviewers,fxview-reviewers,sclements,sgalich,geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D174446
2023-04-11 19:06:24 +00:00
Kershaw Chang
8350aaff2d Bug 1596847 - DoH settings UI for excluded domains, r=fluent-reviewers,settings-reviewers,Gijs,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D173521
2023-04-11 09:57:29 +00:00
Valentin Gosu
ad3a1f023d Bug 1610741 - Allow setting invalid URL in TRRService and show it in settings r=Gijs,fluent-reviewers,settings-reviewers,flod
- Patch changes TRRService::MaybeSetPrivateURI so that it doesn't bail
  if the URL is invalid. That could lead us into a state where the
  network.trr.uri pref has been set to some invalid URL, but we continue
  using the previous domain (or even the default TRR provider) instead.
- Updates the DoH settings UI to not set the network.trr.uri pref to "",
  as that will cause the TRRService to use the value of
  the network.trr.default_provider_uri pref instead.

Differential Revision: https://phabricator.services.mozilla.com/D174111
2023-04-11 09:57:29 +00:00
Valentin Gosu
e93296a122 Bug 1610741 - DoH Settings UI: Show error reason in Not Available label r=Gijs,kershaw,fluent-reviewers,necko-reviewers,settings-reviewers,flod
- The patch saves the confirmation channel's status and skipReason in the TRR Service
- The UI queries the status and displays the stringified version in the Not Available (reason) label
- Introduces doh-status-label CSS rule so the Learn-More link isn't off center

Differential Revision: https://phabricator.services.mozilla.com/D174110
2023-04-11 09:57:28 +00:00
Valentin Gosu
203d05ce00 Bug 1610741 - Remove old DoH UI r=Gijs,settings-reviewers,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D173940
2023-04-11 09:57:28 +00:00
Valentin Gosu
6e6d3ea038 Bug 1610741 - DoH setting UI r=kershaw,settings-reviewers,Gijs,pbz,flod
Project plan: https://docs.google.com/document/d/12IGABt1eXI276qHduXXbVZqRFrhLN7Ad3gKEgxz81sE
Copy deck: https://docs.google.com/document/d/130UTox8bQbybjYIwvltR4qBg2hWjsGhuNUHypLwUAEQ
Figma: https://www.figma.com/file/qE8FEIOv2Q0pm8e1euItd1/DoH-UI-Improvements?node-id=15%3A3479&t=8tJjft2zfvDJcV2N-0


This change adds a DNS over HTTPS section to about:preferences#privacy
The UI is intended to have the same style as the Enhanced Tracking Protection
choices.
The old DoH UI is going to be removed in a followup patch.

Differential Revision: https://phabricator.services.mozilla.com/D172966
2023-04-11 09:57:27 +00:00
Ed Lee
c4de037d86 Bug 1826439 - Support running new migration wizard Fx113 experiment r=pdahiya,settings-reviewers,mconley
Additionally check for the new content modal and standalone version for WAIT_FOR_MIGRATION_CLOSE by using observer notifications from preferences dialog close, new wizard actor, old wizard uninit.

Differential Revision: https://phabricator.services.mozilla.com/D174692
2023-04-07 05:12:31 +00:00
Cosmin Sabou
50de03a558 Backed out 7 changesets (bug 1816948, bug 1596847, bug 1610741) for causing build bustages on TRRService.cpp. CLOSED TREE
Backed out changeset a7341379f263 (bug 1610741)
Backed out changeset 5689f1b0d016 (bug 1816948)
Backed out changeset 7746c3a39e92 (bug 1596847)
Backed out changeset 8e85f984f46c (bug 1610741)
Backed out changeset b9b738076d55 (bug 1610741)
Backed out changeset 403f22e3a0a0 (bug 1610741)
Backed out changeset 8ec3cfe29b61 (bug 1610741)
2023-04-07 00:45:15 +03:00
Mark Banner
85d8bc064f Bug 1826702 - Convert PermissionTestUtils to an ES module. r=permissions-reviewers,settings-reviewers,media-playback-reviewers,pbz,padenot
Differential Revision: https://phabricator.services.mozilla.com/D174846
2023-04-06 15:07:56 +00:00
Kershaw Chang
1f78f73904 Bug 1596847 - DoH settings UI for excluded domains, r=fluent-reviewers,settings-reviewers,Gijs,kershaw
Differential Revision: https://phabricator.services.mozilla.com/D173521
2023-04-06 12:57:51 +00:00
Valentin Gosu
2570da8854 Bug 1610741 - Allow setting invalid URL in TRRService and show it in settings r=Gijs,fluent-reviewers,settings-reviewers,flod
- Patch changes TRRService::MaybeSetPrivateURI so that it doesn't bail
  if the URL is invalid. That could lead us into a state where the
  network.trr.uri pref has been set to some invalid URL, but we continue
  using the previous domain (or even the default TRR provider) instead.
- Updates the DoH settings UI to not set the network.trr.uri pref to "",
  as that will cause the TRRService to use the value of
  the network.trr.default_provider_uri pref instead.

Differential Revision: https://phabricator.services.mozilla.com/D174111
2023-04-06 12:57:51 +00:00
Valentin Gosu
e9e25c81c0 Bug 1610741 - DoH Settings UI: Show error reason in Not Available label r=Gijs,kershaw,fluent-reviewers,necko-reviewers,settings-reviewers,flod
- The patch saves the confirmation channel's status and skipReason in the TRR Service
- The UI queries the status and displays the stringified version in the Not Available (reason) label
- Introduces doh-status-label CSS rule so the Learn-More link isn't off center

Differential Revision: https://phabricator.services.mozilla.com/D174110
2023-04-06 12:57:50 +00:00
Valentin Gosu
5dc6bf3830 Bug 1610741 - Remove old DoH UI r=Gijs,settings-reviewers,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D173940
2023-04-06 12:57:50 +00:00
Valentin Gosu
bf771234dc Bug 1610741 - DoH setting UI r=kershaw,settings-reviewers,Gijs,pbz,flod
Project plan: https://docs.google.com/document/d/12IGABt1eXI276qHduXXbVZqRFrhLN7Ad3gKEgxz81sE
Copy deck: https://docs.google.com/document/d/130UTox8bQbybjYIwvltR4qBg2hWjsGhuNUHypLwUAEQ
Figma: https://www.figma.com/file/qE8FEIOv2Q0pm8e1euItd1/DoH-UI-Improvements?node-id=15%3A3479&t=8tJjft2zfvDJcV2N-0


This change adds a DNS over HTTPS section to about:preferences#privacy
The UI is intended to have the same style as the Enhanced Tracking Protection
choices.
The old DoH UI is going to be removed in a followup patch.

Differential Revision: https://phabricator.services.mozilla.com/D172966
2023-04-06 12:57:49 +00:00
Mike Conley
2075b4ef54 Bug 1825854 - Add a preference to control the behavior of the migration wizard when opened from about:welcome. r=settings-reviewers,mstriemer
This is controlled by the migrationWizard.aboutWelcomeBehavior Nimbus feature variable.

Differential Revision: https://phabricator.services.mozilla.com/D174326
2023-04-05 21:40:46 +00:00
Cristian Tuns
87c1f7746b Backed out 7 changesets (bug 1610741, bug 1816948, bug 1596847) for causing xpcshell failures in test_dooh.js CLOSED TREE
Backed out changeset 8596bc4554df (bug 1610741)
Backed out changeset 1a9baaa49d3d (bug 1816948)
Backed out changeset d72b9cdfbb1e (bug 1596847)
Backed out changeset e2e564f584b3 (bug 1610741)
Backed out changeset e9e331ccc7ab (bug 1610741)
Backed out changeset 44218f91e7cf (bug 1610741)
Backed out changeset 6f296319409a (bug 1610741)
2023-04-05 15:14:36 -04:00