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

109 Коммитов

Автор SHA1 Сообщение Дата
Andrei Oprea 9e314a60e9 Bug 1528953 - Add pref to opt out of recommended features r=k88hudson
To be reviewed together with https://github.com/mozilla/activity-stream/pull/4819

Differential Revision: https://phabricator.services.mozilla.com/D21408

--HG--
extra : moz-landing-system : lando
2019-03-05 10:55:14 +00:00
Felipe Gomes 69d7d4736f Bug 827976 - Downloads Manager doesn't need a reference to the hidden window. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D21079

--HG--
extra : moz-landing-system : lando
2019-03-04 18:52:55 +00:00
Ed Lee b88f62c296 Bug 1532321 - Add impression positions, React 16.8.3 and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D21944

--HG--
extra : moz-landing-system : lando
2019-03-04 19:15:21 +00:00
Cosmin Sabou a706bb3916 Backed out 16 changesets (bug 827976) for causing bug 1532054. a=backout
Backed out changeset 54c0b12443ed (bug 827976)
Backed out changeset 92b45080d080 (bug 827976)
Backed out changeset 443087a359f9 (bug 827976)
Backed out changeset f976c2d4cebb (bug 827976)
Backed out changeset 66cffb171024 (bug 827976)
Backed out changeset 845e1d0b2402 (bug 827976)
Backed out changeset fd94066a1d76 (bug 827976)
Backed out changeset e253b264e7bd (bug 827976)
Backed out changeset 07ef335770a8 (bug 827976)
Backed out changeset 9d3805d77b99 (bug 827976)
Backed out changeset eed600ceb606 (bug 827976)
Backed out changeset 3b64368cff52 (bug 827976)
Backed out changeset 69d0378e0c09 (bug 827976)
Backed out changeset 9203871a5c6f (bug 827976)
Backed out changeset 96a507c818e2 (bug 827976)
Backed out changeset e254496ff95b (bug 827976)
2019-03-02 20:40:01 +02:00
Felipe Gomes c1f177e427 Bug 827976 - Downloads Manager doesn't need a reference to the hidden window. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D21079

--HG--
extra : moz-landing-system : lando
2019-03-01 21:06:58 +00:00
Ed Lee fcebe2960f Bug 1529755 - Add Hero caps, remove maps and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D20740

--HG--
extra : moz-landing-system : lando
2019-02-21 22:30:21 +00:00
k88hudson 4383f68973 Bug 1528410 - Add rotation, fine-grained impressions and discovery stream style fixes to Activity Stream r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D20033

--HG--
extra : moz-landing-system : lando
2019-02-16 01:03:12 +00:00
Razvan Maries 2fb9019d41 Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2019-02-15 11:59:08 +02:00
Ed Lee 30b0aa948f Bug 1528119 - Add Discovery design tweaks, preference visibility and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D19880

--HG--
extra : moz-landing-system : lando
2019-02-15 02:20:31 +00:00
Alexander Surkov 1649231cef Bug 1527495 - migrate text-link binding to CE, r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D19595

--HG--
rename : toolkit/content/widgets/text.xml => toolkit/content/widgets/text.js
2019-02-12 19:14:40 -05:00
Ed Lee 0b18c766a9 Bug 1527504 - Add parallel feeds, performance telemetry and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D19597

--HG--
extra : moz-landing-system : lando
2019-02-13 02:04:26 +00:00
Ricky Rosario df12ebdab4 Bug 1526387 - CFR Addon Recommendations call remote API before clicking "Install" r=k88hudson
MozReview-Commit-ID: EgXnUTzfPf3

Differential Revision: https://phabricator.services.mozilla.com/D19229

--HG--
extra : moz-landing-system : lando
2019-02-08 23:59:48 +00:00
k88hudson feb49e49fa Bug 1526066 - Add perf improvements, design refinements, and bug fixes to Activity Stream r=nanj
Differential Revision: https://phabricator.services.mozilla.com/D19152

--HG--
rename : browser/components/newtab/content-src/components/DiscoveryStreamComponents/DSCard/DSCard.jsx => browser/components/newtab/content-src/components/DiscoveryStreamComponents/SpocIntersectionObserver/SpocIntersectionObserver.jsx
extra : moz-landing-system : lando
2019-02-08 18:08:10 +00:00
Ricky Rosario d26520ee8c Bug 1524028 - Enable ReturnToAMO by default r=andreio
MozReview-Commit-ID: 4FmeyYLhnDp

Differential Revision: https://phabricator.services.mozilla.com/D18965

--HG--
extra : moz-landing-system : lando
2019-02-07 13:38:05 +00:00
Ed Lee 8846c7f2ae Bug 1525452 - Add Message component, visibility capping and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D18841

--HG--
extra : moz-landing-system : lando
2019-02-06 15:58:38 +00:00
Cosmin Sabou 8bd3dcb455 Merge mozilla-inbound to mozilla-central. a=merge 2019-02-05 23:58:20 +02:00
Jared Wein 6807f13aad Bug 1524604 - Surround the Activity Stream dropdowns with a box so the search tooltip is positioned correctly. r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D18392

--HG--
extra : moz-landing-system : lando
2019-02-05 15:10:14 +00:00
Mike de Boer 481ae95c00 Bug 1524593 - nsISearchService (aka nsIBrowserSearchService, previously) refactor to be mostly an asynchronous, in preparation of WebExtension engines. r=daleharvey
This is a rollup of all the patches that have landed on the cedar project branch:

891252fdd0
Bug 1492475 - Part 1: Migrate most, if not all nsSearchService consumers to use async APIs. r=florian

79b2eb2367
Bug 1492475 - Part 2: Move nsIBrowserSearchService.idl to toolkit/components/search/nsISearchService.idl and update references. r=florian

a947d3cdf0
Bug 1492475 - Part 3: The search service init() method should simply return a Promise. r=florian

c1e172dfac
Bug 1492475 - Part 4: Remove the synchronous initialization flow. r=florian

cd41189eac
Bug 1492475 - Part 5: Since async initialization of the search service now is implicit behavior, remove the distinctive verbiage used internally. r=florian

2ae7189dfa
Bug 1492475 - Part 6: Update the cache build task to work with an actual Promise and re-initialize only once at the same time - all to fix race conditions here. r=florian

c8ee92973f
Bug 1492475 - Part 7: Make the region fetch not block the init flow, to ensure it's as fast as possible. r=florian

c44e674e16
Bug 1492475 - Part 8: Introduce an init flag, which can only be used privately, that allows to explicitly skip waiting for the region check process to complete. r=florian

6c79eaf1d3
Bug 1492475 - Part 9: Update unit tests to stop using 'currentEngine', in favor of 'defaultEngine'. r=Standard8

21b3aa17ee
Bug 1492475 - Part 10: Update unit tests to be fully aware of the new, async signatures of the search service API and remove sync init flow tests. r=mkaply,florian

ce5ba69019
Bug 1492475 - Part 11: Repair incorrect usage of the `identifier` property of nsISearchEngine instances. r=florian

fd177a7994
Bug 1518543 - Fix up the Android (Fennec) nsISearchService shim to work with the new asynchronous API. r=florian

3653d8ee22
Bug 1523708 - Change the search service interaction in the show-heartbeat action to use the new async API. r=florian

Differential Revision: https://phabricator.services.mozilla.com/D18355

--HG--
rename : netwerk/base/nsIBrowserSearchService.idl => toolkit/components/search/nsISearchService.idl
extra : moz-landing-system : lando
2019-02-02 11:27:21 +00:00
Kris Maglione e930b89c34 Bug 1514594: Part 3 - Change ChromeUtils.import API.
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8

This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:

  ChromeUtils.import("resource://gre/modules/Services.jsm");

is approximately the same as the following, in the new model:

  var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");

Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs

This was done using the followng script:

https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8

Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D16750

--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Andrew Swan f527f0e6ff Bug 1504056 Part 1: Refactor AddonManager.getInstallForURL() arguments r=kmag
AddonManagergetInstallForURL() has a number of optional arguments, most
of which are passed infrequently.  Convert them from positional arguments
to a single options object.

Differential Revision: https://phabricator.services.mozilla.com/D18475

--HG--
extra : rebase_source : 503c09b54fab90cefe69286b05def43ef70074df
2019-02-01 15:23:55 -08:00
Xidorn Quan 5c8ea961d0 Bug 1518426 - Add another domain to FilterAdult. r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D15915

--HG--
extra : moz-landing-system : lando
2019-01-28 06:50:19 +00:00
Ed Lee ac283764e9 Bug 1523023 - Add Navigation header, spacing adjustments and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D17714

--HG--
extra : moz-landing-system : lando
2019-01-26 15:16:59 +00:00
Ed Lee b7463bed23 Bug 1522752 - Add Snippets header, article sources and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D17599

--HG--
extra : moz-landing-system : lando
2019-01-25 15:37:38 +00:00
Ed Lee 9795b2ffc2 Bug 1522379 - Add Discovery styling, AMO onboarding and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D17455

--HG--
extra : moz-landing-system : lando
2019-01-24 15:34:40 +00:00
Ed Lee bd6c7faafc Bug 1521093 - Add Discovery telemetry, style adjustments and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D16980

--HG--
extra : moz-landing-system : lando
2019-01-18 19:31:19 +00:00
Ed Lee 5b0fc0c297 Bug 1520691 - Add Discovery components, search polish and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D16784

--HG--
extra : moz-landing-system : lando
2019-01-17 20:53:45 +00:00
Ricky Rosario b8ac380ca9 Bug 1516044 - Add search hand-off pref to firefox.js r=andreio
MozReview-Commit-ID: IkH9is3LbUS

Differential Revision: https://phabricator.services.mozilla.com/D16312

--HG--
extra : moz-landing-system : lando
2019-01-16 20:18:27 +00:00
Ed Lee 2cd0c96280 Bug 1520324 - Add discovery opt-out, hero component and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D16610

--HG--
extra : moz-landing-system : lando
2019-01-16 14:56:28 +00:00
Ed Lee da497294eb Bug 1519303 - Add hand-off triggers, add-on icons and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D16394

--HG--
extra : moz-landing-system : lando
2019-01-14 23:27:45 +00:00
Ed Lee a99776d140 Bug 1517867 - Add Discovery Stream stubs + tools and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D15755

--HG--
extra : moz-landing-system : lando
2019-01-07 20:25:46 +00:00
Ed Lee e5ecdc6d96 Bug 1516272 - Add search hand-off, discovery stream and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D15307

--HG--
extra : moz-landing-system : lando
2019-01-03 01:23:21 +00:00
Gurzau Raul 4a500304ba Backed out changeset 5990f24b16ef (bug 1516272) for failing at browser_google_behavior.js on a CLOSED TREE 2019-01-03 01:15:52 +02:00
Ed Lee 3d659c0a32 Bug 1516272 - Add search hand-off, discovery stream and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D15307

--HG--
extra : moz-landing-system : lando
2019-01-02 21:09:23 +00:00
k88hudson 2c424c573a Bug 1515206 - Add Pocket layout code, snippets and perf bug fixes to Activity Stream r=Mardak
Differential Revision: https://phabricator.services.mozilla.com/D14923

--HG--
extra : moz-landing-system : lando
2018-12-19 01:52:03 +00:00
Dão Gottwald 3d299c83ff Bug 1511112 - Remove remaining style flushes for getting the UI direction in browser/, except PlacesUIUtils.jsm. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D13536

--HG--
extra : moz-landing-system : lando
2018-12-11 14:18:21 +00:00
Ed Lee 02ecb969f0 Bug 1510766 - Add AMO firstrun, FxA defaults and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D13317

--HG--
extra : moz-landing-system : lando
2018-11-29 05:26:55 +00:00
ScottDowne 0040ce5c3d Bug 1509565 - Add Pocket bug fixes, Snippets Templates compat fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D12805

--HG--
extra : moz-landing-system : lando
2018-11-25 19:19:23 +00:00
k88hudson 078be8fa0c Bug 1499110 - Make CFR/ASR preferences compatible with roll-outs r=ursula
Differential Revision: https://phabricator.services.mozilla.com/D12475

--HG--
extra : moz-landing-system : lando
2018-11-21 19:57:03 +00:00
Paolo Amadini 5d354ce421 Bug 1429940 - Part 2 - Use HTML headings inside the "label" element for labeling "groupbox" elements in Preferences, instead of the "caption" element. r=MarcoZ,dao,jaws,flod
This makes it possible to navigate by headings when using accessibility technology.

Information labels displayed when removing the master password are also restored.

Differential Revision: https://phabricator.services.mozilla.com/D11792

--HG--
extra : rebase_source : 42f156dbccf074445cf7e08d8de246058437c91b
2018-11-20 15:14:18 +00:00
Ed Lee 52414287aa Bug 1508407 - Add Return-to-AMO firstrun, Pocket-personalization attachment and bug fixes to Activity Stream r=ursula
Differential Revision: https://phabricator.services.mozilla.com/D12343

--HG--
rename : browser/components/newtab/content-src/components/StartupOverlay/StartupOverlay.jsx => browser/components/newtab/content-src/asrouter/templates/StartupOverlay/StartupOverlay.jsx
rename : browser/components/newtab/content-src/components/StartupOverlay/_StartupOverlay.scss => browser/components/newtab/content-src/asrouter/templates/StartupOverlay/_StartupOverlay.scss
extra : moz-landing-system : lando
2018-11-19 22:05:29 +00:00
Ricky Rosario c8ffa188eb Bug 1505929 - Add FxA onboarding card, pref on CFR and ASR and bug fixes to Activity Stream r=k88hudson,Mardak
Differential Revision: https://phabricator.services.mozilla.com/D11375

--HG--
extra : moz-landing-system : lando
2018-11-10 19:13:10 +00:00
Cosmin Sabou edecf57f25 Backed out changeset 9fce755a1262 (bug 1505929) for causing browser chrome nightly failures when tryin to connect to snippets.cdn.mozilla.net. a=backout 2018-11-10 16:45:39 +02:00
Ricky Rosario f48e0b6314 Bug 1505929 - Add FxA onboarding card, pref on CFR and ASR and bug fixes to Activity Stream r=k88hudson
MozReview-Commit-ID: 2NdTCG1NWe8

Differential Revision: https://phabricator.services.mozilla.com/D11375

--HG--
extra : moz-landing-system : lando
2018-11-09 21:46:11 +00:00
k88hudson ac49075905 Bug 1504864 - Add fix for pocket double-adding spocs, remove Amazon CFR metadata to Activity Stream r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D10976

--HG--
extra : moz-landing-system : lando
2018-11-06 15:43:41 +00:00
k88hudson 4ac3617dfe Bug 1503989 - Add JEXL targeting, remove smallest breakpoint, test-related fixes to Activity Stream r=ursula
Differential Revision: https://phabricator.services.mozilla.com/D10619

--HG--
extra : moz-landing-system : lando
2018-11-01 20:55:03 +00:00
Ursula Sarracini b0c1c38fa8 Bug 1503288 - Use 'args' in button_action params to fix busted simplified onboarding actions r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D10232

--HG--
extra : moz-landing-system : lando
2018-10-30 19:36:22 +00:00
Drew Willcoxon f261cff897 Bug 1498023 - Search shortcuts should hide all one-off UI when typed r=mak,Mardak
* Disable or enable the one-offs per each new search based on whether the first char is "@". The patch does this in `onResultsAdded`, where other per-search initialization happens.
* Remove the `disableOneOffButtons` option from the urlbar `search` method. It's not necessary anymore now that one-offs are automatically hidden for the only caller that uses this option (new tab with the "@engine" tiles).
* Make the `oneOffSearchesEnabled` getter return the actual status of the one-off UI instead of relying on an `_oneOffSearchesEnabled` property.

Differential Revision: https://phabricator.services.mozilla.com/D9883

--HG--
extra : moz-landing-system : lando
2018-10-29 16:13:49 +00:00
Siddhant085 6ab6938f8c Bug 1493483 - Use nsIBrowserSearchService::defaultEngine instead of currentEngine (in production code) r=Standard8
nsIBrowserSearchService::currentEngine and nsIBrowserSearchService::defaultEngine are the same thing.
The use of defaultEngine makes more sense and thus we are phasing out the use of currentEngine and replace it with defaultEngine.

Differential Revision: https://phabricator.services.mozilla.com/D7972

--HG--
extra : moz-landing-system : lando
2018-10-27 16:52:02 +00:00
Ed Lee d302d682b3 Bug 1502461 - Fix recommendation counts, recommendation alignment and bug fixes to Activity Stream r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D9949

--HG--
extra : moz-landing-system : lando
2018-10-27 01:31:08 +00:00
Paolo Amadini 42c8938dfc Bug 1493844 - Part 2 - Remove the "caption" and "groupbox" bindings. r=bgrins,dao,jaws,johannh,surkov
Proper native "groupbox" styling depends on the structure of the XBL binding. By restyling the Page Info dialog, the native styling is now unused except for the Print Page Setup dialog on Windows. The native apperance is thus not applied by default anymore, and the "groupbox" element can just be used semantically for accessibility. The Print Page Setup dialog applies the native styling on its own in a way that still works on Windows.

The only other consumers of "groupbox" are the in-content Preferences pages and dialogs. These are updated to use simpler styles that don't depend on the binding structure.

Differential Revision: https://phabricator.services.mozilla.com/D8752

--HG--
extra : rebase_source : af36d911980517f9b53036f4cd4f800c5e20ad22
2018-10-23 10:14:06 +01:00