Commit graph

61 commits

Author SHA1 Message Date
jackyzy823
dd3c7926c2 Bug 1850006 - conservative flag limits to mozilla services only 2024-01-23 21:08:32 +00:00
jackyzy823
b8b44b9ac8 Bug 1850006 - make conservative to be a parameter of Request 2024-01-23 21:08:32 +00:00
jackyzy823
572736f974 Bug 1812797 - Add referrerUrl to Request 2023-12-11 21:27:39 +00:00
mcarare
60d3978145 Bug 1821005 - Restore reverted Gradle 8 upgrade due to startup crashes"
This reverts commit 592e88b3547d2e96ae04d8b5bd69cbab2ac3e97e.
2023-12-05 03:44:20 +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
mcarare
93e973e94b Bug 1860725 - Revert "Bug 1812797 - Add referrerUrl to Request"
This reverts commit 9947b70d23127fedee50cb60d078e0a241b63ef4.
2023-10-24 15:40:34 +00:00
jackyzy823
d63fd3cf5a Bug 1812797 - Add referrerUrl to Request 2023-10-23 05:31:29 +00:00
mcarare
063c553913 Bug 1849833 - Replace deprecated compileSdkVersion.
This is replaced by defaultConfig compileSdk.
2023-09-11 06:36:20 +00:00
MatthewTighe
c87183c8b5 Bug 1843168 - Expose Mockito through test support component 2023-07-24 18:02:09 +00:00
Geoff Brown
6561b2de2b Bug 1825116 - Resolve many black, isort, and file-whitespace lint issues 2023-04-12 14:04:29 +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
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
Alexandru2909
b822151f87 Bug 1811175 - Implement fallback protocol for sponsored tiles 2023-02-27 08:01:52 +00:00
Christian Sadilek
4091b14a33 Fix android lint in composite builds 2022-11-21 13:40:53 -05: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
d78b06b6bf [components] For https://github.com/mozilla-mobile/android-components/pull/11175 - Migrate runBlocking and runBlockingTest to runTest in unit tests
Used `runTestOnMain` where `MainCoroutineRule` was used or needed to be used,
`runTest` elsewhere.

Extra effort for removing all `runBlocking` occurrences in unit tests.
`kotlinx.coroutines.test.runTest` is a test specific API that seems like a more
appropriate way for running tests in a coroutine than the general
`kotlinx.coroutines.runBlocking` api.
2022-05-10 13:45:03 +00:00
Michael Comella
7f7d8a1f21 [components] For https://github.com/mozilla-mobile/android-components/issues/11015: remove BufferedReader from Response.Body.string().
See code comments for reasoning.

There were already tests for the core functionality. Unfortunately, I
couldn't figure out how to write a test for the allocation change but I
tested it manually using an allocation tracker.
2021-10-06 16:51:29 +00:00
Michael Comella
b724190567 [components] No issue: remove redundant header name definitions. 2021-09-22 13:30:37 +00:00
Sebastian Kaspari
ce323400dd [components] Run ktlintFormat to fix new ktlint errors. 2021-07-28 12:03:23 +00:00
Jonathan Almeida
abdbbf2e8e [components] Re-land: "Closes https://github.com/mozilla-mobile/android-components/issues/8693: Integrate GeckoWebExecutor#FETCH_FLAG_PRIVATE."
This re-lands commit bc1719598b0980b12bf7717d35ee31d15eb05365.
2021-01-29 19:51:36 +00:00
Jonathan Almeida
a2c22bd0ec [components] Revert "Closes https://github.com/mozilla-mobile/android-components/issues/8693: Integrate GeckoWebExecutor#FETCH_FLAG_PRIVATE."
This reverts commit 7f97412251cbec11a371fce1652ad7a760184d93.
2021-01-22 20:13:55 +00:00
Arturo Mejia
c1a6273aa5 [components] Closes https://github.com/mozilla-mobile/android-components/issues/8693: Integrate GeckoWebExecutor#FETCH_FLAG_PRIVATE. 2021-01-19 18:26:00 +00:00
Sebastian Kaspari
a8b7b69812 [components] Closes https://github.com/mozilla-mobile/android-components/issues/7719: Remove all default headers from GeckoViewFetchClient. 2020-09-21 13:53:27 +02:00
Sebastian Kaspari
9d854eb6b7 [components] Issue https://github.com/mozilla-mobile/android-components/issues/7719: Remove default headers for "User-Agent" and "Connection". 2020-09-17 11:01:02 +02:00
Tiger Oakes
016012839a [components] Make header code case insensitive 2020-06-18 11:24:47 -07:00
Arturo Mejia
a63d91c116 [components] For issue https://github.com/mozilla-mobile/android-components/issues/1159 Ignore status code for blob urls in GeckoViewFetchClient 2020-05-14 19:53:23 -04:00
Jonathan Almeida
b86fa6dfb5 [components] Close https://github.com/mozilla-mobile/android-components/issues/6601: Update targetSdkVersion to 29 2020-04-28 03:16:54 -04:00
Christian Sadilek
26d4b79b8c [components] Issue https://github.com/mozilla-mobile/android-components/issues/6314: Support fetching non base64 encoded data URIs 2020-04-07 13:28:50 -04:00
Christian Sadilek
b8ab3fdcf3 [components] Closes https://github.com/mozilla-mobile/android-components/issues/6314: Support fetching / downloading data URIs 2020-04-02 10:44:52 -04:00
Arturo Mejia
c148451bee [components] Update Android Gradle plugin and Gradle version 2019-11-28 09:54:59 -05:00
Sawyer Blatz
97904ab7d8 [components] Closes https://github.com/mozilla-mobile/android-components/issues/4896: Adds download management 2019-10-30 09:46:44 -07:00
Tiger Oakes
a5e011866e [components] Issue https://github.com/mozilla-mobile/android-components/issues/3952 - Add Digital Asset Links verification 2019-08-01 13:32:11 -04:00
Sebastian Kaspari
ff02533b9b [components] Issue https://github.com/mozilla-mobile/android-components/issues/3637: service-location: dd service to access Mozilla Location Service (MLS). 2019-07-23 18:01:30 +02:00
Tiger Oakes
708e1dd908 [components] Fixes https://github.com/mozilla-mobile/android-components/issues/3516 - Use response to determine file name 2019-07-19 14:09:49 -04:00
Tiger Oakes
0099bac510 [components] Turn on MagicNumber ignoreEnums rule 2019-07-15 11:41:43 -04:00
Tiger Oakes
9eedbb0567 [components] Issue https://github.com/mozilla-mobile/android-components/issues/1968 - Add FetchDownloadManager 2019-07-08 10:05:46 -04:00
Denys M
1f8fc3fa5b [components] For https://github.com/mozilla-mobile/android-components/issues/1481. Enable unit test binary resources globally.
Excluded few modules.
2019-06-13 09:29:52 +02:00
Denys M
50262a7473 [components] For https://github.com/mozilla-mobile/android-components/issues/1481. Use androidx runner in concept-fetch. 2019-06-11 12:28:55 +02:00
Tiger Oakes
2fe55748a3 [components] Issue https://github.com/mozilla-mobile/android-components/issues/1968 - Convert DownloadManager to interface 2019-06-10 13:14:00 -07:00
Sebastian Kaspari
55bd486ffd [components] Closes https://github.com/mozilla-mobile/android-components/issues/2585: concept-fetch: Add support for interceptors. 2019-04-01 18:54:38 +02:00
Michael Comella
4c2c629620 [components] Closes https://github.com/mozilla-mobile/android-components/issues/2479: Convert fromParamsForUrlEncoded to take vararg.
This is not a breaking change: this function originally landed in the
development of 0.48.0 and this new commit should be released in the same
version.
2019-03-22 11:39:22 +01:00
Michael Comella
b25c3564c6 [components] Issue https://github.com/mozilla-mobile/android-components/issues/2394: Move Headers.Common -> Headers.Names & Headers.Values.
This is a breaking change but is clearer and easier to use (less
nesting).
2019-03-20 10:13:26 +01:00
Michael Comella
deb40476e4 [components] Issue https://github.com/mozilla-mobile/android-components/issues/2394: Add Request.Body.fromParamsForFormUrlEncoded. 2019-03-20 10:13:26 +01:00
Michael Comella
87231ec30a [components] Issue https://github.com/mozilla-mobile/android-components/issues/2394: Add Headers.Common.Values.CONTENT_TYPE_FORM_URLENCODED. 2019-03-20 10:13:26 +01:00
Michael Comella
d39c747bdd [components] Issue https://github.com/mozilla-mobile/android-components/issues/2336: Add Headers.Common.USER_AGENT; use in PocketEndpointRaw. 2019-03-19 09:34:23 -07:00
Michael Comella
c6b3127e31 [components] Issue https://github.com/mozilla-mobile/android-components/issues/2361: Use Headers.Common.CONTENT_TYPE in ResponseTest. 2019-03-15 14:31:01 -07:00
Michael Comella
4f0f84a658 [components] Issue https://github.com/mozilla-mobile/android-components/issues/2361: Add Headers.Common with CONTENT_TYPE.
To avoid wasted effort, I only implemented the one value I need: others
can add their own values when they need them.
2019-03-15 14:31:01 -07:00
Michael Comella
4a9f66ab40 [components] Closes https://github.com/mozilla-mobile/android-components/issues/2262: Rename Response.X to isX.
This follows Java naming conventions.
2019-03-08 20:13:53 +01:00