2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-17 15:26:23 +00:00
Commit Graph

3073 Commits

Author SHA1 Message Date
Michael Comella
a4d569db34 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8803 - review: Add clarifying comments to onAppInit capture methods. 2020-04-17 09:11:58 -07:00
Michael Comella
12e7ad43c8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8803 - review: move forward metric expiration date.
We primarily want to determine if this is a problem area for us to
investigate rather than a long term measurement to keep so we should set
the expiration date accordingly. Furthermore, this code executes before
crash reporting is init so it's ideal to remove it sooner rather than
later.
2020-04-17 09:11:58 -07:00
Michael Comella
a3be78d7e8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8803: hook up frameworkStart metric. 2020-04-17 09:11:58 -07:00
Michael Comella
deafedeada [fenix] For https://github.com/mozilla-mobile/fenix/issues/8803: add StartupFrameworkStartMeasurement.
This class controls the central logic around the metrics we want to
record.
2020-04-17 09:11:58 -07:00
Michael Comella
162a93a190 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8803: add Stat and test.
We need to access the data in stat to get the process start time, so we
can calculate the time from process start until application.init for the
frameworkStart probe.
2020-04-17 09:11:58 -07:00
Michael Comella
3556b5a10f [fenix] For https://github.com/mozilla-mobile/fenix/issues/8803: add StartupTimeline ping type and framework_start metrics. 2020-04-17 09:11:58 -07:00
Emily Kager
04af2a59e8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9703 - Exit fullscreen in onPause and onSessionSelected (https://github.com/mozilla-mobile/fenix/pull/10016)
* For https://github.com/mozilla-mobile/fenix/issues/9703 - Call fullScreenChanged in onPause

* For https://github.com/mozilla-mobile/fenix/issues/10015 - Exit full screen if new session selected
2020-04-17 08:57:36 -07:00
ekager
94515941cf [fenix] Use HomeFragment viewLifecycleOwner for BrowserSessionsObserver 2020-04-16 21:00:27 -07:00
Grisha Kruglov
2a4ad0e4eb [fenix] Use HomeFragment's viewLifecycleOwner as the lifecycle for accountManager observer registry
If we just use the HomeFragment itself, we end up with a memory leak since the lifecycle events
that would clean up the registry (e.g. destroy) won't run (if the fragment is retained in the backstack, for example).
2020-04-16 21:00:27 -07:00
Mihai Adrian
b510210dce [fenix] For https://github.com/mozilla-mobile/fenix/issues/9987: Set FLAG_SECURE to dialog when flag set in activity. (https://github.com/mozilla-mobile/fenix/pull/9998)
* For https://github.com/mozilla-mobile/fenix/issues/9987: Add extension to secures dialog if parent activity is secured

* For https://github.com/mozilla-mobile/fenix/issues/9987: Set FLAG_SECURE to dialog when flag set in activity
2020-04-16 20:33:57 -07:00
mozilla-l10n-automation-bot
a384ea16d0 [fenix] Import l10n. (https://github.com/mozilla-mobile/fenix/pull/10011) 2020-04-16 20:32:21 -07:00
Emily Kager
e68491d737 [fenix] Fix: Set correct height for EditText (https://github.com/mozilla-mobile/fenix/pull/10014)
Created a dimension for the correct height that the EditText in the
fragment_edit_bookmark.xml has to have.

Co-authored-by: DrCesar <josuejacobstercero@gmail.com>
2020-04-16 20:31:25 -07:00
Mihai Eduard Badea
590a65a894 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9951 - Removed the extra empty spaces that were causing the spacing issue 2020-04-16 20:12:18 -07:00
mcarare
4010e9b64e [fenix] For https://github.com/mozilla-mobile/fenix/issues/9565: Adjust padding and height to allow longer text 2020-04-16 20:10:45 -07:00
mcarare
a697247aae [fenix] For https://github.com/mozilla-mobile/fenix/issues/9536: Update tests to check opened tab is in same browsing mode 2020-04-16 19:50:25 -07:00
mcarare
b5255177fb [fenix] For https://github.com/mozilla-mobile/fenix/issues/9536: Open report issue tab depending on current browsing mode.
Checking if session is private uses the new browser state API.
2020-04-16 19:50:25 -07:00
mcarare
86677b3bf3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9989: Add start & end margin to button. 2020-04-16 19:43:34 -07:00
Sawyer Blatz
fba1e732ef [fenix] For https://github.com/mozilla-mobile/fenix/issues/7158: Fixes browser to search animation fade 2020-04-16 14:03:26 -07:00
ekager
053f2017e6 [fenix] No issue: Uses NeutralButton for Migration Activity 2020-04-16 13:14:34 -07:00
Jonathan Almeida
1ce8e8383c [fenix] For https://github.com/mozilla-mobile/fenix/issues/8422: Add misc migration UI fixes 2020-04-16 12:02:02 -07:00
Jonathan Almeida
154ade7d64 [fenix] For https://github.com/mozilla-mobile/fenix/issues/8422: Add spacing between migration items 2020-04-16 12:02:02 -07:00
ekager
7f3ca10103 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9981 - Make Bookmark Menu UI respond to session selection 2020-04-16 10:49:16 -07:00
mcarare
880722de99 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9984: Update addon before settings visibility check 2020-04-16 10:25:37 -04:00
Mozilla L10n Automation Bot
e3712155f9 [fenix] Import l10n. 2020-04-16 10:13:30 +03:00
ekager
e4136c64d2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9516 - Adds selectable background to dialog and snackbar buttons 2020-04-16 10:13:08 +03:00
Sawyer Blatz
e33e84bcbc [fenix] For https://github.com/mozilla-mobile/fenix/issues/9857: Create button style (https://github.com/mozilla-mobile/fenix/pull/9858)
* For https://github.com/mozilla-mobile/fenix/issues/9857: Creates text button style

* Adds lint check

* Fixes onboarding cards
2020-04-15 15:49:02 -07:00
Jonathan Almeida
9a162480c2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9409: Add app icon to Leanplum push notifications 2020-04-15 17:55:12 -04:00
Jonathan Almeida
8ea49eb36a [fenix] Remove duplicate FirebasePushService
When we moved push to it's own component the class was supposed to have
been moved but git might have only picked it up as an addition.
2020-04-15 17:55:12 -04:00
Mihai Branescu
d2b9f203b4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9420 - relaxed custom engine rules (https://github.com/mozilla-mobile/fenix/pull/9967)
Allow websites that return 404 to be added
Change long query param with one with higher changes of being found
2020-04-15 13:20:06 -07:00
Michael Comella
de6bbb791a [fenix] For https://github.com/mozilla-mobile/fenix/issues/9644: restrict deps to specific repositories (https://github.com/mozilla-mobile/fenix/pull/9649)
* For https://github.com/mozilla-mobile/fenix/issues/9644: remove unnecessary leanplum maven repository.

The docs say it is [1] "only needed for Android SDK versions below 4.3.0".
That is API 18 and our min SDK is 21.

[1]: https://docs.leanplum.com/reference#android-setup

* For https://github.com/mozilla-mobile/fenix/issues/9644: move buildscript block from :app to root project.

This will reduce the amount of duplication we need in specifying
restricted dependencies and centralize repository definitions. Since
we're a one project app, it shouldn't have a significant impact on
performance.

* For https://github.com/mozilla-mobile/fenix/issues/9644: restrict dependencies following FFTV config.

However, there is a resolution error to be fixed in the next commit.

This is verbatim from FFTV except I removed the no-op "improve security
if code is refactored incorrectly" lines: these lines rarely changed and
I'm not that concerned. It might be better to simplify the
configuration.

Source:
  62a2fa680c/buildSrc/src/main/java/org/mozilla/gradle/Dependencies.kt (L7)
  62a2fa680c/build.gradle (L31)

* For https://github.com/mozilla-mobile/fenix/issues/9644: restrict firebase deps to google repo.

This fixes the resolution error from the previous PR.
2020-04-15 10:54:36 -07:00
ValentinTimisica
5504208fcd [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/9710: Vertically aligns users_count with rating (https://github.com/mozilla-mobile/fenix/pull/9950) 2020-04-15 10:51:55 -07:00
ekager
6b4334b699 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9887 - Respect screenshot setting when resetting window flags in logins 2020-04-15 09:03:26 -07:00
Jeff Boek
f35e5f3526 [fenix] No Issue - Fixes nav_graph issues (https://github.com/mozilla-mobile/fenix/pull/9926) 2020-04-15 08:34:45 -07:00
Arturo Mejia
bda6aa50f3 [fenix] For issue https://github.com/mozilla-mobile/fenix/issues/9930 Do not assume all add-ons have a settings page 2020-04-15 06:20:34 -04:00
Mozilla L10n Automation Bot
d96a6b206c [fenix] Import l10n. 2020-04-15 03:50:48 +03:00
ekager
4b5c454de7 [fenix] Update UI test to match Support Page title 2020-04-14 11:34:55 -07:00
ekager
e0a4a63d52 [fenix] Update Server.dev to Server.stage to fix A-S upgrade breaking change 2020-04-14 11:34:55 -07:00
Arturo Mejia
e5041e2fd8 [fenix] Update Android Components version 2020-04-14 11:34:55 -07:00
Arturo Mejia
f38165ad6d [fenix] No issue: Fix add-on translate() breaking change 2020-04-14 11:34:55 -07:00
ekager
3b980dadad [fenix] For https://github.com/mozilla-mobile/fenix/issues/3194 - Pause media while undo snackbar appears 2020-04-14 09:55:39 +03:00
ekager
c33ac4edc0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/204 - Remove PWA Feature Flag 2020-04-14 09:55:14 +03:00
Mozilla L10n Automation Bot
21dde5fe0b [fenix] Import l10n. 2020-04-14 09:54:30 +03:00
Jeff Boek
6308049167 [fenix] Cleans up nav_graph.xml (https://github.com/mozilla-mobile/fenix/pull/9829)
* For https://github.com/mozilla-mobile/fenix/issues/9751 - Cleans up homeFragment directions

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Uses global actions for fragments not owned by homeFragment

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Cleans up SearchFragment directions

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Removes settings action from DeleteBrowsingDataFragment

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Removes browser action from SettingsFragment

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Adds ManagePhoneFeature global action

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Clean up unused deletebrowsingfragment actions

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Cleans Up HistoryFragment actions

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Removes Home -> Search action

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Removes the Bookmark -> Browser action

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Cleans up bookmark fragment actions

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Cleans up actions from ShareController

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Removes defaultBrowserFragment to browserFragment action

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Removes about -> browser action

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Adds global action to TrackingProtectionFragment

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Removes exception -> browser action

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Removes login -> browser action

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Fixes LoginFragment directions

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Removes ExternalAppBrowser directions

* for https://github.com/mozilla-mobile/fenix/issues/9751 - Cleans up actions

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Fixes unit tests

* For https://github.com/mozilla-mobile/fenix/issues/9751 - Addresses nits in PR
2020-04-13 21:43:45 -07:00
Arturo Mejia
fa157d252b [fenix] For issue https://github.com/mozilla-mobile/fenix/issues/8520: Improve add-ons UI 2020-04-13 19:01:58 -04:00
ekager
101d815231 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9890 - Do not display full screen snackbar with toolbar padding 2020-04-13 14:56:51 -07:00
ekager
cf3f14b795 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9703 - Exit full screen on pause if pip not entered 2020-04-13 14:31:57 -07:00
Sawyer Blatz
92ea1cc5b3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9892: Set dynamicToolbarMaxHeigtht to 0 for PWAs (https://github.com/mozilla-mobile/fenix/pull/9893) 2020-04-13 13:08:08 -07:00
ekager
27adb232c7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/9692 - Fix "Install" PWA menu item labeling 2020-04-13 10:09:37 -07:00
ekager
089e2db827 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7208 For https://github.com/mozilla-mobile/fenix/issues/7212 - Update parameterized strings 2020-04-13 09:40:47 -07:00
Christian Sadilek
7ca7557c17 [fenix] Configure M2 AMO collection for Nightly/Debug 2020-04-13 10:42:39 -04:00