Commit Graph

2030 Commits (c7604436c39066f45c7c77767e4266dd2f402c79)

Author SHA1 Message Date
David Walsh f51069cd82 For #8016 - Prevent duplicate domains from displaying inthe collection description on the home screen 4 years ago
Sawyer Blatz 453231b5fd For #7753: Increases touch target of crash page 4 years ago
Jeff Boek f9b05e7d5a
For #8212 - Fixes shadow/border when toolbar is on top (#8234) 4 years ago
Sebastian Kaspari f0af6d6f6e Update Mozilla Android Components to 32.0.0-SNAPSHOT. 4 years ago
Sparky93 c9313029a8 Fix for #5695 - Migration steps' status displayed before the migration completed
The migration steps' status was already being shown as succeeded instead of showing an "unchecked" list of
steps.
These changes will make the steps being "checked" one by one as the migration advances.
4 years ago
Jeff Boek 952c48c8ce For #4674 - Adds ability to toggle metric services by type 4 years ago
Jeff Boek 9f3faa43fe For #4674 - Adds marketing data as a collection choice 4 years ago
Emily Kager 5839f5891c No issue: Update androidx dependencies 02.08.20 4 years ago
Grisha Kruglov 7a272a4564 Enable fennec Pinned Sites migration 4 years ago
Jonathan Almeida e73b3cfbec
No issue: Simplify migration accessible string (#8249) 4 years ago
Emily Kager 17d7928cc9 For #7603 - Temporarily do not show biometric prompt for OnePlus devices 4 years ago
Emily Kager 9e4e23eceb
Closes #8176 - Adds new string for add to top sites (#8209) 4 years ago
Christian Sadilek 8a33897f3a For #8201: Enable/Disable uBlock button status isn't updated 4 years ago
mcarare 3ea5b08135 For #8190: Add animation to ETP policy selection 4 years ago
Arturo Mejia 2daf7c3142 For issue #8221: Fix crash in the AddonsManagementFragment when binding
the RecyclerView after the fragment is not attached anymore
4 years ago
Christian Sadilek 142104dc86 For #8202: Remove settings if add-on disabled
- Also fixes the crash described in #8202.
4 years ago
Gabriel Luong e3df9f0902
For #8167: Don't show the add-ons permission dialog if installation is in progress (#8230) 4 years ago
Michael Comella a896b47cfe For #7820: warm BrowsersCache on background thread.
In an early iteration of his patch on a beta build, I saw no improvement over
6 runs (Pixel 2):
- Before: 401.5ms
- After: 402.17ms

This may be attributed to noise in startup performance. However,
BrowsersCache disappears from profiles completely and results in
theoretical performance gains.

When using the StartupTimeline class (not landed yet), I see a 27.75ms
runtime improvement on beta builds after this patch.
4 years ago
Jeff Boek a42ad7603b For #5073 - Fixes visual alignment when certificate authority breaks into a new line 4 years ago
Jeff Boek 7a16192fd1 For #5073 - Use string parameter versus concatenating programatically 4 years ago
Kate Glazko 7c00a1ad6b For #5073: View Site Cert 4 years ago
mcarare 5bd5f81559 For #6980: Add onboarding Toolbar position picker card 4 years ago
Sawyer Blatz 0a6881d470
For #255: Removes autoplay media feature flag (#8198) 4 years ago
ValentinTimisica 29522d29ed For #1500: Passes resources to SessionSuggestionProvider
Change required for adding 'Switch to tab' description for a suggestion that
represents an opened tab. Implemented in AC
(https://github.com/mozilla-mobile/android-components/pull/5773)
4 years ago
Jeff Boek 62d540257f For #7965 - removed unused strings, reverted changes to radiobutton widget 4 years ago
David Walsh 4b9f07c511 For #7965 - Remove CDATA strings 4 years ago
Christian Sadilek 6019adafac For #6124 #8158: Prevent infinite loop on fast taps on enable switch 4 years ago
Tiger Oakes 5faa22d611
Use createBlendModeColorFilterCompat (#8129) 4 years ago
Sebastian Kaspari 5515f1ba5e Closes #4979 - Support Fennec web apps (PWAs). 4 years ago
Emily Kager eec8ea980b For #8128 - Do not use activity root view for fragment snackbars 4 years ago
Tiger Oakes 2ead67a531
For #7511 - Override private customtab icon tint (#8138) 4 years ago
Kadeem f4f93e761e NOISSUE - Renamed a misspelled variable. 4 years ago
mcarare 9d993cae92 For #8146: Extend radio buttons clickable area to title and description 4 years ago
codrut.topliceanu f5715df104 For #5694 - Changes migration list item 'Logins' to 'Passwords' 4 years ago
Mohammaduvez 00d7f4c91c
Fixes #5711 Added tint to onboarding icons (#8093)
* Added tint to onboarding icons and udpated finish button tint

* Replaced tint parameter with onboarding_card_icon color in setOnboardingIcon
4 years ago
Marc Leclair 8e61c71a98 reverting linting changes that touched codes that I didn't edit 4 years ago
Marc Leclair afab1c0f4e #8085 removed findViewById with actual id 4 years ago
Marc Leclair 9fc5a1b0fe #7700 fixed linting issues 4 years ago
Marc Leclair 92b38206c7 #7700 fixed scrolling, parallax action to match both images and some code clean up 4 years ago
Marc Leclair 72007590f7 #7700 squash commit and fixing toolbar to switxh to top with coordinatorlayout 4 years ago
Tiger Oakes c0d7bc5bd5 Use navArgs helper in fragments 4 years ago
Tiger Oakes 383a70482c Clean up toolbar menu class 4 years ago
Arturo Mejia 1fef90721a
For issue #8100: Add progress bar to the add-ons manager fragment 4 years ago
Arturo Mejia be7bd527f6
For issue #8097: Run add-ons callbacks only when the fragment is attached. 4 years ago
Grisha Kruglov 3f9ed2992c Bump to a-s 0.50.0 4 years ago
Emily Kager 46fd1a04f1 For #7456 - For top toolbar set correct progress gravity and background 4 years ago
Christian Sadilek d10a30e356 Closes #4983: Fennec migration: Keep installed add-ons 4 years ago
Arturo Mejia 6191fec0d8
No Issue: Close the web extension popup when we can't get the popup of the session. 4 years ago
Emily Kager 604ac83d0c For #7999 - Change fxa leanplum metrics to false by default 4 years ago
Gabriel Luong 64a4a7f422
Provide add-on support (#8064)
Closes #5630, #6069, #6092, #6091, #6124, and #6147.

Co-authored-by: Simon Chae <chaesmn@gmail.com>
Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
Co-authored-by: Gabriel Luong <gabriel.luong@gmail.com>
4 years ago
Mihai Adrian 4eb71ce235
For #6980: Update ETP onboarding card (#7958) 4 years ago
Jonathan Almeida cbcc56bbba For #373: Implement LeanPlum push messaging
Also closes #6250, since we rely solely on the SDK itself to consume the
messages straight from FCM.
4 years ago
David Walsh 4e6215c0c1 Fix linting issue 4 years ago
Sawyer Blatz 9f342fca9e For #6820: Updates background, shadow, & snackbars of toolbar 4 years ago
David Walsh 4b3effdfab For #6820: Place address bar at top or bottom of the home screen based on user preference 4 years ago
ValentinTimisica 0a76fdaa58 For #7289: Adds telemetry for selecting dark theme 4 years ago
Kadeem 321251c49c Updates the hide and reveal password icons to use and tint the mozac version. 4 years ago
David Walsh ae445abff3 Small improvements, lint fixes 4 years ago
Sawyer Blatz 030f75b4df For #5892 & #6380: Updates error page template and allows SSL bypassing 4 years ago
ValentinTimisica 2026c60136 For #6834: Adds telemetry for About page items
Didn't change the existing probe for 'whats new' item because we're already
collecting that info.
4 years ago
Mihai Branescu 2a876d5e0f For #7559 - fixes 2 issues:
- The same item now doesn't recreate the activity
- The app context now contains the right locale
4 years ago
Mihai Branescu 1b7cb117ca For #7559 - allows changing locale even after setting theme with
AppCompatDelegate.setDefaultNightMode(mode). The override is necessary because the uiMode needs
to be manually updated after changing theme
4 years ago
Sawyer Blatz 1372ed5837 For #7970: Updates snackbars for accessibility 4 years ago
David Walsh f728cdaf05
Bug 7189 - Provide page title in website information dialog (#7255)
* Bug 7189 - Provide page title in website information dialog

* Update QSFS test

* Fix Tiger's nits
4 years ago
Sawyer Blatz 94447657c4 No issue: Fixes strings for data migration 4 years ago
Mihai Adrian 24396d174f
For #6980: Add What's new card (#7952) 4 years ago
Jonathan Almeida 202f2b8811 Closes #7788: Route search widget intents through IntentReceiverActivity 4 years ago
Mihai Branescu b3d99c6bba
For #7679 - Replaced comparison by reference with value, added check for default in order to avoid double checkmark (example: default + English) (#7729) 4 years ago
Sören Hentzschel 8a7c7fd06f For #7730 - always show "Add private browsing shortcut" in sett… (#7943) 4 years ago
ValentinTimisica 154e11841a Fixes #7881: Send telemetry event when custom search engine is deleted 4 years ago
Sebastian Kaspari 18244cef51 Closes #7762: Initialize Glean later in Fennec builds. 4 years ago
Jonathan Almeida 40e72a7b28 For #7524: Remove DeviceConstellation polling from onResume (#7908) 4 years ago
Mihai Adrian 622fdadde8 For #7272: Show info when saved logins list is empty. (#7891)
* For #7272: Show info when saved logins list is empty

* For #7272: Updated unit tests
4 years ago
Emma Malysz 5e9b753acb For #7473, delay inflation of toolbar
Improve performance of HomeActivity.onCreate by delaying this inflation.
We use a ViewStub and inflate the first time the actionbar is accessed.
4 years ago
Gabriel Luong f93e141d52 For #7525 - Add telemetry for opening a top site in normal and private mode and removing a top site 4 years ago
Gabriel Luong 192eecdf5b For #6758 - Part 7: Add menu for opening a top site in private tab and removing a top site 4 years ago
Gabriel Luong 9ecb67e783 For #6758 - Part 6: Add top site view 4 years ago
Gabriel Luong f68f89f2bf For #6758 - Part 5: Add top sites to the HomeFragmentStore 4 years ago
Gabriel Luong e1863dd3c2 For #6758 - Part 4: Implement "Add to Firefox Home" browser menu item
- The "Add to Firefox Home" browser menu item adds a top site to the top site storage.
- Refactors the FenixSnackbar from BaseBrowserFragment into BrowserToolbarController
since there are multiple menu items that need to show a FenixSnackbar.
- Adds metrics for the new browser menu item.
4 years ago
Gabriel Luong 9ddf93eb7d For #6758 - Part 3: Add TopSiteStorage wrapper around AC's TopSiteStorage
This follows the existing pattern around TabCollectionStorage.
4 years ago
Sebastian Kaspari 9a15103a20 Issue #7762: Enable glean based on setting for non-fennec builds. 4 years ago
Severin Rudie 44e4d8e12c
No issue: clarify naming for showing a prompt to allow search suggestions (#7870) 4 years ago
Emily Kager a39a9e5b4e No issue: Enable about:config in beta builds 4 years ago
David Walsh 1ee0243efa Fix 4021 - Provide tab title during share 4 years ago
ekager c556e819bd For #5586 - Add telemetry for save logins setting 4 years ago
Emily Kager 7adb5b6084 For #6812 - Navigate via openToBrowser to selected session from search 4 years ago
Sawyer Blatz e1722b95b3 No issue: Fixes ErrorResponse instantiation 4 years ago
Arturo Mejia 310da6c1ea No Issue: Add support for deleting individual tracking protection
exceptions on nightly.
4 years ago
Chenxia Liu f726b03792 Fix breaking changes from new TrackingProtectionException 4 years ago
Sawyer Blatz 20396f78a9
For #7698: Adds search back button animation (#7840)
* For #7698: Adds search back button animation

* Refactor for searchController
4 years ago
Michael Comella e25ee98d7d No issue: fix typo in Performance.instrumentColdStartup... (#7848) 4 years ago
Kaaira Gupta 08cce8cf58 for #7421 :removed collection from clear browsing history 4 years ago
Michael Comella ffc441f12a For perf-frontend-issues#50: instrument imperfect reportFullyDrawn.
We don't capture the second RV draw yet. Unfortunately, I don't know if
it's the best use of my time to capture that as well.
4 years ago
Chenxia Liu e5164e3670 For #6980 - Pre-land string changes to onboarding cards. 4 years ago
Mihai Carare cd853d0d8f For #7029: Navigate to Search Fragment when pressing Start browsing 4 years ago
Kaaira Gupta e291c6905c For #3813 - Create a save button for bookmark editing 4 years ago
Severin Rudie 2dc5b397b6
For #7506: show highlight on home 3-dot button (#7665) 4 years ago
Mihai Adrian 355cb35cb6 For #7574: Send toolbar position metrics in English. (#7712) 4 years ago
Jonathan Almeida 02b4582c8d No issue: Update Migration UI with new API 4 years ago
Sebastian Kaspari af3726a505 Fennec home screen bookmarks: Select new tab. 4 years ago
Sebastian Kaspari 80eb19294b AboutFragment: Use SupportUtils.getWhatsNewUrl(). 4 years ago
Michael Comella a1cbbba4ea For #7423: remove unnecessary wordmark_spacer view.
Co-authored-by: Emma Malysz <emalysz@mozilla.com>
4 years ago
ekager 053e5b8065 For #6396 For #6553 - Update sync engine checkboxes and send telemetry once 4 years ago
Kate Glazko dbf711e112 For #4904: Pressing back external link doesn't go back 4 years ago
Sawyer Blatz 509fa112d0 For #6308: Remove unecessary telemetry & bump expiry date (#7793)
* For #6308: Remove unecessary telemetry

* For #6308: Bump expiry date on telemetry
4 years ago
liuche 904098387a
Issue #7093 - Pre-land strings for new onboarding cards. (#7747) 4 years ago
Jeff Boek 6789df55a5 For #220 - Puts language picker behind a feature flag 4 years ago
Jeff Boek ea22f6d69b For #1607 - Fixes SearchShortcutSelected to not leak any custom identifiers 4 years ago
Jonathan Almeida f4b583fc0b For #ac-5601: Lock migration UI screen orientation 4 years ago
ValentinTimisica c106d89285 For #7751: Remove 'SearchWithCustomEngine' telemetry event 4 years ago
Sebastian Kaspari 3a1292911d Update list of tabs after onboarding screen was dismissed. 4 years ago
ValentinTimisica 981d19de13 For #6556: Adds Telemetry counts for Search Access Points
Added two new sources to be counted ('widget' and 'shortcut') besides 'action' and
'suggestion'. Also modified/fixed some tests.
4 years ago
Jonathan Almeida 261a6162af Review comments, fix build failure and targetActivity 4 years ago
Jonathan Almeida b89afe7b7c For #7092: Add initial Migration UI 4 years ago
Sebastian Kaspari 29d9ba472c Always initialize glean. Set upload flag after migration. (#7717) 4 years ago
ekager 0777fb3bbe For #5545 For #5542 Closes #6696 Integrate logins API, adds Settings for Autofilling/Saving Logins 4 years ago
Alessio Placitelli f93437c509 Fix GleanMetricsService to use the new Glean APIs 4 years ago
Jonathan Almeida 61570b5238 Closes #7645: Disable push service when migrating 4 years ago
ValentinTimisica a952d0858c For #5884: Fixed Unit tests. 4 years ago
ValentinTimisica 7c5c9355ce For #5884: Adds user-specified search engines telemetry
Created events for adding and deleting a custom search engine and for searches
performed with a custom search engine.
4 years ago
Colin Lee cf220427d7
Fix #7649: Fix missing NOT in asFeatureWebChannelsDisabled check (#7650) 4 years ago
Colin Lee 7baf54f566
For #5182: Loading experiments on startup is slow, remove Fretboard (#7510)
This removes Fretboard. The goal is to reduce cold startup costs associated with loading the experiments on the main thread. We currently have two experiments frameworks in use and should only require one.
4 years ago
Sebastian Kaspari 6419d0cf13 Open "migration FAQ" when selecting "What's new" in a Fennec build. 4 years ago
Tiger Oakes 55c1b01d7b For #7431: Remove extra share button 4 years ago
ekager cf05840c0f Move experiments initialization and fix ktlint errors 4 years ago
Sebastian Kaspari 1f5bfff025 Issue #6898: Allow empty adjust token for fennecNightly builds. 4 years ago
ekager 47c13136f7 No issue: Fix dynamic theming to accommodate lazily inflated readerview 4 years ago
mcarare a72620ae07 For #7522 Catch IllegalArgumentException when validating search string 4 years ago
Sawyer Blatz a58decd708 For #6304 & #7577: Persist private mode between app launches 4 years ago
Mihai Adrian 0a412a1a6a For #6992 Always hide toolbar when showing find in page bar (#7567) 4 years ago
Mihai Adrian 666b3d9627 For #7343: Handle sharing to multiple devices (#7409)
* For #7343 Do not allow multiple share to same device

* For #7343 Check current destination before dismissing share
4 years ago
Sawyer Blatz 718c211a86
For #1718: Sets accessibility users to top toolbar by default (#7486) 4 years ago
Mugurell 6d44ceceda For #6836 - Limit Leanplum depending on current locale. 4 years ago
Josh Vocal 9449cb4437 Fix truncated tracking protection info text
* Allow tracking protection titles to wrap instead of being cut off
* Refactor view ids to match the layout
4 years ago
Sebastian Kaspari e3408b12b4 Update Mozilla Android Components to 28.0.0-SNAPSHOT. 4 years ago
Rushab Kumar e6791b5c08 For #7154 - Fix crash when tapping on "Blocked" in the site info panel (#7404) 4 years ago
mcarare 2bdde48986 For #7522 Ensure correct protocol is used in search string 4 years ago
Severin Rudie 569b7670d3 For 6832: update implementation/comment to align w existing AC code 4 years ago
Severin Rudie 65f5ff6b36 For #6832: fix unattached context crash in HomeFragment 4 years ago
mcarare b115a00589 For #7155 Align custom tabs overflow menu to original mocks
Reverse menu items order when toolbar position is top
4 years ago
mcarare 6aa8c98e00 For #7519 Navigate up from search fragment to handle all entry points 4 years ago
mawen7 a2e0af3194 Only close tab on back press if it has a parent tab 4 years ago
kglazko 8ed14ac062
Issue 5736 Improve pop behavior after deleting tabs in settings (#7478) 4 years ago
Emily Kager 7d613b72ae For #7181 - Adjust ETP onboarding for toolbar positions 4 years ago
Will Hawkins 9c28cb632c Issue #7425 (et al): Cache the list of installed browsers
Cache the list of installed browsers. Calling `Browsers.all`
the application directly redundantly recalculates the list.
Accessing the list of installed browsers through this cache
will reduce that overhead.
4 years ago
Mugurell 8454f208af For #4977: Migrate fennec shortcuts (#7251)
* For #4977 - Support opening Fennec pinned website shortcuts in Fenix

Fennec's pinned website shortcuts are set to open the BrowserApp activity.
So we need a new activity alias to actually catch such Intents. Otherwise they
would open "org.mozilla.firefox/.App" without any way to inform that this is
the result of the user clicking on a pinned shortcut.
For actually checking if the newly received Intent is of a Fennec pinned
shortcut we introduce a new FennecBookmarkShortcutsIntentProcessor which will
prepare the Intent to open the shortcut's URL in a new tab.

* For #4977 - Don't keep IntentReceiverActivity on the back stack

For successive Fennec pinned shortcuts to create a new IntentReceiverActivity
and be processed as normal we need to not keep this as our task root.

* For #4977 - Test the FennecBookmarkShortcutsIntentProcessor
4 years ago
Jeff Boek fdb1f505cc For #5552 - Reverts temporary fix for #5552 4 years ago
Tiger Oakes 75b87334fa
Change type for OnboardingAutomaticSignIn (#7474) 4 years ago
Michael Comella 4bab493487 No issue: remove useless @MenuRes annotation in History Fragment.
This annotation was not applied correctly and lint was unable to ensure
it was used properly: it declared an error in lint saying so but that
error was ignored. I did not know how to apply the annotation - and I
felt it had limited utility - so I removed it entirely in order to
permit the lint baseline file to be removed (it was the only error).
4 years ago
Mihai Branescu ea2411a88b Feature/#220 language menu (#7070)
* For #220
- Added advanced header + locale settings item in the settings fragment

* For #220
- Added locale selection page with lib state + handling of locale changes

* For #220
- Removed registering for locale changes in the manifest, allow system
to restart activity in that scenario

* For #220
- Added unit tests for locale settings page

* For #220: fixed an outdated unit test
ga-a

Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
4 years ago
Severin Rudie 9cbc3f7a4a
7410 remove rxjava (#7426)
* For #7410: rewrite updateBookmarkFromObservableInput with coroutines

* For 7410: remove RxJava from project. :(

* For 7410: converted updateBookmarkFromTextChanges to Flow per review
4 years ago
Jonathan Almeida 0768fde945 No issue: Use SendTabFeature and FxaPushSupportFeature 4 years ago
Sawyer Blatz c7c4ad051a
For #6413: Adds more snackbar positioning logic (#7444)
* For #6413: Adds more snackbar positioning logic

* Refactor
4 years ago
Roger Yang f6e286fd9c
Closes #7346: Enable dynamic app links in Fenix (#7361) 4 years ago
Sawyer Blatz 3fb060f682
For #6413: Fixes snackbar positionining for bottom toolbar (#7415)
* For #6413: Fixes snackbar positionining for bottom toolbar

* For #6413: Cleans up snackbar usage
4 years ago
Emma Malysz 13f73c2d2c
For issue 7192: move unsetOpenLinksInAPrivateTabIfNecessary off main thread. (#7246)
Move method to Settings. There are two instances when we want to call this method: either
processing an intent, or within DefaultBrowserPreference
4 years ago
Michael Comella cf143489e1 For #6464: Replace use of BuildConfig.DEBUG with ReleaseChannel.channel.isDebug.
This fixes performance issues where StrictMode would greatly slow down
startup in the forPerformanceTest variants.
4 years ago
Michael Comella ac97dd72b1 For #6464: Set "forPerformanceTest" to ReleaseChannel.FenixProduction.
This fixes a perf measurement issue where Sentry would capture an event when
using the forPerformanceTest variants.
4 years ago
Michael Comella f11ddf8038 For #6464: Add ReleaseChannel.isDebug. 4 years ago
Severin Rudie f562c81fb2 For 5334: test NotificationSessionObserver 4 years ago
Severin Rudie a8c47c8805 For #5334: disable notification for private custom tabs 4 years ago
Sawyer Blatz 9a693f6c11
For #7000: Fix inverted media telemetry (#7368) 4 years ago
Severin Rudie 26b7909214
For #7352: integrate highlightable browser menu changes (#7353)
* For #7352: integrate highlightable browser menu changes

* For 7352: invalidate menu when reader mode availability changes

* For 7352: removed highlight from reader mode appearance per UX
4 years ago
Sawyer Blatz faa4136685 For #7347: Fixes background of search field 5 years ago
Sawyer Blatz 4fd3eb53d1 For #6666: Adds back button to search screen 5 years ago
Suraj Shah 6344a8892d For #7041 - Respect current mode when opening library items (#7311)
* Fixes #7041
Consumes `browserMode` from home activity for tap method of bookmark

* Fixes spaces

* Cleaning tests

* Cleaning tests
5 years ago
Roger Yang dd1433733a
Closes #7156: Update app links feature usage to include app links interceptor (#7275) 5 years ago
Josh 593981fa4b Fix parameterized message in search engine (#7302) 5 years ago
Jeff Boek 740572b6d9 For #5334 - Override custom tab styling in private mode (#7305) 5 years ago
Josh a40af5b134 Closes #7254 - Replace Anko applyConstraintSet (#7286)
* For #7254: Replace anko applyConstraintSet

* Anko has been deprecated and will not be continued

* Refactor ConstraintSet changes

* Replace applyConstraintSet in SearchLayouts

* Refactor HomeFragment ConstraintSet

* Define anonymous ConstraintSet
* Remove ConstraintSet prefix from PARENT_ID
5 years ago
Tiger Oakes b85673acac Clean up settings fragments 5 years ago
Josh Vocal 43354489a1 For #7253 - Replace anko setters 5 years ago
Tiger Oakes 76c83ba805
For #7085 - Remove anko px2dip (#7252) 5 years ago
Tiger Oakes 7c9a5c1f14
For #768 - Add PWA install option to menu (#6882) 5 years ago
mcarare 907d96e39f For #6709, for #6849 Handle default engine deletion and undo operation
Uninstall engine immediately and allow reinstall in onCancel.
Set previous list with default engine in onCancel.
Keep default engine change in operation and remove now unnecessary view refresh.
5 years ago
Tiger Oakes f439c8110e For #7183 - Fix bottom margin in PWAs 5 years ago
Rushab Kumar 562eb89356 For #7250 - Replace anko.dimen 5 years ago
Sebastian Kaspari e789d8ebe3 Issue #4978: Reuse widget package name of Fennec. 5 years ago
Emily Kager 5ac79f59a3 For #7219 - Polish Download Notification Dialog. (#7224)
* For #7219 - Use accent color for downloads dialog positive button

* For #7219 - Fixes gap beneath download notification dialog

* switch to setimageresource
5 years ago
Roger Yang 1a739db5b1 Closes #7260: Pass in GeckoView version information to MozillaSocorroservice 5 years ago
Grisha Kruglov 52334f9121 Closes #6937: Disable runStorageMaintenance during startup
This call will acquire a "write" lock at the storage layer (sqlite's reserved+),
which may interfere with migrations that run during startup as well (they need to
write to storage, and so also need to acquire a lock). If these operations clash,
we get a SQLITE_BUSY crash. For now, just disable the maintenance operation.
5 years ago
Tiger Oakes ea486d7c66
Split out CustomTabToolbarIntegration (#7107) 5 years ago
Suraj Shah 6cb3879caf For #7048: Network info migration (#7091)
* Fixes #7048.
Adds extension function to check if online or not based on capabilities
Modified `buildDeviceList`
Modifies tests

* Fixing lint error for max length
Fixing test in AppRequestInterceptorTest.kt

* Adds suppression for deprecation
Moving away from using anko for ConnectivityManager instance

* Creates ConnectivityManager extension component

* Fixes #7180
Refactors test cases to fix static mocks
5 years ago
David Walsh e727ae5d7e Fix 5366 - Use VectorDrawableCompat for all imagery (#7221)
* Fix 5366 - Use VectorDrawableCompat for all imagery

* Fix detekt lint issues

* Restore previous comment contents
5 years ago
Severin Rudie cd53e9778a For 6795: expands toolbar whenever a new session is selected
This ensures that the bar is expanded when opening a link in a new tab
5 years ago
Jeff Boek 49f07554e7 No Issue - Removes some search engines 5 years ago
mcarare 90c77519a6 For #7194 Set snackbar anchor depending on browser toolbar position 5 years ago
Patrick Martin 71880705df For #5711 - Onboarding colours have contrast issues 5 years ago
Afzal Najam b9656a978e Hide add folder option when in Desktop Bookmarks folder 5 years ago
Ryan Kelly 31f2e80ab0 Use feature-accounts-push, which replaces feature-sendtab. 5 years ago
mcarare bc6b7725e9 For #6968 Close response stream to allow use of caching 5 years ago
mcarare d2abac78eb For #7075 Update passwords preference visibility and string
Set visibility for feature flags before settings screen it's displayed.
Change string for preference to match existing header string.
Update UI Tests
5 years ago
mcarare ef53e1ff8e Reverts #6925: Make home screen full screen 5 years ago
Will Hawkins 116f7b3d65 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".
5 years ago
Emily Kager 686facffc6 For #6946 - Get engine margins without assuming top/bottom toolbar 5 years ago
Emily Kager dcb39b0a44 For #7124 - Match toolbar location for ETP/security panel gravity 5 years ago
Vlad Filippov a3f2f55548 Closes #5913: Add new sessionToken scope (#6155) 5 years ago
Tiger Oakes 32985af882 For #6830 - Fix "Open in" text size for custom tab (#7010) 5 years ago
ValentinTimisica b819cb11c9 For #4776: Added Unit tests for About Page. 5 years ago
ValentinTimisica c6c827f693 For #4776: Redesign and refactor the About Page
Added new items to be displayed.
5 years ago
Mihai Branescu c46bf84ac9 For #6330 Collections Numbering (#6453)
* For #6330 - Added logic for getting the recommended default collection name

* For #6330 - Added unit test for default collection number method
5 years ago
Tiger Oakes fe034226a3
For #5783 - Web Share with Fenix share sheet (#6883) 5 years ago
Mihai Adrian 6e9769a81b For #7031 - Hide progress bar when leaving DeleteBrowsingDataFragment (#7056) 5 years ago
Tiger Oakes 3f7205e3cb
Extract IntentProcessorType to its own file and add tests (#7012) 5 years ago
Severin Rudie 7477de83e9 For #4844: fix file prefix url shortening 5 years ago
Severin Rudie 957ed8aa88 For #5334: fix ETP shield coloring on custom private tabs 5 years ago
Mihai Adrian 45ae8cb35a For #6997 Avoid overwriting empty_search_string error (#6998)
Setting error twice also clips error message
5 years ago
Emily Kager 76e9200304 For #6922 - Check current destination is logins fragment before navigation (#6924) 5 years ago
Michael Comella 2a4aa24195 For perf-frontend-issues#33: Clarify VERBOSE logging motivation. 5 years ago
Michael Comella eef080a46c For perf-frontend-issues#33: Add HotStartPerformanceMonitorTest.
We really don't want our startup tests to subtlely change so I thought
it was worth writing some quick tests.
5 years ago
Michael Comella e60141e98d For perf-frontend-issues#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.
5 years ago
ekager 1647e07481 For #5771 - Don't force landscape mode on fullscreen 5 years ago
mcarare b6ba1a1611 For #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.
5 years ago
mcarare 17731620e6 For #7026 Dispatch ModeChange on hideOnboarding 5 years ago
Grisha Kruglov 42d6915699 Fennec migration: enable logins migration 5 years ago
Jeff Boek 45c6e3a784 For #1607 - Passes "custom" as the search engine identifier for custom engines 5 years ago
Severin Rudie dfea877fb7 No issue: small installedSearchEngineIdentifiers readability refactor 5 years ago
Severin Rudie 2aa80eff95 No issue: tests installedSearchEngineIdentifiers 5 years ago
Severin Rudie d3ff98816d No issue: begin moving FenixSearchEngineProvider into a testing harness 5 years ago
Severin Rudie 5f393bd5d4
For #5334: added private custom tab processor (#6845)
* For #5334: added private custom tab processor

* For #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
5 years ago
kglazko 300d8317e1
Issue 5366 Vector Drawable Compat (#6904) 5 years ago
mcarare 45b9ffd66e For #6917 Emit mode change only when new mode is different from current 5 years ago
Mihai Adrian 3283d6ed0b For #6910 Align shortcuts in private onboarding panel style to… (#6950)
Divider only shows when both panel and "Search with" are visible
5 years ago
Mihai Adrian cbdf83c12a For #6943 Hide supportActionBar in onResume, not onCreate (#6978) 5 years ago
Gabriel 56b21426eb
For #5574 - Migrate SessionControl to LibState (#6651)
* For #5574 - Part 1: Port TabAction.SaveTabGroup to TabSessionInteractor and SessionControlController. (#6651)

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

* For #5574 - Part 2: Port TabAction.PrivateBrowsingLearnMore to TabSessionInteractor and SessionControlController (#6651)

* For #5574 - Part 3: Port TabAction.ShareTabs to TabSessionInteractor and SessionControlController (#6651)

* For #5574 - Part 4: Remove unused TabAction.Share and TabItemMenu (#6651)

In #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 #5574 - Part 5: Port TabAction.PlayMedia and TabAction.PauseMedia to TabSessionInteractor and SessionControlController (#6651)

* For #5574 - Part 6: Port TabAction.Select to TabSessionInteractor and SessionControlController (#6651)

* For #5574 - Part 7: Port Onboarding.Finish to OnboardingInteractor and SessionControlController (#6651)

* For #5574 - Part 8: Port TabAction.Close and TabAction.CloseAll to TabSessionInteractor and SessionControlController (#6651)

- Removes TabAction

* For #5574 - Part 9: Port CollectionAction.Delete to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 10: Port CollectionAction.ShareTabs to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 11: Port CollectionAction.AddTab and CollectionAction.Rename to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 12: Port CollectionAction.RemoveTab to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 13: Port CollectionAction.OpenTab to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 14: Port CollectionAction.CloseTabs to CollectionInteractor and SessionControlController (#6651)

* For #5574 - Part 15: Introduce a HomeFragmentStore (#6651)

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

* For #5574 - Part 16: Port CollectionAction.Collapse and CollectionAction.Expand to CollectionInteractor and SessionControlController (#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 #5574 - Part 20: Remove the architecture module. (#6651)

* For #5574 - Part 17:  Remove duplicate subscribeToTabCollections in BrowserFragment.kt (#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 #5574 - Part 18: Delete SessionControlComponent and fix TabCollection and Tab imports (#6651)

* For #5574 - Part 19: Use the new HomeFragmentStore in the HomeFragment (#6651)

- Renames SessionControlUIView to SessionControlView

* For #5574 - Part 21: Fix white screen on home fragment (#6651)

* For #5574 - Part 22: Fix formatting in SessionControlInteractor and replace See with @see in SessionControlController (#6651)

* For #5574 - Part 23: Move to metrics.track call to the beginning of handleCollectionRemoveTab (#6651)

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

* For #5574 - Part 24: Use the sessionManager getter in SessionControlController (#6651)

* For #5574 - Part 25: Use mapNotNull in List<Tab>.toSessionBundle (#6651)

* For #5574 - Part 26: Simplify closeTab and closeAllTabs functions by assigning a deletionJob constant (#6651)

* For #5574 - Part 27: Replace listOf() with emptyList() in removeAllTabsWithUndo (#6651)

* For #5574 - Part 28: Replace the Context parameter with the HomeActivity in SessionControlController (#6651)

* For #5574 - Part 29: Add test for HomeFragmentStore, DefaultSessionControlController and SessionControlInteractor (#6651)

* For #5574 - Removes running CI against the architecture debug build varient
5 years ago
Jeff Boek d4e3a2037f For #6855 - Filter out duplicated bundled search engines
Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
5 years ago
mcarare c3389dcdb5 For #6070 Adds telemetry for enabling search suggestions in private 5 years ago
Jeff Boek 781b141bc7 For #6849 - Properly select a new default search engine when you delete the current one
Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
5 years ago
Jeff Boek eb6e6b774f For #6848 - Sorts the search engine list without case sensitivity
Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
5 years ago
Jeff Boek 1cc496a683 For #6847 - Properly rebuilds the SearchEngineList on undo
Co-authored-by: Severin Rudie <Baron-Severin@users.noreply.github.com>
5 years ago
Emily Kager d1b134c2ff For #6908 - Set null anchors for snackbars with top toolbar (#6911) 5 years ago
Jeff Boek e8972bb47d For #6795 - Auto shows toolbar when loading a new URL (#6955)
Co-authored-by: Severin <Baron-Severin@users.noreply.github.com>
5 years ago
ekager 3df32edff0 No issue: Fix search suggestions strings 5 years ago
ekager f227acc9f0 For #6791 - Inflate SavedLoginsListItemViewHolder layout explicitly 5 years ago
ekager d8babadf7f For #6889 - Check current destination before navigating from settings 5 years ago
ekager f5cf0b7e2a For #6890 - Don't crash with no connection when adding custom search engine 5 years ago
Severin Rudie 2a95a82e32
For #5540: updates error page copy when no internet is available (#6803) 5 years ago
cesar 6cda430cdd nested loop removed 5 years ago
cesar 4422e3ed39 Closes #6731 - fixed BookmarkNode minus operator and deleteOperation 5 years ago
mcarare 41ccb02933 For #6516 On browsing mode change empty tab list before displaying new list 5 years ago
Tiger Oakes a16aedb680 For #6827, #6811 - Cast layoutParams to MarginLayoutParams 5 years ago
Tiger Oakes d5e01384d8
Suppress upcoming deprecation (#6765) 5 years ago
Gabriel Luong 85111f538a For #6857 - Replace BackHandler with UserInteractionHandler in InflationAwareFeature and InflationAwareFeatureTest 5 years ago
Jeff Boek 1b1f9348dc No Issue - Fixes warnings / compiler errors with A-C update 5 years ago
mcarare c5f18e0f96 For #6629 Align Private Browsing mode to UX specs 5 years ago
ekager 7cd1d55e00 For #5586 - Track all login copy events 5 years ago
Will Hawkins a69253cf22 Issue #5183: Initialize megazord asynchronously
Thanks to the work of the team at application-services, it is possible
to asynchronously initialize the Http client and logger used by megazord
Use that power to hide the time necessary to complete this initialization
within the time that it takes to warmup the gecko runtime.
5 years ago
mcarare f69eb83141 For #4219 Set url view not important for accessibility
Talkback rectangle for url view selection will include parent view
5 years ago
mcarare 373bd63c40 For #6470 Remove actions from notification, keep just close private tabs
Removed NotificationsIntentProcessor because notifications no longer open app
Added new strings
5 years ago
Mihai Branescu 7cf71c8ef3
For #6396 - Added metrics for tracking history/bookmarks account sync toggles (#6601) 5 years ago