1
0
Fork 0
Commit Graph

2712 Commits (fc677474092cfd3e2e78b2e2e80a2c6fdb015143)

Author SHA1 Message Date
Simon Chae f99bad949e
For #8699: Add setAllInteractiveViewsClickable for add-on pending removal (#8776) 2020-02-26 14:22:42 -05:00
mcarare 314bee2abd For #8627: Add proper content description to ETP card clickable areas 2020-02-26 08:31:51 -08:00
Sebastian Kaspari 2096176fa6 Update MigrationService to use correct activity reference. 2020-02-26 11:11:12 +01:00
Grisha Kruglov 7275dd5269 Public API changes related to 0.52.0 A-S bump 2020-02-26 10:15:58 +01:00
Severin Rudie c87c837865
For #8752: fix invalid AutoplayAction crash 2020-02-26 00:37:44 -05:00
Sawyer Blatz b8d5dc4551 For #7715: Display search suggestions when pressing allow 2020-02-25 20:14:05 -08:00
Grisha Kruglov fddf77280c Remove direct A-S dependency; switch to using 'full' megazord
As far as I can tell, we never actually exercise the a-s libraries in Fenix tests currently (this was one of the presumed reasons for having a direct dependency).
In a different branch I've started work on adding end-to-end tests, but currently that's blocked on trying to figure out to load native libraries in tests (somehow, fenix's setup is different than what we have in A-C, not yet clear to me in what way).

Another reason for a direct dependency (i think) is that we needed it to configure a `fenix` megazord. This could be solved via a `support-megazord-fenix` a-c component that provides the correct transient dependencies,
but we can also just switch to use the `full` megazord instead, which is essentially what fenix megazord is at this point. A-S team wants to remove the fenix megazord, so this will help. This is what this patch does.
2020-02-25 17:30:57 -08:00
ekager 7f34204188 For #5843 - Ensure tabs pending deletion are removed 2020-02-25 16:53:52 -08:00
Sawyer Blatz 13c9c39658 For #4383: Add feature flag 2020-02-25 16:45:59 -08:00
Sawyer Blatz 009a7f3020 For #4383: Enable dynamic bottom toolbar 2020-02-25 16:45:59 -08:00
mcarare 09e0c0b447 For #8719: Keep top site item at mock width size, prevent stretching 2020-02-25 16:28:34 -08:00
mcarare 2add077ee3 For #8719: Keep RecyclerView from stretching to fill up parent width 2020-02-25 16:28:34 -08:00
Kadeem M 9f4375fdee
Disable UI test showbookmarksAndHistory (#8749) 2020-02-25 18:58:54 -05:00
ekager 310c43f664 For #7919 - Define colorControlActivated with app namespace 2020-02-25 15:41:28 -08:00
ekager f569f48b33 For #5696 - Adds basic share action to text selection context menu 2020-02-25 15:39:01 -08:00
Mugurell 4cf74ed44e For #8673 - Don't mirror the onboarding - toolbar position picker tiles
Don't mirror the images and keep the radio buttons fixed in place at the top
left corner of the images.
2020-02-25 15:38:47 -08:00
Mugurell 71aba16cbf For #8673 - Don't mirror the onboarding - theme picker tiles
Don't mirror the images and keep the radio buttons fixed in place at the top
left corner of the images.
2020-02-25 15:38:47 -08:00
ekager ffc2785c1e No issue: Add back updateThemeForSession in onResume 2020-02-25 15:35:16 -08:00
MarcLeclair 41f9311e20
For #7448: Move LP to IO dispatcher (#8558) 2020-02-25 17:55:43 -05:00
Sawyer Blatz 82979afb48 For #8743: Fix baseBrowserFragment crash 2020-02-25 14:43:59 -08:00
Sparky93 680249f724 Fix for #8722 - Update complete notification is not routing to onboarding screen
Now handling migration completed and clear states as routes to home screen.
2020-02-25 16:50:44 -05:00
ekager 511c36e191 Removes FragmentPreDrawManager changes in BrowserFragment 2020-02-25 13:38:47 -08:00
Sawyer Blatz dcc1e9fc65 No issue: Fixes swipeRefresh UI test crash 2020-02-25 11:08:41 -08:00
mcarare cc47bc4e1e For #8655: Show top site context menu below top site title 2020-02-25 10:30:15 -08:00
Arturo Mejia 959e438ff3
Initializes GlobalAddonDependencyProvider 2020-02-25 12:31:05 -05:00
Mihai Adrian beb323924b
For #8594: Show correct info in Etp settings info (#8687) 2020-02-25 09:18:27 -08:00
Sebastian Kaspari 388c7017d8 Closes #6003: MigrationProgressActivity: Always open browser. 2020-02-25 17:44:18 +01:00
Severin Rudie 69c6de7cd4
For #8411: integrate AC permissions changes (#8618) 2020-02-25 07:36:19 -08:00
Sparky93 0f609b1888 Fix for #8533 - Migration screen's buttons in the wrong place
Made a small refactor on the migration screen layout in order to correctly position the elements.
2020-02-25 13:19:09 +01:00
Simon Chae 0434e53911 For #8637: Remove setActivityTheme outside activity lifecycle scope 2020-02-24 19:48:03 -08:00
Mihai Adrian 4be693255d
For #8565: Fix updating dropdown preferences in ETP settings! (#8573)
* For #8565: Create custom SharedPreferenceUpdater for String Preferences

* For #8565: Use custom updater to correctly update DropDownPreference

* For #8565: Set default values for dropDown preferences

* For 8565: add tests for findEntriesValue

* For 8565: clarified findEntryValue

Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
2020-02-24 18:07:02 -08:00
David Walsh 342ad1bfca
For #7604 - Correct header colors in navigation bar (#8661) 2020-02-24 17:39:11 -08:00
Sebastian Kaspari fdd3d29cd4 Implement new feature-tabs API. 2020-02-24 14:35:36 +01:00
Jeff Boek cbad832b19 For #8153 - Allow web-extensions to open tabs in correct browsing mode 2020-02-24 00:24:07 -08:00
Jeff Boek dfde37baf5 Reverts For #7559 - allows changing locale even after setting theme with 2020-02-24 00:24:07 -08:00
Jeff Boek 541bcf072a Reverts all BrowsingModeManager changes 2020-02-24 00:24:07 -08:00
ekager 0d398f7d44 For #8580 - Don't change theme in initialize UI 2020-02-22 20:03:02 -08:00
ekager 37b50e08ea No issue: Disable two intermittent failing tests 2020-02-21 21:10:54 -08:00
David Walsh 72e3d5d22f Add add top margin to No Bookmarks message 2020-02-21 18:52:52 -08:00
Roger Yang 60d38057bb
Closes #8654: Fix breakage from customTabId rename (#8656) 2020-02-21 13:37:46 -08:00
Jeff Boek 26d1bd70d8 Revert "For #8460: Prevent multiple back navigation clicks."
This reverts commit b030d3ac9f.
2020-02-21 09:32:02 -08:00
Sawyer Blatz d918cfdf38 For #1901: Screenshot engineView to remove GV flash
Co-authored-by: ekager <ekager@mozilla.com>
2020-02-21 08:35:42 -08:00
Roger Yang 0630e2482f
Closes #8544: Activity should be reused when opening intents from other apps (#8547) 2020-02-21 09:02:13 -05:00
Simon Chae da0148b8bd For #8535 #8498: Allow for multiple browsingModeListeners dispatch 2020-02-20 19:50:35 -08:00
Mugurell a84b250894 For #8469 - Support rtl for onboarding - toolbar position picker
We'll mirror the toolbar position picker images and make sure the radio button
are positioned correctly in relation to them.
2020-02-20 19:49:42 -08:00
Mugurell 15e1c8dc69 For #8469 - Support rtl for onboarding - theme picker
We'll mirror the theme picker images and make sure the radio buttons are
positioned correctly in relation to them.
2020-02-20 19:49:42 -08:00
Dennis Schubert be06450dd9 Bug 1613416 - Hide "Report site issue" button in Fenix Production. 2020-02-20 19:24:56 -08:00
mcarare b030d3ac9f For #8460: Prevent multiple back navigation clicks. 2020-02-20 19:14:45 -08:00
Sawyer Blatz 2a5d774239 For #8315: Fixes flicker of search with text 2020-02-20 19:14:10 -08:00
Arturo Mejia 8b7fd3a1df
For issue #8570: Disabling uBlock and quickly opening the Settings
section cause a crash
2020-02-20 20:31:26 -05:00
Sawyer Blatz f02e06afae
For #8454 - Removes back button from the search screen 2020-02-20 18:15:47 -05:00
Mozilla L10n Automation Bot a8d3b635ba Import l10n. 2020-02-20 11:07:38 -08:00
ekager cb18049c0e For #8524 - Explicitly sets color control normal 2020-02-19 16:51:43 -08:00
ValentinTimisica 6f53020a4a Fixes #7967: Updated accessibility details for 'add search engine' screen 2020-02-19 16:50:52 -08:00
Jeff Boek f050db517c For #8552 - Fixes bug where "installing/uninstalling" was using the old pref key 2020-02-19 15:20:52 -08:00
Aaron Train 029bbd3726 Closes #8082 - Add UI tests for Top Sites
WIP

wip

WIP

WIP

WIP

WIP

fix: unused import [ktlint]
2020-02-19 11:14:46 -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
isabelrios 4582c25208
UITests: New tests for save Login prompt (#8381)
* UITests: New tests for save Login prompt

* fixing firebase timing issues when webpage loads

* adding tests for don't save and check the prompt options

* fix detekt issue

* fix reviewer comments
2020-02-19 14:23:25 +02: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
Mozilla L10n Automation Bot 6c2d6e65c3 Import l10n. 2020-02-18 18:13:51 -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
ekager 1944399f0e For #7796 - Add Gecko Beta GeckoProvider LoginStorageDelegate 2020-02-18 16:31:22 -08:00
Jeff Boek 5c6e6ddfb7 For #4807 - Always navigate to settings after deleting data 2020-02-18 13:30:32 -08:00
Lepiku 8939358f40 For #8449: Update Delete browsing data item minHeight 2020-02-18 12:55:22 -08:00
Mozilla L10n Automation Bot 6150c6bafd Import l10n. 2020-02-18 12:32:11 -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 c1f0e7bb33 For #3869 - Fixes unit tests 2020-02-18 10:10:16 -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 ccf4722c5f For #6479: Update UI test for new ETP screen 2020-02-18 09:32:43 -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
Emily Kager 39db8c9557
For #8470 - Fix Unit Tests MockKExceptions (#8471) 2020-02-17 17:13:25 -08:00
Sebastian Kaspari 2a42c30c57 Issue #8277: Move foreground drawable from drawable-v26/ to drawable/ 2020-02-17 11:37:15 +01:00
Sebastian Kaspari ba54080177 Issue #8277: Reuse app icon in widget layout.
This patch refactors the widget layouts so that we can reuse the app icon and do not have to have
another logo resource with different constraints. This will also make it easier to update the
branding in #8277 and #8278.
2020-02-17 11:37:15 +01:00
Sebastian Kaspari f1a3dffba2 Issue #5194: Reuse Fennec taskAffinity flag.
Reusing the same taskAffinity makes sure that we are launching into a potentially already
existing task from Fennec. Without that we may spawn a new task and will show up twice
in "Recent apps" - with one entry still having a fennec screenshot.
2020-02-17 11:34:13 +01: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
Kate Glazko cec52cb848 For #5073: Fix Cert Text Color 2020-02-14 11:59:00 -08:00
Sebastian Kaspari 371db0777d Optimize PNGs. 2020-02-14 09:41:54 -08:00
Sebastian Kaspari 0260ab6272 Issue #8277: Update widget preview for fennecBeta build type. 2020-02-14 16:54:08 +01:00
Mozilla L10n Automation Bot c21794408e Import l10n. 2020-02-14 16:19:54 +01:00
Sparky93 5971257669 Fix for #8430 - Migration progress bar too close to text
Reduced the margin start value of the progress bar in order to leave more space between it and the
text.

Moved hardcoded margin values into dimens resources.
2020-02-14 14:22:10 +01: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
Sebastian Kaspari d65bd4f7cd Issue #8277: Update wordmark for fennecBeta build type. 2020-02-14 07:42:59 +01:00
Sebastian Kaspari 404e1c8e0f Issue #8277: Update launcher icons for fennecBeta build type. 2020-02-14 07:42:59 +01:00
Sebastian Kaspari 893044256a Issue #8277: Update app name of fennecBeta build type. 2020-02-14 07:42:59 +01:00
Sebastian Kaspari ce309b7f16 Closes #8273: Add shortcuts.xml for fennecProduction variant. 2020-02-14 07:42:23 +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
Kate Glazko 5b28ad68b7 For #8248 Icon Wrong Color 2020-02-13 14:55: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
Mozilla L10n Automation Bot 9eb5fb5adc Import l10n. 2020-02-13 18:51:50 +01: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 0dac2fd0f4
For #8346: Update add-on-permissions fragment to be scrollable (#8352) 2020-02-12 17:19:07 -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 1f250a730d For #5905 - Fixes UI tests 2020-02-11 18:14:14 -08:00
Severin Rudie 8288739a60 Fix UI test failures 2020-02-11 18:14:14 -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
Arturo Mejia f85994e1cc For issues #8191 Increase text contrast for the "Remove" button
on installed Add-ons fragment
2020-02-11 19:54:48 -05:00
Jeff Boek 9374e66b4d
Import l10n. (#8321)
Co-authored-by: mozilla-l10n-automation-bot <54512241+mozilla-l10n-automation-bot@users.noreply.github.com>
2020-02-11 18:02:45 -05:00
isabelrios ee544dd3f1
sync-integration-history-bookmark-fenix-desktop (#7808)
clean code

remove unused import

fix reviewer comments
2020-02-11 14:19:31 -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
Vlad Baicu 0fc9459d99 Fix for #8024 - Provide activity class for the migration's service notification content intent. 2020-02-11 16:27:53 +01:00
Sawyer Blatz fc295b8855 For #5892: Update horizontal line styling 2020-02-11 12:02:16 +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
David Walsh 5c79483c7e Show horizontal divider in error pages 2020-02-10 12:26:15 -08: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
Simon Chae cb19c6e868 For #8259: Add scrollview within the nested relative layout 2020-02-10 13:32:04 -05:00
Sebastian Kaspari f0af6d6f6e Update Mozilla Android Components to 32.0.0-SNAPSHOT. 2020-02-10 17:13:58 +01:00