Commit graph

123 commits

Author SHA1 Message Date
Benoit Marty
a7541be6bb
Merge pull request #2293 from element-hq/feature/bma/notificationCount
Iterate on notification badges
2024-01-30 10:33:17 +01:00
Benoit Marty
bfb6b32740 Send typing notification #2240 2024-01-26 16:30:43 +01:00
Benoit Marty
80270d1cc5
Merge pull request #2294 from element-hq/feature/bma/fix
Ensure login and password exclude `\n`
2024-01-26 10:11:51 +01:00
Jorge Martin Espinosa
7e58f719fe
Add 'send private read receipts' option in advanced settings (#2290)
* Add 'send private read receipts' option in advanced settings
* Create `SessionPreferencesStore` that stores the settings for the current use separate from those of the app.
* Rename `PreferencesStore` to `AppPreferencesStore` to split the preferences.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-26 10:06:26 +01:00
Jorge Martin Espinosa
b7945675c9
Add a special tracing configuration for nightlies (#2297)
It also enables logging `MATRIX_SDK_BASE_READ_RECEIPTS` at a `TRACE` level for both debug and nightly versions.
2024-01-26 10:05:30 +01:00
Benoit Marty
1154efd77a Changelog. 2024-01-26 08:48:31 +01:00
Benoit Marty
732ec3f263 Ensure login and password exclude \n. #2263 2024-01-25 18:00:41 +01:00
Benoit Marty
1653c8ae80 Changelog 2024-01-25 16:20:06 +01:00
Benoit Marty
a5eff37335 changelog. 2024-01-25 09:32:44 +01:00
Jorge Martin Espinosa
15e3ecc88e
Update timeline items read receipts when the room members are loaded (#2194)
* Update timeline items' sender info and read receipts when the room members info is loaded

* Only update this info if we have loaded the room members
2024-01-24 08:07:15 +01:00
Benoit Marty
ce20b5f518 Add a report problem text button to the OnBoarding screen #2275. 2024-01-23 15:55:32 +01:00
Jorge Martin Espinosa
18fba261e0
Edited text message bubbles should resize when edited (#2272)
* Make `ContentAvoidingLayoutScopeInstance` scope aware so message bubbles are resized when edited.

* Move back to using `Layout` instead of `SubcomposeLayout`
2024-01-22 17:53:10 +01:00
Benoit Marty
5e359a4e73
Merge pull request #2221 from element-hq/feature/bma/displayNameAmbiguous
Display name disambiguation
2024-01-19 17:42:32 +01:00
Benoit Marty
b4773d541f
Merge pull request #2244 from element-hq/feature/bma/encryptedDb2
Encrypted db
2024-01-19 17:40:23 +01:00
Jorge Martin Espinosa
5d462d5ba9
Remove some state events at the start of DMs (#2252)
* Remove some initial events for DMs
2024-01-19 17:34:27 +01:00
Jorge Martin Espinosa
69b290f6fd
Make the room settings screen update automatically (#2197)
* Make the room settings screen update automatically
2024-01-19 17:34:06 +01:00
Jorge Martin Espinosa
6ecce81f45
Try mitigating unexpected logouts (#2251)
* Try mitigating unexpected logouts.

Try making getting/storing session data use a Mutex for synchronization.

Also added some more logs so we can understand exactly where it's failing.
2024-01-18 16:22:25 +01:00
Benoit Marty
e00d1abe44
Merge pull request #2248 from element-hq/feature/bma/pushProviderSelection
Ensure that a PushProvider is available on a device before using it.
2024-01-18 14:46:05 +01:00
Benoit Marty
3a91f830da 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
Jorge Martin Espinosa
56990e5e5b
Upgrade Material3 Compose to 1.2.0-beta02 (#2247)
* Upgrade Material3 Compose to `1.2.0-beta02`.

There is also a constraint on a transitive Compose Foundation dependency version (1.6.0-beta02) that fixes the timeline scrolling issue.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-18 08:49:55 +01:00
Benoit Marty
54f3f8d01f changelog 2024-01-17 17:11:34 +01:00
Benoit Marty
14d5274d22 Display name disambiguation #2215.
Applied to:
- timeline message
- detail of timeline message
- reply preview of timeline message
- rendering of state Event
Not applied to:
- room last message
- room member list (we display the MatrixId here)
- room member detail page
2024-01-12 15:58:33 +01:00
Jorge Martin Espinosa
13e8e954d3
Improve rendering of voice messages in the timeline in large displays (#2199)
* Improve rendering of voice messages in the timeline in large displays

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-09 18:07:23 +01:00
Benoit Marty
2bdf2c0bbd
Merge pull request #1782 from element-hq/feature/bma/upgradeKover
Upgrade kover
2024-01-09 17:52:14 +01:00
Benoit Marty
07776f0104
Merge pull request #2196 from element-hq/fix/jme-crash-sending-picture-with-latest-posthog
Fix crash when sending image with latest posthog
2024-01-09 12:12:49 +01:00
Jorge Martin Espinosa
e8c6226586
Fix mention selector getting stuck when quickly deleting the prompt (#2195)
* Fix mention selector getting stuck when quickly deleting the prompt
2024-01-09 11:07:10 +00:00
Benoit Marty
3b06576d21 Upgrade Kover to 0.7.5 2024-01-09 10:51:30 +01:00
Jorge Martín
e63eb3a7dc Fix crash when sending image with latest posthog 2024-01-08 16:12:22 +01:00
Jorge Martin Espinosa
afacef0146
Hide keyboard when tapping on a message in the timeline (#2187)
* Hide keyboard when tapping on a message in the timeline if it would result in navigating to another screen
2024-01-08 14:02:57 +01:00
Benoit Marty
b6f88f9792
Merge branch 'develop' into feature/bma/sendImageFromKeyboard 2024-01-08 08:59:00 +01:00
ganfra
46c7757ab8 Merge branch 'develop' into feature/fga/invite_user_loader 2024-01-05 14:02:58 +01:00
ganfra
00a96e3444 Add changelog 2024-01-05 14:00:25 +01:00
Jorge Martin Espinosa
3a2191ee43
Use SubcomposeLayout for ContentAvoidingLayout (#2171)
Use `SubcomposeLayout` for `ContentAvoidingLayout`
2024-01-05 12:40:25 +00:00
Jorge Martin Espinosa
e04780fbf6
Trim whitespace at the end of messages (#2169)
Trim whitespace at the end of messages
2024-01-05 12:40:10 +01:00
Jorge Martin Espinosa
4776fc5452
Fix crashes for extremely long messages with no line breaks (#2163) 2024-01-05 11:11:49 +00:00
Benoit Marty
f5a229dbd4
Merge pull request #2160 from surakin/msc4027
Implement MSC4027 (Custom images in reactions)
2024-01-04 16:23:30 +01:00
Jorge Martin Espinosa
0ca9780337
Remove 'document' case for message with timestamp preview (#2164)
* Remove 'document' case for message with timestamp preview

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-04 15:22:09 +01:00
Jorge Martin Espinosa
5980eb2ad2
Upgrade to AGP 8.2.0 (#2142)
* Upgrade to AGP 8.2.0

Add proguard rule for the problematic TagSoup library. For some reason, adding this in the consumer proguard rules of the RTE library doesn't seem to work.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-04 12:09:46 +01:00
Marco Antonio Alvarez
639c3495aa
Merge branch 'develop' into msc4027 2024-01-04 09:42:23 +01:00
Marco Antonio Alvarez
a81fdddab0
[Technical] Open stickers using the thumbnail url if the main url is empty (#2157)
* Explicitely use the thumbnail url to show stickers if the content's url is an empty string

---------

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-01-04 09:06:30 +01:00
Marco Antonio Alvarez
b81b4f8207 add changelog
Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
2024-01-04 08:28:17 +01:00
ganfra
7ca640561a
Merge pull request #2146 from element-hq/feature/fga/fix_2084
Fix room transition animation happens twice
2024-01-03 11:57:25 +01:00
ganfra
b04287bf81 Fix room transition animation happens twice #2084 2024-01-02 16:13:46 +01:00
Marco Antonio Alvarez
87c8bc133f
[Feature] Render m.sticker events (#2122)
* Render m.sticker events
---------

Signed-off-by: Marco Antonio Alvarez <surakin@gmail.com>
Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2024-01-02 16:03:19 +01:00
Benoit Marty
bc6d47b288 Add support for sending images from the keyboard #1977 2023-12-29 15:15:22 +01:00
Jorge Martin Espinosa
7fdba39d6d
Disable vector XML rasterisation on API 23 (#2128)
* Disable vector XML rasterisation on API 23

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-12-29 11:41:08 +00:00
Jorge Martín
046525edba Add changelog 2023-12-28 17:06:05 +01:00
Benoit Marty
aad7e836d9
Merge pull request #2112 from element-hq/feature/bma/renderStateWithoutChanges
Handle `MembershipChange.NONE` rendering in the timeline #2102
2023-12-28 12:39:05 +01:00
Benoit Marty
b7b1c0d1fc
Merge pull request #2111 from element-hq/feature/bma/directLogout
Direct logout
2023-12-26 17:58:23 +01:00
Benoit Marty
ac7d46cfb7 Handle MembershipChange.NONE rendering in the timeline #2102
And avoid `else` in the when statement.
2023-12-26 16:57:34 +01:00