1
0
Fork 0
Commit Graph

2601 Commits (5f393bd5d4655d4e1ca0163e46d96eb3e8a89fbe)

Author SHA1 Message Date
liuche 35d60130f2
Closes #6097 - Bump activation ping expiry date. (#6309) 2019-11-01 14:06:44 -07:00
Christian Sadilek a7e139da8e Use new WindowFeature API after browser-state migration 2019-11-01 15:52:37 -04:00
Mugurell c5739df969 For #4126 - Add tests for the new classes resulting from refactoring
Used runBlocking to ensure we wait for the code using coroutines to execute
instead of runBlockingTest and join() since this last option led to failed
tests in CI because of
"java.lang.IllegalStateException: This job has not completed yet".
2019-10-31 17:08:40 -07:00
Mugurell 9f56624788 For #4126 - Document the newly introduced public APIs
Now that the code should be in a ready-to-ship form it would be nice to have
all the major functionalities properly documented.
2019-10-31 17:08:40 -07:00
Mugurell d70afcaa90 For #4126 - Handle all business logic with Interactors and a Controller
Combined all Stores into one for all Views shown in on Fragment.
Used a static `createStore()` which will build the initial state residing
inside the Store and not in the Fragment as to decouple the Fragment from the
business logic needed to build all the needed initial States.
Added Interactors that handle a MVI View's business logic for
TrackingProtectionView and WebsitePermissionsView.
WebsiteInfoView doesn't register any user input events and does not have any
reason to change while it is displayed so it does not have an Interactor.
The two Interactors will delegate Fragment's QuickSettingsController for
complex Android interactions, communication with other app features or for
Store updates.
Also refactored the stubs from the previous commit so that with this commit the
the quicksettings feature should all be working now based on lib-state.
2019-10-31 17:08:40 -07:00
Mugurell f1f74bc3d6 For #4126 - Refactor Views and layouts
Refactored `fragment_quick_settings_dialog_sheet` to now be composed of of
FrameLayouts placeholders in which each independent View will inflate itself.
Refactored the QuickSettingsUIView and Component to 3 standalone Views with
their own lib-state components: Store, State, Actions, Reducer.
2019-10-31 17:08:40 -07:00
mozilla-l10n-automation-bot 5cca5d7a70 Import strings from android-l10n (#6359) 2019-10-31 17:02:17 -07:00
ValentinTimisica 1e13e70cd0 Fixes #5917: Show snackbar when URL is copied (#6210)
Show a snackbar to the user for him to know that the URL was copied to
clipboard.
2019-10-31 16:53:00 -07:00
Tiger Oakes 9456998f9f For #6153 - Add powered by notification 2019-10-31 16:39:58 -07:00
Jeffrey Starke 6a6c4f75dd * Move repeated NavControllerTest logic to @Before set up method
* Use property access syntax where applicable in NavControllerTest
2019-10-31 16:28:02 -07:00
ValentinTimisica 34959a434f Fixes #6341: Initialize 'selectedTabs' based on opened/selected tabs.
The problem was that the parameter 'selectedTabIds' was not taken into account
when initializing the variable 'selectedTabs'. So I made the initialization
based on both the selected tab and the number of open tabs.
2019-10-31 16:22:14 -07:00
ValentinTimisica da521bc37c Fixes #6268: Change drawableTint from style to appcompat version.
The property android:drawableTint doesn't work on older Android devices,
so I switched to the appcompat version (app:drawableTint).
2019-10-31 16:09:49 -07:00
mcarare 349c0193d9 For #6342 Clicking add tab button from home screen finishes onboarding 2019-10-31 16:04:02 -07:00
liuche 29d91ae769
No issue: Update releng docs (#6230)
* No issue: Update releng docs

* Fill out TODOs

* Address follow-ups
2019-10-31 15:35:56 -07:00
Sawyer Blatz e62407e766
For #5959 & #5958: Integrates download feature into Fenix (#6368) 2019-10-31 14:37:05 -07:00
mcarare 675fe6a3a9 For #1487 Add "my library" menu category and items to home 3-dot menu.
Changed UI tests according to new menu items.
2019-10-31 11:29:49 -07:00
mcarare 41c9b9e958 For #1487 Add "my library" menu category and items to home 3-dot menu 2019-10-31 11:29:49 -07:00
Artur Dryomov 05e871dd0c No issue: Refactor errors to risk level conversion. (#5710) 2019-10-30 11:08:45 -07:00
Sawyer Blatz 8549b80272 For #4456: Adds total_uri_count to metrics core ping (#6003) 2019-10-30 11:02:33 -07:00
Sawyer Blatz fd22c43f9d
Fixes #6344: Adds null check for adjust campaign (#6348) 2019-10-30 10:13:03 -07:00
liuche 104e3ad0a3 Closes #4775 - Update README with Severity Triage process (#6311) 2019-10-30 09:55:55 -07:00
Arturo Mejia 8481b0a560
Update to AC 20.0.0-SNAPSHOT (#6343) 2019-10-30 10:26:20 -04:00
Chenxia Liu 41ee8a4efb For #6294 - When only one tab is being saved to collection, add it to selected tabs. 2019-10-29 11:27:51 -07:00
Sawyer Blatz 2a358db561
For #1298: Fixes issue with Adjust campaign not sending through Glean (#5896) 2019-10-29 10:09:07 -07:00
Oana Horvath 7813fb22d4
History menu UI tests (#6272)
Removed failing verifyOverflowMenuButton method

Added new Robot for MultipleSelectionTooolbar

Renamed MultipleSelectionToolbarRobot to LibrarySubMenusMultipleSelectionToolbarRobot
2019-10-29 11:36:19 +02:00
Mozilla L10n Automation Bot 905c7856fb Import l10n. 2019-10-28 17:26:28 -07:00
No-Jun Park ad94d49f24
Collection UI Test added, but set to disabled until Collection is refactored (#6160) 2019-10-28 15:10:19 -04:00
Mozilla L10n Automation Bot 11c07e6b3a Import l10n. 2019-10-28 10:04:12 -07:00
ValentinTimisica d7973587fc Fixes #5128: Changed history_empty_view to match constraints.
The bug occurred because the activity/fragment is not recreated on
orientation change. A simple fix was to just set width and height to 0dp
to let it match constraints.
2019-10-28 09:44:03 -07:00
Christian Sadilek ee3871cd7c Closes #5678: Selected session may render in ExternalAppBrowserActivity 2019-10-28 09:43:33 -07:00
isabelrios b413a57159 Fix sync test after changes in the syntaxt to check the elements (#6249) 2019-10-28 11:31:32 -04:00
Mihai Branescu 432d5fbff4 For #5848 Wrong toolbar colour - edit bookmark fragment (#6047)
- Moved toolbar coloring to extension method
- Refactored classes using it
- Removed selection mode colouring for EditBookmarkFragment toolbar,
making it only black and white (normal mode)
2019-10-25 21:41:48 -07:00
Mihai Branescu 4efc661db8 For #5733 - Private mode notification - wrong home screen (#6188)
- added PRIVATE MODE intent extra to the notification action
 (could use also the OPEN_FROM_NOTIFICATION, but I considered this one to
 be more explicit. Kept the old one in case other checks will be done
 filtering for it)
- added intent? param to the getPrivateModeFromIntent method, because
onNewIntent() method does not set the activities intent, and it was needed
to be used both in onCreate() and onNewIntent()
2019-10-25 21:41:31 -07:00
ValentinTimisica 27cac54d53 For #5104: Cleanup - Use match_constraint instead of match_parent.
Google officially recommends using match_constraint (equivalent to 0dp)
instead of match_parent when the view is contained in a ConstraintLayout.
https://developer.android.com/reference/android/support/constraint/ConstraintLayout#widgets-dimension-constraints
2019-10-25 13:28:38 -07:00
ValentinTimisica c09a3d1620 Fixes #5104: Changed empty_exception_container to match constraints.
This bug occurs because the activity/fragment is not recreated on
orientation change. A simple fix was to just set width and height to 0dp
to let it match constraints.
2019-10-25 13:28:38 -07:00
ekager fb17ae2258 For #6229 - Remove all tab options from custom tab context menu 2019-10-25 13:25:31 -07:00
Emily Kager 6435a503ca For #6219 - Reset default setting if user opts out of experiments 2019-10-25 12:50:16 -07:00
Mozilla L10n Automation Bot 0242b40ce2 Import l10n. 2019-10-25 10:19:49 -07:00
Mihai Branescu 9d91108f4e For #6179 - Changed positioning of private mode icons in tab he… (#6189) 2019-10-25 08:09:38 -07:00
Jonathan Almeida 59c0fb504e Revert "For #373 - Integrate leanplum-fcm"
This reverts commit ed239ec250.

We're choosing to revert LeanPlum push messaging integration since we believe
that this has introduced a crash in Firebase push messaging. To verify
this assumption we're reverting this change, and when confirmed, we can
re-introduce Leamplum in a safer manner.

See #6250 and #6251 for related info.
2019-10-25 10:24:40 -04:00
Mozilla L10n Automation Bot e26f4a9a6e Import l10n. 2019-10-24 22:02:26 -07:00
Daphne Liu 4cbffc4989 Add intent-filter to support nfc tags (#6257) 2019-10-24 20:04:57 -07:00
Daphne Liu 72171918b1 Replaced beta square icon with round icons (#6261) 2019-10-24 20:04:49 -07:00
Sawyer Blatz 4359c215e6 For #5737: Adds telemetry for open links in a private tab (#5975) 2019-10-24 17:16:49 -07:00
Denys M 6290c0c826 Closes #2441. Update LeakCanary to `2.0-beta-3` version. 2019-10-24 11:19:09 -07:00
wpanas 7ab534705a Closes #6236: Fix padding lint issues (#6240) 2019-10-24 10:52:30 -07:00
mcarare 4e816ccd77 For #5497 Improve sync title/summary settings to support RTL 2019-10-24 10:32:59 -07:00
ekager 4aeea36dc7 No issue: Sign in button style should be ThemeIndependentMaterialGreyButton 2019-10-24 10:32:29 -07:00
ekager f49331de55 For #5544: Bare Minimum Logins UI 2019-10-24 10:29:03 -07:00
Mozilla L10n Automation Bot 6f5fba7718 Import l10n. 2019-10-24 10:27:53 -07:00