Commit Graph

292 Commits

Author SHA1 Message Date
Ben Dean-Kawamura
fb0ebe4eec Added secret debug menu to override the push server URL (#24170)
- Created a new "sync debug" pref screen to hold the Fxa, Sync, and Push
  server override prefs.  They were taking a lot of screen space on the
  top-level settings menu as individual items
- Added button on that screen to quit FF which is needed to apply the
  changes.
    - This is definitely not the nicest UI, but hopefully QA can just
      override the prefs once save them in an emulator and never have to
      go back to this screen.
    - I do think this is a nicer UI than before, where FF would quit
      after a change to any of the prefs.  That forces you to restart FF
      3 times if you wanted to override all 3 server URLs.
2022-09-02 18:46:58 +00:00
Alexandru2909
070bf5ac24 For #26706 - Change TopSite.containsQueryParameters as Uri extension function 2022-08-31 13:03:38 +00:00
MatthewTighe
853778e29a For #26511: load homescreen wallpaper in blocking coroutine 2022-08-29 17:33:13 +00:00
Gabriel Luong
9a64acd4b6 For #26169 - MR Home Onboarding Dialog for upgrading users 2022-08-25 18:22:35 +00:00
Mugurell
f4b823b43b For #26224 - Use the mr2022.sectionsEnabled.tcp-cfr Nimbus feature to display the cfr 2022-08-25 12:30:10 +00:00
Mugurell
4286606d8f For #26224 - New TCP CFR popup
If Total Cookie Protection is enabled when first accessing a normal tab
(not a custom tab) a new Contextual Feature Recommendation popup will be shown
informing about the added protection and allowing the user to open a support
page with more data about the new option for privacy protection.
2022-08-25 12:30:10 +00:00
Mugurell
bf23a2a6b9 For #18175 - Add a new total protection ETP cookies policy
This should only add the new option in settings based on a Nimbus experiment.
2022-08-25 10:05:11 +00:00
Gabriel Luong
da677dd650 For #26620 - Replace the onboarding nimbus feature with MR2022 nimbus feature 2022-08-24 19:46:18 +00:00
MatthewTighe
299f887953 Add updated wallpaper use cases and activate them with feature flag. 2022-08-22 23:07:14 +00:00
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