Commit Graph

2115 Commits

Author SHA1 Message Date
Benoit Marty
12e54ac080 Lazy usage of OkHttpClient 2023-06-26 11:07:53 +02:00
Benoit Marty
5fe186f9de var -> val 2023-06-26 11:07:53 +02:00
Benoit Marty
1c06943530 Close the client before removing its data. Probably safer. 2023-06-26 11:07:22 +02:00
Benoit Marty
58860a9440 Close the client before deleting data, and ensure the app is restarted, using a cache Index. 2023-06-26 11:07:22 +02:00
Benoit Marty
4b8d11b7e4 Ignore typo 2023-06-26 11:07:22 +02:00
ElementBot
001e724a04 Update screenshots 2023-06-26 11:07:22 +02:00
Benoit Marty
df4bc3d7ce Improve rendering of cache size (and fix compilation issue) 2023-06-26 11:07:22 +02:00
Benoit Marty
2809d6fc2f Improve FileSizeFormatter.format API. 2023-06-26 11:06:36 +02:00
Benoit Marty
ac60ef0cbe Move FileSizeFormatter to a new module for injectable Android utilities. 2023-06-26 11:06:36 +02:00
Benoit Marty
5d8adb25ae Display cache size in the developer settings (#643) 2023-06-26 11:06:36 +02:00
Benoit Marty
bf80c251aa Add clear cache action in the developer settings (#643) 2023-06-26 11:06:36 +02:00
Benoit Marty
67c4df3b88 Add logs. 2023-06-26 11:06:36 +02:00
Benoit Marty
ee033a2aa4 Improve PreferenceText rendering, in particular center the test on the right vertically, add padding in add more previews. 2023-06-26 11:06:36 +02:00
Benoit Marty
a2615a6408 Merge pull request #659 from vector-im/renovate/dependencycheck
Update dependency org.owasp.dependencycheck to v8.3.1
2023-06-26 09:54:46 +02:00
Benoit Marty
24ebbd6c01 Merge pull request #670 from vector-im/sync-localazy
Sync Strings
2023-06-26 09:54:22 +02:00
bmarty
9c5c578c67 Sync Strings from Localazy 2023-06-26 00:10:53 +00:00
ganfra
6489d4bbfd Merge pull request #667 from vector-im/update-rust-sdk-0.1.23
Update rust sdk 0.1.23
2023-06-23 17:40:23 +02:00
ganfra
d85ef79f20 Rust sdk update: make the project compiling 2023-06-23 17:22:08 +02:00
Jorge Martin Espinosa
95f65e2031 [Message Actions] Copy events to clipboard (#665)
* Add `Copy` action for text events

* Remove 'Copy' action from the list for non-text events

* Use `@ContributesBinding` to inject `AndroidClipboardHelper`.
2023-06-23 14:39:07 +00:00
Yoan Pintas
1c1e65c70d Merge pull request #666 from vector-im/yostyle/enable_analytics 2023-06-23 16:35:58 +02:00
Chris Smith
d79d444563 Merge pull request #580 from vector-im/misc/cjs/invite-string-change
Fix strings and preview provider for creating rooms
2023-06-23 15:33:04 +01:00
yostyle
efb132c14f Consent thread safe 2023-06-23 16:11:45 +02:00
Chris Smith
e598a920eb Merge remote-tracking branch 'origin/develop' into misc/cjs/invite-string-change 2023-06-23 15:03:11 +01:00
yostyle
09c2c3dea1 Init or stop posthog based on user consent 2023-06-23 15:57:25 +02:00
ganfra
fb23350b62 Merge pull request #660 from vector-im/renovate/io.sentry
Update dependency io.sentry:sentry-android to v6.24.0
2023-06-23 15:11:00 +02:00
Chris Smith
8fe5a0fe27 Merge remote-tracking branch 'origin/develop' into misc/cjs/invite-string-change 2023-06-23 14:10:17 +01:00
Johannes Marbach
1c583ead1c Merge pull request #627 from vector-im/johannes/room-creation-analytics-events 2023-06-23 15:09:55 +02:00
Chris Smith
35b5aadc79 Keep screen analytics entirely in the node 2023-06-23 13:04:24 +01:00
Johannes Marbach
f72de90585 Add (primitive) screen tracking for room & DM creation 2023-06-23 13:27:48 +02:00
Chris Smith
755dddbba9 Add some tests for create room analytics 2023-06-23 11:53:54 +01:00
renovate[bot]
843fc17dc3 Update dependency org.matrix.rustcomponents:sdk-android to v0.1.23 2023-06-23 10:47:59 +00:00
Jorge Martin Espinosa
bdb1841e44 [Message Actions] Report messages (#642)
* Add report messages feature

* Try to improve how snackbars are delivered

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-23 10:44:47 +02:00
Marco Romano
898985cb9b Expose new windowInsets param from ModalBottomSheet (#662)
Part of new public API in compose.material3:1.1.1
2023-06-23 09:57:21 +02:00
renovate[bot]
2e88f3214d Update plugin ktlint to v11.4.2 (#661)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-23 08:10:37 +02:00
renovate[bot]
1be8d16d48 Update dependency io.sentry:sentry-android to v6.24.0 2023-06-22 19:26:33 +00:00
renovate[bot]
8658c50522 Update dependency org.owasp.dependencycheck to v8.3.1 2023-06-22 11:28:36 +00:00
Jorge Martin Espinosa
de7bbbd5cf [Message Actions] Forward messages (#635)
* Add forwarding messages base

* Make forwarding single-selection

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-22 13:27:59 +02:00
ganfra
356b4fb16c Merge pull request #656 from vector-im/update-rust-sdk-0.1.22
Update rust sdk 0.1.22
2023-06-22 10:39:31 +02:00
Benoit Marty
ca4a69dda5 Merge pull request #654 from vector-im/renovate/compose.bom
Update dependency androidx.compose:compose-bom to v2023.06.01
2023-06-22 10:03:24 +02:00
ganfra
0d0a5571af Rust sdk update: make the app compile 2023-06-22 09:50:17 +02:00
ElementBot
95255ee04c Update screenshots 2023-06-22 07:21:19 +00:00
renovate[bot]
9f22b3e6d9 Update dependency app.cash.turbine:turbine to v1 (#646)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 08:30:04 +02:00
renovate[bot]
21546df9dd Update plugin ktlint to v11.4.1 (#653)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-22 08:29:52 +02:00
renovate[bot]
24807852c6 Update dependency androidx.compose:compose-bom to v2023.06.01 2023-06-22 00:42:24 +00:00
renovate[bot]
5126a18e4d Update dependency org.matrix.rustcomponents:sdk-android to v0.1.22 2023-06-21 16:44:09 +00:00
Benoit Marty
1920ef85e3 Merge pull request #651 from vector-im/feature/fga/refresh_can_send_event
CanSendEvent default to true and branch refresh
2023-06-21 18:43:32 +02:00
ganfra
b3e11d184a CanSendEvent default to true and branch refresh mechanism... 2023-06-21 17:43:08 +02:00
Benoit Marty
4b55641aae Merge pull request #631 from vector-im/feature/bma/sendPermission
Take into acount send permission (power level)
2023-06-21 11:35:33 +02:00
Marco Romano
465ce0fc9b Use github action that caches LFS files when checking out the repo (#647)
Uses https://github.com/nschloe/action-cached-lfs-checkout where we're using git-lfs.

This is a wrapper around `actions/checkout@v3` which uses `actions/cache@v3` to cache the files on LFS to avoid downloading them every time and spare LFS bandwidth.
2023-06-21 09:12:47 +00:00
Benoit Marty
02c56df991 Extract getCanSendEvent to the matrixui module, rename to canSendEventAsState and use produceState. 2023-06-21 10:57:55 +02:00