2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-07 15:20:38 +00:00
Commit Graph

5063 Commits

Author SHA1 Message Date
Elise Richards
2b0e65422c [fenix] For https://github.com/mozilla-mobile/fenix/issues/17084: Use in-app browser switching dialog (https://github.com/mozilla-mobile/fenix/pull/17628)
Co-authored-by: hakkikaancaliskan <caliskanhkaan@gmail.com>
2021-01-25 16:16:24 -06:00
Elise Richards
fcf3c5f57a [fenix] For https://github.com/mozilla-mobile/fenix/issues/16485: Tabs tray grid view telemetry (https://github.com/mozilla-mobile/fenix/pull/17442)
* Tabs tray CFR telemetry interactions

* Create CFR events and implementation

* Tests for tab tray controller
2021-01-25 15:25:56 -06:00
Sebastian Kaspari
086174a280 [fenix] Refactor ExternalAppBrowserActivity and ExternalAppBrowserFragment to not use Session(Manager). 2021-01-25 13:13:26 -05:00
Arturo Mejia
a1246d05f8 [fenix] Remove external download manager FeatureFlags 2021-01-25 13:00:22 -05:00
Arturo Mejia
03c174437d [fenix] Remove autoplay indicator FeatureFlags 2021-01-25 12:04:06 -05:00
Oana Horvath
f4db4f019f [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615 & https://github.com/mozilla-mobile/fenix/issues/11191: re-enabled ReaderViewTest and added a UI smoke test 2021-01-25 16:16:43 +02:00
Mozilla L10n Automation Bot
d9278db1f3 [fenix] Import l10n. 2021-01-25 00:30:42 +00:00
Mozilla L10n Automation Bot
87c97330a7 [fenix] Import l10n. 2021-01-24 00:26:08 +00:00
Mozilla L10n Automation Bot
da5db93b35 [fenix] Import l10n. 2021-01-23 00:34:07 +00:00
Jonathan Almeida
978929f23e [fenix] Fix breaking APIs in ActivityResultHandler 2021-01-22 16:45:35 -05:00
Christian Sadilek
2ff0c55027 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/17473: Intermittent failues of PwaOnboardingObserver 2021-01-22 16:44:36 -05:00
Gabriel Luong
4c2c27d82a [fenix] For https://github.com/mozilla-mobile/fenix/issues/17304 - Implement top site search engine attribution (https://github.com/mozilla-mobile/fenix/pull/17580) 2021-01-22 14:23:46 -05:00
Sebastian Kaspari
8eaf1f7a82 [fenix] Revert "For https://github.com/mozilla-mobile/fenix/issues/17044: Explicitly set a new default engine when default is deleted."
This reverts commit 09f8e82e35f56b35865a67fd4dd4a9b0997b923d.
2021-01-22 20:10:03 +01:00
Oana Horvath
d193e6a919 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI smoke test mainMenuInstallPWATest 2021-01-22 10:25:03 +02:00
Mozilla L10n Automation Bot
675ac17056 [fenix] Import l10n. 2021-01-22 00:28:04 +00:00
Michael Comella
dc4c091f2c [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/17451: remove verbose logs with proguard. 2021-01-21 18:31:25 -05:00
ekager
42c74bcd44 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17542 - Removes flash on renaming top site and fixes title not being updated 2021-01-21 16:10:04 -07:00
William Durand
cd40b8510e [fenix] Add new BuildConfig variables to support AMO non-production envs 2021-01-21 17:42:55 -05:00
fevziomurtekin
60586d8c37 [fenix] For issue: https://github.com/mozilla-mobile/fenix/issues/16394 Fix UI for consider increasing some elements from ETP-Exceptions page 2021-01-21 16:59:42 -05:00
Jonathan Almeida
c7483a0edb [fenix] Use a smaller request code for WebAuthnFeature
We can't see the private API that we interact with on the OS, but after
some internal investigation it appears that there might be an upper
limit to the request code we can use.

For now, let's try a value similar to that use in the GVE code to see
our requests are failing because of that.
2021-01-21 11:37:18 -05:00
Christian Sadilek
73abe98ba7 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/17548: Remove SessionManager reference from TabTrayDialogFragment 2021-01-21 11:12:16 -05:00
Christian Sadilek
525bf428b4 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/17548: Remove SessionManager reference from TabHistoryDialog 2021-01-21 11:12:16 -05:00
Christian Sadilek
98865d66b0 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/17548: Remove SessionManager reference from FenixTabsAdapter 2021-01-21 11:12:16 -05:00
Oana Horvath
3f211fe90b [fenix] For https://github.com/mozilla-mobile/fenix/issues/17309, https://github.com/mozilla-mobile/fenix/issues/13447, https://github.com/mozilla-mobile/fenix/issues/14534 UI tests: changed the way page Url is verified 2021-01-21 10:07:13 +02:00
Codrut Topliceanu
2f57dcfdac [fenix] For https://github.com/mozilla-mobile/fenix/issues/17481 - Remove unused long_press_tapped metric (https://github.com/mozilla-mobile/fenix/pull/17544) 2021-01-21 10:02:26 +02:00
Mozilla L10n Automation Bot
4c29292d49 [fenix] Import l10n. 2021-01-21 00:31:24 +00:00
AndiAJ
b6a6e4ae41 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI Smoke Tests for No history in PB and Add to home screen 2021-01-20 18:08:43 +02:00
mcarare
2042857a3c [fenix] For https://github.com/mozilla-mobile/fenix/issues/17044: Explicitly set a new default engine when default is deleted. 2021-01-20 17:33:35 +02:00
Codrut Topliceanu
b309321f54 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17377 - Fix for empty awesomeBar on searchFragment open (https://github.com/mozilla-mobile/fenix/pull/17435)
The awesomeBar was set to stay hidden for the first consumeFrom(store) if the SearchDialogFragment.kt. However, recent changes send an additional store update when the view is created. To work around it we can take a look at AwesomeBarView.update(), we see that the awesomeBar suggestions get provided only if the query != url. So we can use the same method to keep the awesomeBar hidden until the user changes anything in the url.
2021-01-20 14:18:59 +02:00
Mozilla L10n Automation Bot
92c425a71c [fenix] Import l10n. 2021-01-20 00:36:23 +00:00
Kate Glazko
e511381cf3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15181: Remove All Downloads From Settings 2021-01-19 14:21:44 -08:00
Christian Sadilek
23496ce12b [fenix] Refactor QuickSettingsDialog to use browser store 2021-01-19 17:19:51 -05:00
Arturo Mejia
f42b3c2e14 [fenix] Add dot notification for autoplay blocked content 2021-01-19 15:04:58 -05:00
mcarare
2614789acf [fenix] For https://github.com/mozilla-mobile/fenix/issues/14011: Remove new line character and spaces from string. 2021-01-19 15:41:10 +02:00
Jonathan Almeida
1017c1b136 [fenix] Add experimental WebAuthn support for Nightly only
When testing out WebAuthn support with the privileged API,
we need our app to be signed by an allowed signing key.

We're seeing our tests fail with this error when testing locally:

```
  [FidoApiImpl] updateTransaction is called for stop
  [FidoApiImpl] finishSecurityKeyRequestController should not be called when SecurityKeyRequestController is null.
```

Our theory is that if we try this code on our signed APK, we should see
it work.
2021-01-19 07:54:58 -05:00
AndiAJ
297dbc109e [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI Smoke Tests for Tabs Tray 2021-01-19 11:38:18 +02:00
Christian Sadilek
5964b07cca [fenix] Refactor OpenSpecificTabIntentProcessor to use browser store 2021-01-18 17:54:47 -05:00
Christian Sadilek
4e51c77671 [fenix] Remove SessionManager from TrackingProtectionPanelDialogFragment 2021-01-18 15:55:42 -05:00
Christian Sadilek
5e4d04bc5e [fenix] Refactor CrashReporterFragment to use browser store 2021-01-18 15:33:57 -05:00
Christian Sadilek
0580d3a540 [fenix] Switch to use case when selecting tab for extensions 2021-01-18 15:12:34 -05:00
Christian Sadilek
483d03a98b [fenix] Remove unused NotificationsIntentProcessor 2021-01-18 15:12:34 -05:00
Christian Sadilek
f2dd0f0a18 [fenix] Remove unused SessionManager reference from RecentlyClosedController 2021-01-18 15:12:34 -05:00
Jonathan Almeida
e76960b389 [fenix] A-C 71.0.20210118134928: Fix breaking API in TabCounterToolbarButton 2021-01-18 13:03:21 -05:00
Sebastian Kaspari
4e676267b7 [fenix] SearchDialogController: Pass tab ID instead of Session instance. 2021-01-18 12:57:40 -05:00
MickeyMoz
0dc93ba95f [fenix] Update Android Components version to 71.0.20210117143132. 2021-01-18 13:56:48 +01:00
AndiAJ
f14cc65106 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI Smoke Tests for Bookmarks
For https://github.com/mozilla-mobile/fenix/issues/16615: UI Smoke Tests for Bookmarks
2021-01-18 14:55:05 +02:00
Oana Horvath
bb689c53d5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: Collections UI smoke tests 2021-01-18 10:08:43 +02:00
Michael Comella
0c54ed58ab [fenix] For https://github.com/mozilla-mobile/fenix/issues/17447: add intentional delay to cold start up in debug and nightly.
I validated:
- that the log statement appeared in Nightly but not in Beta.
- that the local runtimes of our perftest increased (the median diff is 124ms)
2021-01-17 18:38:12 -08:00
Arturo Mejia
905f243ceb [fenix] For issue: https://github.com/mozilla-mobile/fenix/issues/16846 Add ui for controlling exceptions for auto play 2021-01-15 15:51:31 -05:00
Sebastian Kaspari
8bc1202159 [fenix] Add unit tests for FennecWebAppIntentProcessor. 2021-01-15 14:35:16 -05:00
Mugurell
426ed78138 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16519: Add space above Delete History button (https://github.com/mozilla-mobile/fenix/pull/17492)
add space above Delete History button

Co-authored-by: Jocelyne Abi Haidar <jocelyne.ah1@gmail.com>
2021-01-15 11:20:49 -05:00
Sebastian Kaspari
8a7505843a [fenix] Migrate some "selected tab" reads from SessionManager to BrowserStore. 2021-01-15 16:52:59 +01:00
Arturo Mejia
82847b2b61 [fenix] For issue https://github.com/mozilla-mobile/fenix/issues/17457: Prevent page refresh when tapping the security icon 2021-01-15 10:18:59 -05:00
codrut.topliceanu
df625cd8b9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16238 - Back button now dismisses Suggested Logins
By using PromptFeature's onBackPressed the user can now press back to dismiss the Suggested Logins prompt without inadvertently navigating back
2021-01-15 10:17:05 -05:00
Mozilla L10n Automation Bot
556fac6f3a [fenix] Import l10n. 2021-01-15 14:33:24 +00:00
mcarare
c86f6fdbb5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/10417: Improve reload collection tab testing. 2021-01-15 15:30:48 +02:00
mcarare
997f1f9454 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17400: Select tab opened from collection. 2021-01-15 15:30:48 +02:00
mcarare
34413d3dc8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16393: Don't show divider above general category when not signed in 2021-01-15 15:28:58 +02:00
Christian Sadilek
b0f7acdaff [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/17443: IllegalStateException in startPostponedEnterTransition on HomeFragment 2021-01-14 12:55:00 -05:00
isabelrios
0f6e44f7bc [fenix] Changes to run tests on beta builds (https://github.com/mozilla-mobile/fenix/pull/16786)
* Changes to run tests on beta builds

* remove dontoptime and fix bookmarks tests

* fix ktlint and smokeTest

* add variable for package name

* rebase and fix conflicts

* add yml files and modify script to run tests

* fix yml file indentation

* changes in kind file and add try_task

* fix error kind file

* fix error kind file 2

* fix error kind file 3

* fix reviewer comments

* remove mockwebserver implementation as per reviewer comment

* run beta tests only on releases branches

* reg exp for master branch

* reg exp for master branch2

* modify try_task with release branch

* remove try file

* let's start by running only one test

* address latest reviewers comments

* double check correct tasks for release branch

* remove try file after confirming beta build run

Co-authored-by: isabel rios <isabelrios@MBP-de-isabel-2.home>
2021-01-14 15:47:36 +01:00
Christian Sadilek
1677bb0fc7 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/17441: NPE when invalidating toolbar in response to reader changes 2021-01-13 16:52:52 -05:00
jhugman
152e140c55 [fenix] SDK-158 Use disabled/no-op version of Nimbus object to eliminate unnecessary Rust call (https://github.com/mozilla-mobile/fenix/pull/17372) r=christian 2021-01-13 18:26:06 +00:00
Arturo Mejia
e5956c919f [fenix] For https://github.com/mozilla-mobile/fenix/issues/16847: Allow autoplay to controlled via the toolbar. 2021-01-13 15:51:49 +01:00
Sebastian Kaspari
21e848692d [fenix] Update to latest feature-intent and feature-recentlyclosed APIs (and update Android Components). 2021-01-13 15:51:49 +01:00
Oana Horvath
ecdf3415d2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI smoke test editCustomSearchEngineTest 2021-01-13 14:39:20 +02:00
hakkikaancaliskan
9954d20d0a [fenix] For https://github.com/mozilla-mobile/fenix/issues/12732: Match notification accent color with app theme 2021-01-12 10:31:38 -05:00
Mihai Adrian Carare
cca00bd8eb [fenix] For https://github.com/mozilla-mobile/fenix/issues/13522: Also remove history entries from tab history. (https://github.com/mozilla-mobile/fenix/pull/17392)
* For https://github.com/mozilla-mobile/fenix/issues/13522: Also remove history entries from tab history.

* For https://github.com/mozilla-mobile/fenix/issues/13522: Test that deleting history also removes it from tab history.
2021-01-12 09:13:24 -05:00
AndiAJ
b8f819b12c [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI Smoke Tests for Recently Closed Tabs 2021-01-12 14:38:09 +02:00
Mozilla L10n Automation Bot
244a3aa65b [fenix] Import l10n. 2021-01-12 00:25:09 +00:00
Oana Horvath
5ac58d8b6e [fenix] For https://github.com/mozilla-mobile/fenix/issues/10798 & https://github.com/mozilla-mobile/fenix/issues/14526: Apply auto-download test file fix for download UI tests 2021-01-11 18:42:11 +02:00
Oana Horvath
e4659fac17 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI smoke test manageDownloadsInDownloadsMenuTest 2021-01-11 18:42:11 +02:00
mcarare
9a85144210 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8716: Authentication custom tab now considers browsing mode. 2021-01-11 17:28:10 +02:00
Mozilla L10n Automation Bot
e59185043f [fenix] Import l10n. 2021-01-11 12:43:17 +00:00
Mozilla L10n Automation Bot
6fbc5c55f3 [fenix] Import l10n. 2021-01-10 00:27:09 +00:00
Christian Sadilek
3e346542f4 [fenix] Update Android Components version to 71.0.20210108190105 2021-01-08 16:10:23 -05:00
Suraj Shah
6deab13155 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16271 - Fixes ripple being cut-off in Saved logins sort toolbar (https://github.com/mozilla-mobile/fenix/pull/16741) 2021-01-08 13:06:15 -05:00
Mugurell
8fd1fbcb80 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16249 - ClipboardHandler cleans up returned text 2021-01-08 11:14:56 +02:00
mcarare
90eb9cfad5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17117: Use proper custom tab session for custom tab toolbar menu. 2021-01-08 09:27:02 +02:00
Mozilla L10n Automation Bot
3e69252df2 [fenix] Import l10n. 2021-01-08 00:25:50 +00:00
Arturo Mejia
b3f74a3d66 [fenix] Closes issue https://github.com/mozilla-mobile/fenix/issues/16945 Refactor TrackingProtectionOverlay to observe session via store. 2021-01-07 17:23:13 -05:00
Christian Sadilek
edc8c3c7f6 [fenix] Use new RestoreUseCase in A-C to handle tab timeouts 2021-01-07 15:50:54 -05:00
Mozilla L10n Automation Bot
5f8343ec55 [fenix] Import l10n. 2021-01-07 00:31:02 +00:00
Arturo Mejia
72e6e7e69e [fenix] Closes issue https://github.com/mozilla-mobile/fenix/issues/16944 Refactor TrackingProtectionPanelDialogFragment to observe session via store. 2021-01-06 12:36:02 -05:00
mcarare
d9e06f581a [fenix] For https://github.com/mozilla-mobile/fenix/issues/15464: Always dismiss search dialog on url committed. 2021-01-06 08:58:17 +02:00
Hakkı Kaan Çalışkan
39c21ff474 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17303: Move ext fun runIfFragmentIsAttached to utils
move to ext
2021-01-05 21:55:45 -08:00
Gabriel Luong
9a60af122f [fenix] For https://github.com/mozilla-mobile/fenix/issues/16790 - Allow top sites to have an empty name when renamed (https://github.com/mozilla-mobile/fenix/pull/17290) 2021-01-05 16:59:41 -05:00
Roger Yang
4e1f40b41b [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/16603: Disable pull down when in fullscreen (https://github.com/mozilla-mobile/fenix/pull/17314) 2021-01-05 15:34:44 -05:00
Marcello Galhardo
06b2366f85 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/17118: Fix font spacing when long pressing a URL (https://github.com/mozilla-mobile/fenix/pull/17164) 2021-01-05 13:26:14 -06:00
Sebastian Kaspari
7e4471eda6 [fenix] Switch to new SessionStorage / session restore API. 2021-01-05 17:11:57 +01:00
Oana Horvath
0a937a28e6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16966: Remove unnecessary step from mainMenuAddToHomeScreenTest 2021-01-05 10:31:59 +02:00
ekager
fa25b4e258 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17177 - Do not show PBM CFR if entering search on home, make sure fragment attached before showing 2021-01-04 20:23:43 -08:00
Mozilla L10n Automation Bot
b1d2d00841 [fenix] Import l10n. 2021-01-05 00:29:50 +00:00
Roger Yang
3a9df794c1 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/17298: Turn on new MediaSession feature for all builds (https://github.com/mozilla-mobile/fenix/pull/17302) 2021-01-04 15:12:43 -05:00
Marcello Galhardo
2d3532e04f [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/14009: Fix onboarding 'Sign in to Firefox' ripple effect (https://github.com/mozilla-mobile/fenix/pull/17169)
* Closes https://github.com/mozilla-mobile/fenix/issues/14009: Fix onboarding 'Sign in to Firefox' ripple effect

* For https://github.com/mozilla-mobile/fenix/issues/14009: Add 'onboarding_padded_background_color' instead of rely on OS theme/color

Both previous solution, '?android:attr/colorControlHighlight' and '@color/ripple_material_light' were using a OS theme attr or color, which caused problems. To fix it, we introduced a 'onboarding_padded_background_color' which manually define the ripple effect color of the onboarding manual sign in button.
2021-01-04 11:55:47 -05:00
MarcLeclair
c441f2af27 [fenix] 16373 Count the # of inflations done on startup (https://github.com/mozilla-mobile/fenix/pull/16778)
* For https://github.com/mozilla-mobile/fenix/issues/16373: Added performance Inflater to counter # of inflations

This class is quite straight forward. The only thing that I have to point out is the onCreateView method. It usually
calls its super if you don't override it. The problem with that is that the super.onCreateView actually uses
android.view. as a prefix for the XML element it tries to inflate. So if we have an element that isn't part
of that package, it'll crash. As I said in the code, a good example is ImageButton. Calling android.view.ImageButton
will make the app crash. The method is implemented the same way that PhoneLayoutInflater does (Another example
is the AsyncLayoutInflater)

* For https://github.com/mozilla-mobile/fenix/issues/16373: Added test for PerformanceInflater

This test got quite awkward / complicated fast.  I wanted to test the  to make sure we don't break *any* of our layouts
and to do so, I decided to just retrieve all our XML in our /res/layout folder. However, this gets quite a bit outside of a unit test scope.
The point was to get every layouts and get their LayoutID through the resources using the testContext we have. It gets even weirder, since some
of the XML tags have special implementation in android. One of them is the <fragment> tag. That tag actually is inflated by the OS using the Factory2
that the Activity.java implements. In order to get around the fragment issue, we just return a basic FrameLayout since the system LayoutInflater doesn't deal
won't ever get a <fragment> tag to inflate. Another issue was the <merge> tag. In order to inflate those, you need 1) a root view and 2) attach your view to it.
In order to be able to test those layouts file, I had to create an empty FrameLayout and use it as the root view for testing. Again, I know this is beyond the spirit of a unit test but if we use this inflater, I think it should make sure that no layouts are broken by it.

* For https://github.com/mozilla-mobile/fenix/issues/16373: Overrode getSystemService to return PerformanceInflater

This allows PerformanceInflater to be called in every inflation to keep track of the number of inflations we do.

* For https://github.com/mozilla-mobile/fenix/issues/16373: Added UI test for # of inflations

* For https://github.com/mozilla-mobile/fenix/issues/16373: Lint fix

* For #167373: Changed the LayoutInflater cloneInContext to take this instead of inflater

The inflater parameter is set on the first call from the OS from  the Window object. However, the activity itself sets multiple factories on the inflater
during its creation (usually through AppCompatDelegateImpl.java). This means that, once we initially set the inflater with a null check, we pass an inflater
that has no factory initially. However, since we keep a reference to it, when cloneInContext was called, it cloned the inflater with the original inflater
which didn't have any factories set up. This meant that the app would crash on either browserFragment creation or any thing that required appCompat (such as
ImageView and ImageButton). Now, passing itself with a cloneInContext means we keep all the factories initially set by the activity or the fragment.

* For https://github.com/mozilla-mobile/fenix/issues/16373: Fixed code issues for PR. No behavior change

* For https://github.com/mozilla-mobile/fenix/issues/16373: fixed some code nits
2021-01-04 11:00:34 -05:00
mcarare
a1bad0fdb9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16027: Allow elements to be selected separately by a11y services. 2021-01-04 17:50:26 +02:00
Gabriel Luong
8ddbd3a470 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17292 - Remove unused static_strings (https://github.com/mozilla-mobile/fenix/pull/17293) 2021-01-04 10:36:25 -05:00
mcarare
04495bb1cc [fenix] For https://github.com/mozilla-mobile/fenix/issues/15061: Fix error text color in SyncedTabsFragment. 2021-01-04 16:42:30 +02:00
Codrut Topliceanu
b71d813d64 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11580 - Tracks text selection context menu usage (https://github.com/mozilla-mobile/fenix/pull/16968)
* For https://github.com/mozilla-mobile/fenix/issues/11580 - Tracks text selection context menu usage

Tracks Copy, Search, Select All and Share items from the text selection context menu. Uses AC's DefaultSelectionActionDelegate to achieve this.

Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
2021-01-04 16:28:01 +02:00
Marcello Galhardo
8dbc373df9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9778 - Site permission settings item height set to 48dp (https://github.com/mozilla-mobile/fenix/pull/17134) 2021-01-04 08:55:08 -05:00
Mozilla L10n Automation Bot
006415d6f3 [fenix] Import l10n. 2021-01-02 00:28:19 +00:00
Mozilla L10n Automation Bot
a69b127279 [fenix] Import l10n. 2021-01-01 00:29:19 +00:00
Mozilla L10n Automation Bot
de2a97357a [fenix] Import l10n. 2020-12-30 00:34:22 +00:00
Mozilla L10n Automation Bot
9d7a6d3fb8 [fenix] Import l10n. 2020-12-29 00:32:57 +00:00
Mozilla L10n Automation Bot
26abed1e01 [fenix] Import l10n. 2020-12-28 00:25:24 +00:00
Mozilla L10n Automation Bot
708f011ea6 [fenix] Import l10n. 2020-12-27 00:32:45 +00:00
Mozilla L10n Automation Bot
7eb0e5f928 [fenix] Import l10n. 2020-12-26 00:37:54 +00:00
Mozilla L10n Automation Bot
c645c56def [fenix] Import l10n. 2020-12-25 00:32:16 +00:00
Christian Sadilek
8cf09fd24f [fenix] For https://github.com/mozilla-mobile/fenix/issues/17073: Stop observers after test run 2020-12-24 10:27:27 -05:00
Mozilla L10n Automation Bot
5c673721f7 [fenix] Import l10n. 2020-12-24 00:35:02 +00:00
Arturo Mejia
05ded2a9cd [fenix] For issue https://github.com/mozilla-mobile/fenix/issues/13981 Use DEEP_LINK_SCHEME instead of hard-coded fenix 2020-12-23 10:47:57 -05:00
Mozilla L10n Automation Bot
9a39c5e586 [fenix] Import l10n. 2020-12-23 01:26:11 +00:00
Elise Richards
6f8721988c [fenix] For https://github.com/mozilla-mobile/fenix/issues/15703 and https://github.com/mozilla-mobile/fenix/issues/17133: allow ETP redirect trackers setting to be customized (https://github.com/mozilla-mobile/fenix/pull/17137)
* Remove ETP redirect trackers feature flag. Add category to ETP panel view.

* Add redirect tracker category to ETP custom settings
2020-12-22 11:43:04 -06:00
ekager
6211d0c2be [fenix] For https://github.com/mozilla-mobile/fenix/issues/17165 - Use application context to get notification localized strings 2020-12-22 09:39:30 -08:00
Christian Sadilek
801db47e22 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/17073: Fix intermittent failures in PwaOnboardingObserverTest 2020-12-22 11:47:58 -05:00
Oana Horvath
67edfe2343 [fenix] Code cleanup in BookmarksRobot and BookmarksTest 2020-12-22 11:55:52 +02:00
Christian Sadilek
a7e1ff2c69 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17086 https://github.com/mozilla-mobile/fenix/issues/17143: Temporarily turn off Nimbus 2020-12-21 10:45:03 -05:00
jhugman
6c27e44fa1 [fenix] No bug- protect nimbus init from StrictMode (https://github.com/mozilla-mobile/fenix/pull/17033) r=christian 2020-12-19 15:26:48 +00:00
Christian Sadilek
cb2f6a813f [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/16949: Refactor OpenInAppOnboardingObserver to use browser store 2020-12-17 11:25:29 -05:00
Oana Horvath
3827eda678 [fenix] Added a description to each smoke test 2020-12-17 14:47:07 +02:00
Oana Horvath
374a51a8af [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI smoke test noCrashWithAddonInstalledTest 2020-12-17 14:47:07 +02:00
Sebastian Kaspari
52267f2764 [fenix] Switch to new feature-tab-collections API. 2020-12-16 15:32:53 -05:00
ekager
7f5c6d46d5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/13321 - Do not hide toolbar when opening multiple bookmarks (https://github.com/mozilla-mobile/fenix/pull/17038) 2020-12-16 12:58:46 -05:00
mcarare
d75514d6fa [fenix] For https://github.com/mozilla-mobile/fenix/issues/16483: Rotate edit arrow when toolbar position is set to bottom. 2020-12-16 16:36:35 +02:00
Mugurell
4ee2151e75 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11578 - Cleanup download telemetry - metrics ping reference
These pings were implemented first as counters.
When changing to events "send_in_pings: - metrics" still remained causing
confusion.
This patch comes to remove this confusion and potential future issues.
2020-12-16 15:17:11 +02:00
mcarare
dd2085b6a0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16068: Update SUMO links. 2020-12-16 14:03:36 +02:00
Mugurell
a50340fd25 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15367 - Cleanup metrics ping reference (https://github.com/mozilla-mobile/fenix/pull/17071)
These pings were implemented first as counters.
When changing to events "send_in_pings: - metrics" still remained causing
confusion.
This patch comes to remove this confusion and potential future issues.
2020-12-16 14:00:48 +02:00
mcarare
04611dda64 [fenix] For https://github.com/mozilla-mobile/fenix/issues/17061: Prevent appBarLayout from leaking. 2020-12-16 13:53:45 +02:00
mcarare
78195c8368 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16827: Send copy url metrics correctly. 2020-12-16 13:50:38 +02:00
mcarare
4d286d91ce [fenix] For https://github.com/mozilla-mobile/fenix/issues/15369: Send synced tabs metrics correctly. 2020-12-16 13:45:55 +02:00
Oana Horvath
f2f33944df [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI smoke test redirectToAppPermissionsSystemSettingsTest 2020-12-16 10:32:04 +02:00
Kate Glazko
f7430161e5 [fenix] For https://github.com/mozilla-mobile/fenix/pull/298: Fenix Quarantine For Delete Downloads UX 2020-12-15 14:30:40 -08:00
Christian Sadilek
ac3ca9dbe3 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/17045: Crash caused by calling consumeFlow on wrong thread 2020-12-15 13:28:04 -05:00
ekager
621f31efc9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16973 - Use controller handled action instead of toolbar focus 2020-12-15 09:33:08 -08:00
Gabriel Luong
29e329d8f1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16941 - [Telemetry] Bookmark Counts (https://github.com/mozilla-mobile/fenix/pull/16942) 2020-12-15 11:30:24 -05:00
Christian Sadilek
4a0ad08ed5 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/16946: Refactor PwaOnboardingObserver to use browser store 2020-12-15 10:15:54 -05:00
Sebastian Kaspari
27f4c6b494 [fenix] Add search current/home region to debug screen. (https://github.com/mozilla-mobile/fenix/pull/17015) 2020-12-15 09:34:17 -05:00
Codrut Topliceanu
35eaf646a9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15368 - Adds telemetry for fullscreen, pip (https://github.com/mozilla-mobile/fenix/pull/16833) 2020-12-15 14:46:15 +02:00
mcarare
8ad1fdea2d [fenix] For https://github.com/mozilla-mobile/fenix/issues/16827: Add copy url from long press metrics. 2020-12-15 12:14:27 +02:00
mcarare
20cff480b7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16827: Add documentation for copy url metrics. 2020-12-15 12:14:27 +02:00
mcarare
c1216c5079 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15369: Add synced tabs usage metrics. 2020-12-15 11:36:47 +02:00
mcarare
1e9604d03a [fenix] For https://github.com/mozilla-mobile/fenix/issues/15369: Add documentation for synced tabs opening metrics. 2020-12-15 11:36:47 +02:00
mcarare
86118316f8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15366: Add recently closed tabs metrics from history fragment. 2020-12-15 10:52:11 +02:00
mcarare
de2d1d9fd9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15366: Add recently closed tabs metrics. 2020-12-15 10:52:11 +02:00
mcarare
d404bd76d2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15366: Add documentation for recently closed tabs metrics. 2020-12-15 10:52:11 +02:00
mcarare
2d3fdfdf54 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16422: Handle theme for tab history bottom sheet. 2020-12-15 10:44:41 +02:00
Mugurell
6019e8c907 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15367 - DownloadsFragment telemetry (https://github.com/mozilla-mobile/fenix/pull/16728)
Adds a counter for how many times the user does the following action:
- opens the Downloads section inside the app
- tap to open an item from inside Downloads / from the download dialog
- tap to delete one or more downloads at once
2020-12-15 09:14:20 +02:00
Mugurell
cf4631c5c3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/11578 - Add telemetry for how many times we download something (https://github.com/mozilla-mobile/fenix/pull/16730) 2020-12-15 08:39:22 +02:00
mcarare
3eec6ec15f [fenix] For https://github.com/mozilla-mobile/fenix/issues/16992: Align clipboard link and text with scan button. 2020-12-14 14:34:46 -05:00
Michael Debertol
82bc38f76b [fenix] For https://github.com/mozilla-mobile/fenix/issues/4333: Open the keyboard when a search engine is selected (https://github.com/mozilla-mobile/fenix/pull/14353)
Co-authored-by: Elise Richards <erichards@mozilla.com>
2020-12-14 12:53:59 +02:00
Arturo Mejia
9a3a4faf12 [fenix] For issue https://github.com/mozilla-mobile/fenix/issues/16847 Show the autoplay icon in the toolbar 2020-12-13 19:03:01 -05:00
ekager
b5fccc3989 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16937 - Ensure FIP is removed on navigation 2020-12-11 14:51:30 -08:00
ekager
1da195c2fe [fenix] For https://github.com/mozilla-mobile/fenix/issues/16675 For https://github.com/mozilla-mobile/fenix/issues/16398 - Fix button styling 2020-12-11 14:45:37 -08:00
Jeff Boek
02a1474cff [fenix] For https://github.com/mozilla-mobile/fenix/issues/15403 - Adds a secret debug info screen in settings (https://github.com/mozilla-mobile/fenix/pull/15540)
Co-authored-by: Elise Richards <erichards@mozilla.com>
2020-12-11 16:13:37 -05:00
ekager
cbf04e3fb8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16807 - Make sure there's only one instance of search dialog 2020-12-11 11:47:30 -08:00
Elise Richards
0f3b3668db [fenix] Remove hidden fab in tabs tray (https://github.com/mozilla-mobile/fenix/pull/16972) 2020-12-11 11:01:04 -05:00
Codrut Topliceanu
28d0d32a53 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15636 - Focus a11y collection on snackbar view tap (https://github.com/mozilla-mobile/fenix/pull/16853)
With accessibility enabled, when adding a site to a collection and tapping "View" on the snackbar, we send a request for focus and an `AccessibilityEvent.TYPE_VIEW_FOCUSED` to the specified collection.
2020-12-11 14:32:37 +02:00
jhugman
2ac76ff4ce [fenix] Add withExperiment extension method to Nimbus (https://github.com/mozilla-mobile/fenix/pull/16926) r=christian, sebastian
* Fixes https://github.com/mozilla-mobile/fenix/issues/16925 Add withExperiment extension method to Nimbus
* Don't call Nimbus at all if not enabled by FeatureFlag
2020-12-10 17:34:31 +00:00
Oana Horvath
55a253d5c1 [fenix] Fix https://github.com/mozilla-mobile/fenix/issues/16960 & https://github.com/mozilla-mobile/fenix/issues/16959: updateSavedLoginTest, swipeToSwitchTabTest UI smoke tests 2020-12-10 17:09:42 +02:00
Roger Yang
9dee73b238 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/16075: Add distribution_id in telemetry startup metrics (https://github.com/mozilla-mobile/fenix/pull/16821) 2020-12-10 09:36:05 -05:00
Christian Sadilek
5e9e8eca63 [fenix] Prepare for A-C Session[Manager] observable deprecation 2020-12-10 14:40:54 +01:00
Mozilla L10n Automation Bot
edb0247634 [fenix] Import l10n. 2020-12-10 00:29:01 +00:00
ekager
361b86b5e6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16442 - Check if fragment is still attached before updating site permissions rules (https://github.com/mozilla-mobile/fenix/pull/16954) 2020-12-09 18:42:39 -05:00
jhugman
6210ff136d [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/16948: call nimbus.updateExperiments on startup (https://github.com/mozilla-mobile/fenix/pull/16950) r=gl 2020-12-09 20:18:48 +00:00
mcarare
6727d044c1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16894: Handle adding voice search button depending on state. 2020-12-09 15:38:28 +02:00
mcarare
9c15fe3321 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16775: Fallback to light mode drawable when ui mode is not resolved 2020-12-09 14:12:51 +02:00
mcarare
07366516cc [fenix] For https://github.com/mozilla-mobile/fenix/issues/15640: Remove private resources from RadioButtonPreference. 2020-12-09 14:12:40 +02:00
mcarare
fad5cfe71d [fenix] For https://github.com/mozilla-mobile/fenix/issues/15640: Remove private resources from TextPercentageSeekBarPref. 2020-12-09 14:12:40 +02:00
mcarare
f2aa43e0ca [fenix] For https://github.com/mozilla-mobile/fenix/issues/15640: Increase PrivateResource warning severity to error. 2020-12-09 14:12:40 +02:00
Mozilla L10n Automation Bot
13a35f954f [fenix] Import l10n. 2020-12-09 00:35:32 +00:00
ekager
f92d2a9ef8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16668 - Fix keyboard show/hide from search dialog fragment 2020-12-08 13:31:32 -08:00
Kate Glazko
1e7a67d0ca [fenix] For https://github.com/mozilla-mobile/fenix/issues/16541: Download UX Updates 2020-12-08 11:35:23 -08:00
Christian Sadilek
61e10d8561 [fenix] Update IntentProcessors after breaking API change 2020-12-08 14:19:01 -05:00
Emilio Cobos Álvarez
042f7dd697 [fenix] Add support for EME permission.
This accompanies the changes in https://github.com/mozilla-mobile/android-components/pull/9121.

Closes https://github.com/mozilla-mobile/fenix/issues/1175
2020-12-08 14:19:01 -05:00
Mugurell
ee96af1b9a [fenix] For https://github.com/mozilla-mobile/fenix/issues/13427 - Disable the "selected tab" decoration when in Multiselect
Selecting a tab while in Multiselect would add a different decoration to the one
already set for the last tab opened and this would confuse users.
Let's avoid this.
2020-12-08 14:19:01 -05:00
Christian Sadilek
de8ef956c8 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/11290: Refactor ToolbarMenu to use browser store 2020-12-08 14:19:01 -05:00
Roger Yang
30305ae436 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/16896: Integrate new MediaSession API to nightly or debug builds (https://github.com/mozilla-mobile/fenix/pull/16909) 2020-12-08 11:04:56 -05:00
Oana Horvath
32c0bbedc2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI smoke test updateSavedLoginTest 2020-12-08 13:46:40 +02:00
Oana Horvath
dc981275c1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: UI smoke test startBrowsingButtonTest 2020-12-08 13:46:40 +02:00
Mozilla L10n Automation Bot
984f814ba8 [fenix] Import l10n. 2020-12-08 00:39:38 +00:00
Elise Richards
bfe1ad1961 [fenix] Reload restored tabs from collection (https://github.com/mozilla-mobile/fenix/pull/16865) 2020-12-07 11:32:27 -06:00
Sebastian Kaspari
89b697a9bd [fenix] Update Android Components to 69.0.20201207103252. 2020-12-07 15:21:08 +01:00
Mozilla L10n Automation Bot
8bb43cf365 [fenix] Import l10n. 2020-12-07 00:24:53 +00:00
Mozilla L10n Automation Bot
7bddbe4097 [fenix] Import l10n. 2020-12-06 00:35:02 +00:00
ekager
4328204fc6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16397 - Fixes SignOutFragment crash and invisible button 2020-12-04 10:59:22 -08:00
Oana Horvath
5605cec052 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16615: Smoke UI test swipeToSwitchTabTest 2020-12-04 18:49:28 +02:00
Mugurell
7421ad5026 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16248 - Cleanup error pages of inlined code (https://github.com/mozilla-mobile/fenix/pull/16834)
Also streamlined the js code.
The errorPageScripts.js from AC had too much or too little of what we needed.
2020-12-04 18:47:30 +02:00
Roger Yang
2dd89dfed4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/16133: Simplify OpenInAppOnboardingObserver condition (https://github.com/mozilla-mobile/fenix/pull/16851) 2020-12-04 10:44:36 -05:00
Philipp Klein
7d2fb5c3b1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/15362: Remove swipe to delete for bookmarks (https://github.com/mozilla-mobile/fenix/pull/16646)
Removed now obsolete feature flag and tests.
Removed obsolete swipe refresh state from BookmarkFragmentState
Also adapted tests and remove obsolete ones.
2020-12-04 13:54:45 +02:00
Mozilla L10n Automation Bot
7997151b5d [fenix] Import l10n. 2020-12-04 00:37:43 +00:00
Elise Richards
198c065970 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/8791: Use A-C tab counter and upgrades to A-C 69.0.20201203202830
Upgrades to A-C 69.0.20201203202830 and addresses breaking changes:
- Upgrades androidx workmanager to 2.4.0 in line with A-C.
- RecordingDevicesNotificationFeature was removed
- SearchUseCases accept parent session ID instead of session itself
2020-12-03 17:45:01 -05:00
Codrut Topliceanu
6c07bc316f [fenix] For https://github.com/mozilla-mobile/fenix/issues/16629 - Fix for collection snackbar View button (https://github.com/mozilla-mobile/fenix/pull/16679) 2020-12-03 15:30:00 -05:00
Oana Horvath
01caa9bfaf [fenix] For https://github.com/mozilla-mobile/fenix/issues/16838: deleted mainMenuOpenInAppTest 2020-12-03 18:47:02 +02:00
Jonathan Almeida
29047c674f [fenix] Fix breaking changes from FCM SDK update 2020-12-03 11:32:40 -05:00
jhugman
1c0e70d647 [fenix] Nimbus-SDK-119 Get Nimbus server endpoint at build time. (https://github.com/mozilla-mobile/fenix/pull/16682)
This PR builds on [AC#https://github.com/mozilla-mobile/fenix/pull/9024][1], and implements setting the Nimbus endpoints from [a secret set at build time][2].

For production use, this requires a secret named `nimbus_url` to be put into CI.

Note: Nimbus is currently behind a feature flag.

If developers wish to use a Nimbus server for local development, you can set the url by adding an entry into local.properties, e.g.:

```
nimbus.remote-settings.url=https://settings.stage.moz4ws.net
```

Without setting server, Nimbus will be able to function, except no experimental definitions will be fetched, and features under experiment will be configured as if not enrolled in the experiment.

[1]: https://github.com/mozilla-mobile/android-components/pull/9024
[2]: https://groups.google.com/a/mozilla.com/g/android-components-team/c/lAGVKQy8aiA/m/rY3uGAwhBAAJ
2020-12-03 16:30:20 +00:00
jhugman
d1a41ce4cf [fenix] Adding menu configuration for A/A experiment and A/B experiment (https://github.com/mozilla-mobile/fenix/pull/16692) 2020-12-03 12:24:46 +00:00
Mozilla L10n Automation Bot
79f784b127 [fenix] Import l10n. 2020-12-03 00:38:46 +00:00
Christian Sadilek
c549b71c2a [fenix] For https://github.com/mozilla-mobile/fenix/issues/16032: Support installing recommended add-ons from AMO 2020-12-02 17:30:48 -05:00
Roger Yang
9d092df86b [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/16603: Disable pull down refresh when activity is in immersive mode (https://github.com/mozilla-mobile/fenix/pull/16793) 2020-12-02 11:40:44 -05:00
Oana Horvath
5d93a533c5 [fenix] Split UI smoke tests into smaller tests 2020-12-02 16:06:26 +02:00