Commit graph

193 commits

Author SHA1 Message Date
Greg Tatum
507a654c29 Bug 1840904 - Remove language management operations from the TranslationsChild; r=nordzilla,settings-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D182393
2023-07-05 18:09:13 +00:00
Greg Tatum
c18ddeaa00 Bug 1817084 - Remove old translations code; r=settings-reviewers,fluent-reviewers,nordzilla,mconley,flod
Differential Revision: https://phabricator.services.mozilla.com/D181700
2023-06-23 13:36:13 +00:00
Itiel
b9b95ccd85 Bug 1836344 - Convert the Download and Delete button in the Translations section to have label and accesskey r=gregtatum,settings-reviewers,Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D179718
2023-06-07 15:45:14 +00:00
Cristina Horotan
6651c13d9f Backed out changeset a8bcb8de017f (bug 1836344) for causing bc failures at browser_manage_languages.js on a CLOSED TREE 2023-06-07 08:32:51 +03:00
Itiel
90c429f31e Bug 1836344 - Convert the Download and Delete button in the Translations section to have label and accesskey r=gregtatum,settings-reviewers,Gijs,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D179718
2023-06-07 04:14:24 +00:00
Erik Nordin
6031ae4572 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
7ce52404be 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
Butkovits Atila
86a49d4b27 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
cd28ad2532 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
30d0a6e3d7 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
aa3d711b4b 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
5e91381bd0 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
8537a9ff65 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
130a655906 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
8219a5c503 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
Greg Tatum
cf91f08437 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
Gijs Kruitbosch
e117ff5829 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
Ed Lee
6a75f6d576 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
Mike Conley
96eca252ac 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
Niklas Baumgardner
229e52a604 Bug 1822395 - Telemetry for new PiP controls. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D173079
2023-04-04 18:47:08 +00:00
Iulian Moraru
ddd46f2753 Backed out changeset a3aaa9226d1a (bug 1822395) for causing bc failures on browser_telemetry_enhancements.js. 2023-04-04 03:42:05 +03:00
Niklas Baumgardner
2c05b164e2 Bug 1822395 - Telemetry for new PiP controls. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D173079
2023-04-03 22:09:21 +00:00
Cristian Tuns
6ced673117 Backed out changeset 7776b8a21884 (bug 1822395) for causing bc failures in browser_improved_controls.js CLOSED TREE 2023-03-31 15:15:57 -04:00
Niklas Baumgardner
e9ebda2383 Bug 1822395 - Telemetry for new PiP controls. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D173079
2023-03-31 16:51:25 +00:00
elephanteatsapple
8ca988dcf3 Bug 1811933 -Replace placeholder <select> and <options> in MigrationWizard with a <button> and a <panel-list>. r=mconley,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D170420
2023-03-20 14:56:41 +00:00
Emilio Cobos Álvarez
9900adffa0 Bug 1822578 - Make flex="1" on XUL set a zero flex basis like the flex shorthand does. r=Gijs,mconley,settings-reviewers,desktop-theme-reviewers,dao
In a setup with:

<hbox>
 <something flex="1"/>
 <something-else/>
</hbox>

Before bug 1822131 <something flex="1"> ended up with flex-basis: auto,
but was the only thing able to shrink, so <something-else> stayed the
same size.

After that bug however <something-else> is able to shrink too, so both
elements shrink. This wouldn't happen if flex="1" actually worked like
flex: 1 does.

However flex: 1 causes stuff like explicit main sizes to be
(effectively) ignored, so we need to fix up a few cases where now we'd
start flexing too much. For that, add a debug assert to
nsFlexContainerFrame to catch the would-be behavior changes here.

For the most part they're actually no-op since they're setting tiny
sizes, but preferences and devtools needed a couple real fixes.

The profile selection spacer is useless (zero-size).

Hopefully the last xul.css change I need to do :')

Differential Revision: https://phabricator.services.mozilla.com/D172704
2023-03-16 00:06:29 +00:00
Mike Conley
610167bc5a Bug 1820655 - Add a new section to about:preferences to launch the migration wizard. r=jhirsch,fluent-reviewers,flod DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D172324
2023-03-15 00:35:16 +00:00
Butkovits Atila
91f502bbd2 Backed out changeset 5c4677b1ea47 (bug 1820655) for causing failures at browser_open_migration_wizard.js. CLOSED TREE 2023-03-14 05:20:08 +02:00
Mike Conley
f1d3ef9dd0 Bug 1820655 - Add a new section to about:preferences to launch the migration wizard. r=jhirsch,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D172324
2023-03-14 01:59:01 +00:00
Butkovits Atila
640d009e7b Backed out changeset 21ac89d8a165 (bug 1820655) for causing Gecko Decision failure. CLOSED TREE 2023-03-14 03:20:05 +02:00
Mike Conley
3eb16d3b85 Bug 1820655 - Add a new section to about:preferences to launch the migration wizard. r=jhirsch,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D172324
2023-03-14 01:06:42 +00:00
Masatoshi Kimura
409be9d4ba Bug 1821796 - Add the handle internally option for internal types even if the type is not pre-listed. r=Gijs,settings-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D172322
2023-03-13 19:08:50 +00:00
Leila Kaltouma
3ac0b62d26 Bug 1820880 - Convert toolkit/mozapps/update to import ES modules directly. r=Standard8,settings-reviewers,application-update-reviewers,bytesized
Depends on D172120

Differential Revision: https://phabricator.services.mozilla.com/D172121
2023-03-13 11:22:07 +00:00
Jan Horak
e42200263f Bug 1621913 Don't show the defaultBrowserBox in settings under flatpak; r=settings-reviewers,Gijs
Under Flatpak we cannot determine if the application is set as default handler
for http/https protocols and also the application cannot set the system defaults.
In order to avoid user confusion we hide the defaultBrowserBox which
under flatpak shows always: "Firefox is not your default browser" and the
"Make Default..." button does not make any change to the system.

Differential Revision: https://phabricator.services.mozilla.com/D170590
2023-03-09 15:14:26 +00:00
Mike Conley
0eede08ea7 Bug 1819343 - Allow MigrationWizard initialization to be kicked off either on binding to the DOM or with script. r=kpatenio,settings-reviewers,Gijs
Up until now, we've used the connectedCallback to initialize the MigrationWizard. That's
been fine, except that it requires us to remove and then re-add the element to the DOM
if we want to "reset" it and start over.

This patch adds a method "requestState" to the MigrationWizard that kicks off the
initialization. Embedders can set the `auto-request-state` attribute on the
element if they're happy to just use the connectedCallback.

Finally, this adds an intrinsic width to the entire MigrationWizard element to reduce
flicker when transitioning between states.

Differential Revision: https://phabricator.services.mozilla.com/D171742
2023-03-06 21:39:01 +00:00
Mike Conley
f0d2a795f1 Bug 1814912 - Use an HTML5 dialog instead of gSubDialog for the new migration wizard in about:preferences. r=Gijs,settings-reviewers
I also renamed migration-dialog.[js|html|css] to migration-dialog-window.[js|html|css] to
make it clearer that those resources are for when the wizard is being shown in a separate
window. I also updated the documentation to reflect this.

Differential Revision: https://phabricator.services.mozilla.com/D169014
2023-02-07 14:25:47 +00:00
Mike Conley
f50327e5e8 Bug 1811281 - Open new MigrationWizard dialog as a SubDialog in about:preferences rather than a TabDialog. r=Gijs,settings-reviewers
This does a few things to support this new behaviour:

1. Adds the ability for about:preferences category modules to indicate that
   they want to specially handle subcategories. In this particular case, it
   causes the "migrate" subcategory of the "general" category to open up the
   migration dialog.
2. Updates MigrationUtils to open about:preferences#general-migrate if the opener
   is a tabbrowser window.
3. Adds some utility functions to make writing tests easier.
4. Updates existing tests to expect the wizard to be opened in the about:preferences
   subdialog.
5. Makes pressing "Escape" close the migration wizard when it's loaded in the
   migration-dialog.html document.

Differential Revision: https://phabricator.services.mozilla.com/D167873
2023-01-31 15:30:57 +00:00
Mark Banner
a94fe03b9d Bug 1811334 - Automatically replace Cu.reportError with console.error (most of browser/components). r=settings-reviewers,mconley
Differential Revision: https://phabricator.services.mozilla.com/D167297
2023-01-20 17:49:21 +00:00
Tim Giles
0f76fbc8b7 Bug 1801927 - refactor media control learn more link. r=settings-reviewers,mconley
Replaces the "Control media via keyboard, headset, or virtual interface"
XUL label with the moz-support-link element.

Differential Revision: https://phabricator.services.mozilla.com/D166469
2023-01-18 19:13:34 +00:00
Tim Giles
5c726dc146 Bug 1801927 - refactor configure how firefox connects learn more link. r=mconley
Replaces the "Configure how Nightly connects to the internet" XUL label
with the moz-support-link element.

Differential Revision: https://phabricator.services.mozilla.com/D166468
2023-01-18 19:13:34 +00:00
Tim Giles
311eae01fd Bug 1801927 - refactor cfr learn more links. r=settings-reviewers,mossop
Replaces the "Recommend extensions as you browse" and
"Recommend features as you browse" XUL labels with the moz-support-link
element.

Differential Revision: https://phabricator.services.mozilla.com/D166467
2023-01-18 19:13:32 +00:00
Tim Giles
9acb984ae9 Bug 1801927 - refactor picture in picture learn more link. r=settings-reviewers,mossop
Replaces the "Enable picture-in-picture video controls" XUL label with
the moz-support-link element.

Differential Revision: https://phabricator.services.mozilla.com/D166466
2023-01-18 19:13:32 +00:00
Tim Giles
e12510c428 Bug 1801927 - refactor performance settings learn more link. r=settings-reviewers,mossop
Replaces the "Use recommended performance settings" XUL label with
the moz-support-link element.

Differential Revision: https://phabricator.services.mozilla.com/D166465
2023-01-18 19:13:31 +00:00
Tim Giles
48724b7811 Bug 1801927 - refactor DRM content learn more link. r=settings-reviewers,mossop
Replaces the "Play DRM-controlled content" XUL label with the
moz-support-link element.

Differential Revision: https://phabricator.services.mozilla.com/D166464
2023-01-18 19:13:31 +00:00
Tim Giles
bfa89ac205 Bug 1801927 - refactor containers learn more link. r=hjones,settings-reviewers,mconley
Replaces the XUL label for the "Enable Container Tabs" with the
moz-support-link element

Differential Revision: https://phabricator.services.mozilla.com/D166463
2023-01-18 19:13:31 +00:00
Max Christian Pohle
d7285c1262 Bug 1643309 - About dialog falsely claims App "is up to date" when offline, r=bytesized,application-update-reviewers,fluent-reviewers,settings-reviewers,bhearsum,flod
This commit is based on a patch written by Priyank Singh <preyunk>. Thank you
for your contribution, which is strongly appreciated. The original patch was
discussed here: https://phabricator.services.mozilla.com/D97972#3405294

Differential Revision: https://phabricator.services.mozilla.com/D159907
2022-12-06 22:29:11 +00:00
Mark Banner
93aef2d7b3 Bug 1803756 - Automatically replace Cu.reportError with console.error (preferences). r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D163701
2022-12-06 02:26:51 +00:00
Norisz Fay
fee6c58ce8 Backed out changeset e87383813223 (bug 1643309) for causing bc failures on browser_aboutDialog_fc_check_cantApply.js CLOSED TREE 2022-11-18 21:55:40 +02:00
Max Christian Pohle
bf2b704855 Bug 1643309 - About dialog falsely claims App "is up to date" when offline, r=bytesized,application-update-reviewers,fluent-reviewers,settings-reviewers,bhearsum,flod
This commit is based on a patch written by Priyank Singh <preyunk>. Thank you
for your contribution, which is strongly appreciated. The original patch was
discussed here: https://phabricator.services.mozilla.com/D97972#3405294

Differential Revision: https://phabricator.services.mozilla.com/D159907
2022-11-18 17:16:55 +00:00
Mike Kaply
729633726b Bug 1769265 - Disabling updater for packages should not be Windows specific. r=bhearsum,settings-reviewers,application-update-reviewers,bytesized
Differential Revision: https://phabricator.services.mozilla.com/D160069
2022-10-28 12:49:24 +00:00