Commit Graph

789 Commits

Author SHA1 Message Date
Luca Greco
69d1b93ba6 Bug 1859585 - WebExtensionSupport should update installExtensions entries on AddonManagerDelegate.onReady calls. 2023-11-13 14:18:47 +00:00
Ryan VanderMeulen
c65ab071b9 Bug 1821005 - Revert Gradle 8 upgrade due to startup crashes
Revert "Bug 1863744 - Update Gradle to version 8.4"

This reverts commit 829795632954148709fbe945c78d55cc62053ac8.

Revert "Bug 1821005 - Apply additional keep rules for missing classes detected while running R8."

This reverts commit 8f3f246cc5ff571323f56d46963d8d176bec91e3.

Revert "Bug 1821005 - Set UI_INJECTION_HOST mode for lint in test."

This reverts commit 6962bf0b5df57781045f68417f76527bcdf521ab.

Revert "Bug 1821005 -  Include sourcesJar as an input of publishing."

This reverts commit 41b2a48da577787c3189eec8c8af71c35cfecbfb.

Revert "Bug 1821005 - Set compileOptions for android subprojects."

This reverts commit fb21df9d0a9cd585e216733dc1bf929636df20f1.

Revert "Bug 1821005 - Replace deprecated project.buildDir"

This reverts commit 6f880de46ec73f7e5240a0279108bbb6aeb0f63b.

Revert "Bug 1821005 - Exclude generated metrics docs from detekt."

This reverts commit f17d2430bf1daabeed2724312354018050f3f52a.

Revert "Bug 1821005 - Exclude build in extensions versioning from detekt."

This reverts commit 34144c5ad1d62e2d85492f8d32341bbcd032690b.

Revert "Bug 1821005 - Add uses-feature tag for camera permission."

This reverts commit 13c80944bd1756cdcaa98eef783b6a23ad12cabd.

Revert "Bug 1821005 - Set nonTransitiveRClass and nonFinalResIds build flags to false."

This reverts commit 219fbc19c54134ad264edc79642fa1799c6f54d6.

Revert "Bug 1821005 - Apply plugin: 'kotlin-android' for UI modules."

This reverts commit ddbd5e18eb9d2b33b4de4a6df48d97ec4ab42963.

Revert "Bug 1821005 - Enable generation of the BuildConfig class"

This reverts commit 65c2b8c63790fbd2352f3f94b99c80d81d18dae1.

Revert "Bug 1821005 - Add namespace to samples-glean-library module"

This reverts commit 0239233efb1cc4e896e4aa0337e3da911eeb2f1c.

Revert "Bug 1821005 - Replace deprecated toLowerCase with lowercase."

This reverts commit 69f2c66aad3aa638a1bab31b2a1e6c597d1f3992.

Revert "Bug 1821005 - Replace deprecated 'toInt' method with 'code' property."

This reverts commit 7adb38a6fbe20de3fdb6723a10e574d183e7fcff.

Revert "Bug 1821005 - Replace deprecated execResult."

This reverts commit bfd02dd16d7e5c9dbcf34858fbbe4176d698f8cd.

Revert "Bug 1849833 - Replace deprecated extractNativeLibs manifest attribute."

This reverts commit a05bc9618457ab2d71a5d3d88d8d3b0318497a54.

Revert "Bug 1821005 - Upgrade AGP to 8.0.2"

This reverts commit fc0fadd63553e2144ce074454d502ecf307eb988.

Revert "Bug 1821005 - Upgrade kotlin-dsl to 4.1.0."

This reverts commit 14e8903e922fa22e28450520be3b6152be6a3a8f.

Revert "Bug 1821005 - Upgrade Gradle to 8.3 version."

This reverts commit f14f447a4d43588d24e4ca3efde0668ddcf7cf08.
2023-11-08 13:35:38 -05:00
mcarare
04345cb27b Bug 1821005 - Enable generation of the BuildConfig class
For modules that use buildConfigField and generate metrics, because BuildConfig is not generated by default after Gradle 8.
2023-11-08 09:10:09 +00:00
Arturo Mejia
daaab52151 Bug 1862425 - Allow to control QPS prefs using nimbus. 2023-11-06 22:37:10 +00:00
Olivia Hall
e842bb5c42 Bug 1844523 - Translate and Restore to Original Engine Support
This patch adds engine support for translate and restoring the page after
a translation. `requestTranslate` and `requestTranslationRestore` are
the Gecko engine session functions.

This corresponding actions for these functions are `TranslateAction`,
and `TranslateRestoreAction`. The success and failure correspond to the
actions `TranslateSuccessAction` and `TranslateExceptionAction`.

Sample usage is provided on reference browser. The sample is currently
hardcoded to support Spanish to English page translations until the next
API is introduced.
2023-11-03 21:10:32 +00:00
Sammy Khamis
1c35a86353 Bug 1862350 - Remove old History delete APIs 2023-11-02 19:37:28 +00:00
Cathy Lu
005e9f15fc Bug 1845835 - Expose shopping ad attribution events in AC 2023-11-02 19:04:16 +00:00
Arturo Mejia
0b538d2d1c Bug 1861084 - Expose cookie banner global-rules/ sub-frames in ac. 2023-10-27 15:41:18 +00:00
mcarare
93e973e94b Bug 1860725 - Revert "Bug 1812797 - Add referrerUrl to Request"
This reverts commit 9947b70d23127fedee50cb60d078e0a241b63ef4.
2023-10-24 15:40:34 +00:00
Lina Butler
c4350f91fe Bug 1858542 - Introduce AwesomeBarState and Suggestion.metadata.
This commit adds:

* An `AwesomeBarState` class to hold the currently visible suggestions
  and last clicked suggestion.
* `VisibilityStateUpdated` and `SuggestionClicked` `AwesomeBarAction`s
  to update the state, and an `EngagementFinished` action to reset the
  state. Consumers will dispatch these actions on the `BrowserStore`
  in response to user interactions with the awesomebar and toolbar.
* A `metadata` map to `AwesomeBar.Suggestion`, allowing providers to
  attach opaque data to each suggestion.
2023-10-24 07:43:07 +00:00
rahulsainani
6655ad32b7 Bug 1859593 - Use ProductAnalysis and ProductRecommendation as data classes 2023-10-23 08:58:37 +00:00
jackyzy823
d63fd3cf5a Bug 1812797 - Add referrerUrl to Request 2023-10-23 05:31:29 +00:00
William Durand
47ce20c22b Bug 1858925 - Add a link to AMO in the detail view 2023-10-17 19:48:10 +00:00
Lina Butler
2baad7c50e Bug 1859408 - Instrument the awesomebar to report visible suggestions.
This commit adds an `onVisibilityStateUpdated` callback to the
`AwesomeBar` composable. The new callback is invoked with the current
`AwesomeBar.VisibilityState` whenever the list of visible suggestions
changes.
2023-10-17 17:08:29 +00:00
Sammy Khamis
5dfad08a18 Bug 1855586 - Update VisitType enum from a-s 2023-10-17 13:15:40 +00:00
William Durand
f17b2e2769 Bug 1858925 - Fix homepageUrl field on the Addon class 2023-10-16 16:42:00 +00:00
Ben Dean-Kawamura
3b3e14c165 Bug 1855291 - Handle FxA exceptions in getManageAccountURL
I didn't make any unit tests for this since it seemed fairly trivial,
but I can add them if needed.
2023-10-12 17:45:00 +00:00
DreVla
1c25bd863f Bug 1849274 - Record history telemetry when Unified Search result tap
Searching through history using unified search, when a suggestion
is tapped, the History.searchResultTapped event is
sent.
2023-10-12 10:18:35 +00:00
Arturo Mejia
f4a627c5ac Bug 1850674 - Add extra add-on metadata. 2023-10-11 03:11:43 +00:00
William Durand
126aebde87 Bug 1810047 - Implement UI for webextensions optional permissions. 2023-10-04 18:42:27 +00:00
William Durand
dc1ecb8041 Bug 1847266 - Implement status message for incompatible add-ons in the manager 2023-10-04 14:17:00 +00:00
William Durand
bc91581022 Bug 1847266 - Implement status message for add-ons not signed correctly in the manager 2023-10-03 12:46:22 +00:00
William Durand
d0ede5fa7d Bug 1855516 - Call disableExtensionProcessSpawning() when the user clicks the "continue without add-ons" button 2023-09-28 11:06:31 +00:00
Arturo Mejia
99cc5b5b6d Bug 1844557 - Disable the switch control when the add-on is blockedlisted. 2023-09-26 20:45:59 +00:00
Titouan Thibaud
4650c2500f Bug 1842203: Implement of the final UX of FedCM Provider and Account dialogs in Compose 2023-09-25 14:08:49 +00:00
Cathy Lu
7d655590f3 Bug 1853309 - Expose Creating Shopping Analysis and Status API 2023-09-20 15:17:46 +00:00
Gabriel Luong
e7e5fff132 Bug 1853270 - Add LoadUrlFlag flag to allow additional headers
Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
2023-09-15 15:43:31 +00:00
Arturo Mejia
ca33172d7f Bug 1848100 - Implement add-ons installation failed listener 2023-09-12 16:18:54 +00:00
mcarare
063c553913 Bug 1849833 - Replace deprecated compileSdkVersion.
This is replaced by defaultConfig compileSdk.
2023-09-11 06:36:20 +00:00
Matthew Tighe
45ca0bcb7d Bug 1721904 - update thumbnail caching on app open 2023-09-06 22:38:21 +00:00
Zac McKenney
8deb0f2a7a Bug 1846979 - Add extensions process spawning disabled dialog 2023-09-06 12:32:28 +00:00
Zac McKenney
28d16c1b67 Bug 1819737 - Added extensions process crash handling 2023-09-04 10:38:15 +00:00
owlishDeveloper
2a08983c96 Bug 1840693 - Expose Request Product Recommendations API 2023-08-10 02:39:42 +00:00
owlishDeveloper
1f27d0b055 Bug 1840692 - Expose Request Analysis Fakespot API 2023-08-09 21:29:34 +00:00
owlishDeveloper
803e68a86a Bug 1842638 - Expose GeckoView isProductUrl API to check if the current page is a product page [WIP][DO NOT MERGE] 2023-08-04 17:08:27 +00:00
William Durand
dfcf20ac04 Bug 1845820 - Add the WebExtensionInstallException.Blocklisted class 2023-08-02 14:43:09 +00:00
MatthewTighe
076307442c Bug 1839158 - Ignore invalid credit card save requests 2023-08-01 23:48:17 +00:00
Alex Franchuk
2588a0160f Bug 1839697 - Report Java exceptions in the Glean crash pings 2023-07-26 19:22:36 +00:00
MatthewTighe
c87183c8b5 Bug 1843168 - Expose Mockito through test support component 2023-07-24 18:02:09 +00:00
Arturo Mejia
9aabb5b99c Bug 1842916 - Expose WebExtensionInstallException.UserCancelled. 2023-07-13 01:30:40 +00:00
Arturo Mejia
2fd17a3a34 Bug 1836360 - Add a dialog for handling FedCM showPolicyPrompt. 2023-06-28 22:54:17 +00:00
Mark Hammond
0bc6185532 Bug 1810630 - add 'manage account' to the sync menu. (https://github.com/mozilla-mobile/firefox-android/pull/2566) 2023-06-22 19:47:50 +00:00
Titouan Thibaud
c24adae4d8 Bug 1836364 - Add a dialog for handling FedCM showAccountListPrompt 2023-06-22 15:08:21 +00:00
jackyzy823
4540592440 Bug 1820404 - Keep ReaderView position state between active and inactive 2023-06-16 17:32:27 +00:00
Olivia Hall
0967f5078a Bug 1829213 - Update Save To PDF Telemetry and checkForPdfViewer Option
* Adds `checkForPdfViewer` to determine if page is a PDF Viewer page or not
* Adjusts save_to_pdf_failure to have extras of pdf, non-pdf, or unknown
* Adjusts save_to_pdf_failure to have extras of failure reason
* Adjusts save_to_pdf_tapped to have extras of pdf, non-pdf, or unknown
* Adds save_to_pdf_completed with extras of pdf, non-pdf, or unknown
2023-06-15 21:02:41 +00:00
Olivia Hall
4875874900 Bug 1836778 - Add Support for Printing in GeckoEngineSession
This bug adds an option to print the current page's content using the
Android Print Spooler via GeckoView with status on the Engine in AC.
2023-06-15 15:13:35 +00:00
Arturo Mejia
945a82fc75 Bug 1836357 - Add a dialog for handling FedCM showProviderPrompt. 2023-06-13 02:47:15 +00:00
Makoto Kato
72c40136d0 Bug 1796434 - Part 1. Add WebAppContentFeature to set display value in the Web App Manifest. 2023-06-12 23:54:02 +00:00
William Durand
58a632b23d Bug 1825126 - Implement onInstallPermissionRequest in WebExtensionSupport.
Co-authored-by: William Durand <will+git@drnd.me>
Co-authored-by: arturo mejia <arturomejiamarmol@gmail.com>
2023-06-07 00:41:36 +00:00
rahulsainani
52aa9e8471 Bug 1836447 - Make extension functions member functions of BookmarkNode 2023-06-06 09:55:52 +00:00