1
0
Fork 0
Commit Graph

1988 Commits (74ce62b5c3cf17add202126b20cd66e6fc46f4c5)

Author SHA1 Message Date
Jeff Boek f050db517c For #8552 - Fixes bug where "installing/uninstalling" was using the old pref key 2020-02-19 15:20:52 -08:00
mcarare a5ac7304bb For #8523: Also disable radio buttons clickable area when ETP is off 2020-02-19 10:48:01 -08:00
mcarare 2d72027cbd For #8534: Register preference update on first tap 2020-02-19 10:40:17 -08:00
Mihai Branescu 9d972fa1d0 For #4231 added unit tests for most recent apps 2020-02-19 10:36:58 -08:00
Mihai Branescu fdbf63fb97 For #4231
Added kapt plugin + dependencies in order to be able to use Room
Added recent apps to share fragment (top 6)
Extracted dimens of share_to_apps.xml in the dimens file
2020-02-19 10:36:58 -08:00
Mihai Adrian 3486f30b6a
For #8529: Fix custom ETP preferences visibility update 2020-02-19 11:19:00 -05:00
Sebastian Kaspari d7e1259e7b
Use Mozilla Android Components 34.0.0-SNAPSHOT. (#8527) 2020-02-19 16:59:34 +02:00
Arturo Mejia 2daa485931
Show internal add-on version when available (#8507) 2020-02-19 09:57:04 -05:00
Jeff Boek 020608275d For #6981 - Fixes tests to support locale aware changes 2020-02-18 18:20:50 -08:00
Jeff Boek 1ba64f9559 For #6981 #6907 - Properly reloads search engines when locale changes 2020-02-18 18:20:50 -08:00
ekager 35bf4fbda9 No issue: Fix login for BaseBrowserFragment FragmentPreDrawManager 2020-02-18 17:53:47 -08:00
ekager 57a02a10fc For #8514 - Use state list colors for default disabled states 2020-02-18 17:45:36 -08:00
Jeff Boek 5c6e6ddfb7 For #4807 - Always navigate to settings after deleting data 2020-02-18 13:30:32 -08:00
ekager bb85de5dca For #6737 - Set Logins checkbox default to true 2020-02-18 11:32:50 -08:00
Mihai Adrian e8913474a0
For #8268 - Update added to top sites snackbar text (#8435) 2020-02-18 13:40:02 -05:00
ValentinTimisica 12ae46343e For #7957: Enable Login management preference for all users 2020-02-18 10:39:04 -08:00
ekager f52f87f6a4 For #8324 - Only use encrypted storage for Nightly/Debug populations 2020-02-18 10:30:20 -08:00
Jeff Boek a8746320d7 For #3869 - Uses RegionSearchLocalizationProvider in the search engine provider 2020-02-18 10:10:16 -08:00
mcarare 5fd3894171 For #8354 Fix uppdating theme when coming from external links 2020-02-18 09:34:36 -08:00
mcarare 9d755a877a For #8354 Fix opening custom tabs and links directly in private mode 2020-02-18 09:34:36 -08:00
mcarare ae13f4b44f For #8354 Remove unsetting open links in private if not default browser 2020-02-18 09:34:36 -08:00
mcarare bba563b5f9 For #6479: Add granular ETP settings 2020-02-18 09:32:43 -08:00
Emma Malysz 15ff4726a0 For #8056: remove Experiments.initialize from FenixApplication
Experiments will not be used before GA and are thus being removed
for performance wins.
2020-02-18 08:22:03 -08:00
ValentinTimisica ba8867c1a9 For #1741: Passes 'showDescription' boolean to SearchSuggestionProvider
Change required for removing description from search suggestion. Implemented
in AC (https://github.com/mozilla-mobile/android-components/pull/5890)
2020-02-18 12:31:40 +02:00
Severin Rudie cc29c5fe84
For #7896: integrate text selection search from AC (#8295) 2020-02-17 19:20:35 -08:00
ekager 324fe64213 No issue: Fix new optional adds on arg error 2020-02-15 17:21:03 -08:00
Jeff Boek 7aeb5f072d For #7295 - Adds more documentation for the installation metrics 2020-02-14 20:56:49 -08:00
codrut.topliceanu d6ae3d4abe For #7295 - Adds new custom ping: 'installation' 2020-02-14 20:56:49 -08:00
ekager b72550c28a For #8126 - Adds default top sites 2020-02-14 14:39:58 -08:00
ekager 2e1202cbd1 For #8348 - Add small delay after biometric auth 2020-02-14 12:36:38 -08:00
Sebastian Kaspari c45df6ecde Dismiss "migration notification" after leaving migration activity.
For https://github.com/mozilla-mobile/android-components/issues/5886.

With this patch we will dismiss the "migration completed" notification once the users
clicks on the button in the migration activity.
2020-02-14 12:02:58 +01:00
Sparky93 640d24974f Fix for #8426 - Migration steps displayed in a different order than UI specifications
Changed the order of the whitelisted migrations in order to respect the UI specifications.

Now using linked hash map instead of hash map for the whitelisted migrations so we can preserve the
order of the steps upon status changing in the migration process.
2020-02-14 11:48:24 +01:00
mcarare 3b5eadcc70 For #8372: Set toolbar position relative anchor for url copied snackbar 2020-02-13 20:42:05 -08:00
Severin Rudie 1be812eba0 For #8408: fix requireContext crash in HomeFragment#onViewCreated 2020-02-13 20:15:54 -08:00
Emily Kager 2264e6e1b1 For #6623 - Adds ability to delete a login 2020-02-13 16:04:26 -08:00
Mugurell ad1144c722 For #6577 - Remove the `total_uri_count` Glean StringMetricType
This was added as a duplicate to an already existing `total_uri_count`
CounterMetricType in #4456.
2020-02-13 15:54:55 -08:00
Christian Sadilek ce96d909d1 No issue: Support basic navigation in add-on popups 2020-02-13 17:26:43 -05:00
mcarare 372b1e7f0e For #6980: Update Private browsing card.
Added test to description.
Added link to settings.
Updated unit tests.
2020-02-13 14:13:57 -08:00
Jeff Boek 127169f5ff For mozilla-mobile#8172: Add a new 'E_Fennec_To_Fenix_Migrated' Leanplum event
This new event will be sent when the user has successfully migrated from Fennec
to Fenix.
This event will only be sent to Leanplum and not to the other telemetry
services like Glean or Adjust.

Co-authored-by: ValentinTimisica <valentin.timisica@softvision.ro>
2020-02-13 14:10:24 -08:00
ValentinTimisica 33616e0042 For #8172: Add a new "Fenix" Leanplum attribute 2020-02-13 14:10:24 -08:00
Emily Kager 9bac7ef47b For #8403: Don't postpone transition for view intents 2020-02-13 12:58:28 -08:00
Christian Sadilek 40031e6130 For #8143: Allow add-on popups to display prompts 2020-02-13 14:15:02 -05:00
Emily Kager 9adc617765 For #8358 - Make sure we don't cancel toolbar editing more than once 2020-02-13 10:32:31 -08:00
Emily Kager cbc8d3aa45 For #8366 - Move CreateShortcutFragment dismiss after AddToHomescreen 2020-02-12 22:54:30 -08:00
Simon Chae b5379eb513
Allow fragment to go back when all unsupported add-ons are removed (#8351) 2020-02-12 17:32:03 -05:00
Simon Chae 2c01022c4b For #8153: Allow web-ext to open new tabs in correct browsing mode 2020-02-12 13:41:16 -08:00
mcarare 5e4ef202b8 For #8262: Set toolbar position relative anchor for collection snackbars 2020-02-12 07:56:17 -08:00
Jeff Boek a701988ae9 For #5905 - Creates private browsing settings fragment 2020-02-11 18:14:14 -08:00
Jeff Boek ef6913ec25 For #5905 - Combine theme and toolbar settings 2020-02-11 18:14:14 -08:00
Jeff Boek cfb9b16863 No Issue - Fixes breaking snapshot change 2020-02-11 17:59:16 -08:00
mcarare 1168fbd638 For #8299: Select current ETP policy set on card creation 2020-02-11 17:54:09 -08:00
Arturo Mejia 95528c3191 For issues #8310 Disable the remove button while disabling an add-on
and vice versa.
2020-02-11 19:54:48 -05:00
MarcLeclair 834d7e13cd
Remove Tracking protection popup for visual testing (#8226)
* For #6903: allow override TP popup for performanceTest

* For #6903: refactored the code
2020-02-11 11:12:39 -05:00
Sparky93 1ed185d4c2 Fix for #7980 - MigrationStore's COMPLETE action now redirects to MigrationProgressActivity
In order to ensure that the user's migration screen is not being bypassed by mistake, we handle the
migration's store COMPLETED state the same way we handle the MIGRATING state.

We can do this because we can treat the initial state (NONE) as being either a fresh start of the
app, either the user's intention of starting the home activity.

Before this change, if the app was being open from the shortcut after the migration was complete,
the user would have been encountered the home activity instead of the migration one.
2020-02-11 16:41:20 +01:00
codrut.topliceanu 705567651f For #7978 - Remove ScrollView from migration activity. 2020-02-11 16:40:15 +01:00
codrut.topliceanu e193c9c084 For #7975 - Added a progress bar according to specs 2020-02-11 16:40:15 +01:00
Arturo Mejia 941c147989 mozilla-mobile/android-components#5867 Fix addonProgressOverlay IllegalStateException 2020-02-10 17:50:55 -05:00
Arturo Mejia 93a68736a3 For issue #8272: Keep the add-ons management ui in sync with add-ons
changes
2020-02-10 16:31:53 -05:00
Emily Kager 316215ca54 For #7999 - for Leanplum fxaHasSyncedItems use SyncEnginesStorage 2020-02-10 20:47:46 +01:00
David Walsh f51069cd82 For #8016 - Prevent duplicate domains from displaying inthe collection description on the home screen 2020-02-10 10:50:07 -08:00
Sawyer Blatz 453231b5fd For #7753: Increases touch target of crash page 2020-02-10 10:36:46 -08:00
Jeff Boek f9b05e7d5a
For #8212 - Fixes shadow/border when toolbar is on top (#8234) 2020-02-10 12:32:26 -06:00
Sebastian Kaspari f0af6d6f6e Update Mozilla Android Components to 32.0.0-SNAPSHOT. 2020-02-10 17:13:58 +01:00
Sparky93 c9313029a8 Fix for #5695 - Migration steps' status displayed before the migration completed
The migration steps' status was already being shown as succeeded instead of showing an "unchecked" list of
steps.
These changes will make the steps being "checked" one by one as the migration advances.
2020-02-10 14:31:42 +01:00
Jeff Boek 952c48c8ce For #4674 - Adds ability to toggle metric services by type 2020-02-10 12:33:53 +02:00
Jeff Boek 9f3faa43fe For #4674 - Adds marketing data as a collection choice 2020-02-10 12:33:53 +02:00
Emily Kager 5839f5891c No issue: Update androidx dependencies 02.08.20 2020-02-10 11:33:12 +01:00
Grisha Kruglov 7a272a4564 Enable fennec Pinned Sites migration 2020-02-10 08:19:30 +01:00
Jonathan Almeida e73b3cfbec
No issue: Simplify migration accessible string (#8249) 2020-02-08 13:19:46 -05:00
Emily Kager 17d7928cc9 For #7603 - Temporarily do not show biometric prompt for OnePlus devices 2020-02-07 20:39:36 -08:00
Emily Kager 9e4e23eceb
Closes #8176 - Adds new string for add to top sites (#8209) 2020-02-07 22:05:35 -05:00
Christian Sadilek 8a33897f3a For #8201: Enable/Disable uBlock button status isn't updated 2020-02-07 19:55:41 -05:00
mcarare 3ea5b08135 For #8190: Add animation to ETP policy selection 2020-02-07 15:50:39 -08:00
Arturo Mejia 2daf7c3142 For issue #8221: Fix crash in the AddonsManagementFragment when binding
the RecyclerView after the fragment is not attached anymore
2020-02-07 18:38:37 -05:00
Christian Sadilek 142104dc86 For #8202: Remove settings if add-on disabled
- Also fixes the crash described in #8202.
2020-02-07 16:42:54 -05:00
Gabriel Luong e3df9f0902
For #8167: Don't show the add-ons permission dialog if installation is in progress (#8230) 2020-02-07 16:06:28 -05:00
Michael Comella a896b47cfe For #7820: warm BrowsersCache on background thread.
In an early iteration of his patch on a beta build, I saw no improvement over
6 runs (Pixel 2):
- Before: 401.5ms
- After: 402.17ms

This may be attributed to noise in startup performance. However,
BrowsersCache disappears from profiles completely and results in
theoretical performance gains.

When using the StartupTimeline class (not landed yet), I see a 27.75ms
runtime improvement on beta builds after this patch.
2020-02-07 09:13:29 -08:00
Jeff Boek a42ad7603b For #5073 - Fixes visual alignment when certificate authority breaks into a new line 2020-02-07 09:10:31 -08:00
Jeff Boek 7a16192fd1 For #5073 - Use string parameter versus concatenating programatically 2020-02-07 09:10:31 -08:00
Kate Glazko 7c00a1ad6b For #5073: View Site Cert 2020-02-07 09:10:31 -08:00
mcarare 5bd5f81559 For #6980: Add onboarding Toolbar position picker card 2020-02-07 09:05:03 -08:00
Sawyer Blatz 0a6881d470
For #255: Removes autoplay media feature flag (#8198) 2020-02-07 10:22:37 -05:00
ValentinTimisica 29522d29ed For #1500: Passes resources to SessionSuggestionProvider
Change required for adding 'Switch to tab' description for a suggestion that
represents an opened tab. Implemented in AC
(https://github.com/mozilla-mobile/android-components/pull/5773)
2020-02-07 11:26:58 +01:00
Jeff Boek 62d540257f For #7965 - removed unused strings, reverted changes to radiobutton widget 2020-02-06 18:48:23 -08:00
David Walsh 4b9f07c511 For #7965 - Remove CDATA strings 2020-02-06 18:48:23 -08:00
Christian Sadilek 6019adafac For #6124 #8158: Prevent infinite loop on fast taps on enable switch 2020-02-06 15:03:47 -05:00
Tiger Oakes 5faa22d611
Use createBlendModeColorFilterCompat (#8129) 2020-02-06 11:18:08 -08:00
Sebastian Kaspari 5515f1ba5e Closes #4979 - Support Fennec web apps (PWAs). 2020-02-06 10:34:13 -08:00
Emily Kager eec8ea980b For #8128 - Do not use activity root view for fragment snackbars 2020-02-06 10:33:24 -08:00
Tiger Oakes 2ead67a531
For #7511 - Override private customtab icon tint (#8138) 2020-02-06 09:49:00 -08:00
Kadeem f4f93e761e NOISSUE - Renamed a misspelled variable. 2020-02-06 18:25:11 +01:00
mcarare 9d993cae92 For #8146: Extend radio buttons clickable area to title and description 2020-02-06 16:34:37 +01:00
codrut.topliceanu f5715df104 For #5694 - Changes migration list item 'Logins' to 'Passwords' 2020-02-06 14:45:10 +01:00
Mohammaduvez 00d7f4c91c
Fixes #5711 Added tint to onboarding icons (#8093)
* Added tint to onboarding icons and udpated finish button tint

* Replaced tint parameter with onboarding_card_icon color in setOnboardingIcon
2020-02-05 21:46:12 -08:00
Marc Leclair 8e61c71a98 reverting linting changes that touched codes that I didn't edit 2020-02-05 16:40:41 -08:00
Marc Leclair afab1c0f4e #8085 removed findViewById with actual id 2020-02-05 16:40:41 -08:00
Marc Leclair 9fc5a1b0fe #7700 fixed linting issues 2020-02-05 16:40:41 -08:00
Marc Leclair 92b38206c7 #7700 fixed scrolling, parallax action to match both images and some code clean up 2020-02-05 16:40:41 -08:00
Marc Leclair 72007590f7 #7700 squash commit and fixing toolbar to switxh to top with coordinatorlayout 2020-02-05 16:40:41 -08:00
Tiger Oakes c0d7bc5bd5 Use navArgs helper in fragments 2020-02-05 16:37:45 -08:00
Tiger Oakes 383a70482c Clean up toolbar menu class 2020-02-06 00:25:42 +01:00
Arturo Mejia 1fef90721a
For issue #8100: Add progress bar to the add-ons manager fragment 2020-02-05 16:32:50 -05:00
Arturo Mejia be7bd527f6
For issue #8097: Run add-ons callbacks only when the fragment is attached. 2020-02-05 14:22:45 -05:00
Grisha Kruglov 3f9ed2992c Bump to a-s 0.50.0 2020-02-05 13:29:17 -05:00
Emily Kager 46fd1a04f1 For #7456 - For top toolbar set correct progress gravity and background 2020-02-05 19:14:14 +01:00
Christian Sadilek d10a30e356 Closes #4983: Fennec migration: Keep installed add-ons 2020-02-05 09:14:04 -05:00
Arturo Mejia 6191fec0d8
No Issue: Close the web extension popup when we can't get the popup of the session. 2020-02-04 17:17:46 -05:00
Emily Kager 604ac83d0c For #7999 - Change fxa leanplum metrics to false by default 2020-02-04 09:17:55 +01:00
Gabriel Luong 64a4a7f422
Provide add-on support (#8064)
Closes #5630, #6069, #6092, #6091, #6124, and #6147.

Co-authored-by: Simon Chae <chaesmn@gmail.com>
Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
2020-02-04 01:41:51 -05:00
Mihai Adrian 4eb71ce235
For #6980: Update ETP onboarding card (#7958) 2020-02-03 21:03:15 -08:00
Jonathan Almeida cbcc56bbba For #373: Implement LeanPlum push messaging
Also closes #6250, since we rely solely on the SDK itself to consume the
messages straight from FCM.
2020-02-04 00:13:56 +01:00
David Walsh 4e6215c0c1 Fix linting issue 2020-02-04 00:12:26 +01:00
Sawyer Blatz 9f342fca9e For #6820: Updates background, shadow, & snackbars of toolbar 2020-02-04 00:12:26 +01:00
David Walsh 4b3effdfab For #6820: Place address bar at top or bottom of the home screen based on user preference 2020-02-04 00:12:26 +01:00
ValentinTimisica 0a76fdaa58 For #7289: Adds telemetry for selecting dark theme 2020-02-03 23:20:42 +01:00
Kadeem 321251c49c Updates the hide and reveal password icons to use and tint the mozac version. 2020-02-03 23:11:41 +01:00
David Walsh ae445abff3 Small improvements, lint fixes 2020-02-03 21:01:14 +01:00
Sawyer Blatz 030f75b4df For #5892 & #6380: Updates error page template and allows SSL bypassing 2020-02-03 21:01:14 +01:00
ValentinTimisica 2026c60136 For #6834: Adds telemetry for About page items
Didn't change the existing probe for 'whats new' item because we're already
collecting that info.
2020-02-03 19:28:56 +01:00
Mihai Branescu 2a876d5e0f For #7559 - fixes 2 issues:
- The same item now doesn't recreate the activity
- The app context now contains the right locale
2020-02-03 19:24:12 +01:00
Mihai Branescu 1b7cb117ca For #7559 - allows changing locale even after setting theme with
AppCompatDelegate.setDefaultNightMode(mode). The override is necessary because the uiMode needs
to be manually updated after changing theme
2020-02-03 19:24:12 +01:00
Sawyer Blatz 1372ed5837 For #7970: Updates snackbars for accessibility 2020-01-31 16:24:36 +01:00
David Walsh f728cdaf05
Bug 7189 - Provide page title in website information dialog (#7255)
* Bug 7189 - Provide page title in website information dialog

* Update QSFS test

* Fix Tiger's nits
2020-01-30 11:24:53 -08:00
Sawyer Blatz 94447657c4 No issue: Fixes strings for data migration 2020-01-30 11:29:50 +01:00
Mihai Adrian 24396d174f
For #6980: Add What's new card (#7952) 2020-01-29 08:50:11 -08:00
Mihai Branescu b3d99c6bba
For #7679 - Replaced comparison by reference with value, added check for default in order to avoid double checkmark (example: default + English) (#7729) 2020-01-28 19:22:04 +02:00
Sören Hentzschel 8a7c7fd06f For #7730 - always show "Add private browsing shortcut" in sett… (#7943) 2020-01-27 08:44:28 -08:00
ValentinTimisica 154e11841a Fixes #7881: Send telemetry event when custom search engine is deleted 2020-01-27 12:04:28 +02:00
Sebastian Kaspari 18244cef51 Closes #7762: Initialize Glean later in Fennec builds. 2020-01-26 11:53:26 +01:00
Jonathan Almeida 40e72a7b28 For #7524: Remove DeviceConstellation polling from onResume (#7908) 2020-01-25 11:04:24 -08:00
Mihai Adrian 622fdadde8 For #7272: Show info when saved logins list is empty. (#7891)
* For #7272: Show info when saved logins list is empty

* For #7272: Updated unit tests
2020-01-24 18:13:44 -08:00
Emma Malysz 5e9b753acb For #7473, delay inflation of toolbar
Improve performance of HomeActivity.onCreate by delaying this inflation.
We use a ViewStub and inflate the first time the actionbar is accessed.
2020-01-24 15:21:42 -08:00
Gabriel Luong f93e141d52 For #7525 - Add telemetry for opening a top site in normal and private mode and removing a top site 2020-01-24 15:18:25 -08:00
Gabriel Luong 192eecdf5b For #6758 - Part 7: Add menu for opening a top site in private tab and removing a top site 2020-01-24 15:18:25 -08:00
Gabriel Luong 9ecb67e783 For #6758 - Part 6: Add top site view 2020-01-24 15:18:25 -08:00
Gabriel Luong f68f89f2bf For #6758 - Part 5: Add top sites to the HomeFragmentStore 2020-01-24 15:18:25 -08:00
Gabriel Luong e1863dd3c2 For #6758 - Part 4: Implement "Add to Firefox Home" browser menu item
- The "Add to Firefox Home" browser menu item adds a top site to the top site storage.
- Refactors the FenixSnackbar from BaseBrowserFragment into BrowserToolbarController
since there are multiple menu items that need to show a FenixSnackbar.
- Adds metrics for the new browser menu item.
2020-01-24 15:18:25 -08:00
Gabriel Luong 9ddf93eb7d For #6758 - Part 3: Add TopSiteStorage wrapper around AC's TopSiteStorage
This follows the existing pattern around TabCollectionStorage.
2020-01-24 15:18:25 -08:00
Sebastian Kaspari 9a15103a20 Issue #7762: Enable glean based on setting for non-fennec builds. 2020-01-23 16:32:15 +01:00
Severin Rudie 44e4d8e12c
No issue: clarify naming for showing a prompt to allow search suggestions (#7870) 2020-01-22 19:08:07 -08:00
Emily Kager a39a9e5b4e No issue: Enable about:config in beta builds 2020-01-22 16:34:51 -08:00
David Walsh 1ee0243efa Fix 4021 - Provide tab title during share 2020-01-22 14:42:27 -08:00
ekager c556e819bd For #5586 - Add telemetry for save logins setting 2020-01-22 14:19:12 -08:00
Emily Kager 7adb5b6084 For #6812 - Navigate via openToBrowser to selected session from search 2020-01-22 14:13:16 -08:00
Sawyer Blatz e1722b95b3 No issue: Fixes ErrorResponse instantiation 2020-01-22 11:47:51 -08:00
Arturo Mejia 310da6c1ea No Issue: Add support for deleting individual tracking protection
exceptions on nightly.
2020-01-22 11:47:51 -08:00
Chenxia Liu f726b03792 Fix breaking changes from new TrackingProtectionException 2020-01-22 11:47:51 -08:00
Sawyer Blatz 20396f78a9
For #7698: Adds search back button animation (#7840)
* For #7698: Adds search back button animation

* Refactor for searchController
2020-01-22 11:15:30 -08:00
Michael Comella e25ee98d7d No issue: fix typo in Performance.instrumentColdStartup... (#7848) 2020-01-22 02:36:16 -05:00
Kaaira Gupta 08cce8cf58 for #7421 :removed collection from clear browsing history 2020-01-21 19:00:59 -08:00