2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-10-27 15:46:27 +00:00
Commit Graph

2264 Commits

Author SHA1 Message Date
Will Hawkins
f92865d320 [fenix] No Issue: Create a method to "finish onboarding" in CI
If the intent that starts the HomeActivity includes an extra
boolean flag named finishonboarding and it is set to true,
Fenix will "finish onboarding".
2019-12-13 11:28:57 -08:00
Emily Kager
c324abaa7b [fenix] For https://github.com/mozilla-mobile/fenix/issues/6946 - Get engine margins without assuming top/bottom toolbar 2019-12-13 11:09:30 -08:00
Emily Kager
ffce59a7d7 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7124 - Match toolbar location for ETP/security panel gravity 2019-12-13 11:09:30 -08:00
Vlad Filippov
3091418bd7 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/5913: Add new sessionToken scope (https://github.com/mozilla-mobile/fenix/pull/6155) 2019-12-12 12:00:20 -08:00
Emily Kager
6e8cdfd720 [fenix] No issue: Scroll to remote debugging text in UI Tests (https://github.com/mozilla-mobile/fenix/pull/7117) 2019-12-12 12:00:02 -08:00
Tiger Oakes
cd4f41aa6a [fenix] For https://github.com/mozilla-mobile/fenix/issues/6830 - Fix "Open in" text size for custom tab (https://github.com/mozilla-mobile/fenix/pull/7010) 2019-12-12 11:49:54 +02:00
ValentinTimisica
3987045df8 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4776: Refactored UI tests.
After removing the 'Privacy notice' and 'Help' items from the Settings screen
the UI tests for them became unneeded.
2019-12-12 11:34:10 +02:00
ValentinTimisica
f88065117a [fenix] For https://github.com/mozilla-mobile/fenix/issues/4776: Added Unit tests for About Page. 2019-12-12 11:34:10 +02:00
ValentinTimisica
abb0295559 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4776: Redesign and refactor the About Page
Added new items to be displayed.
2019-12-12 11:34:10 +02:00
Grisha Kruglov
d467ebf6b3 [fenix] Enable Fennec settings (telemetry) migration 2019-12-11 19:16:55 -08:00
mcarare
a330ab5bda [fenix] For https://github.com/mozilla-mobile/fenix/issues/7066 Increase space below checkbox preference 2019-12-11 11:23:14 -08:00
Mihai Adrian
b28abb5dce [fenix] For https://github.com/mozilla-mobile/fenix/issues/6710 Update custom search engine images with better resolution (https://github.com/mozilla-mobile/fenix/pull/7084) 2019-12-11 16:09:32 +02:00
Sawyer Blatz
35ee6640d3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7073: Makes logo on about page not important for accessibi… (https://github.com/mozilla-mobile/fenix/pull/7074) 2019-12-10 12:15:11 -08:00
Mihai Branescu
6e2deeaadb [fenix] For https://github.com/mozilla-mobile/fenix/issues/6330 Collections Numbering (https://github.com/mozilla-mobile/fenix/pull/6453)
* For https://github.com/mozilla-mobile/fenix/issues/6330 - Added logic for getting the recommended default collection name

* For https://github.com/mozilla-mobile/fenix/issues/6330 - Added unit test for default collection number method
2019-12-10 12:10:01 -08:00
Tiger Oakes
daf77820a4 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5783 - Web Share with Fenix share sheet (https://github.com/mozilla-mobile/fenix/pull/6883) 2019-12-10 10:57:06 -08:00
Mihai Adrian
018f97df45 [fenix] For https://github.com/mozilla-mobile/fenix/issues/7031 - Hide progress bar when leaving DeleteBrowsingDataFragment (https://github.com/mozilla-mobile/fenix/pull/7056) 2019-12-10 11:17:45 -05:00
isabelrios
4a62f38670 [fenix] Re-enable Screenshots tests (https://github.com/mozilla-mobile/fenix/pull/6617)
disabling setting test options due to different screen sizes

name screenshots according to robots

fix kotlin style

update settings tests with new Toolbar option

screenshots tests in different package than ui tests
2019-12-10 13:05:47 +02:00
Sebastian Kaspari
662000d038 [fenix] Run migration in background service.
In order to avoid a half done migration we are moving the migration to a background service (that is
running in the "foreground").

This is the Fenix part of:
https://github.com/mozilla-mobile/android-components/issues/4879
2019-12-10 11:31:32 +01:00
Tiger Oakes
19b362d4fd [fenix] Extract IntentProcessorType to its own file and add tests (https://github.com/mozilla-mobile/fenix/pull/7012) 2019-12-10 00:02:23 -08:00
Severin Rudie
bb5685cc4c [fenix] For https://github.com/mozilla-mobile/fenix/issues/4844: fix file prefix url shortening 2019-12-10 05:07:53 +01:00
Severin Rudie
9a0b3f6557 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5334: fix ETP shield coloring on custom private tabs 2019-12-10 03:22:55 +01:00
Mihai Adrian
ab0bc61cb3 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6997 Avoid overwriting empty_search_string error (https://github.com/mozilla-mobile/fenix/pull/6998)
Setting error twice also clips error message
2019-12-09 18:10:24 -08:00
Emily Kager
69f92da9cb [fenix] For https://github.com/mozilla-mobile/fenix/issues/6922 - Check current destination is logins fragment before navigation (https://github.com/mozilla-mobile/fenix/pull/6924) 2019-12-09 15:42:40 -08:00
Michael Comella
ed87207990 [fenix] For perf-frontend-issueshttps://github.com/mozilla-mobile/fenix/pull/33: Clarify VERBOSE logging motivation. 2019-12-09 15:11:52 -08:00
Michael Comella
3b36ea34c8 [fenix] For perf-frontend-issueshttps://github.com/mozilla-mobile/fenix/pull/33: Add HotStartPerformanceMonitorTest.
We really don't want our startup tests to subtlely change so I thought
it was worth writing some quick tests.
2019-12-09 15:11:52 -08:00
Michael Comella
bde17a6a4e [fenix] For perf-frontend-issueshttps://github.com/mozilla-mobile/fenix/pull/33: Add HotStartPerformanceMonitor.
As mentioned in the class comment, we could use an alternative
implementation to measure perf from outside the application however
it's more complicated to set up and less consistent with our cold
startup methodology so we'll start with this.
2019-12-09 15:11:52 -08:00
ekager
7f5cac63f1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5771 - Don't force landscape mode on fullscreen 2019-12-09 23:47:57 +01:00
mcarare
35eeb98cac [fenix] For https://github.com/mozilla-mobile/fenix/issues/4107 Make home screen fullscreen.
Add/Remove fullscreen flags in home fragment's onResume / onPause
Change homeLayout padding to include system bars height (status&navigation).
Change homeMenu orientation to UP to properly display menu.
Change home bottomBar background to transparent.
2019-12-09 23:45:02 +01:00
mcarare
d49503e58e [fenix] For https://github.com/mozilla-mobile/fenix/issues/7026 Dispatch ModeChange on hideOnboarding 2019-12-09 23:44:33 +01:00
ekager
058da9bf17 [fenix] No issue: Remove unnecessary back slashes from curly apostrophe strings 2019-12-09 23:16:00 +01:00
Grisha Kruglov
46bf7f45f9 [fenix] Fennec migration: enable logins migration 2019-12-09 13:35:22 -08:00
Jeff Boek
e0b335ed68 [fenix] For https://github.com/mozilla-mobile/fenix/issues/1607 - Passes "custom" as the search engine identifier for custom engines 2019-12-09 11:47:05 -08:00
Severin Rudie
f838367e84 [fenix] No issue: small installedSearchEngineIdentifiers readability refactor 2019-12-09 10:58:19 -08:00
Severin Rudie
013aac2604 [fenix] No issue: tests installedSearchEngineIdentifiers 2019-12-09 10:58:19 -08:00
Severin Rudie
a6bb6ad9ca [fenix] No issue: begin moving FenixSearchEngineProvider into a testing harness 2019-12-09 10:58:19 -08:00
Oana Horvath
4e1bb19dc0 [fenix] Fixed flaky History UI tests by adding an extra verification step that (https://github.com/mozilla-mobile/fenix/pull/6894)
the page is loaded.

Enabled all tests
2019-12-09 11:52:55 +02:00
Aaron Train
4cf0c56803 [fenix] Closes https://github.com/mozilla-mobile/fenix/issues/6873: Support many more Content-Type in MockWebServer (UI tests) (https://github.com/mozilla-mobile/fenix/pull/7001)
Ensure our MockResponse can handle different Content-Type e.g, images, to help support other tests
2019-12-06 14:53:18 -05:00
Severin Rudie
53b4d6714e [fenix] For https://github.com/mozilla-mobile/fenix/issues/5334: added private custom tab processor (https://github.com/mozilla-mobile/fenix/pull/6845)
* For https://github.com/mozilla-mobile/fenix/issues/5334: added private custom tab processor

* For https://github.com/mozilla-mobile/fenix/issues/5334 - Fixes up IntentReceiverActivity for handling intents

* For 5334: update styling for private custom tabbs

* For 5334: update tests to account for new processors

Note that two are still failing. These appear to be true failures, and will be corrected in a later commit.

* For 5334: fixes bug introduced by changes to IntentReceiverActivity

RCA: intent className and extra were previously set based on which processors matched, not which successfully processed. This patch reintroduces that behavior.

* For 5334: add tests for custom tabs processing
2019-12-06 10:57:54 -08:00
Jeff Boek
fa903dd097 [fenix] For https://github.com/mozilla-mobile/fenix/issues/4664 - Updates search_with string. (https://github.com/mozilla-mobile/fenix/pull/6909) 2019-12-06 10:36:19 -08:00
Mozilla L10n Automation Bot
8671faa0f6 [fenix] Import l10n. 2019-12-06 08:53:22 -08:00
kglazko
50b8f92201 [fenix] Issue 5366 Vector Drawable Compat (https://github.com/mozilla-mobile/fenix/pull/6904) 2019-12-05 19:54:32 -08:00
Richard Pappalardo
101f6a1770 [fenix] Disable flaky testDownloadNotification - API28 (https://github.com/mozilla-mobile/fenix/pull/6982) 2019-12-05 18:00:21 -08:00
Mihai Adrian
208d0c684b [fenix] Temporarily fix lint issues with bad translation of string (https://github.com/mozilla-mobile/fenix/pull/6963) 2019-12-05 13:57:57 -08:00
mcarare
4a29b6b06b [fenix] For https://github.com/mozilla-mobile/fenix/issues/6917 Emit mode change only when new mode is different from current 2019-12-05 11:10:14 -08:00
Mihai Adrian
b36189b3b6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6910 Align shortcuts in private onboarding panel style to… (https://github.com/mozilla-mobile/fenix/pull/6950)
Divider only shows when both panel and "Search with" are visible
2019-12-05 09:37:20 -08:00
Mihai Adrian
a4be691ea0 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6943 Hide supportActionBar in onResume, not onCreate (https://github.com/mozilla-mobile/fenix/pull/6978) 2019-12-05 09:36:39 -08:00
Mozilla L10n Automation Bot
4d9a90f293 [fenix] Import l10n. 2019-12-04 19:59:25 -08:00
Gabriel
9ed4f7f119 [fenix] For https://github.com/mozilla-mobile/fenix/issues/5574 - Migrate SessionControl to LibState (https://github.com/mozilla-mobile/fenix/pull/6651)
* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 1: Port TabAction.SaveTabGroup to TabSessionInteractor and SessionControlController. (https://github.com/mozilla-mobile/fenix/pull/6651)

- Introduces the TabSessionInteractor, SessionControlInteractor and SessionControlController classes.
- Removes the TabAction.SaveTabGroup.

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 2: Port TabAction.PrivateBrowsingLearnMore to TabSessionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 3: Port TabAction.ShareTabs to TabSessionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 4: Remove unused TabAction.Share and TabItemMenu (https://github.com/mozilla-mobile/fenix/pull/6651)

In https://github.com/mozilla-mobile/fenix/issues/2205, the tab overflow button was removed which would have shown the
TabItemMenu when clicked. So, we can remove TabItemMenu since it is not
used and as a result, we can also remove TabAction.Share since there are
no consumers.

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 5: Port TabAction.PlayMedia and TabAction.PauseMedia to TabSessionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 6: Port TabAction.Select to TabSessionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 7: Port Onboarding.Finish to OnboardingInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 8: Port TabAction.Close and TabAction.CloseAll to TabSessionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

- Removes TabAction

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 9: Port CollectionAction.Delete to CollectionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 10: Port CollectionAction.ShareTabs to CollectionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 11: Port CollectionAction.AddTab and CollectionAction.Rename to CollectionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 12: Port CollectionAction.RemoveTab to CollectionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 13: Port CollectionAction.OpenTab to CollectionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 14: Port CollectionAction.CloseTabs to CollectionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 15: Introduce a HomeFragmentStore (https://github.com/mozilla-mobile/fenix/pull/6651)

- We will hook up the HomeFragmentStore in later parts.
- Removes List<Tab>.toSessionBundle(context: Context) since it is unused.

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 16: Port CollectionAction.Collapse and CollectionAction.Expand to CollectionInteractor and SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

- We assume the store is hooked up to the SessionControlController in this part,
but this work will be done in a later part.
- Removes CollectionAction.

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 20: Remove the architecture module. (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 17:  Remove duplicate subscribeToTabCollections in BrowserFragment.kt (https://github.com/mozilla-mobile/fenix/pull/6651)

There is a duplicate call of subscribeToTabCollections() in both HomeFragment and BrowserFragment.
In this patch, we remove the call in BrowserFragment to avoid passing the HomeFragmentStore to
BrowserFragment in order to dispatch the CollectionsChange event.

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 18: Delete SessionControlComponent and fix TabCollection and Tab imports (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 19: Use the new HomeFragmentStore in the HomeFragment (https://github.com/mozilla-mobile/fenix/pull/6651)

- Renames SessionControlUIView to SessionControlView

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 21: Fix white screen on home fragment (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 22: Fix formatting in SessionControlInteractor and replace See with @see in SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 23: Move to metrics.track call to the beginning of handleCollectionRemoveTab (https://github.com/mozilla-mobile/fenix/pull/6651)

This ensures that the metrics.track will be called immediately before the tab is removed from the collection.

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 24: Use the sessionManager getter in SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 25: Use mapNotNull in List<Tab>.toSessionBundle (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 26: Simplify closeTab and closeAllTabs functions by assigning a deletionJob constant (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 27: Replace listOf() with emptyList() in removeAllTabsWithUndo (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 28: Replace the Context parameter with the HomeActivity in SessionControlController (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Part 29: Add test for HomeFragmentStore, DefaultSessionControlController and SessionControlInteractor (https://github.com/mozilla-mobile/fenix/pull/6651)

* For https://github.com/mozilla-mobile/fenix/issues/5574 - Removes running CI against the architecture debug build varient
2019-12-04 22:06:05 -05:00
Jeff Boek
58bdd912e6 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6855 - Filter out duplicated bundled search engines
Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
2019-12-04 17:10:02 -08:00
mcarare
7a289d1eb1 [fenix] For https://github.com/mozilla-mobile/fenix/issues/6070 Adds telemetry for enabling search suggestions in private 2019-12-04 16:44:01 -08:00