2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00
Commit Graph

1632 Commits

Author SHA1 Message Date
mihai-adrian
309495f15a [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/4997: Changed navigation to ShareFragment
Changed test for new global navigation to share fragment.
2019-09-03 07:08:08 -10:00
mihai-adrian
0f119aae4e [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/4997: Changed navigation to ShareFragment
Added global navigation action to share fragment in navigation graph
Changed share action to use global navigation to ShareFragment
2019-09-03 07:08:08 -10:00
Sebastian Kaspari
61c2a0878f [fenix] Issue https://github.com/mozilla-mobile/fenix/pull/4907: Link to usage of sharedUserId in Fennec code. 2019-09-03 17:10:06 +02:00
Sebastian Kaspari
720589cbb0 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/4873: Use manifest placeholder to inject sharedUserId. 2019-09-03 17:10:06 +02:00
Sebastian Kaspari
7a554f2f4e [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/4873: Reuse sharedUserId from Fennec for fennecProduction build type. 2019-09-03 17:10:06 +02:00
Sebastian Kaspari
9a01bb2639 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/4873: Use Fennec version code mechanism for fennecProduction build type. 2019-09-03 17:10:06 +02:00
Sebastian Kaspari
b4b87eb165 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/4873: Only build fennecProduction build types with GeckoView Beta. 2019-09-03 17:10:06 +02:00
Sebastian Kaspari
c91a28030f [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/4873: Reuse Firefox application id for fennecProduction build type. 2019-09-03 17:10:06 +02:00
Sebastian Kaspari
7061d22246 [fenix] Issue https://github.com/mozilla-mobile/fenix/issues/4873: Introduce "fennecProduction" build type. 2019-09-03 17:10:06 +02:00
Colin Lee
b5615b600d [fenix] For https://github.com/mozilla-mobile/fenix/issues/5055: Crash when opening bookmarks (https://github.com/mozilla-mobile/fenix/pull/5058) 2019-08-31 17:41:50 -05:00
Christian Sadilek
c1d104a193 [fenix] For https://github.com/mozilla-mobile/fenix/issues/2088: Use new async API to load default search engine in HomeFragment 2019-08-30 17:56:18 -04:00
Sebastian Kaspari
6ac2509131 [fenix] Move creation of GeckoRuntime to flavor-specific source set.
Since we are now able to build against GeckoView Nightly and GeckoView Beta,
we should create the GeckoRuntime from a flavor-specific source set.

Creating the runtime is not covered by the AC abstraction and so API changes
in GeckoView Nightly can break the build and leaves us with no option to fix
it from a shared code base. Separating the creation of GeckoRuntime
allows us to adapt individually and also to configure the runtimes
differently.
2019-08-30 15:16:12 +02:00
Will Hawkins
2127d42c9d [fenix] Use new async API to load and access search engines
Use the new asynchronous features of the search engine
manager from a-c to avoid the latency required to load
the default search engine.
2019-08-29 18:16:02 -07:00
Mugurell
23f1395585 [fenix] For 4007 - Add unit tests for the Share Interactor, Controller and list Adapters 2019-08-29 18:12:50 -07:00
Mugurell
00a0d8db5e [fenix] For https://github.com/mozilla-mobile/fenix/issues/4007 - Add ShareController for handling ShareFragment's business logic
`ShareController` defines a contract with all possible `ShareFragment`'s
behavior changes and comes with a default implementation -
`DefaultShareController`.
It is to be delegated by all `ShareFragment`s contained Views' Interactors
following any user interactions.
2019-08-29 18:12:50 -07:00
Mugurell
051f09a15a [fenix] For https://github.com/mozilla-mobile/fenix/issues/4007 - ShareFragment will set the contained Views' state
ShareFragment which acts as a container would contain all business logic needed
for populating it's Views.
Data initialization should be done only once since the app state has no reason
to change after the ShareFragment is created and is done as soon as possible,
in onAttach().
Because of the expected short lifespan of this fragment, given the fact that
the state has no reason to change and we handle orientation changes ourselves
to keep things simple I didn't use a ViewModel to persist the state.
2019-08-29 18:12:50 -07:00
Mugurell
a8cbf8b1d8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4007 - Refactor AppShareView in standalone Share Views
In an effort to respect the initial MVI architecture I've broken the
complex `AppShareView` in 3 separate Views
- `ShareCloseView`
- `ShareToAccountDevicesView`
- `ShareToAppsView`
They are standalone Views (extending LayoutContainer) which know nothing about
each other or their parent and so offer their container the possibility to
order or display them in any form later.
According to the lib-state contract they are only responsible to
- inflate themselves in their injected containerView
- render a certain state (to be added in later commits)
- delegate all user interaction to an associated Interactor
2019-08-29 18:12:50 -07:00
Mugurell
4168f278f2 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4007 - Use camelCase for views referenced from code
As per https://github.com/mozilla-mobile/fenix/issues/4341.
Also reformatted layouts to have a more consistent style.
Also refactored `AppShareRecyclerView` and `AccountDevicesShareRecyclerView` by
defining their LayoutManager in XML to reduce code complexity.
2019-08-29 18:12:50 -07:00
Tiger Oakes
09ca0c9e48 [fenix] Add comments to AuthCustomTabActivity 2019-08-29 15:06:34 -07:00
Sawyer Blatz
90a79b82f7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/3892: Fixes help link on nightly (https://github.com/mozilla-mobile/fenix/pull/4956) 2019-08-29 13:27:50 -07:00
Mihai Adrian
d091cb2c1c [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/4894: added workaround for SDK<24 vector drawable with gradient color (https://github.com/mozilla-mobile/fenix/pull/4944)
Removed drawableStart and added ImageView in layouts
Set ImageView logo programmatically: bitmap for SDK<24, vector for SDK>=24
Added onClickPendingIntent for ImageView in large and medium layouts
2019-08-29 12:55:51 -07:00
Tiger Oakes
e4abe9cace [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/773 - Add shortcuts to homescreen (https://github.com/mozilla-mobile/fenix/pull/4925) 2019-08-29 14:45:11 -05:00
Colin Lee
b472ab03be [fenix] For https://github.com/mozilla-mobile/fenix/issues/4064: Old R8 & keep rules are inhibiting optimizations (https://github.com/mozilla-mobile/fenix/pull/4930) 2019-08-29 10:16:26 -05:00
mihai-adrian
46aec58767 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/3602:navigate to top of home screen after tapping "start browsing"
After onboarding.finish(), scrolled homeLayout to top
2019-08-29 07:45:04 -07:00
Jonathan Almeida
d8489d7350 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/4218: Remove forced registration renewal for push 2019-08-28 21:14:12 -04:00
Jonathan Almeida
818a6693f9 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4063: Remove SendTab feature flags 2019-08-28 21:14:12 -04:00
Yeon Taek Jeong
b4fa37b231 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4658: Add some private browsing mode telemetry (https://github.com/mozilla-mobile/fenix/pull/4968) 2019-08-28 14:41:37 -07:00
Sawyer Blatz
0356d7c3ec [fenix] For https://github.com/mozilla-mobile/fenix/issues/4969: Removes erroneous FxA sign up ping (https://github.com/mozilla-mobile/fenix/pull/4970) 2019-08-28 14:32:43 -07:00
Yeon Taek Jeong
cc75c0df87 [fenix] For https://github.com/mozilla-mobile/fenix/issues/2053: Add persistent notification to close all private browsing tabs (https://github.com/mozilla-mobile/fenix/pull/4913) 2019-08-28 12:55:24 -07:00
Sebastian Kaspari
a63606870c [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/4215: CustomTabActivity: Remove attached session if activity is finishing. (https://github.com/mozilla-mobile/fenix/pull/4985) 2019-08-28 11:03:04 -07:00
Emily Kager
6527ff2fcd [fenix] For https://github.com/mozilla-mobile/fenix/issues/4863 - Remove delay in HomeFragment onPreDraw 2019-08-28 13:48:14 -04:00
Suraj Shah
bde36a6d45 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/4488: Shows snackbar on bookmark deletion from edit fragment (https://github.com/mozilla-mobile/fenix/pull/4792)
* Fixes https://github.com/mozilla-mobile/fenix/issues/4488
Updates changelog

* Removes wildcard imports.

* Removes custom label in use, replaces with let
2019-08-28 10:12:39 -07:00
Sebastian Kaspari
5db6464268 [fenix] Use Mozilla Android Components 10.0.1. 2019-08-28 15:31:25 +02:00
Jonathan Almeida
dec7d9a442 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4960: Initialize push only if available (https://github.com/mozilla-mobile/fenix/pull/4964) 2019-08-27 14:15:38 -07:00
Afzal Najam
e0f503fe0c [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/4718 - Update site permissions layout (https://github.com/mozilla-mobile/fenix/pull/4953) 2019-08-27 14:07:51 -07:00
Jeff Boek
03babccbf6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4063 - Always enable the push service (https://github.com/mozilla-mobile/fenix/pull/4932) 2019-08-27 13:12:29 -07:00
Tiger Oakes
6fa3cf4a26 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/4771 - Add method for sessions of type (https://github.com/mozilla-mobile/fenix/pull/4782)
Fixes share tabs to use the new method
2019-08-27 13:04:03 -07:00
Emily Kager
d3cbb93b88 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4295 - Adds Experiments Pref to Data Collection Settings (https://github.com/mozilla-mobile/fenix/pull/4915) 2019-08-27 12:56:16 -07:00
Sebastian Kaspari
dc70e530cc [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/4431: Enable feature-media component for all builds. (https://github.com/mozilla-mobile/fenix/pull/4898) 2019-08-27 12:51:27 -07:00
Mihai Adrian
1e2fdf5cae [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/4211 changed SeekBar height to wrap_content to prevent misaligned dot (https://github.com/mozilla-mobile/fenix/pull/4832)
Changed height from match_constrained to wrap_content.
2019-08-27 12:50:00 -07:00
Emily Kager
018086c9ae [fenix] For https://github.com/mozilla-mobile/fenix/issues/4921 - Adds WindowFeature to BaseBrowserFragment 2019-08-27 15:33:59 -04:00
Arturo Mejia
eb53d10047 [fenix] Fix safe browsing API breaking change. (https://github.com/mozilla-mobile/fenix/pull/4946) 2019-08-27 13:43:22 -05:00
Aaron Train
da02c6f228 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/4926: Add basic UI test for regular/private tabs (https://github.com/mozilla-mobile/fenix/pull/4928) 2019-08-27 13:56:12 -04:00
Sourabh
d47dc7b29d [fenix] For https://github.com/mozilla-mobile/fenix/issues/4398 - add HistoryController (https://github.com/mozilla-mobile/fenix/pull/4837) 2019-08-27 10:33:40 -07:00
Mihai Adrian
c68c8a4374 [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/4440 changed padding for account_preference (https://github.com/mozilla-mobile/fenix/pull/4830)
Changed padding to default value in @android:style/Preference.Material.Category.
Also changed paddingEnd value to default value.
2019-08-27 10:26:32 -07:00
Amaan Marfatia
f42c71ccfe [fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/4067 besides snackbar (https://github.com/mozilla-mobile/fenix/pull/4777)
* Fixes https://github.com/mozilla-mobile/fenix/issues/4067 besides snackbar

Makes layout hierarchy more shallow to increase performance.

* Fix https://github.com/mozilla-mobile/fenix/issues/4067 Feedback

Make sure quick_action_overlay appears on top and use horizontal chain in tab_header.
2019-08-27 10:09:55 -07:00
Axel Hecht
118c704270 [fenix] Import strings from android-l10n
State: mozilla-l10n/android-l10n@349efdbc8f
2019-08-27 08:22:42 -07:00
Colin Lee
cdc611fec5 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4885: D8 Build failure on attempt to execute UI test (https://github.com/mozilla-mobile/fenix/pull/4903)
* For https://github.com/mozilla-mobile/fenix/issues/4885: D8 Build failure on attempt to execute UI test

* Disabled screengrab tests until AndroidX fix is available
2019-08-23 13:37:52 -07:00
Tiger Oakes
df7dc6523c [fenix] Add custom tab fragment 2019-08-23 16:12:19 -04:00
ekager
eb3c357f61 [fenix] For https://github.com/mozilla-mobile/fenix/issues/3967 - Invoke pending deletion on back pressed 2019-08-23 15:32:27 -04:00