Commit Graph

5407 Commits

Author SHA1 Message Date
Benoit Marty
4e232f6e41 Encrypt databases used by the Rust SDK.
The passphrase is stored in the SessionData, so that a Session created by Element Android can be restored.
Existing sessions will have a null passphrase and will continue to work.
New session will use a passphrase, only on Nightly and Debug build for now.
2024-01-18 12:07:42 +01:00
Benoit Marty
d04f76e8cf SessionData: add the passphrase. 2024-01-18 11:50:05 +01:00
Benoit Marty
5a3e0b8c73 Better log. 2024-01-17 18:12:57 +01:00
Benoit Marty
21cdf9b8b4 Merge pull request #2245 from element-hq/renovate/com.posthog-posthog-android-3.x
Update dependency com.posthog:posthog-android to v3.1.3
2024-01-17 17:36:29 +01:00
renovate[bot]
413daa4b3c Update dependency com.posthog:posthog-android to v3.1.3 2024-01-17 15:18:22 +00:00
Benoit Marty
997629294e Merge pull request #2213 from element-hq/feature/bma/fdroid
Feature/bma/fdroid
2024-01-17 16:17:41 +01:00
ganfra
d734469356 Setting version for the next release 0.4.2 2024-01-17 11:29:28 +01:00
ganfra
f21e5d1dc3 Merge branch 'main' into develop 2024-01-17 11:28:30 +01:00
ganfra
8bc39ce1c4 Merge branch 'release/0.4.1' into main 2024-01-17 11:21:25 +01:00
ganfra
5584fd2fb0 Adding fastlane file for version 0.4.1 2024-01-17 11:21:21 +01:00
ganfra
453b2c7c5d Changelog for version 0.4.1 2024-01-17 11:20:15 +01:00
ganfra
f83f31bcf3 Setting version for the release 0.4.1 2024-01-17 11:10:51 +01:00
Benoit Marty
e4dae8f83f Merge pull request #2235 from element-hq/renovate/com.posthog-posthog-android-3.x
Update dependency com.posthog:posthog-android to v3.1.2
2024-01-16 23:19:49 +01:00
Benoit Marty
cdfbb19f5c Merge pull request #2239 from element-hq/renovate/media3
Update media3 to v1.2.1
2024-01-16 23:17:34 +01:00
Benoit Marty
d8c4d411cc Merge pull request #2237 from element-hq/feature/bma/longUserId
Be robust with long userId
2024-01-16 23:16:40 +01:00
renovate[bot]
93eb90d579 Update media3 to v1.2.1 2024-01-16 17:53:06 +00:00
Benoit Marty
48a7573884 PushClientSecretImpl needs to be a singleton now that it observe the sessions. 2024-01-16 17:33:36 +01:00
Benoit Marty
22a3b64f5f Fix typo 2024-01-16 17:31:26 +01:00
Jorge Martin Espinosa
64a18afc1b Replace 'leave room' text with 'leave conversation' for DMs (#2231)
* Replace 'leave room' text with 'leave conversation' for DMs

* Add `isDm` property to both `RoomSummary` and `RoomListRoomSummary`

* Remove redundant `leave_conversation_alert_subtitle_*` texts

* Fix maestro flow

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-16 15:49:44 +01:00
Benoit Marty
fcb84016ca Ensure client secret is deleted when the user signs out. 2024-01-16 14:34:06 +01:00
Benoit Marty
504ff46f1b Also delete the preference file when the store is reset. 2024-01-16 14:14:04 +01:00
Benoit Marty
9f4164a287 Migrate preferencesDataStoreFile to a file using a hash, to fix a crash if the userId is too long. 2024-01-16 14:13:41 +01:00
renovate[bot]
6329aefad9 Update dependency com.posthog:posthog-android to v3.1.2 2024-01-15 16:12:02 +00:00
Benoit Marty
a9776f9fcb Merge pull request #2220 from element-hq/renovate/io.sentry-sentry-android-7.x
Update dependency io.sentry:sentry-android to v7.2.0
2024-01-15 15:23:30 +01:00
ElementBot
3a37460814 Sync Strings (#2230)
Co-authored-by: bmarty <bmarty@users.noreply.github.com>
2024-01-15 09:21:04 +01:00
Jorge Martin Espinosa
c6402f3c02 Hide verbose state events from the timeline (#2225) 2024-01-12 21:23:52 +00:00
renovate[bot]
530a0030f0 Update wysiwyg to v2.25.0 (#2222)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-12 17:03:22 +00:00
renovate[bot]
62d2695a32 Update dependency io.sentry:sentry-android to v7.2.0 2024-01-12 13:57:13 +00:00
Benoit Marty
5616fe76d4 Fix test.
The change is due to the new label send to the server.
2024-01-12 09:20:36 +01:00
Benoit Marty
d311573539 var -> val 2024-01-12 09:16:50 +01:00
Benoit Marty
81078a59a8 Fix gradle task ambiguity. 2024-01-11 22:19:43 +01:00
Benoit Marty
9a8437f4a1 Only call setupKover() for the app, not for minimal.
minimal does not have the gplay variant.
2024-01-11 22:03:34 +01:00
Benoit Marty
2b749f7683 Cleanup 2024-01-11 21:42:04 +01:00
Benoit Marty
9b09aaa80f Also export fdroid build as artifact. 2024-01-11 21:42:04 +01:00
Benoit Marty
2dbcec98f4 Add fdroid of gplay to the rageshake data as a label. 2024-01-11 21:42:04 +01:00
Benoit Marty
dfc81c7fb1 Ensure that FDroid build will not include Firebase push provider.
`allLibrariesImpl()` is also used by the midule uitest, and in this case `gplayImplementation` cannot be found. Since the push provider modules do not contain any ui, it's fine to move the dependency declaration to the app module.
2024-01-11 21:42:04 +01:00
Benoit Marty
345b7e9ab6 Update gradle tasks and paths regarding the new gplay and fdroid flavor. 2024-01-11 21:42:04 +01:00
Benoit Marty
e4ef00908b Create gplay and fdroid variant 2024-01-11 21:42:04 +01:00
Jorge Martin Espinosa
e859b58f09 Don't apply Kover to projects with AAR libraries (#2211)
* Don't apply Kover to projects with AAR libraries

* Move the Kover configuration to the `plugins` project
2024-01-11 21:16:31 +01:00
Benoit Marty
d76ee23514 Merge pull request #2202 from element-hq/feature/bma/removeReadReceiptFlag
Remove ReadReceipts feature flag.
2024-01-11 17:13:35 +01:00
Benoit Marty
56b1aa6b49 Merge pull request #2193 from element-hq/feature/bma/sxcludePreviewFromCodeCoverage
Exclude preview from code coverage
2024-01-11 16:47:07 +01:00
ganfra
36e6aa774c Merge pull request #2206 from element-hq/renovate/lifecycle
Update lifecycle to v2.7.0
2024-01-11 16:42:23 +01:00
Benoit Marty
a926b3d390 Merge branch 'develop' into feature/bma/sxcludePreviewFromCodeCoverage 2024-01-11 16:02:58 +01:00
Benoit Marty
ec6ef6fc8f Merge pull request #2207 from element-hq/feature/bma/ktlint_plugin
Upgrade ktlint version to 1.1.1
2024-01-11 16:01:14 +01:00
Benoit Marty
439c2f191b Ensure preview are not impacted when removing the ReadReceipt feature flag. 2024-01-11 15:58:36 +01:00
Benoit Marty
4dcafb6aa6 Remove ReadReceipts feature flag. 2024-01-11 15:57:59 +01:00
Benoit Marty
cd1b80ef18 Merge pull request #2210 from element-hq/renovate/com.posthog-posthog-android-3.x
Update dependency com.posthog:posthog-android to v3.1.1
2024-01-11 14:29:53 +01:00
renovate[bot]
851e7b9d6a Update dependency com.posthog:posthog-android to v3.1.1 2024-01-11 12:18:35 +00:00
Benoit Marty
1456cde3a7 Fix detekt issue. 2024-01-11 11:56:50 +01:00
Benoit Marty
72a363c244 Fix moar ktlint issues 2024-01-11 11:24:10 +01:00