Commit graph

1568 commits

Author SHA1 Message Date
Benoit Marty
7d985d4588
Merge pull request #1549 from vector-im/feature/bma/unknownMsgtype
Render unknown msgtype
2023-10-12 10:56:35 +02:00
Benoit Marty
88ca37984f
Merge pull request #1520 from vector-im/feature/bma/sessionDb
Improve session db and improve deleted session behavior
2023-10-11 16:56:54 +02:00
Benoit Marty
71b836a4c6 Fix test, and distinguish failure message. 2023-10-11 16:55:48 +02:00
Benoit Marty
bcefbb9861 Render body for m.room.message if msgtype is unknown, in timeline and as room list last message. #1539 2023-10-11 16:18:24 +02:00
Benoit Marty
8c2a5f281b MessageContent.type cannot be null 2023-10-11 16:14:15 +02:00
Benoit Marty
1b0e044565 Move OtherState to its own file. 2023-10-11 16:06:49 +02:00
Benoit Marty
8482e2da6f Move FormattedBody to its own file. 2023-10-11 16:05:47 +02:00
Benoit Marty
d8a30f30c5 Move MembershipChange to its own file. 2023-10-11 16:05:19 +02:00
Benoit Marty
4c97a63cd3 Move MessageFormat to its own file. 2023-10-11 16:04:41 +02:00
Benoit Marty
9cb8537c4e Move MessageType to its own file. 2023-10-11 16:03:18 +02:00
Benoit Marty
2962032fe5 Move InReplyTo to its own file. 2023-10-11 16:01:36 +02:00
Benoit Marty
7c5a41f03d Konsist: no field should have 'm' prefix, and fix new detected issues. 2023-10-10 22:09:57 +02:00
Benoit Marty
257927f4f5 Import strings for SigneddOut module. 2023-10-10 20:09:05 +02:00
Benoit Marty
97fea4e6dd data object 2023-10-10 17:31:04 +02:00
Benoit Marty
d55df22db2 Konsist: add test Data class state MUST not have default value, and fix existing issues 2023-10-10 17:31:04 +02:00
Benoit Marty
8929a90970 Konsist: add test to ensure filename match top level Composable View, and fix existing issue 2023-10-10 15:39:22 +02:00
jonnyandrew
6e9d19884c
Refactor composer UI components to separate files (#1506)
---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-10-10 08:31:36 +00:00
Benoit Marty
8bbcb973c4 Fix test. 2023-10-10 10:20:49 +02:00
Benoit Marty
96867bccf2 Database version 4: add isTokenValid and loginType fields
Generate database with model version 4
2023-10-10 10:20:49 +02:00
Benoit Marty
6761a5e2fb Fix test compilation 2023-10-10 10:20:49 +02:00
Benoit Marty
c3a0deb201 Code quality. 2023-10-10 10:20:49 +02:00
Benoit Marty
6be984efc8 Do not restore session with invalid token. 2023-10-10 10:20:31 +02:00
Benoit Marty
266f93cc28 Add SignedOutNode, to handle session behind deleted from outside (no support for soft-logout) 2023-10-10 10:20:31 +02:00
Benoit Marty
124d6bf95f SignedOut mode - WIP 2023-10-10 10:20:31 +02:00
Benoit Marty
8305912b14 Map the new fields of SessionData. 2023-10-10 10:20:31 +02:00
Benoit Marty
a424bc26ed Need this now. 2023-10-10 10:20:31 +02:00
Benoit Marty
a1afdeb6d3 Generate database with model version 3, to unit test database migration.
https://cashapp.github.io/sqldelight/1.5.4/multiplatform_sqlite/migrations/
2023-10-10 10:20:31 +02:00
Benoit Marty
70cdb4a2fc Fix compilation warning in tests. 2023-10-10 10:01:01 +02:00
Marco Romano
096d57517e
Optimize use of blurhash algo in bloom modifier (#1509)
- Reduced to 20px the size of the bitmap we encode the blurhash from.
- Reduced the blurhash components from 5 to 4.

As per suggestions in: https://github.com/woltapp/blurhash#good-questions
2023-10-09 16:24:37 +02:00
bmarty
cd120b408f Sync Strings from Localazy 2023-10-09 00:09:28 +00:00
Jorge Martin Espinosa
776d935cfa
Add more tests, particularly to the room list diffing (#1508)
* Add more tests to improve the covered area, particularly the room list diffing
2023-10-06 15:34:36 +02:00
jonnyandrew
9e73d6ddc2
Add feature flag for voice messages (#1507) 2023-10-06 12:53:47 +00:00
ganfra
daf46d77e8
Merge pull request #1482 from vector-im/renovate/appyx
Update appyx to v1.4.0
2023-10-06 12:08:27 +02:00
ganfra
330ed73dab Appyx : quick management of PermanentChild 2023-10-06 11:44:09 +02:00
Jorge Martin Espinosa
6a7713a6f8
Improve coverage in permalinks package (#1502)
* Improve coverage in permalinks package
2023-10-06 11:37:26 +02:00
Jorge Martin Espinosa
ffef9d936a
Fix: WebP images can't be sent as media. (#1501)
* Fix: WebP images can't be sent as media.

* Place the `BitmapFactory.Options` mode change and comment where it belongs.
2023-10-06 09:18:11 +00:00
Benoit Marty
2a7a66fb18 Emote: format notification 2023-10-05 15:31:10 +02:00
Benoit Marty
303b174009 Emotes starts with * 2023-10-05 10:47:00 +02:00
Benoit Marty
0edf53de5f Convert object to data object 2023-10-05 10:43:00 +02:00
Benoit Marty
dea8748907
Merge pull request #1487 from vector-im/feature/bma/uiCleanup
Small cleanup
2023-10-05 09:01:57 +02:00
Benoit Marty
34d05e01eb Fetch edited event in advanced (similar to reply mode). 2023-10-04 17:38:17 +02:00
Marco Romano
8f3987b98c Destroy EventTimelineItem pointer after use 2023-10-04 15:00:29 +02:00
Marco Romano
3a49ab984c Handle breaking change in innerRoom.edit() 2023-10-04 10:33:29 +02:00
Benoit Marty
e344a8fbaf Add preview for InfoListOrganism 2023-10-04 09:16:19 +02:00
Benoit Marty
7a9ac33caa Move InfoListItemMolecule to the molecules package. 2023-10-04 09:09:46 +02:00
Benoit Marty
af6dcadd4a Move InfoListOrganism to the new organisms package. 2023-10-04 09:08:57 +02:00
Benoit Marty
de39179b9d
Merge pull request #1465 from vector-im/feature/bma/codeCoverage
Improve code coverage
2023-10-02 10:18:31 +02:00
bmarty
7e3b9d8d3b Sync Strings from Localazy 2023-10-02 00:09:47 +00:00
Marco Romano
fc205698c6
Display poll notifications in the notification drawer (#1467)
Display notifications for polls as if they were message events.
2023-09-29 16:57:03 +02:00
Benoit Marty
37249261e1 Add test for MatrixClientsHolder 2023-09-29 15:34:02 +02:00