Commit Graph

283 Commits

Author SHA1 Message Date
Gabriel Luong 6a7f9075ad For #26549 - Add Nimbus feature flag for first run onboarding page updates and Jump back in CFR 2022-08-19 19:06:34 +00:00
Gabriel Luong 5f2ebf8125 For #26528 - Add a nimbus feature flag for MR Home Onboarding Dialog 2022-08-18 21:30:37 +00:00
Alexandru2909 0c6cf5f6a8 For #26335: Enable sponsored shortcuts by default 2022-08-17 12:57:40 -04:00
sunilk9211 db47f4182d For #25985: Remove ability to click the logo to change the wallpaper 2022-08-16 19:11:39 +00:00
Mugurell f96f8465ad For #26414 - Have the Pocket spocs feature as part of the homescreen sections experiments 2022-08-16 14:35:35 +00:00
mike a 9baf0db8db Closes #26446: add wallpaper oboarding Nimbus flag 2022-08-15 23:21:25 +00:00
Gabriel Luong a98868d791 For #26412 - Remove try catch for NimbusFeatureException from FxNimbus value() getter 2022-08-12 16:05:23 +00:00
sarah541 bbb602a2fd For #26308 - Add feature flag for MR onboarding 2022-08-12 15:01:33 +00:00
Charlie Humphreys b33abbbec2 change name for isFirstRun to isFirstNimbusRun and move setter to after experiments are set 2022-08-12 00:24:28 +00:00
Charlie Humphreys 1ce99506ad update isFirstRun to be manually set and set experiments locally on first run 2022-08-12 00:24:28 +00:00
MatthewTighe 72959901d8 Fixes #26245: refactor the WallpaperManager as several WallpaperUseCases 2022-08-11 14:56:49 +00:00
Jonathan Almeida f03ee91ecb Close #26041: Re-set TrackingProtectionPolicy after Nimbus SDK is initialized
There are three issues here that we have uncovered while investigating
this bug:

 1. Settings.kt has a lazy block around `enabledTotalCookieProtection`
    which ends up caching the first result it evaluates.
 3. The `FeatureHolder` within FxNimbus caches the incorrectly
    evaluated value and returns this value hence forth.
 4. Nimbus is not ready to return a result for an engine experiment
    when we need it early on in the dependency tree initialization.

There are multiple systems that require engine to be initialized for
 them to work (e.g. Glean, Profiler, concept-fetch). In our TCP,
 experiment, we need to apply these engine settings during the engine
 initialization. So when we try and evaluate Nimbus that early on, it
 has not had time to initialize itself correctly or even use the
 engine's concept-fetch client to return the correct experiment result.
 This bug is made worse because of the first two caching bugs where we
 are always holding onto a cached value of the wrong result.

Our temporary solution is to:

 1. Remove the `lazy` around `Settings.enabledTotalCookieProtection`.
 2. Set the `FxNimbus.api` value right after we are done initializing
    `FxNimbus` and `NimbusApi` so that all future queries to FxNimbus
    will be made against a real instance of `NimbusApi`. This is a
    short-term fix for the `FeatureHolder` caching bug.
 3. Set a new TrackingProtectionPolicy that will evaluate Nimbus now
    that it is in the correct state when receive the
    `NimbusInterface.Observer.onUpdatesApplied`.

Co-authored-by: jhugman <jhugman@users.noreply.github.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
2022-08-09 19:33:00 +00:00
Noah Bond db0162465b For #26289 - Remove search term tab groups metrics and setting 2022-08-08 18:16:33 +00:00
Gabriel Luong bfd0eb7306 For #26113 ⁃ Enable address autofill in all channels 2022-07-20 20:31:51 +00:00
Arturo Mejia 261569c2c5 For #25915: Remove the hard coded default browser message 2022-07-07 22:16:25 +00:00
Gabriel Luong 80524cd6ab For #25935 - Catch NimbusFeatureException from calling FxNimbus value getter 2022-07-07 21:14:07 +00:00
Gabriel Luong 1207180aa8 For #25933 - Ensure sponsored tiles are enable if enrolled in active experiment 2022-07-07 19:28:33 +00:00
Arturo Mejia 8c752c3be1 For #25736: Add experiment for Total cookie protection. 2022-07-05 19:07:05 +00:00
rxu f7826c41bf Disable marketing telemetry until privacy pop window approved in Mozillaonline builds 2022-07-05 08:04:47 +00:00
Alexandru2909 4d430adbbe For #25764 - Prevent sponsored shortcut URLs from appearing as `frecent` shortcuts 2022-06-29 20:14:35 +00:00
Gabriel Luong 83e19be385 For #24967 - Enable address autofill for Nightly and Debug 2022-06-28 23:14:16 +00:00
Mugurell df5786f1e3 For #25381 - Add a setting allowing to toggle Pocket sponsored stories 2022-06-10 15:01:35 +00:00
MatthewTighe 07d4a8599d fixes #25386: turn task continuity on by default for nightly 2022-05-27 22:18:40 +00:00
Mugurell 849d922038 For #25352 - Add a new FML feature to gate Pocket sponsored stories 2022-05-27 18:16:22 +00:00
Mugurell 2343b7534c For #25311 - Set tokens used when communicating with Pocket 2022-05-25 15:53:24 +00:00
mcarare cb4f8ed0c0 For #24968: Add preference for enabling/disabling addresses autofill.
For #24968: Add preference for enabling/disabling addresses autofill.
2022-05-23 07:30:07 +00:00
bendk e5b0069791
Application services 93.0.1 (#24904)
* Fixup breaking changes from AppServices upgrade to 93.0.0

* android-components RemoteTabsStorage now requires a Context param

* Update Android Components version to 102.0.20220509214046

Co-authored-by: James Hugman <james@hugman.tv>
Co-authored-by: Mark Hammond <mhammond@skippinet.com.au>
Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-05-10 05:11:00 +00:00
Gabriel Luong da1c5b9bf7 For #25115 - Remove showWallpapers feature flag 2022-05-04 19:27:13 -04:00
Gabriel Luong 957d9c487c For #25111 - Remove contileFeature feature flag 2022-05-04 22:30:37 +00:00
MatthewTighe 30666f7c94 Revert #24894: settings should not be used to cache previous auth state 2022-04-27 23:06:15 +00:00
MatthewTighe ccb3d33e8b for #24665: cache previous auth status and display placeholders accordingly 2022-04-21 21:59:24 +00:00
MatthewTighe b746295da1 for #24665: remove unused fxaHasSyncedItems setting 2022-04-21 21:59:24 +00:00
Roger Yang 2b8cf67a97 Issue #24733: Create nimbus feature for Unified Search experimentation 2022-04-19 00:07:37 +00:00
Roger Yang bf7b8f97c4 Issue #24733: Setup search for Unified Search experimentation 2022-04-12 22:35:57 +00:00
Mugurell 46d757ab54 For #16952 - Https-only mode support.
Default will be disabled with users having the possibility to enable this from
a new setting in the `Privacy and security` section.
If enabled then by default this force https for all tabs with the option for
users to switch to forcing https only on private tabs.
2022-03-29 14:54:01 +00:00
Brais Gabín 1f633edd7d For #23046 - Align detekt config between Fenix and Android Components
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
2022-03-29 00:03:06 +00:00
Jonathan Almeida f953c5ec94 For #24220 and #24223: Connect GleanPlumb messages with the new tab ui card.
Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
2022-03-26 22:14:49 +00:00
Gabriel Luong b4725429e8 For #24334 - Add FeatureFlag for Unified Search feature 2022-03-22 14:29:12 +00:00
Gabriel Luong 0448530440 For #24235 - Remove MasterPasswordTipProvider 2022-03-15 23:29:58 +00:00
Gabriel Luong 788b83bfaa For #24229 - Remove unused MigrationTipProvider 2022-03-15 23:29:58 +00:00
Gabriel Luong c9a47d08a8 For #24130 - Change Shortcuts setting to toggle the display of Top Sites 2022-03-11 19:48:08 +00:00
Gabriel Luong 65b1716495 For #23990 - Allow for Nimbus experimentation for Contile top sites 2022-03-04 17:20:38 +00:00
Gabriel Luong 56022546f2 For #23893 - Add telemetry for Contile services 2022-03-03 20:56:44 +00:00
Gabriel Luong b6f066c9ed For #24042- Remove inactive tabs survey 2022-03-01 18:16:05 +00:00
MatthewTighe 2cc9ca3773 for #23069: add blocklist middleware for home 2022-02-22 22:25:04 +00:00
Noah Bond 15c58b7261 For #23808 - Add secret setting for enabling Task Continuity feature 2022-02-18 17:37:19 +00:00
Gabriel Luong 37a0edceb6 For #23431 - Display the order of Contile Top Sites correctly 2022-02-10 00:54:24 +00:00
jhugman b230c39a7f
Fixes #23492: Perf regression of calling isFirefoxDefault from main thread (#23556)
* Fixes #23492 — Fixup perf regression of calling isFirefoxDefault from the main thread

* Tightening of near defunct default browser message

* Fixup early crash in debug build

* ktlint
2022-02-08 12:44:07 +00:00
jhugman 82a6f8cae4
First use of Nimbus FML plugin (#23400)
* Consume Nimbus FML plugin

* Convert Homescreen to use FML

* Convert nimbusValidation to use FML

* Convert legacy experiments to use the feature API and FML

Remove dead helper code and documentation

* Fixup failing test

Co-authored-by: Grisha Kruglov <gkruglov@mozilla.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-01-28 12:48:05 +00:00
Arturo Mejia 393de99196 For #22851 Add logo animation for wallpapers 2022-01-27 00:28:12 +00:00