William Durand
9bc2c90781
Bug 1875229 - Add support for extensions not allowed in private windows
2024-02-14 19:11:16 +00:00
rahulsainani
d301f268d2
Bug 1872704 - Fix home activity leak by ExtensionsProcessDisabledController
2024-01-18 19:59:53 +00:00
t-p-white
01f1578630
Bug 1874861 - Removed redundant LongParameterList suppression's
2024-01-18 18:37:49 +00:00
William Durand
40c8b21971
Bug 1867295 - Introduce a new installBuiltInWebExtension method
2023-11-30 20:41:42 +00:00
Luca Greco
69d1b93ba6
Bug 1859585 - WebExtensionSupport should update installExtensions entries on AddonManagerDelegate.onReady calls.
2023-11-13 14:18:47 +00:00
Zac McKenney
ef8eb8a169
Bug 1857487 - Kill the app when backgrounded and extensions process spawning threshold is exceeded
2023-10-18 08:04:01 +00:00
William Durand
9e03acb389
Bug 1858498 - Do not show post-install dialog during updates
2023-10-11 21:48:22 +00:00
William Durand
1883946a8b
Bug 1847088 - Show a notification in the Fenix add-on manager when the extensions process spawning is disabled
2023-10-09 22:02:14 +00:00
William Durand
f1f1138cc6
Bug 1810047 - Fixup WebExtensionPromptFeature
2023-10-05 21:08:45 +00:00
William Durand
126aebde87
Bug 1810047 - Implement UI for webextensions optional permissions.
2023-10-04 18:42:27 +00:00
Zac McKenney
af99635693
Bug 1852335 - Renamed WebExtensionPopupFeature and ExtensionProcessDisabledPopupFeature to observers
2023-09-14 03:34:40 +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
mcarare
235c47209f
Bug 1849833 - Replace deprecated kotlinOptions method.
2023-09-11 06:36:20 +00:00
mcarare
5a7b24763d
Bug 1849833 - Replace qualified name with import.
2023-09-11 06:36:20 +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
MatthewTighe
c87183c8b5
Bug 1843168 - Expose Mockito through test support component
2023-07-24 18:02:09 +00:00
Arturo Mejia
674e01d7f1
Bug 1825124 - Change the way we show the post-install popup once an extension has been installed.
2023-06-21 16:46:00 +00:00
rahulsainani
8de6355e70
Bug 1837961 - Part 2:Replace usages of ifChanged to distinctUntilChanged
2023-06-21 09:27:58 +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
mcarare
bef12d45f4
Bug 1834328 - Verify correct number of direct interactions with store.
2023-05-22 19:53:53 +00:00
Geoff Brown
6561b2de2b
Bug 1825116 - Resolve many black, isort, and file-whitespace lint issues
2023-04-12 14:04:29 +00:00
mcarare
278fa80cc2
Bug 1824717 - Remove unnecessary AndroidJUnit4 runner.
2023-04-05 12:44:13 +00:00
Ryan VanderMeulen
0e5e70291c
Bug 1820233 - Remove unneeded kotlin_stdlib inclusions and re-enable Werror in detekt build.gradle
2023-03-07 00:12:18 +00:00
mcarare
1f589a2e0b
Bug 1802817 - Set namespace via DSL in gradle build files.
...
See https://developer.android.com/studio/build/configure-app-module#set-namespace
and https://issuetracker.google.com/issues/172361895
2023-03-02 17:13:09 +00:00
mcarare
cd1b348c9b
Bug 1802817 - Rename DSL object from lintOptions to lint.
...
DSL object for configuring lint options lintOptions is deprecated.
2023-03-02 17:13:09 +00:00
mcarare
922b5f6643
Bug 1802817 - Rename AC Dependencies to ComponentsDependencies.
...
This change is needed in order to avoid clashes with Dependencies class introduced
in Gradle from 7.6 version.
2023-03-02 17:13:09 +00:00
Christian Sadilek
4091b14a33
Fix android lint in composite builds
2022-11-21 13:40:53 -05:00
mcarare
4ad330adbc
[components] For https://github.com/mozilla-mobile/android-components/issues/12489 : Upgrade kotlin, coroutines, compose compiler to latest versions.
...
Upgrade kotlin to 1.7.20, coroutines to 1.6.4 and compose compiler to 1.3.2.
Replace deprecated Xopt-in with op-in.
Replace deprecated Xjvm-default=enable with Xjvm-default=all.
Remove useIR property that is now default true.
2022-10-18 08:20:59 +00:00
Gabriel Luong
d9d783b698
[components] Issue https://github.com/mozilla-mobile/android-components/issues/12939 : Address all ktlint issues
2022-10-17 17:07:40 -04:00
Mugurell
2963708053
[components] For https://github.com/mozilla-mobile/android-components/issues/11755 - Replace TestCoroutineDispatcher with UnconfinedTestDispatcher
...
- Refactor out all usages of TestCoroutineDispatcher and TestCoroutineScope
- Refactor MainCoroutineRule to now use UnconfinedTestDispatcher by default.
This dispatcher will eagerly enter all launch or async blocks being more suited
to our codebase.
2022-05-10 13:45:03 +00:00
Sebastian Kaspari
90ec41fc3a
[components] Update Kotlin and Jetpack Compose versions.
2021-10-25 10:58:07 +00:00
Grisha Kruglov
2cb270feed
[components] Introduced 'restored' content state for tracking tab restoration
2021-08-05 11:47:54 -07:00
Grisha Kruglov
14a116801f
[components] Support for tracking external sources
...
Mainly, does two things:
- refactors SessionState.Source into a richer form (splitting sources
into Internal and External, where External ones track information
about originating package)
- adds persistence of External sources into tab session state; we don't
want to persist Internal sources as that was explicitly removed before
for causing various issues (e.g. UI behaving incorrectly after
restoring tabs with various internal sources set)
2021-08-05 11:47:54 -07:00
Sebastian Kaspari
ce323400dd
[components] Run ktlintFormat to fix new ktlint errors.
2021-07-28 12:03:23 +00:00
Michael Comella
06e80c6e10
[components] For https://github.com/mozilla-mobile/android-components/issues/10604 : remove remaining unused imports automatically.
...
This commit was automatically generated with:
```sh
./gradlew ktlint --args="-F"
```
2021-07-27 19:39:04 +00:00
Michael Comella
9f3e6f1a1b
[components] For https://github.com/mozilla-mobile/android-components/issues/10604 : reuse new TestCoroutineDispatcher in additional tests.
...
These follow a few more simple patterns I was able to find:
- the testDispatcher is not used anywhere else: remove it
- the testDispatcher is used to set a main dispatcher: this is redundant
to the test rule so remove it both the dispatcher & the main dispatcher
- the testDispatcher is actually used elsewhere: for simplicity, change
the reference to point at the MainCoroutineRule.
2021-07-27 19:39:04 +00:00
Christian Sadilek
c9d791c53b
[components] Adjust detekt TooManyFunctions threshold
2021-03-18 15:25:40 +00:00
codrut.topliceanu
354fdf44cb
[components] For https://github.com/mozilla-mobile/android-components/issues/9606 - Adds defaultSettings when creating a new GeckoEngineSession
...
This fixes the issue where some new WebExtension tabs would have no ETP setting in Fenix.
For https://github.com/mozilla-mobile/android-components/issues/9606 - Removes fallback policy, adds settings to onOpenOptionsPage
For https://github.com/mozilla-mobile/android-components/issues/9606 - Adds defaultSettings to onToggleActionPopup on init GeckoEngineSession
For https://github.com/mozilla-mobile/android-components/issues/9606 - Removes new instance of trackingPolicy and uses passed parameter
For https://github.com/mozilla-mobile/android-components/issues/9606 - Adds documentation to new defaultSettings parameter
For https://github.com/mozilla-mobile/android-components/issues/9606 - Fixes formatting
2021-02-09 19:32:12 +00:00
Roger Yang
2d945235ff
[components] Revert "For https://github.com/mozilla-mobile/fenix/issues/16832 : Separate facts for addon install and addon enabled" ( https://github.com/mozilla-mobile/android-components/pull/9499 )
...
* Revert "Remove unused line"
This reverts commit 8506f232c1a05545354e47db1ddde744c6a4d24e.
* Revert "Fix web extension support test"
This reverts commit e4b9bcd90f120a76e41e2eae3d60bc9f6f3efaba.
* Revert "Separate web extention install and enable facts"
This reverts commit 7157eba988015afcfff7fb11854136fe0c3157fe.
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-26 16:05:49 +00:00
Elise Richards
aa56aa1f74
[components] Remove unused line
2021-01-25 21:46:55 +00:00
Elise Richards
c27862271d
[components] Fix web extension support test
2021-01-25 21:46:55 +00:00
Elise Richards
552072712d
[components] Separate web extention install and enable facts
2021-01-25 21:46:55 +00:00
Christian Sadilek
b1ca348f8c
[components] Closes https://github.com/mozilla-mobile/android-components/issues/9210 : White page shown in custom tab when ublock blocks page
2020-12-16 16:59:12 +00:00
Christian Sadilek
240cb89f55
[components] Closes https://github.com/mozilla-mobile/android-components/issues/7976 : Use different port for article and reader pages
2020-10-07 01:33:30 +00:00
Christian Sadilek
f210e82256
[components] Closes https://github.com/mozilla-mobile/android-components/issues/8609 : Intermittent test failues in WebExtensionSupportTest
2020-10-06 23:12:43 +00:00
Sebastian Kaspari
b5ba7558a2
[components] Closes https://github.com/mozilla-mobile/android-components/issues/8529 : Dispatch a generic InitAction from BrowserStore
...
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
2020-09-30 17:31:15 +00:00
Christian Sadilek
4c0f21105b
[components] Closes https://github.com/mozilla-mobile/android-components/issues/7702 : Close unsupported extension pages on startup
2020-07-17 11:11:05 -04:00
MozLando
b93af52367
[components] Merge https://github.com/mozilla-mobile/android-components/pull/7615
...
7615: Closes https://github.com/mozilla-mobile/android-components/issues/6356 : Install built-in extensions using GV extension controller r=psymoon,Amejia481 a=csadilek
This is replacing the deprecated `runtime.registerWebExtension` with the new `webExtensionController.ensureBuiltIn` for installing built-in extensions.
I've described the required steps here: https://github.com/mozilla-mobile/android-components/issues/6356#issuecomment-638387500
This is best reviewed by collapsing the tests. The actual changeset is pretty small and cleaned up the engine logic nicely (net negative lines of code). 🎉
@Amejia481 @psymoon Now that we've branched for release we can land this:
- The GV API landed in beta as well in the meantime, which means we can also remove the `supportActions` and `allowContentMessaging` fields (this is controlled by the manifest now)
- I will apply the change to beta once reviewed to make this easier to read
- The new GV API only installs if a newer version is available, solving the concerns described here: https://github.com/mozilla-mobile/android-components/issues/6356#issuecomment-639822748
- To make sure the latest version is installed in development and in releases and to make sure we don't forget updating the version, we have: https://github.com/mozilla-mobile/android-components/pull/7541
Marking as "Do not land" so I can coordinate landing with the required Fenix change.
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>
2020-07-07 18:27:39 +00:00