1
0
Fork 0
Commit Graph

535 Commits (15ff4726a0a90d7be7a89f60e706d543b969ab99)

Author SHA1 Message Date
Sebastian Kaspari 38d97fda8b Stores: Reduce visibility of reducer functions. 2019-09-03 10:09:06 -07:00
Sebastian Kaspari ac32a88d45 Rename BrowserStore/State/Action to BrowserFragmentStore/State/Action. 2019-09-03 10:09:06 -07:00
mihai-adrian fc8fc2b33d Fixes #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 9b633f7f0f 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 3abffd5d77 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
Tiger Oakes f740d4382a Closes #773 - Add shortcuts to homescreen (#4925) 2019-08-29 14:45:11 -05:00
Jonathan Almeida f25a9660e8 Closes #4218: Remove forced registration renewal for push 2019-08-28 21:14:12 -04:00
Jonathan Almeida 18ca62b887 For #4063: Remove SendTab feature flags 2019-08-28 21:14:12 -04:00
Yeon Taek Jeong d87b8a8a5c
For #4658: Add some private browsing mode telemetry (#4968) 2019-08-28 14:41:37 -07:00
Sawyer Blatz 09ed721015 For #4969: Removes erroneous FxA sign up ping (#4970) 2019-08-28 14:32:43 -07:00
Sebastian Kaspari 8608375eac Use Mozilla Android Components 10.0.1. 2019-08-28 15:31:25 +02:00
Jeff Boek bfb2beabe7
For #4063 - Always enable the push service (#4932) 2019-08-27 13:12:29 -07:00
Tiger Oakes d1964d6536 Fixes #4771 - Add method for sessions of type (#4782)
Fixes share tabs to use the new method
2019-08-27 13:04:03 -07:00
Arturo Mejia 24f79b3263 Fix safe browsing API breaking change. (#4946) 2019-08-27 13:43:22 -05:00
Tiger Oakes 66e14959ba Add custom tab fragment 2019-08-23 16:12:19 -04:00
ekager b07df9698a For #4868 - Update content description of tabs button with number of tabs 2019-08-23 09:21:32 -07:00
Tiger Oakes 79e58250fc Make `Settings.instance` private 2019-08-22 08:14:08 -07:00
Tiger Oakes c475bc87cf Move classes out of top-level package 2019-08-21 13:52:30 -07:00
Jeff Boek 68f5d211d3 For #4326 - Updates codebase to support latest version of detekt 2019-08-21 13:50:51 -07:00
Colin Lee 051ae9f584 For #3869: Switch to A-C SearchLocalizationProvider (#4858)
* For #3869: Switch to A-C SearchLocalizationProvider

* Fix test
2019-08-21 11:14:59 -07:00
Mihai Adrian df3e1bf9d3 Fixes #4795 fixed requestDesktopStateProvider value from private to desktopMode (#4810)
RequestDesktopStateProvider was taken from private instead of desktopMode
2019-08-21 09:10:06 -07:00
Tiger Oakes 33f3b14c29 Adds setters and property delegates in `Settings` (#4809)
* Change Settings to use setters

* Add delegate for shared preferences
2019-08-20 10:47:55 -07:00
Tiger Oakes ac6c1ec2ee Closes #2690 - Clean up CreateCollection viewmodel (#4731) 2019-08-20 10:45:41 -07:00
Tiger Oakes 95ef312b1e Issue #1000 - Remove isCustomTab flag (#4656) 2019-08-20 10:00:49 -07:00
Sawyer Blatz 0d4eceed56 For #2706: Refactor Glean to reduce errors (#4753)
* For #2706: Adds recording for untracked events

* For #2706: Adds key alignment to Metrics
2019-08-19 15:25:48 -07:00
Sawyer Blatz 4731977f5d
For #4421: Fixes issues with new glean events (#4816) 2019-08-19 14:49:48 -07:00
Arturo Mejia 210868f5bc Use Mozilla Android Components 9.0.0-SNAPSHOT. (#4750) 2019-08-19 10:29:10 -07:00
Emily Kager 7d02354f4f For #4799 #4790 - Don't use passed in sessions in BrowserToolbarController (#4800) 2019-08-18 20:36:40 -05:00
Colin Lee d1aed157dd
For #4686: Fix potential security issue (#4764) 2019-08-16 16:50:54 -05:00
Sawyer Blatz b7ca520787 For #4421: Adds Leanplum events and attributes (#4626)
* For #4421: Adds Leanplum events and attributes

* For #4421: Adds Leanplum deep links
2019-08-14 13:48:45 -07:00
Yeon Taek Jeong 67f3b63ae5
For #4421: Add search widget attribute to Leanplum (#4694) 2019-08-14 12:00:29 -07:00
Yeon Taek Jeong f5ffe3734c
For #4457: Adds telemetry for search widget actions (#4714) 2019-08-14 11:39:54 -07:00
Colin Lee 5b4a441bcb For #1667: Screen reader can't reach other UI items when QAB expanded (#4695) 2019-08-14 09:56:29 -07:00
Sebastian Kaspari d03c15d15c Issue #4431: Integrate feature-media component (Nightly and debug builds only). (#4683) 2019-08-13 15:02:20 -05:00
Sawyer Blatz 0ec92d716f
For #4123: Adds telemetry for quick action open in app (#4629) 2019-08-09 13:51:12 -07:00
Yeon Taek Jeong 69434a765f Fix most issues 2019-08-09 13:39:51 -07:00
Tiger Oakes 52542708aa Consodilate private browsing code 2019-08-09 11:00:41 -07:00
Jonathan Almeida 23f5ac0fb9 For #4066: Create InflationAwareFeature for lazy inflation 2019-08-09 11:48:55 -04:00
Colin Lee 519c3bde5d For #4066: Provide lazy inflation of Find In Page View 2019-08-09 11:48:55 -04:00
Christian Sadilek e26570054a Suppress warning in LeanplumMetricsService to fix release builds 2019-08-08 15:17:12 -04:00
Colin Lee ef97173cd9
For #4529, #4427: Resuming after restoring instance state breaks UI (#4571)
* For #4529, #4427: Resuming after restoring instance state breaks UI

* Clear up warnings
2019-08-08 11:05:01 -05:00
Sawyer Blatz ff6e9bccb7
For #4451: Adds tests for DefaultBrowserToolbarController (#4493)
* For #4451: Adds tests for DefaultBrowserToolbarController

* Continue working

* Large refactoring of test

* Mock analytics

* Fix merge conflicts
2019-08-08 09:02:42 -07:00
Emily Kager 0b98d43c23 Closes #4602 - Add back transitions 2019-08-07 16:56:21 -07:00
Sawyer Blatz 4566bd6fba Fixes feedback 2019-08-07 16:41:29 -07:00
Sawyer Blatz 4d14735935 For #3060: Adds Leanplum attributes for fxa syncing 2019-08-07 16:41:29 -07:00
Sawyer Blatz 9d65e665e5 No issue: Removes deprecated usage of ViewModelProviders 2019-08-07 19:21:41 -04:00
Sawyer Blatz 969d17b4a9
For #969: Adds more telemetry for collections (#4539) 2019-08-07 16:05:20 -07:00
Sawyer Blatz da06b0fb15
For #4508: Treats warnings as errors (#4543) 2019-08-07 14:00:53 -07:00
Grisha Kruglov f23f3b7489 Closes #4467: Use a-c version of FirefoxAccountsAuthFeature 2019-08-07 13:42:39 -07:00
Sawyer Blatz f9288c7fbd
For #969: Finalizes collections telemetry (#4592) 2019-08-07 10:26:52 -07:00
Jonathan Almeida ec96d134ff No issue: Fix breaking AccountObserver API 2019-08-02 13:40:50 -04:00
Sawyer Blatz 29f089c414 For #2203: Polishes BrowserToolbarMenu 2019-08-02 13:40:50 -04:00
Jeff Boek e4700f76c6 For #3886 - Uses `defaultDeviceName` for the `DeviceConfig` device name 2019-07-31 21:34:21 -07:00
Sawyer Blatz 97f7d5ba87 For #2267: Fixes telemetry for reader view (#4328) 2019-07-31 17:58:37 -07:00
Sawyer Blatz 2e7a61860a For #969: Adds more telemetry for collections (#4358) 2019-07-31 17:07:41 -07:00
Jonathan Almeida 4922e5d09d No issue: Move PublicSuffixList to root component
With the PublicSuffixList class in Utilities, the first instantiation
of it (prefetching in onCreate), causes the Utilities to instantiate
and thus slowing down startup by needing the SearchEngineManager from
instantiating as well.

Moving this back to the root component fixes the immediate perf issue.

Co-authored-by: Will Hawkins <whh8b@obs.cr>
2019-07-31 17:01:14 -07:00
Will Hawkins ed31d990a4 No Issue: Move notification manager to member of background services
Instead of taking notification manager as a parameter
(from the utils class), create one private to the
BackgroundServices class. This means that we do not need
to create the entirety of utilities just to use
the notification manager.
2019-07-31 16:11:46 -07:00
ekager 4494e40dbc For #4137 - Adds pagination to the history view 2019-07-31 14:35:33 -07:00
Jonathan Almeida 90b1e5c262 Closes #4355: unsubscribe FxA subscription on logout 2019-07-30 22:27:12 -04:00
bloslo 8ff77b90f3 For #3886 - Change default device name to show the app name. (#3916)
* Fix default device name to show the app name.

* Add string resource with placeholders.

* Wrap line that triggers MaxLineLength lint issue.
2019-07-30 10:28:19 -07:00
Sawyer Blatz 6fa022c2f8
For #4124: Migrate BrowserToolbar to Libstate (#4279)
* For #4124: Migrate BrowserToolbar to Libstate

* Restores QuickActionSheetReducer

* Improve tests

* Make QuickActionSheetController

* Finalize tests

* Breaks out QuickActionSheetState

* Fix comments

* Adds BrowserStoreTest
2019-07-29 12:39:36 -07:00
Tiger Oakes 87d8f3b037 Remove redundant super calls 2019-07-29 10:22:53 -07:00
Tiger Oakes c2e6e25bef Fixes #4005 - Move getColorFromAttr to Context 2019-07-26 16:44:11 -04:00
Jonathan Almeida c8148e61d5 No issue: Reset push subscriptions 2019-07-26 13:50:57 -04:00
Colin Lee 3dc20543e3
For #4128: Migrate Bookmarks to LibState (#4254) 2019-07-25 21:55:51 -05:00
chiragmantri 9bbd14a542 removed unused import. 2019-07-25 14:36:36 -04:00
chiragmantri 945b1ee274 [#4089] Moved PublicSuffixList to a sub-component(Utilities) class. 2019-07-25 14:36:36 -04:00
Jonathan Almeida 1026a92f32 Update to use Mozilla Android Components 6.0.0 2019-07-23 17:55:39 -04:00
Jonathan Almeida 2531e9dd62 No issue: Use correct server host and force subscribe for push 2019-07-23 17:55:39 -04:00
Tiger Oakes 3c99c8540f Switch to new intent processors 2019-07-23 12:33:02 -04:00
Jonathan Almeida 5ecdce6ba6 Closes #4171: Do not pause deviceEventObserver on lifecycle events 2019-07-19 14:00:26 -07:00
Nikit Bhandari f110ba2861 use synthetic binding instead of findviewbyid 2019-07-19 16:51:26 -04:00
Jonathan Almeida d298b5f2f5 Closes #4075: Add Feature Flag class (#4077) 2019-07-18 17:20:12 -07:00
Sawyer Blatz 13198f56df For #969: Adds telemetry for collections (#3935) 2019-07-18 16:05:42 -07:00
Sawyer Blatz e544827e83 For #2267: Adds telemetry for reader mode (#3941) 2019-07-18 15:17:15 -07:00
Tiger Oakes edb0a3ed08 For #3633 - Update StoreProvider to use a callback
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
2019-07-18 18:16:49 -04:00
Jeff Boek e294521c92
Fix search metrics (#4150)
* For #4082 - Changes lifecycles for metrics

* For #4082 - Replaces the SearchEngine name with the identifier for
countLabel
2019-07-18 14:35:34 -07:00
Tiger Oakes 981b6b5b02 For #4124 - Remove browser toolbar editing code 2019-07-18 15:40:33 -04:00
James Hugman 62850430b7 Closes AC#3695 - Add UI to open current page in external app 2019-07-18 15:33:31 -04:00
Emily Kager 68dae52fd1 Closes #3332 - Do not alter text of hosts of tabs in collection 2019-07-17 09:02:30 -07:00
Sawyer Blatz 11d36b5a00
For #2362: Adds telemetry for history (#3940) 2019-07-16 12:21:03 -07:00
Colin Lee 8855af2234
For #3615: Long pressing the address bar should not copy link (#4083) 2019-07-16 13:42:05 -05:00
Jeff Boek ec099a6e11
For #3633 - Creates generic store provider (#4060) 2019-07-15 15:54:13 -07:00
Jonathan Almeida fd7ff58ab8 No issue: Add comments on the push flag state 2019-07-15 17:42:58 -04:00
Jonathan Almeida cf9ae87d50 For #3015: Add push support for send tab 2019-07-15 16:38:49 -04:00
Sebastian Kaspari 9b1e63224c Closes #4052: Remove pending intent workaround. (#4059)
Previously we needed to set a static launch function to be invoked when the find in page
integration should be launched. Now we can access the integration class directly and
can avoid the static property that caused issues when used by multiple activities.
2019-07-15 14:15:59 -05:00
Jeff Boek e4ff70c542
For #3633 - Refactors the search screen to use lib-state
* For #3633 - Adds SearchStore

* For #3633 - Refactors AwesomeBarUIView

* For #3633 - Refactors ToolbarUIView to use lib-state

* For #3633 - Fixes a couple of state bugs

* For #3633 - Moves all user interaction to SearchInteractor

* For #3633 - Adds kdocs to SearchStore and SearchInteractor

* For #3633 - Adds documentation for the properties on SearchState
Also removes uneccessary property

* For #3633 - Creates `StateViewModel` to handle state restoration

* For #3633 - Adds a test for onTextChanged

* For #3633 - Adds tests for SearchInteractor

* For #3633 - Fixes bugs and adds documentation
2019-07-12 16:32:00 -07:00
Tiger Oakes ef8d9604ae No issue: Normalize license header comment (#3909) 2019-07-12 11:38:15 -07:00
Grisha Kruglov fe51bbcf7b Update FxA integration to new APIs 2019-07-11 13:19:37 +02:00
ekager c6c9818751 For #3240 - Create AuthCustomTabActivity to fix dead end on auth 2019-07-10 12:23:01 -04:00
Sawyer Blatz 83312b38aa
For #3175: Correctly grabs focus in search fragment (#3938) 2019-07-08 14:44:30 -07:00
Tiger Oakes 9901514766 Replace deprecated pxToDp (#3932) 2019-07-08 14:45:07 -05:00
Emily Kager f60536b13c For #3829 - Add pop up to nav_graph to browser to home nav 2019-07-03 11:29:49 -07:00
Jeff Boek 20993462e9 For #3869 - Creates a SearchLocalizationProvider that sets the region to get the correct default search engine based on a locale 2019-07-03 08:57:59 -07:00
Yeon Taek Jeong 29402a297e For #3317: Prepopulate FxA device name field with existing name (#3733) 2019-07-03 08:38:09 -07:00
Emily Kager ce2d597af3 For #203 - Adds find in page and request desktop site to custom tab menu (#3835) 2019-07-02 14:41:29 -07:00
Colin Lee eedb0fa3b2
For #2945: Launches to blank screen and hangs on Nexus 10 (#3854) 2019-07-02 14:58:28 -05:00
Sawyer Blatz dbe29ebbda
For #3174: Adds telemetry for bookmarks (#3724) 2019-07-02 08:41:20 -07:00
ekager 7fa4cf4487 Use sessionId in FIP Integration, use pendingIntent for startActivity 2019-06-28 14:00:59 -07:00
ekager 6d0a4fdb4d Revert "For #3609 - Remove FIP Integration, Use FIP Feature"
This reverts commit 428643d598e938f58a2fe4abfee417c46edec167.
2019-06-28 14:00:59 -07:00
Colin Lee 7481d52c4b
For #3505: Opening a sent tab crashes Fenix (#3507) 2019-06-27 10:47:54 -05:00
Tiger Oakes 4994554576 No issue: Adds lint exception for when statement (#3685) 2019-06-26 15:52:24 -07:00
Sawyer Blatz 309014139d For #3488: Cleans up edit mode calls (#3689) 2019-06-26 15:40:07 -05:00
Tiger Oakes 30930cdc88 Import variables referred to by path 2019-06-25 13:57:34 -07:00
Emily Kager 74111c75de For #3639 - Remove fontInflationEnabled (#3640) 2019-06-25 10:24:32 -05:00
Colin Lee ea7841b8c5 No issue: Add Sentry breadcrumbs to ease crash investigations 2019-06-24 16:21:43 -07:00
Emily Kager 084fab77d4 For #3609 - Remove FIP Integration, Use FIP Feature (#3637) 2019-06-24 15:31:32 -07:00
Emily Kager afb59251c1 For #3588 - Preload the content process when starting Gecko (#3589) 2019-06-20 13:00:22 -07:00
Grisha Kruglov 521312c6f8 Disable send tab for non-nightly, non-debug builds (#3542)
* Put deviceCapabilities list behind a SEND_TAB_ENABLED flag

* Disable SEND_TAB for non-debug, non-nightly builds
2019-06-18 16:37:50 -07:00
Jeff Boek 3b848393f7 For #981 - Adds link to mma.md to telemetry.md 2019-06-14 13:27:50 -07:00
Jeff Boek 45b096c84f For #981 - mma docs 2019-06-14 13:27:50 -07:00
Jeff Boek f323c38be0 For #981 - Adds missing Leanplum events 2019-06-14 13:27:50 -07:00
Colin Lee d5c5587a0c
For #3209: Disable shared element animations for crash temporarily (#3482) 2019-06-14 12:13:13 -05:00
Jonathan Almeida 986bc91347 For #3401: Update toolbar tab counter when view is attached
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
2019-06-13 16:12:19 -07:00
vladikoff dfe181aa0a Add application-services fretboard feature flags 2019-06-13 15:29:59 -07:00
Jeff Boek 1212887e08 For #1242 - properly record metrics (#3437) 2019-06-13 09:57:56 -07:00
Sawyer Blatz 7bcc8d576e For #2219: Inflates toolbar menu from bottom (#3389) 2019-06-12 11:17:33 -05:00
Sawyer Blatz 3e5b6ca007 For #975: Removes leakcanary and default browser telemetry (#3350) 2019-06-11 12:30:25 -05:00
Sawyer Blatz decacbfc97 For #3323 Runs PublicSuffixList synchronously 2019-06-11 09:19:51 -07:00
Sawyer Blatz c17d024452
For #975: Adds preferenceToggled event (#3316)
🤦🏼‍♂️
2019-06-10 13:56:12 -07:00
Colin Lee f7b5fc3e18
For #3186: Add environment to Sentry reports (#3261) 2019-06-10 10:55:39 -05:00
Tiger Oakes 82d2a0661b Remove deprecatd support-ktx methods (#3305) 2019-06-10 09:12:11 -05:00
Sawyer Blatz b2ca77269b
For #3251: Fixes shortcut typing (#3271) 2019-06-07 15:07:46 -07:00
Sawyer Blatz 45c509fbce
For #2648: Updates trimming of url hostname (#3191)
* For #2648: Updates trimming of url hostname

* For #2648: Fix nits
2019-06-07 09:33:07 -07:00
Emily Kager 7368a95d29 No issue: Sets up observers for tab collection changes (#3248) 2019-06-07 09:45:38 -05:00
Colin Lee 1e6da54263 For #3238: fixes race condition crash, nav destination unknown 2019-06-06 15:46:34 -07:00
Sawyer Blatz 6682386fc8 For #1242 & #975: Fixes camelcase of telemetry 2019-06-06 10:59:09 -07:00
Denys M 605a552f16 For #1366. Update toolbar search state when typing. (#2908) 2019-06-06 08:16:22 -07:00
Emily Kager 33eb26861d For #3141 For #3142 Do not try to fade BrowserFragment in transitions (#3195) 2019-06-05 20:37:58 -05:00
Emily Kager 9624964bc3 For #3087 - Adds disabled color attr (#3192)
* For #3087 - Adds disabled color attr

* Change alpha to 40%
2019-06-05 20:37:16 -05:00
Grisha Kruglov fe3c163a20 Fix how we reflect FxA state in preference
This cleans up how we're displaying account state in the main preference UI.
Before when it worked, it worked mostly accidentally.
'launch' wrapper around "update ui" methods would trigger a race condition
between binding the account pref view holder and actually updating that view
with values. Sometimes the "update view with values" would happen after view
was bound, and the UI will be correct. Most of the time it would happen before,
and so there will be nothing to update and we'd get into an inconsistent state.

This also splits up the "accountpreference" into two: account is good,
and account needs re-auth. This greatly simplifies their management.
2019-06-05 14:38:06 -07:00
Sawyer Blatz 47c14b07dd For #1190: Removes syncing items from FxA telemetry 2019-06-05 13:57:18 -07:00
Sebastian Kaspari b2d81aba43 Issue #2381: Add feature-media component and enable notification for recording devices. 2019-06-05 20:20:44 +02:00
Jeff Boek 27fdd9605b For #2395 - Adds an early return statement and documents why we copy a feature 2019-06-05 10:47:21 -07:00
Jeff Boek f26c402f0a For #2395 - Properly takes you back to where you start authentication on completion 2019-06-05 10:47:21 -07:00
Sawyer Blatz 12eabd5eb3 For #977: Listens to correct custom tab open menu fact 2019-06-05 09:34:50 -07:00
mythio 2daa75db2c Closes #3000: Replace deprecated method 2019-06-05 09:33:58 -07:00
Sawyer Blatz 8e24feefc2 For #1192: Updates detection for Lockwise 2019-06-04 11:23:18 -07:00
ekager 98a40aabd7 For #2223 , For #371 - Replace Toolbar with FIP when opened 2019-06-01 10:24:55 -07:00
Jeff Boek e15ab3f958 For #1158 - Use a dot instead of an underscore to seperate values 2019-05-31 18:15:07 -07:00
Jeff Boek a7d5cdcb9d For #2723 - Fixes theme manager 2019-05-30 16:38:31 -07:00
Sawyer Blatz 7fff475fd8 For #1679: Pause media playback when backgrounded 2019-05-30 13:06:37 -07:00
Sawyer Blatz b8c04e02e9 For #2327: Fixes nits 2019-05-30 11:45:39 -07:00
Sawyer Blatz fe50e88fc8 For #2327: Adds error state syncing 2019-05-30 11:45:39 -07:00
Grisha Kruglov 5f42a65c2a No issue: improve allowUndo
This patch fixes a few issues:
- it was an extension on a CoroutineScope, but that was quite misleading
since the Main dispatcher would be always used regardless of what dispatcher
the owning CoroutineScope was configured with.
- timing was reliant on exact value of the undocumented Snackbar.LENGTH_LONG duration
- coroutine cancellation relied on cooperation of the 'operation' suspend function,
which we can't depend on

New 'allowUndo' fully controls its timing, doesn't imply a dispatcher to its consumers,
and doesn't rely on cooperation of passed-in suspend blocks for cancellation to work.
2019-05-30 10:48:59 -07:00
Emily Kager c589e4d4c3 For #2938 - Remove save to collection from PB browsing menu 2019-05-30 08:42:20 -07:00
Emily Kager f142be8c92 Refactor new param to startInEditMode 2019-05-29 12:27:48 -07:00
Emily Kager d6c1f65d72 Start MotionLayout animation to end while navigating to search fragment 2019-05-29 12:27:48 -07:00
Emily Kager 8181705b58 Init Toolbar in edit mode so we don't see the flash 2019-05-29 12:27:48 -07:00
ekager dee3c059dc Adds Shared Transition between Home and Search 2019-05-29 12:27:48 -07:00
Grisha Kruglov 70453ef2d5 No issue: increase likelyhood of notification showing up as 'heads-up' 2019-05-29 09:52:35 -07:00
Jonathan Almeida 06bf7a4da7 For #2890: Sending tab from another device shows empty title 2019-05-27 16:39:56 -04:00
Jonathan Almeida d825011fc0 Fixes #2872: Send tab notification never dismisses (#2889) 2019-05-27 19:31:59 +02:00
Jeff Boek d24aa8a772 For #927 - Adds build type to glean to report the channel 2019-05-24 17:43:24 -07:00
Sawyer Blatz 9aa4f48e77 For #1190: Adds additional telemetry for FxA login 2019-05-24 17:39:19 -07:00
Sawyer Blatz 62bed0cd06 For #1190: Adds telemetry for FxA login 2019-05-24 17:39:19 -07:00
Jonathan Almeida 2fd91daa5b No issue: Fix NotificationManager icon color 2019-05-24 11:32:55 -07:00
Emily Kager 833290799e For #1286 - Add Automatic Font Sizing Preference 2019-05-24 09:42:05 -07:00
ekager 0e64ead75c Try to pop up to home if it exists on stack from browserfragment 2019-05-23 13:41:00 -07:00
Emily Kager 40f2fe5166 For #1287 - Create animation for opening and closing tab from home 2019-05-23 13:41:00 -07:00
Grisha Kruglov 6a8d0f324e Closes #2770: Allow receiving tabs from FxA devices (#2772)
* Closes #2770: Allow receiving tabs from FxA devices

Now that we're on a-c 0.54, we can land this since it supports device
capability migration.

This patch adds a SEND_TAB device capability, making Fenix a valid target
in the Send Tab device list on Desktop Firefox.

Additionally, it adds a notification manager which manages notification
channels and knows how to display "received tabs" notifications".

* Post: remove unusued test file that's causing issues
2019-05-23 13:13:27 -07:00
Tiger Oakes 9b69f9f5db Fixes #654 - Update refresh/stop toolbar buttons (#2702)
(Also back and forward)
2019-05-23 10:46:22 -07:00
Jeff Boek f5a993a027 For #2762 - Prevents crash when a device has a font scale other than 1.0 2019-05-22 18:38:20 -07:00
Sawyer Blatz 22ca1b88a0 For #2688: Corrects extra key of library selected item telemetry 2019-05-21 13:36:52 -07:00
Arturo Mejia b2294483a8 Updated tracking protectionPolicy to the recommend one. 2019-05-21 10:51:30 -07:00
Sawyer Blatz aa9e5c46ae For #1242: Adds telemetry for error pages 2019-05-21 10:12:52 -07:00
Tiger Oakes cfca683a14 Use UpdateTrackingProtectionUseCase
mozilla-mobile/android-components#2746
2019-05-20 19:39:20 -07:00
Sebastian Kaspari 291df48c4e Install the "icons" WebExtension to automatically load icons for every visited website. 2019-05-20 19:34:49 -07:00
Sawyer Blatz c334c77bbe For #976: Adds telemetry for library 2019-05-20 19:30:29 -07:00
Sawyer Blatz 4e6f9b9ef1 For #1574: Displays previous tab collections when creating 2019-05-20 14:31:17 -07:00
Sawyer Blatz 9e50b55340 For #1857: Adds telemetry for QR scanner 2019-05-17 10:46:53 -07:00
Emily Kager e00380960f Add Accessibility Fragment and Text Size Adjustment Setting 2019-05-16 22:26:54 -07:00
Sawyer Blatz 72d29c2a43
For #2205 & #1578: Integrates tab collection storage (#2478)
* For #2205: Adds TabCollectionStorage

* For #1578: Adds delete to TabCollection
2019-05-16 14:02:24 -07:00
Michael Droettboom c34946b88f 1551700: Enable custom pings from debug dashboard (#2516)
Fix re-enabling of telemetry
2019-05-15 14:51:55 -07:00
Sebastian Kaspari f84b7f10dd Issue #2458: Use correct Socorro product name. 2019-05-15 11:53:41 -07:00
Jeff Boek c5e5ef4b25
Teases apart ViewModel dependencies (#2499)
* No Issue - pulls render outside of the viewmodel

* No Issue - Properly subscribes to the changesObservable

* No Issue - Fixes ViewModel tests
2019-05-14 23:16:48 -07:00
Colin Lee 49ac62ab85 Fix ViewModel States (#2457)
Co-authored-by: Jeff Boek <jeff@jeffboek.com>
2019-05-14 13:49:02 -07:00
Sawyer Blatz b71eeb9fb3
For #2245: Updates quick action bar state and animation (#2451)
* Revert quick action changes

* For #2245: Updates quick action bar state and animation
2019-05-14 08:14:41 -07:00
Colin Lee ccbc14a71f For #1994: Re-architect state handling code (#2382) 2019-05-09 23:06:12 +00:00
Jeff Boek 27d8c09def
Fixes #1735 - adds the ability to write code against the build channel (#2388) 2019-05-09 22:05:49 +00:00
Jeff Boek f1665f12ed For #2260 - Sends valid keys to the labeled counter (#2330) 2019-05-08 12:15:19 -05:00
Christian Sadilek 0c1b43d7b6 Upgrade to GV 68.0.20190508111321 and fixes for latest A-C 0.52.0 (#2348)
Closes #2342, Closes #2297
2019-05-08 11:04:06 -05:00
Colin Lee 96b68948b5
For #1710: Create scaffolding for Robolectric tests (#2282) 2019-05-07 16:36:37 -05:00
Vlad Filippov 62ae2bca11 Update the deprecated BitmapDrawable constructor (#2308) 2019-05-06 21:32:08 +00:00
Alessio Placitelli 0d82431195 Generate the `activation` ping and send it with Glean (#1707)
This fetches the Google Advertising ID, salts it and
then applies hashing before sending a ping with it,
at startup. Hashing and salting are used in order
to prevent ourselves to correlate advertising IDs
from the same user running different products we
own off a single device. We will never send the
client_id and the Google Advertising ID in the same
ping.
2019-05-03 09:40:21 -05:00
Emily Kager 30ffc9fee2 For #2225 - Don't pass click events under find in page bar 2019-05-02 13:33:07 -07:00
Colin Lee 39eb107335
For #2206: Quick Action Bar fixes, do not hide, add shadow, peek initially (#2238) 2019-05-02 15:08:49 -05:00
Emily Kager 2d568b8d80 Closes #2183 - Pass view's parent to Tab Counter SessionManager observer (#2237) 2019-05-02 14:36:22 -05:00
jhugman 34bd6513b6 Fixes 1689 - Add sessionManager and sessionId to custom tabs menu and toolbar. (#2229) 2019-05-02 14:32:04 -05:00
Emily Kager 449fffe933 For #2181 - Select session again after restoring (#2213) 2019-05-01 20:23:15 -05:00
Will Hawkins 0bcff089d6 Feature #2088: Async load the default search engine icon at startup (#2113) 2019-04-30 19:45:56 -05:00
Emily Kager 48191fd376 Closes #2176 - Removes divider after library in browsing menu 2019-04-30 14:33:30 -07:00
Emily Kager 583889cac0 Revert "For #1751 - Add Delete Button to Private Toolbar"
This reverts commit c8061bd9af.
2019-04-29 15:59:59 -07:00
Emily Kager 14c4d12e49 For #1573 - Add Browsing Menu Item Add To Collections 2019-04-29 12:28:52 -07:00
Emily Kager e76c618c2a For #1541 - set padding dynamically for tab counter (#2103) 2019-04-26 22:01:08 -07:00
Grisha Kruglov fbdf60fdb9 Bookmark sync (#2090)
* Closes #919: Enable bookmarks synchronization

* Add bookmarks checkbox to sync preference screen
2019-04-26 14:20:13 -07:00
Sawyer Blatz 8928822e99
For #975: Adds telemetry for settings toggles (#1896)
* For #975: Adds telemetry for settings toggles

* For #975: Uses failable constructor
2019-04-26 08:42:20 -07:00
Colin Lee 3450c6bcf1
Merge pull request #1785 from colintheshots/fix1301
For #1301: Add uri_count to metrics ping
2019-04-26 00:43:02 -07:00
Sawyer Blatz 191786c671
For #1192: Adds telemetry for Mozilla products (#1953) 2019-04-25 12:33:15 -07:00
Sawyer Blatz 4945805e37
For #1954: Resolves QR scanner back press and keyboard issues (#2036) 2019-04-25 12:31:17 -07:00
Sawyer Blatz eadce68e52
Closes #1972: Sets search term on browserToolbar (#1990) 2019-04-24 11:28:31 -07:00
Emily Kager 25c157ceb0 No issue: Use setting to show history autocomplete suggestion 2019-04-24 10:32:12 -07:00
Grisha Kruglov d1c1270e68 Revert "Closes #919: Enable bookmarks synchronization"
This reverts commit b854cccefa.
2019-04-23 18:21:44 -05:00
Emily Kager b431e57dce Closes #1855 - Remove haptic feedback on tabs button 2019-04-23 17:47:21 -05:00
Emily Kager 7f5f96b41b Closes #1914 - Removes incomplete actions from Custom Tab Menu 2019-04-23 17:46:55 -05:00
Emily Kager df6230182c Closes #469 - Changes Library String 2019-04-23 17:41:38 -05:00
Grisha Kruglov b854cccefa Closes #919: Enable bookmarks synchronization 2019-04-23 17:41:07 -05:00
Sawyer Blatz 8a4995099f For #1205: Adds search term to EditToolbar 2019-04-23 09:59:48 -07:00
Mitchell Hentges 92b6d4a925 Moves release flavour to build type (#1693) 2019-04-22 11:02:39 -07:00
ekager af613962e5 Only set the engine's theme when it is instantiated 2019-04-19 08:11:57 -07:00
Emily Kager 7871225083 No issue: Removes session time out related code 2019-04-18 17:04:02 -07:00
Emily Kager c8061bd9af For #1751 - Add Delete Button to Private Toolbar 2019-04-18 11:24:05 -07:00
Jeff Boek 5ca9040702 For #1696 - Removes sessions from session control 2019-04-17 22:41:59 -07:00
Jeff Boek 0d183b01f3 For #1696 - Replace session bundle storage with session storage 2019-04-17 22:41:59 -07:00
Colin Lee 5e61366cb9 Fix crash loading AdjustLifecycleCallbacks 2019-04-17 22:12:20 -05:00
Colin Lee 849764d23a For #974: Telemetry for Bookmarks 2019-04-17 15:58:58 -07:00
Jeff Boek 5d04669854 For #1297 - Re-adds adjust to build task 2019-04-17 14:42:21 -07:00
Sawyer Blatz aa117b1ea6
Closes #977: Adds telemetry for custom tabs (#1697) 2019-04-17 11:13:48 -07:00
Jeff Boek cb7ad32b62 For #1158 - Add search counts 2019-04-17 10:04:49 -07:00
Sawyer Blatz f48e2b072e No issue: Cleans up SearchShortcut changes 2019-04-17 11:20:59 -05:00
Emily Kager bc07da91a2 Closes #1644 - Correct progress bar gravity 2019-04-16 14:22:25 -07:00
Jeff Boek 4fae36f0af Fixes #1430 - Implements UX feedback for the FenixSnackbar 2019-04-15 13:34:50 -07:00
Emily Kager 43e0588d68 For #1084 - Update TP Policy for the current engineSession 2019-04-15 13:07:49 -07:00
Sawyer Blatz ec35283c9a For #668: Restyles custom tabs 2019-04-15 11:31:13 -07:00
Sawyer Blatz 29832c5e84 For #724: Consolidates colors 2019-04-15 12:22:03 -05:00
Jeff Boek a2666c4f74 For #800 - Adds metrics for the default search engine 2019-04-15 09:14:40 -07:00
Colin Lee 574ee5e3d5
Merge branch 'master' into manage_site_permissions_exceptions 2019-04-12 19:06:34 -05:00
Emily Kager 068744eb96 For #1084 - Add Setting to enable/disable TP 2019-04-12 19:05:25 -05:00
Arturo Mejia c3e31a15db Closes #1079: Managing site permissions exceptions 2019-04-12 17:59:05 -04:00
Vlad Filippov 08edb1532e Remove success path 2019-04-12 14:38:51 -07:00
Jeff Boek 9de120b8ab Fixes #1534 - Fixes snackbar not finding the root layout 2019-04-11 12:40:23 -05:00
Nick Alexander d4d1e6bd5f For #1525: Make BrowserPerformanceTestActivity pass through to IntentReceiverActivity.
Previously, this passed through to HomeActivity, but Intent arguments
were dropped.  That means that actions (`-a
android.intent.action.VIEW`) and URLs (`-d data:...`) were dropped,
which means that Gecko itself wasn't started (and wasn't started with
a session owned by Fenix itself).

This simply passes through the intent to its final destination.

Along the way, I also enabled remote debugging for these test
configurations; it's probably not necessary, but eventually I want all
automation to be controlled by that setting.  See
[Bug 1524673](https://bugzilla.mozilla.org/show_bug.cgi?id=1524673)
for some of the motivation.  This agrees with Chrome, and should
generalize to future remote control protocols.
2019-04-10 16:38:21 -05:00
Jeff Boek 4a32ef8ed8 Fixes #1397 - Adds the delete button back to the history recyclerview 2019-04-10 10:11:46 -07:00
Jeff Boek e98db8bfb8 For #1430 - Adds a changelog entry 2019-04-10 09:58:00 -07:00
Jeff Boek b306bc502a For #1430 - Adjust snackbar colors for darkmode 2019-04-10 09:58:00 -07:00
Jeff Boek cd75b28b8f No longer require a viewgroup to use FenixSnackbar 2019-04-10 09:58:00 -07:00
Vlad Baicu b3977a5785 Fixes #1517 - Filter private sessions when updating the tab counter 2019-04-10 09:48:53 -07:00
Arturo Mejia 22eba72f8f Closes #1170: Allow user to add a new site exception to site permissions 2019-04-10 11:48:43 -05:00
Jeff Boek 043a3bbe9c For #1068 - Adds the ability to quickly copy a URL 2019-04-09 17:13:30 -07:00
Jeff Boek 76033f3f20 No Issue - Adds a debug metric controller 2019-04-09 13:45:22 -07:00
Sawyer Blatz 2e50d1f65f No issue: Fixes master after a-c snapshot changes 2019-04-09 09:08:07 -07:00
Jeff Boek 1ffbc51038 No Issue - Only block a subset of trackers by default 2019-04-08 15:04:26 -05:00
Emily Kager 9f1ec5e2b0 For #904 -Add tab counter to tab icon 2019-04-07 21:43:56 -07:00
Emily Kager 442ca9b79c For #627 - Set Engine Setting for PreferredColorScheme 2019-04-05 19:54:59 -05:00
Sawyer Blatz 5fc1e9227f
Closes #1195: Adds telemetry for quick action sheet (#1362) 2019-04-05 15:08:55 -07:00
Jeff Boek 943a03d167 For #1430 - Addresses nits 2019-04-05 14:50:54 -07:00
Jeff Boek 26fd32abed For #1430 - Moves magic numbers to constants 2019-04-05 14:50:54 -07:00
Jeff Boek 2ce72139e3 For #1430 - Replaces existing snackbar and adapts text size 2019-04-05 14:50:54 -07:00
Jeff Boek 371fbf7164 For #1430 - Adds a styled Snackbar 2019-04-05 14:50:54 -07:00
Jeff Boek 4b4d172e2e Fixes #1024 - Adds metrics for browser menu items 2019-04-03 15:37:52 -07:00