Commit graph

721 commits

Author SHA1 Message Date
Mozilla L10n Automation Bot
e009629e17 [components] Import l10n. 2022-03-12 00:21:49 +00:00
Jonathan Almeida
e8016bbe35 [components] Closes https://github.com/mozilla-mobile/android-components/issues/11646: Update Sentry version to latest release
Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
Co-authored-by: Arturo Mejia <arturomejiamarmol@gmail.com>
2022-03-09 00:42:21 +00:00
Roger Yang
9207f32de3 [components] Close https://github.com/mozilla-mobile/android-components/issues/11809: Add missing EOL for Socorro report 2022-03-03 22:56:22 +00:00
Mozilla L10n Automation Bot
0ca1e422b7 [components] Import l10n. 2022-02-15 00:33:12 +00:00
mcarare
cba278b7af [components] For https://github.com/mozilla-mobile/android-components/issues/11717: Use app name for notification title. 2022-02-14 17:48:01 +00:00
Mugurell
d1ed87e71c [components] For https://github.com/mozilla-mobile/android-components/issues/11666 - Use PendingUtils.defaultFlags to specify mutability 2022-02-07 11:07:37 +00:00
Jonathan Almeida
6fff2ebc34 [components] Close https://github.com/mozilla-mobile/android-components/issues/11647: Remove lib-push-amazon component 2022-02-02 02:00:25 +00:00
iorgamgabriel
01c898fd7b [components] for https://github.com/mozilla-mobile/android-components/issues/6215 - Firefox crash notification is not displayed on devices with Android 11/Android 12 2022-01-27 15:31:45 +00:00
Matt Tighe
320db82e76 [components] remove deprecated lifecycle usages 2022-01-13 21:27:08 +00:00
Grigory Kruglov
ea678dc88f [components] Delete publicsuffixlist/ext/String
The only consumer of this, afaik, was logins sorting code in Fenix,
which after https://github.com/mozilla-mobile/fenix/pull/23163 stops using
this method.
2022-01-12 22:33:37 +00:00
Mozilla L10n Automation Bot
12afbcd07d [components] Import l10n. 2021-12-22 00:25:35 +00:00
rxu
bc58386677 [components] Add distribution ID support to Socorro crash reports 2021-12-09 06:36:17 +00:00
Mozilla L10n Automation Bot
c9c56e0e41 [components] Import l10n. 2021-11-20 00:34:43 +00:00
Mozilla L10n Automation Bot
66030bd986 [components] Import l10n. 2021-11-12 00:23:14 +00:00
Mozilla L10n Automation Bot
f9302c26d5 [components] Import l10n. 2021-10-25 17:30:12 +00:00
Sebastian Kaspari
90ec41fc3a [components] Update Kotlin and Jetpack Compose versions. 2021-10-25 10:58:07 +00:00
Mozilla L10n Automation Bot
19628d9c83 [components] Import l10n. 2021-09-30 00:21:29 +00:00
Mozilla L10n Automation Bot
89e858047c [components] Import l10n. 2021-09-12 00:22:14 +00:00
Mozilla L10n Automation Bot
863bf833ca [components] Import l10n. 2021-08-27 00:21:54 +00:00
Jonathan Almeida
e7d3f34077 [components] Close https://github.com/mozilla-mobile/android-components/issues/10769: Add DebugAction.UpdateCreatedAtAction with reducer
We wanted to introduce this action for testing purposes in client apps
that want to "turn back time" for a certain tab.

The difficulty is in ensuring clients do not misuse these actions, and
we thought of a few strategies:

- Option 1: Make a separate grouping called `DebugAction` and document
that these are special actions.

- Option 2: Using a middleware, we only allow changes to the store
depending on some dynmamic logic in the client app. This is a bit
complicated and requries the user to restart the app to add this
special middleware.

- Option 3: Add an annotation that requires the client to opt into using
the action.

In this patch, I decided to go with a combination of options 1 and 3
which gave us the right about of warning and flexibility.

With option 2, we were still required to add new actions to the store
and the middleware would not have prevented misuse in those cases.
2021-08-12 03:56:04 +00:00
Jonathan Almeida
478711a6bf [components] Close https://github.com/mozilla-mobile/android-components/issues/10677: Update Mockito to 3.11.2
Co-authored-by: Mugurell <Mugurell@users.noreply.github.com>
2021-08-12 02:25:56 +00: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
56938c0849 [components] For https://github.com/mozilla-mobile/android-components/issues/10604: remove redundant constructor to MainCoroutineRule in tests.
The default argument is identical to the passed in argument.
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
Michael Comella
6b28d7fae1 [components] For https://github.com/mozilla-mobile/android-components/issues/10604: reuse new TestCoroutineDispatcher in files with scope pattern.
I found a few antipatterns that were simple to address that used
a copy-pasted pattern that creates a new CoroutineScope.
2021-07-27 19:39:04 +00:00
Sebastian Kaspari
f14b267388 [components] Issue https://github.com/mozilla-mobile/android-components/issues/10335: Update dependencies to support Jetpack Compose and add first prototype components.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335: Upgrade to Gradle 7.
* Update Android Gradle Plugin to 7.0.0 Beta 2.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335: Generate BuildConfig with VERSION_CODE and VERSION_NAME fields in library modules (for Glean).
* Issue https://github.com/mozilla-mobile/android-components/issues/10335: Add first component using Jetpack Compose: compose-browser-toolbar.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335: Introduce Jetpack Compose bindings for lib-state.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335: Upstream Jetpack Compose toolbar prototype from Reference Browser.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335: Add TargetTab helper for observing specific tabs.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335: Add compose-engine component for adding Jetpack Compose bindings to a concept-engine implementation.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335: Add new sample app (samples-compose-browser) for prototyping browser UI using Jetpack Compose.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335: Update to Beta 3 of the Android Gradle plugin.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335: Allow usage of http when substituting maven repositories in CI.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335: Rename TabTarget helper to just Target.
* Issue https://github.com/mozilla-mobile/android-components/issues/10335: Make BrowserToolbar follow target tab too.
* Add awesomebar prototype using Jetpack Compose.
* Update to Gradle 7.0.2.
2021-07-20 16:22:26 +00:00
Sebastian Kaspari
9fb6953940 [components] Upgrade Android Gradle Plugin to 4.2.2 and Gradle to 6.7.1. 2021-07-19 09:32:44 +00:00
Sebastian Kaspari
28a76101be [components] Update Kotlin to 1.5.10 (and Coroutines to 1.5.0 and Room to 2.3.0). 2021-07-19 09:32:44 +00:00
Mugurell
1664ac9eb5 [components] For https://github.com/mozilla-mobile/android-components/issues/10515 - Populate the CrashReporterActivity layout. 2021-06-25 06:10:48 +00:00
Roger Yang
89cfe1df17 [components] Issue https://github.com/mozilla-mobile/android-components/issues/10335: Update appcompat and fragment dependencies to 1.3.x. 2021-06-21 23:05:50 +00:00
mcarare
636adaf2a9 [components] For https://github.com/mozilla-mobile/android-components/issues/10404: Remove deprecated kotlin-android-extensions plugin
(cherry picked from commit d99621583ceb11e7d91ebe284e40aec145793e48)
2021-06-15 08:32:26 +00:00
Christian Sadilek
4dfb6d92c1 [components] Revert "For https://github.com/mozilla-mobile/android-components/issues/10404: Remove deprecated kotlin-android-extensions plugin"
This reverts commit d99621583ceb11e7d91ebe284e40aec145793e48.
2021-06-14 18:09:24 +00:00
Roger Yang
fc3893f5c7 [components] Revert "Issue https://github.com/mozilla-mobile/android-components/issues/10335: Update appcompat and fragment dependencies to 1.3.x."
This reverts commit d4acb0a56642347150d07ed431a554c62bdf6353.
2021-06-14 16:31:52 +00:00
Jan-Erik Rediger
163330b349 [components] Upgrade to Glean v39.0.3
This also adjusts sync-telemetry to use the non-deprecated form of
events now.
2021-06-14 15:48:35 +00:00
Sebastian Kaspari
753f7a0971 [components] Issue https://github.com/mozilla-mobile/android-components/issues/10335: Update appcompat and fragment dependencies to 1.3.x. 2021-06-14 15:02:37 +00:00
mcarare
17c2336fde [components] For https://github.com/mozilla-mobile/android-components/issues/10404: Remove deprecated kotlin-android-extensions plugin 2021-06-14 10:05:57 +00:00
Sebastian Kaspari
e02a012bcb [components] Revert "Upgrade to Glean v39.0.0"
This reverts commit 5af3322f80c7a67b5b99c4d57d739dac74cf93c9.
2021-06-08 17:54:42 +02:00
Sebastian Kaspari
b7d77a521d [components] Complete migration from browser-session to browser-state.
* Issue https://github.com/mozilla-mobile/android-components/issues/10197: Move EngineObserver and EngineMiddleware to browser-state and refactor SessionManager dependency away.
* Issue https://github.com/mozilla-mobile/android-components/issues/3532: Migrate TabsUseCases to use BrowserStore exclusively.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209: Migrate SessionUseCases to use BrowserStore exclusively.
* Issue https://github.com/mozilla-mobile/android-components/issues/3532, https://github.com/mozilla-mobile/android-components/issues/10209: Migrate components to use new UseCase APIs.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209: Migrate UndoMiddleware to use BrowserStore.
* Issue https://github.com/mozilla-mobile/android-components/issues/3532: Migrate CustomTabsUseCases to use BrowserStore.
* Issue https://github.com/mozilla-mobile/android-components/issues/10211: Migrate sample-browser to not depend on browser-session.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209: Remove browser-session dependency.
* Issue https://github.com/mozilla-mobile/android-components/issues/3532: feature-tabs: Remove browser-session dependency.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209: Fix UndoMiddlewareTest
* Issue https://github.com/mozilla-mobile/android-components/issues/10209: Refactor SessionUseCasesTest to not use SessionManager.
* Issue https://github.com/mozilla-mobile/android-components/issues/10209: Fix SessionFeatureTest.
* Refactor support-migration tests to not use SessionManager.
* Fix tests in feature-contextmenu.
* Refactor feature-recentlyclosed tests to not use SessionManager
* Refactor browser-session-storage tests to not use SessionManager
* Refactor feature-intent tests to not use SessionManager
* Refactor feature-tabs tests to not use SessionManager pt. 1
* Refactor feature-customtabs tests to not depend on browser-session.
* Make sure initial load url flags are correct
* Refactor feature-tabs tests to not use SessionManager pt. 2
* Refactor browser-state tests to not depend on browser-session.
* SearchUseCasesTest: Use addTab use case instead of addPrivateTab.
* Samples Browser: Remove unused drawable.
* Fix feature-pwa tests
* Remove browser-session.
* Make sure engine session is linked for window requests
* Make sure engine session is linked when provided with tab
* Make sure engine session is linked when provided with tab pt. 2
* Prevent engine session from being created multiple times
* Prevent engine session from being created multiple times pt. 2
* Prevent engine session from being created multiple times pt. 3
* Part 4: REFACTOR ALL THE THINGS
* Update tests.
* Add additional test for multiple CreateEngineSessionAction dispatching.
* Refactor, some docs and tests
* Fix CustomTabs tests...
2021-06-08 14:44:09 +00:00
Jan-Erik Rediger
18f3609666 [components] Upgrade to Glean v39.0.0
This also adjusts sync-telemetry to use the non-deprecated form of
events now.
2021-06-08 09:31:46 +00:00
Mozilla L10n Automation Bot
5f4b14eec7 [components] Import l10n. 2021-06-05 00:18:44 +00:00
Sebastian Kaspari
98ab7b1b5f [components] Fix or suppress warnings from new detekt version. 2021-05-25 15:22:17 +00:00
Roger Yang
6e13e9d353 [components] No issue: update metrics.md 2021-05-21 18:44:08 +00:00
Mozilla L10n Automation Bot
d218d523cc [components] Import l10n. 2021-05-21 00:21:02 +00:00
Mozilla L10n Automation Bot
c17cb9921d [components] Import l10n. 2021-05-15 00:22:17 +00:00
Mozilla L10n Automation Bot
4aa33b72f9 [components] Import l10n. 2021-05-13 00:23:28 +00:00
Gabriel Luong
faf9c9bfb3 [components] Issue https://github.com/mozilla-mobile/android-components/issues/10140 - Part 3: Implement the new Autocomplete.StorageDelegate interface in GeckoAutocompleteStorageDelegate
- Uses the new GeckoView's `Autocomplete.StorageDelegate` interface in GeckoStorageDelegate
- Implements GeckoView's `Autocomplete.StorageDelegate.onCreditCardFetch`
2021-05-05 22:45:59 +00:00
Jonathan Almeida
be025ecd12 [components] Close https://github.com/mozilla-mobile/android-components/issues/10050: Upstream AbstractBinding from consuming applications 2021-05-04 20:14:29 +00:00
Mozilla L10n Automation Bot
c03bd2e998 [components] Import l10n. 2021-05-04 00:22:03 +00:00
Grisha Kruglov
0d4aa38533 [components] Introduce AutofillCrypto and add encryptio/decryption and key management to credit card storage 2021-04-21 21:06:50 +00:00
Mozilla L10n Automation Bot
ff42a7aaae [components] Import l10n. 2021-04-17 00:20:35 +00:00
Mozilla L10n Automation Bot
8fc62d6ac9 [components] Import l10n. 2021-04-11 00:20:31 +00:00
Mozilla L10n Automation Bot
a999cf4597 [components] Import l10n. 2021-03-30 00:21:24 +00:00
Michael Droettboom
8c604e1155 [components] Bug 1689162: Upgrade to new version of Glean metrics.yaml schema (https://github.com/mozilla-mobile/android-components/pull/9990)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-03-29 14:27:14 +00:00
Christian Sadilek
c9d791c53b [components] Adjust detekt TooManyFunctions threshold 2021-03-18 15:25:40 +00:00
Grisha Kruglov
22890e3d7b [components] Secure prefs (read: AndroidKeyStore) reliability experiment 2021-03-03 18:02:38 +00:00
Michael Droettboom
f0a9e90e0d [components] Upgrade to Glean 35.0.0 2021-02-26 15:50:59 +00:00
Mozilla L10n Automation Bot
83cc420397 [components] Import l10n. 2021-02-23 00:27:48 +00:00
Mozilla L10n Automation Bot
e2ba42940d [components] Import l10n. 2021-02-20 00:22:57 +00:00
Michael Comella
84d0339bb2 [components] For https://github.com/mozilla-mobile/android-components/issues/9638: name Store threads.
I omitted naming the MigrationStore to avoid touching the migration code but
that code is touched indirectly by inheriting from the Store super-class.
2021-02-10 00:35:59 +00:00
Mozilla L10n Automation Bot
9bd22333d0 [components] Import l10n. 2021-02-05 00:27:06 +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
Mozilla L10n Automation Bot
bd7c79bb7c [components] Import l10n. 2021-01-25 00:18:13 +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
Jonathan Almeida
fe47bf44de [components] Close https://github.com/mozilla-mobile/android-components/issues/9376: Remove Nearby component and samples 2021-01-19 14:42:59 +00:00
Sebastian Kaspari
d299aacf7b [components] Update Kotlin to 1.4.21 and Coroutines to 1.4.2. 2021-01-04 11:05:40 +00:00
Mozilla L10n Automation Bot
fef3583c30 [components] Import l10n. 2021-01-04 00:17:29 +00:00
Mozilla L10n Automation Bot
a074547dd9 [components] Import l10n. 2020-12-29 00:20:41 +00:00
Mozilla L10n Automation Bot
e6368dc807 [components] Import l10n. 2020-12-24 00:20:09 +00:00
Christian Sadilek
b4a18c1c06 [components] Add missing @MainThread to consumeFlow 2020-12-15 17:29:58 +00:00
MickeyMoz
8607eadc7b [components] Update Public Suffix List (20201203-170356) 2020-12-03 18:14:40 +00:00
Emilio Cobos Álvarez
41d375b7d9 [components] ktlint: Add missing newlines.
Running ./gradlew ktlint locally reports a lot of stuff like:

/home/emilio/src/moz/android-components/components/support/migration/src/test/java/mozilla/components/support/migration/MigrationIntentProcessorTest.kt:1:1: File must end with a newline (\n)

This fixes it with:

    for f in $(cat files | cut -d : -f 1); do echo "" >> $f; done

Making ./gradlew ktlint pass.
2020-12-03 17:24:44 +00:00
Jonathan Almeida
6fd9d5ca7b [components] Close https://github.com/mozilla-mobile/android-components/issues/4819: Update Firebase Cloud Messaging version 2020-12-02 22:48:17 +00:00
Christian Sadilek
09f0874a2a [components] Closes https://github.com/mozilla-mobile/android-components/issues/9056: consumeFlow leaks fragment if removed before flow created 2020-11-30 09:00:42 +00:00
MickeyMoz
e57b70b881 [components] Update Public Suffix List (20201122-170353) 2020-11-22 17:16:34 +00:00
Christian Sadilek
f121d51454 [components] Closes https://github.com/mozilla-mobile/android-components/issues/9017: Memory leak in consumeFlow 2020-11-19 16:23:08 +00:00
MickeyMoz
ebcd5128fd [components] Update Public Suffix List (20201118-170407) 2020-11-18 17:20:47 +00:00
PY
b6d484cf2d [components] Fix context activity leak in CrashDatabase
Fixes https://github.com/mozilla-mobile/fenix/issues/16518
2020-11-16 09:37:10 +00:00
MickeyMoz
729326e951 [components] Update Public Suffix List (20201112-170339) 2020-11-12 17:17:57 +00:00
Mozilla L10n Automation Bot
0556fe0333 [components] Import l10n. 2020-11-12 00:14:35 +00:00
Sebastian Kaspari
c56f79ca03 [components] Revert "Import l10n." (lint errors)
This reverts commit 8942f787ed901de4a170f436ba843918c9900966.
2020-11-11 16:31:53 +01:00
Mozilla L10n Automation Bot
f0aad721ff [components] Import l10n. 2020-11-11 14:41:19 +00:00
MickeyMoz
f6fbeecedf [components] Update Public Suffix List (20201110-170612) 2020-11-11 11:52:30 +01:00
MickeyMoz
0d121299c3 [components] Update Public Suffix List (20201107-170520) 2020-11-07 17:17:49 +00:00
MickeyMoz
6dedb45390 [components] Update Public Suffix List (20201104-170542) 2020-11-04 17:16:50 +00:00
Mozilla L10n Automation Bot
1b28c11a02 [components] Import l10n. 2020-11-04 00:21:39 +00:00
Mozilla L10n Automation Bot
665146892b [components] Import l10n. 2020-10-31 00:21:41 +00:00
MickeyMoz
228826869f [components] Update Public Suffix List (20201030-170734) 2020-10-30 17:21:02 +00:00
Grisha Kruglov
a90d794cfa [components] Add debug logging for Send Tab and Push code 2020-10-27 20:29:34 +00:00
Roger Yang
379e9ed8e9 [components] Closes https://github.com/mozilla-mobile/android-components/issues/3478: Send user locale with crash reports 2020-10-27 18:02:09 +00:00
MickeyMoz
90de20fd75 [components] Update Public Suffix List (20201027-140505) 2020-10-27 14:31:58 +00:00
Madalin Valceleanu
7be8b62082 [components] Renaming blacklist/whitelist aligned with iOS https://github.com/mozilla-mobile/android-components/issues/7557 2020-10-26 18:19:38 +00:00
Sebastian Kaspari
833ad720de [components] Fragment.consumeFrom()/consumeFlow(): Explicitly check for activity and view being available. 2020-10-26 16:10:11 +00:00
Sebastian Kaspari
ff4a8593d2 [components] Fragment.consumeFrom(), Fragment.consumeFlow(): Use isDetached instead of isAdded.
Using consumeFlow() in Fenix I noticed that in certain situations `isAdded` returns `false` even though
the `Fragment` is not detached and we have an `Activity` context. This problem goes away when we
explicitly check with `isDetached` - which also still works around the issue why we had this check
in the first place.
2020-10-23 15:35:43 +00:00
Christian Sadilek
ffee6e9713 [components] Issue https://github.com/mozilla-mobile/android-components/issues/8721: Use fragment as default lifecylceowner in consumeFlow 2020-10-21 16:15:23 +00:00
Sebastian Kaspari
2d3cddfe36 [components] Issue https://github.com/mozilla-mobile/android-components/issues/8721: Introduce Fragment.consumeFlow() extension function. 2020-10-19 09:15:30 +00:00
Sebastian Kaspari
e445c6eb58 [components] Update to Gradle 6.1.1, Android Gradle plugin 4.0.1, Kotlin 1.4 and Coroutines 1.3.9.
This patch reintroduces the changes from PR https://github.com/mozilla-mobile/android-components/pull/8360 that we reverted in PR https://github.com/mozilla-mobile/android-components/pull/8623. Now the issues in
Fenix are resolved and we can land this again.
2020-10-19 07:01:53 +00:00
Roger Yang
181b80b39f [components] Closes https://github.com/mozilla-mobile/android-components/issues/8653: Send structured java stack trace in crash reports to Socorro 2020-10-16 15:00:13 +00:00
MickeyMoz
78c6224b27 [components] Update Public Suffix List (20201014-140404) 2020-10-14 14:20:47 +00:00
Roger Yang
a46d0dec44 [components] Closes https://github.com/mozilla-mobile/android-components/issues/5352: Remove compileOnly dependency on GeckoView in lib-crash 2020-10-14 11:07:22 +00:00
MickeyMoz
8b51e93bca [components] Update Public Suffix List (20201013-140304) 2020-10-13 14:23:35 +00:00
MickeyMoz
2adc3fce59 [components] Update Public Suffix List (20201009-140554) 2020-10-09 14:41:04 +00:00
Roger Yang
13f516dde5 [components] Closes https://github.com/mozilla-mobile/android-components/issues/8632: Recover from SQLiteBlobTooBigException in crash database 2020-10-08 14:14:40 +00:00
MickeyMoz
cd913b327a [components] Update Public Suffix List (20201007-140414) 2020-10-07 15:02:33 +00:00
MickeyMoz
9441d35e80 [components] Update Public Suffix List (20201006-140648) 2020-10-06 15:48:02 +00:00
Roger Yang
b8953c942d [components] Closes https://github.com/mozilla-mobile/android-components/issues/8619: Add maximum length for Socorro crash report stack trace 2020-10-06 15:36:37 +00:00
Sebastian Kaspari
9afa3a75f7 [components] Revert Gradle, Android Gradle Plugin and Kotlin upgrade. (PR https://github.com/mozilla-mobile/android-components/pull/8360)
Revert "Address even more lint errors."

This reverts commit e98ee991b34d318e671c644d63daec53902e68ff.

Revert "Update to Gradle 6.6.1."

This reverts commit cdda701c8f2be6c0486ddf1494885accf78aab00.

Revert "Address lint errors."

This reverts commit 26cb5b27bc2be672c89e7e0c63eeeda9f64c0d08.

Revert "Move JNA configuration to root project."

This reverts commit 694ef37cc30e727f3ec5d275c0e9583385980a43.

Revert "Issue https://github.com/mozilla-mobile/android-components/issues/8319: Update to Kotlin 1.4, Coroutines 1.3.9 and Android lint 27.0.1."

This reverts commit ad675c35e794050dbf8514a2d2fe7506ce0c546c.

Revert "Update Glean to 33.0.4."

This reverts commit 4731c4e2fa52d40f4062a47f02078ca0c85de632.

Revert "Update Glean to 33.0.0."

This reverts commit 352cf88a4d4bad64330d0ec997814fd8b13928c2.

Revert "Update Gradle to 6.1.1."

This reverts commit 18e88aa1a2528b10f7d81ff9dbf1df094071b6ce.

Revert "Update Android Gradle Plugin to 4.0.1."

This reverts commit f915a3b47b0f5584889ff62a80c9642bccfa36ce.
2020-10-06 14:57:11 +02:00
Mozilla L10n Automation Bot
51662a3fe3 [components] Import l10n. 2020-10-04 00:25:33 +00:00
Sebastian Kaspari
cf64bb90fb [components] Address lint errors. 2020-10-02 18:44:27 +00:00
Sebastian Kaspari
1142ece2d6 [components] Issue https://github.com/mozilla-mobile/android-components/issues/8319: Update to Kotlin 1.4, Coroutines 1.3.9 and Android lint 27.0.1. 2020-10-02 18:44:27 +00:00
Roger Yang
4cd59a8ee6 [components] For https://github.com/mozilla-mobile/android-components/issues/8511: Fix CrashHandlerService IntentService deprecation in Android 11 2020-10-02 15:38:45 +00:00
Roger Yang
047b2b2908 [components] Update crash dump file format 2020-10-01 18:02:47 +00:00
MickeyMoz
b84601d188 [components] Update Public Suffix List (20201001-140658) 2020-10-01 16:01:01 +00:00
MickeyMoz
6805308fd0 [components] Update Public Suffix List (20200930-140413) 2020-09-30 15:06:43 +00:00
Grisha Kruglov
11d4f67fe1 [components] Glean doc update 2020-09-25 18:58:08 +00:00
MickeyMoz
c481beb6ae [components] Update Public Suffix List (20200925-141342) 2020-09-25 16:04:47 +00:00
Roger Yang
4fac5d9caf [components] Closes https://github.com/mozilla-mobile/android-components/issues/8401: Update VersionCode to ApplicationBuildID in Socorro crash reports 2020-09-25 15:19:56 +00:00
Mozilla L10n Automation Bot
b427b25d68 [components] Import l10n. 2020-09-25 00:22:10 +00:00
Roger Yang
937e1c880f [components] Closes https://github.com/mozilla-mobile/android-components/issues/8401: Send App build ID to Socorro crash reports 2020-09-23 09:14:27 +00:00
MozLando
170a7a38d2 [components] Merge https://github.com/mozilla-mobile/android-components/pull/8447
8447: Closes https://github.com/mozilla-mobile/android-components/issues/7719: Remove all default headers from GeckoViewFetchClient. r=Amejia481 a=pocmo

Looking at all the linked issues I decided we should get rid of all default headers for the GeckoView client implementation.

Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
2020-09-21 14:45:25 +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
Mozilla L10n Automation Bot
f175f0cbf4 [components] Import l10n. 2020-09-21 00:11:05 +00: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
Mozilla L10n Automation Bot
bd3ac9a8dd [components] Import l10n. 2020-09-14 00:08:17 +00:00
MickeyMoz
7a8bb7580b [components] Update Public Suffix List (20200910-140542) 2020-09-10 14:05:42 +00:00
MozLando
8dd247565a [components] Merge https://github.com/mozilla-mobile/android-components/pull/8285
8285: Import strings from android-l10n. r=pocmo a=mozilla-l10n-automation-bot

n/t

Co-authored-by: Mozilla L10n Automation Bot <release+l10n-automation-bot@mozilla.com>
2020-09-09 21:08:04 +00:00
MickeyMoz
28ad75733e [components] Update Public Suffix List (20200909-140942) 2020-09-09 14:09:42 +00:00
Mozilla L10n Automation Bot
f67c8d27e1 [components] Import l10n. 2020-09-09 00:05:30 +00:00
Sebastian Kaspari
7d533c0993 [components] Move CrashReporting/Breadcrumb from support-base to concept-base. 2020-09-08 17:50:14 +02:00
MickeyMoz
4cdbda3d3a [components] Update Public Suffix List (20200906-140723) 2020-09-06 14:07:24 +00:00
Roger Yang
123d934f57 [components] Closes https://github.com/mozilla-mobile/android-components/issues/8273: Set timestamp of crash reports to when crash occurred 2020-08-31 11:35:30 -04:00
MickeyMoz
3915fd9bc1 [components] Update Public Suffix List (20200828-140553) 2020-08-28 14:05:53 +00:00
Roger Yang
135e3f9778 [components] Closes https://github.com/mozilla-mobile/android-components/issues/8264: Pass copy of breadcrumbs to crash reporting services 2020-08-27 11:31:49 -04:00
MozLando
8fed12ec24 [components] Merge https://github.com/mozilla-mobile/android-components/pull/8243
8243: Closes https://github.com/mozilla-mobile/android-components/issues/8242: Keep latest breadcrumbs r=pocmo a=rocketsroger



Co-authored-by: Roger Yang <royang@mozilla.com>
2020-08-26 18:22:01 +00:00
Roger Yang
bace8adbe3 [components] Closes https://github.com/mozilla-mobile/android-components/issues/8242: Keep latest breadcrumbs 2020-08-26 13:19:23 -04:00
MozLando
aaa61a39f5 [components] Merge https://github.com/mozilla-mobile/android-components/pull/8121
8121: Issue https://github.com/mozilla-mobile/android-components/issues/7867: Move EngineSession from SessionManager to BrowserState. r=csadilek a=pocmo

Fenix PR: https://github.com/mozilla-mobile/fenix/pull/13933
R-B PR: https://github.com/mozilla-mobile/reference-browser/pull/1292



Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
2020-08-26 15:55:09 +00:00
Sebastian Kaspari
212c7d73c1 [components] Issue https://github.com/mozilla-mobile/android-components/issues/7867: Move EngineSession from SessionManager to BrowserState.
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com>

Issue https://github.com/mozilla-mobile/android-components/pull/8121: Replace MigrationStore with MigrationContext and prevent usage outside of a Middleware.

* Before executing the reducer chain we now verify that we are on the store thread and throw if we are on a different thread.
* MigrationContext now provides a store property that returns the underlying Store instance. This can be used to pass it to
  other components and threads that are not part of the Middleware.
* Fixed existing Middleware implementations to use the MiddlewareContext or pass the actual Store instance around.
2020-08-26 10:50:47 -04:00
Jonathan Almeida
3974284c02 [components] Close https://github.com/mozilla-mobile/android-components/issues/8232: Remove firebase-core dependency from lib-push-firebase 2020-08-25 17:48:54 -04:00
MickeyMoz
6c4dc12074 [components] Update Public Suffix List (20200824-140606) 2020-08-24 14:06:06 +00:00
Gabriel Luong
85474985b2 [components] Commit the updated metrics.md files generated from the glean_parser 2020-08-18 18:54:58 -04:00
Roger Yang
201eef9d01 [components] Closes https://github.com/mozilla-mobile/android-components/issues/8140: Encode Socorro server URL correctly 2020-08-18 11:54:17 -04:00
MickeyMoz
7b12aaa1a0 [components] Update Public Suffix List (20200817-140521) 2020-08-17 14:05:22 +00:00
Roger Yang
c0e44ea434 [components] Closes https://github.com/mozilla-mobile/android-components/issues/7914: Add Android_CPU_ABI to caught exception report to Socorro 2020-08-12 15:39:57 -04:00
Mozilla L10n Automation Bot
977403cc2b [components] Import l10n. 2020-08-12 00:01:49 +00:00
MozLando
e229204880 [components] Merge https://github.com/mozilla-mobile/android-components/pull/8081
8081: Bug 1608838: Add data sensitivity category metadata r=psymoon a=mdboom

This was scraped from the linked data reviews.




Co-authored-by: Michael Droettboom <mdboom@gmail.com>
2020-08-10 19:27:40 +00:00
MickeyMoz
33448d8e7a [components] Update Public Suffix List (20200810-140934) 2020-08-10 14:09:35 +00:00
Michael Droettboom
6dade2af68 [components] Bug 1608838: Add data sensitibity category metadata
This was scraped from the linked data reviews.
2020-08-10 08:51:50 -04:00
MozLando
bd21126dd7 [components] Merge https://github.com/mozilla-mobile/android-components/pull/8021
8021: Closes https://github.com/mozilla-mobile/android-components/issues/8020: Log response code when failed to send Socorro crash report r=pocmo a=rocketsroger



Co-authored-by: Roger Yang <royang@mozilla.com>
2020-08-06 13:53:27 +00:00
Roger Yang
54a067f8e6 [components] Closes https://github.com/mozilla-mobile/android-components/issues/8020: Log response code when failed to send Socorro crash report 2020-08-06 09:43:33 -04:00
Travis Long
f16fb52ce4 [components] Closes https://github.com/mozilla-mobile/android-components/issues/7989 - Add try/catch for IOException to GleanCrashReporterService 2020-08-05 15:40:29 -05:00
MickeyMoz
7ebdd787d3 [components] Update Public Suffix List (20200804-141002) 2020-08-04 14:10:02 +00:00
MickeyMoz
e55d9c35bf [components] Update Public Suffix List (20200730-140250) 2020-07-30 14:02:50 +00:00
Mozilla L10n Automation Bot
eee16a2013 [components] Import l10n. 2020-07-29 19:06:50 +00:00
Gabriel Luong
c69235770a [components] Commit the updated metrics.md files generated from the glean_parser 2020-07-28 12:30:20 -04:00
Christian Sadilek
0083b2e6a4 [components] Closes https://github.com/mozilla-mobile/android-components/issues/7829: Startup crashes trigger crash loop
Revert "Closes https://github.com/mozilla-mobile/android-components/issues/7131: Stop delegating uncaught exceptions to default exception handler"

This reverts commit 8db3293252e3342ab0248a93e5a343dd0e0cadc8.
2020-07-23 11:04:53 -04:00
MickeyMoz
46a21cc3a4 [components] Update Public Suffix List (20200721-140512) 2020-07-21 14:05:13 +00:00
Mozilla L10n Automation Bot
5880f52ab5 [components] Import l10n. 2020-07-21 00:04:28 +00:00
MozLando
ee6814912f [components] Merge https://github.com/mozilla-mobile/android-components/pull/7578 https://github.com/mozilla-mobile/android-components/pull/7629 https://github.com/mozilla-mobile/android-components/pull/7780 https://github.com/mozilla-mobile/android-components/pull/7781 (part 2)
7578: Closes https://github.com/mozilla-mobile/android-components/issues/6460: Upstream RunWhenReadyQueue r=grigoryk a=NotWoods



7629: Enable incremental room kapt processing r=grigoryk a=NotWoods

This saves us nearly 6 minutes in the artifact transformations stage.

7780: Expose l10n strings by default (fix https://github.com/mozilla-mobile/android-components/issues/7777) r=Amejia481 a=Pike

Use a wild card pattern to find localizable strings.

If you're having WIP strings, put them into another file that's
not name `strings.xml`.



7781: Trim whitespace from email & call context share r=Amejia481 a=sblatz



Co-authored-by: Tiger Oakes <toakes@mozilla.com>
Co-authored-by: Axel Hecht <axel@pike.org>
Co-authored-by: Sawyer Blatz <sdblatz@gmail.com>
2020-07-20 20:04:31 +00:00
MozLando
b1603a41a5 [components] Merge https://github.com/mozilla-mobile/android-components/pull/7770 https://github.com/mozilla-mobile/android-components/pull/7771 https://github.com/mozilla-mobile/android-components/pull/7772 (part 2)
7770:  Docs update (20200719-121015) [ci skip] r=pocmo a=MickeyMoz



7771:  Public Suffix List update (20200719-140547) r=pocmo a=MickeyMoz



7772:  GeckoView update (nightly) (20200719-140546) r=pocmo a=MickeyMoz



Co-authored-by: MickeyMoz <sebastian@mozilla.com>
2020-07-20 09:39:17 +00:00
Mozilla L10n Automation Bot
44e2a0b045 [components] Import l10n. 2020-07-20 00:14:05 +00:00
MickeyMoz
9ac5e81143 [components] Update Public Suffix List (20200719-140547) 2020-07-19 14:05:47 +00:00
MozLando
06b7d187e6 [components] Merge https://github.com/mozilla-mobile/android-components/pull/7742 https://github.com/mozilla-mobile/android-components/pull/7743 (part 1)
7742:  Public Suffix List update (20200716-140304) r=Amejia481 a=MickeyMoz



7743:  GeckoView update (beta) (20200716-140446) r=Amejia481 a=MickeyMoz



Co-authored-by: MickeyMoz <sebastian@mozilla.com>
2020-07-16 15:00:41 +00:00
MozLando
f7ee4dc72a [components] Merge https://github.com/mozilla-mobile/android-components/pull/7733 https://github.com/mozilla-mobile/android-components/pull/7739 (part 1)
7733: Closes https://github.com/mozilla-mobile/android-components/issues/7722: Record uncaught exception in Android log r=pocmo a=rocketsroger



7739:  Docs update (20200716-120922) [ci skip] r=pocmo a=MickeyMoz



Co-authored-by: Roger Yang <royang@mozilla.com>
Co-authored-by: MickeyMoz <sebastian@mozilla.com>
2020-07-16 14:04:18 +00:00
MickeyMoz
8573a1f4d2 [components] Update Public Suffix List (20200716-140304) 2020-07-16 14:03:04 +00:00
Roger Yang
9fb8d71ce2 [components] Closes https://github.com/mozilla-mobile/android-components/issues/7722: Record uncaught exception in Android log 2020-07-16 09:25:51 -04:00
Mozilla L10n Automation Bot
761cf4ee7a [components] Import l10n. 2020-07-16 00:13:23 +00:00
Mozilla L10n Automation Bot
a5dd48bc5a [components] Import l10n. 2020-07-15 01:51:58 +00:00
MozLando
031a1ba5bc [components] Merge https://github.com/mozilla-mobile/android-components/pull/7703 https://github.com/mozilla-mobile/android-components/pull/7706 https://github.com/mozilla-mobile/android-components/pull/7707 https://github.com/mozilla-mobile/android-components/pull/7709 (part 3)
7703: Import strings from android-l10n. r=psymoon a=mozilla-l10n-automation-bot

n/t

7706:  Docs update (20200714-120855) [ci skip] r=pocmo a=MickeyMoz



7707:  Public Suffix List update (20200714-141112) r=pocmo a=MickeyMoz



7709:  GeckoView update (nightly) (20200714-141110) r=psymoon a=MickeyMoz



Co-authored-by: Mozilla L10n Automation Bot <release+l10n-automation-bot@mozilla.com>
Co-authored-by: MickeyMoz <sebastian@mozilla.com>
2020-07-14 15:41:39 +00:00
MickeyMoz
7080b60416 [components] Update Public Suffix List (20200714-141112) 2020-07-14 14:11:13 +00:00
Mozilla L10n Automation Bot
39b2326780 [components] Import l10n. 2020-07-14 00:06:58 +00:00
Mozilla L10n Automation Bot
724f146234 [components] Import l10n. 2020-07-13 00:20:16 +00:00
Mozilla L10n Automation Bot
05be1fe837 [components] Import l10n. 2020-07-10 00:29:50 +00:00
Mozilla L10n Automation Bot
b35c3c0b85 [components] Import l10n. 2020-07-09 13:47:36 +00:00
Tiger Oakes
bf7a110f64 [components] Enable incremental room kapt processing 2020-07-06 10:38:28 -07:00
Tiger Oakes
97a49470bd [components] Remove roboletric runner for some lib tests 2020-07-01 10:10:30 -07:00
MickeyMoz
ee710f48f5 [components] Update Public Suffix List (20200628-140917) 2020-06-28 14:09:18 +00:00
MickeyMoz
a37fe87fe1 [components] Update Public Suffix List (20200626-140547) 2020-06-26 14:05:47 +00:00
Mozilla L10n Automation Bot
308eb63608 [components] Import l10n. 2020-06-25 00:05:48 +00:00
Mozilla L10n Automation Bot
31b74100ff [components] Import l10n. 2020-06-23 00:07:59 +00:00
MozLando
96ee145132 [components] Merge https://github.com/mozilla-mobile/android-components/pull/7414
7414: Import strings from android-l10n. r=psymoon a=mozilla-l10n-automation-bot

n/t

Co-authored-by: Mozilla L10n Automation Bot <release+l10n-automation-bot@mozilla.com>
2020-06-17 15:44:51 +00:00
MozLando
cc7f838619 [components] Merge https://github.com/mozilla-mobile/android-components/pull/7329
7329: Closes https://github.com/mozilla-mobile/android-components/issues/7327: Crash and telemetry send service should be on separate process r=pocmo a=rocketsroger



Co-authored-by: Roger Yang <royang@mozilla.com>
2020-06-17 14:04:05 +00:00
Mozilla L10n Automation Bot
df1ccae04d [components] Import l10n. 2020-06-17 00:05:05 +00:00
Mozilla L10n Automation Bot
d5e47dcc04 [components] Import l10n. 2020-06-16 00:04:14 +00:00
Mozilla L10n Automation Bot
8819c642a7 [components] Import l10n. 2020-06-15 00:05:21 +00:00
MozLando
f5c885d35f [components] Merge https://github.com/mozilla-mobile/android-components/pull/7368 https://github.com/mozilla-mobile/android-components/pull/7373 https://github.com/mozilla-mobile/android-components/pull/7374 (part 3)
7368: Import strings from android-l10n. r=jonalmeida a=mozilla-l10n-automation-bot

n/t

7373:  Docs update (20200614-120849) [ci skip] r=jonalmeida a=MickeyMoz



7374:  Public Suffix List update (20200614-141042) r=jonalmeida a=MickeyMoz



Co-authored-by: Mozilla L10n Automation Bot <release+l10n-automation-bot@mozilla.com>
Co-authored-by: MickeyMoz <sebastian@mozilla.com>
2020-06-14 20:29:12 +00:00
MickeyMoz
509ce7d425 [components] Update Public Suffix List (20200614-141042) 2020-06-14 14:10:43 +00:00
Mozilla L10n Automation Bot
176b60f558 [components] Import l10n. 2020-06-14 00:05:43 +00:00
Roger Yang
c4cd8192af [components] Closes https://github.com/mozilla-mobile/android-components/issues/7327: Crash and telemetry send service should be on separate process 2020-06-10 20:07:16 -04:00
Mozilla L10n Automation Bot
2079f46ab8 [components] Import l10n. 2020-06-11 00:00:54 +00:00
Mozilla L10n Automation Bot
ef5a17643e [components] Import l10n. 2020-06-09 00:12:05 +00:00
Mozilla L10n Automation Bot
00d8f2d02f [components] Import l10n. 2020-06-08 00:04:09 +00:00
Roger Yang
2a7964971b [components] Closes https://github.com/mozilla-mobile/android-components/issues/7248: Do not send URL from GeckoView crash dump 2020-06-05 10:52:47 -04:00
Mozilla L10n Automation Bot
dcefc358fc [components] Import l10n. 2020-06-04 00:07:24 +00:00
MozLando
75439171c6 [components] Merge https://github.com/mozilla-mobile/android-components/pull/7206
7206: Closes https://github.com/mozilla-mobile/android-components/issues/7131: Stop delegating uncaught exceptions to default exception handler r=pocmo a=rocketsroger



Co-authored-by: Roger Yang <royang@mozilla.com>
2020-06-03 08:43:25 +00:00
Mozilla L10n Automation Bot
2f593e567c [components] Import l10n. 2020-06-03 00:04:53 +00:00
Roger Yang
da0df387cd [components] Closes https://github.com/mozilla-mobile/android-components/issues/7131: Stop delegating uncaught exceptions to default exception handler 2020-06-01 15:18:48 -04:00
MickeyMoz
3c03c3e437 [components] Update Public Suffix List (20200601-140524) 2020-06-01 14:05:24 +00:00
MickeyMoz
fff987e035 [components] Update Public Suffix List (20200528-140449) 2020-05-28 14:04:50 +00:00
MozLando
e04960aa09 [components] Merge https://github.com/mozilla-mobile/android-components/pull/7137
7137: Closes https://github.com/mozilla-mobile/android-components/issues/7129: Stop sending caught exceptions to Socorro r=pocmo a=rocketsroger



Co-authored-by: Roger Yang <royang@mozilla.com>
2020-05-28 11:51:59 +00:00
Mozilla L10n Automation Bot
d9256fddf7 [components] Import l10n. 2020-05-28 00:09:44 +00:00
Roger Yang
b4ce735199 [components] Closes https://github.com/mozilla-mobile/android-components/issues/7129: Stop sending caught exceptions to Socorro 2020-05-27 14:56:49 -04:00
MickeyMoz
6c2791a29d [components] Update Public Suffix List (20200527-140953) 2020-05-27 14:09:53 +00:00
Mozilla L10n Automation Bot
f01eb9f0b5 [components] Import l10n. 2020-05-27 00:04:26 +00:00
MickeyMoz
99b1d1d926 [components] Update Public Suffix List (20200526-140442) 2020-05-26 14:04:43 +00:00
Mozilla L10n Automation Bot
aa1b513afa [components] Import l10n. 2020-05-26 00:05:10 +00:00
MozLando
6e2e4749df [components] Merge https://github.com/mozilla-mobile/android-components/pull/7039
7039: Issue https://github.com/mozilla-mobile/android-components/issues/7037: CrashReporter: Log ids and URLs of crash reports when submitting crash reports. r=psymoon a=pocmo

Closes https://github.com/mozilla-mobile/android-components/issues/7037.


Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
2020-05-25 09:59:33 +00:00
MozLando
847a78763e [components] Merge https://github.com/mozilla-mobile/android-components/pull/7045
7045: Issue https://github.com/mozilla-mobile/android-components/issues/7012: Add share option to crash list. r=Amejia481 a=pocmo

Closes https://github.com/mozilla-mobile/android-components/issues/7012. This will make it easier to share crash reports.

Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
2020-05-25 09:50:47 +00:00
MickeyMoz
4d828f89ec [components] Update Public Suffix List (20200524-140500) 2020-05-24 14:05:01 +00:00
MickeyMoz
282e8a2170 [components] Update Public Suffix List (20200522-140625) 2020-05-22 14:06:25 +00:00
MozLando
bc51080110 [components] Merge https://github.com/mozilla-mobile/android-components/pull/6975
6975: Update lifecycle version r=psymoon a=NotWoods

The new version [splits the dependency up](https://developer.android.com/jetpack/androidx/releases/lifecycle) into separate libraries to use.



Co-authored-by: Tiger Oakes <contact@tigeroakes.com>
2020-05-21 14:59:49 +00:00
Mozilla L10n Automation Bot
e3ae6327b0 [components] Import l10n. 2020-05-21 00:06:13 +00:00
Tiger Oakes
c6c313f409 [components] Update lifecycle version 2020-05-20 13:46:06 -07:00
Sebastian Kaspari
88f6f07614 [components] Issue https://github.com/mozilla-mobile/android-components/issues/7012: Add share option to crash list. 2020-05-20 19:29:49 +02:00
Sebastian Kaspari
1584f23702 [components] Issue https://github.com/mozilla-mobile/android-components/issues/7037: CrashReporter: Log ids and URLs of crash reports when submitting crash reports. 2020-05-20 10:24:04 +02:00
Mozilla L10n Automation Bot
e8933f3559 [components] Import l10n. 2020-05-20 00:03:35 +00:00
Mozilla L10n Automation Bot
1241d01c44 [components] Import l10n. 2020-05-19 13:16:25 +00:00
MozLando
338b9d9b53 [components] Merge https://github.com/mozilla-mobile/android-components/pull/6994
6994: Issue https://github.com/mozilla-mobile/android-components/issues/6938: CrashReporter.getCrashReporterServiceById(): Handle missing crash reporter services. r=Amejia481 a=pocmo

If we ever remove a `CrashReporterService` that we submitted crash reports for then we could crash showing the list of crashes since we can't find that service anymore. With this patch we are handling this situation more gracefully.

Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
2020-05-18 09:51:51 +00:00
Sebastian Kaspari
2c984654e9 [components] Issue https://github.com/mozilla-mobile/android-components/issues/6938: CrashReporter.getCrashReporterServiceById(): Handle missing crash reporter services. 2020-05-18 11:30:03 +02:00
Sebastian Kaspari
52c456ac39 [components] Issue https://github.com/mozilla-mobile/android-components/issues/6991: SentryService: Allow consumer to define sentry project URL. 2020-05-15 17:33:43 +02:00
Jonathan Almeida
29aba04051 [components] Close https://github.com/mozilla-mobile/android-components/issues/6957: Allow nullable encoding param in push messages
We fall back to the "aes128gcm" encoding if the value is not provided.
2020-05-13 22:39:52 -04:00
Haripriya Baskaran
cd42e872ad [components] Fixed https://github.com/mozilla-mobile/android-components/issues/6914 CrashReporter: Log correct variable 2020-05-14 01:19:50 +05:30
MozLando
8c49d31a8d [components] Merge https://github.com/mozilla-mobile/android-components/pull/6956
6956: Close https://github.com/mozilla-mobile/android-components/issues/6953: Report native fatal crash to Sentry as level FATAL r=pocmo a=rocketsroger



Co-authored-by: Roger Yang <royang@mozilla.com>
2020-05-13 16:47:13 +00:00
MozLando
994d3f295a [components] Merge https://github.com/mozilla-mobile/android-components/pull/6946
6946: Close https://github.com/mozilla-mobile/android-components/issues/6903: Caught exception with no stack trace will be reported as UnexpectedlyMissingStacktrace r=pocmo a=rocketsroger



Co-authored-by: Roger Yang <royang@mozilla.com>
2020-05-13 14:06:24 +00:00
Grisha Kruglov
2f667d1617 [components] Pre: metrics doc change 2020-05-12 22:09:17 -07:00
Roger Yang
77dd1fd77f [components] Close https://github.com/mozilla-mobile/android-components/issues/6903: Caught exception with no stack trace will be reported as UnexpectedlyMissingStacktrace 2020-05-12 15:23:19 -04:00
Roger Yang
29c55c4559 [components] Close https://github.com/mozilla-mobile/android-components/issues/6953: Report native fatal crash to Sentry as level FATAL 2020-05-12 15:10:22 -04:00
Jan-Erik Rediger
d5fa8c41b9 [components] Apply yamllint suggestions
That mostly adds the missing document begin marker (`---`) and removes
some trailing whitespace.
2020-05-11 14:25:30 +02:00
MozLando
c686e9a4fd [components] Merge https://github.com/mozilla-mobile/android-components/pull/6871
6871: Add crash database to CrashReporter and add UI for showing past crashes. r=rocketsroger a=pocmo



Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
2020-05-11 09:39:20 +00:00
Sebastian Kaspari
67e7527fbf [components] Issue https://github.com/mozilla-mobile/android-components/issues/1705: Add correct database schema definition. 2020-05-08 14:30:06 +02:00
Sebastian Kaspari
dc01a6ae05 [components] Issue https://github.com/mozilla-mobile/android-components/issues/1705: Add UI for listing past recorded crashes. 2020-05-08 14:30:01 +02:00
Sebastian Kaspari
22304b63b0 [components] Issue https://github.com/mozilla-mobile/android-components/issues/1705: Integrate crash database into CrashReporter. 2020-05-08 12:06:13 +02:00
Roger Yang
1e252cc608 [components] Close https://github.com/mozilla-mobile/android-components/issues/6812: Submit breadcrumbs to Socorro crash reports 2020-05-07 13:44:58 -04:00
Roger Yang
a14fb694f2 [components] Close https://github.com/mozilla-mobile/android-components/issues/6535: Add breadcrumbs to CrashReporting interface 2020-05-05 09:59:43 -04:00
Mozilla L10n Automation Bot
57a8dc1ee4 [components] Import l10n. 2020-05-05 00:05:21 +00:00
Roger Yang
cd10c78819 [components] Close https://github.com/mozilla-mobile/android-components/issues/6811: Add breadcrumbs for caught exceptions 2020-05-04 10:55:51 -04:00
Sebastian Kaspari
293db7cbeb [components] Issue https://github.com/mozilla-mobile/android-components/issues/1705 - lib-crash: Add database storage for crashes. 2020-05-04 12:10:45 +02:00
MozLando
aeb8f52721 [components] Merge https://github.com/mozilla-mobile/android-components/pull/6777
6777: Issue https://github.com/mozilla-mobile/android-components/issues/1705: Create separate interface for crash telemetry services. r=rocketsroger a=pocmo

In https://github.com/mozilla-mobile/android-components/issues/1705 I am going to add more methods/properties to the `CrashReporterService` interface. Those will not make any sense for a telemetry service. So here I am going to create a separate interface for telemetry service and make glean and the crash reporter class use that instead.

Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
2020-04-28 08:39:40 +00:00
Sebastian Kaspari
89fd33e8fd [components] Issue https://github.com/mozilla-mobile/android-components/issues/1705: Create separate interface for crash telemetry services. 2020-04-28 09:59:00 +02:00
MozLando
a880307dbb [components] Merge https://github.com/mozilla-mobile/android-components/pull/6779
6779: MozillaSocorroService: Use internal logger instance. r=rocketsroger a=pocmo

I couldn't find the log statements until I noticed that we didn't use the internal `logger` instance and instead called static methods on `Logger` directly. :)

Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
2020-04-28 07:36:16 +00: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
MozLando
8eafbb07b9 [components] Merge https://github.com/mozilla-mobile/android-components/pull/6739 https://github.com/mozilla-mobile/android-components/pull/6782 (part 1)
6739: Issue https://github.com/mozilla-mobile/android-components/issues/1705: Assign UUID to every crash object. r=rocketsroger a=pocmo

Assigning every crash a unique ID so that we can later reference this crash when saving some metadata about it to disk.

6782: Upgrade to Glean 28.0.0 r=mdboom a=mdboom



Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
Co-authored-by: Michael Droettboom <mdboom@gmail.com>
2020-04-27 16:02:41 +00:00
Sebastian Kaspari
cbe7b84070 [components] MozillaSocorroService: Use internal logger instance. 2020-04-27 14:48:30 +02:00
Sebastian Kaspari
0761b3a305 [components] Issue https://github.com/mozilla-mobile/android-components/issues/1705: Assign UUID to every crash object. 2020-04-27 12:54:30 +02:00
MozLando
0da9d0496d [components] Merge https://github.com/mozilla-mobile/android-components/pull/6738
6738: Issue https://github.com/mozilla-mobile/android-components/issues/1705: Allow CrashReporterService to return a unique identifier for reported crashes. r=rocketsroger a=pocmo

This is one small piece of https://github.com/mozilla-mobile/android-components/issues/1705. I am going to land some pieces independently to avoid ending up with a huge patch.

Here we are allowing a `CrashReporterService` to return an ID that we can later use to lookup that crash. For Socorro we return the crash ID that we get when uploading. We can later use that to create a URL pointing to this crash. For Sentry we return the UUID of the event. We can at least ask Sentry with this UUID for the actual crash URL.

Co-authored-by: Sebastian Kaspari <s.kaspari@gmail.com>
2020-04-27 10:54:00 +00:00
Mozilla L10n Automation Bot
8ced8fa7ca [components] Import l10n. 2020-04-25 00:05:55 +00:00
MickeyMoz
69878d7aef [components] Update Public Suffix List (20200424-140525) 2020-04-24 14:05:25 +00:00
Sebastian Kaspari
68d5cb125e [components] Issue https://github.com/mozilla-mobile/android-components/issues/1705: Allow CrashReporterService to return a unique identifier for reported crashes. 2020-04-22 17:01:21 +02:00
MickeyMoz
cc9f7f3d34 [components] Update Public Suffix List (20200413-140750) 2020-04-13 14:07:51 +00:00
MozLando
bb5d706c90 [components] Merge https://github.com/mozilla-mobile/android-components/pull/6572
6572: Close https://github.com/mozilla-mobile/android-components/issues/6456: Allow empty body in AutoPush messages. r=rocketsroger a=jonalmeida

Allows nullable messages to be delivered to all observers. This was partly handled from the consumer-facing public API, but nullable messages were dropped when they were received from the push services.



Co-authored-by: Jonathan Almeida <jalmeida@mozilla.com>
2020-04-09 16:45:08 +00:00