Commit Graph

1571 Commits

Author SHA1 Message Date
Benoit Marty
7afae87b3e Konsist: add rule obout test class name, and fix existing issue 2023-10-12 15:03:50 +02:00
Benoit Marty
eebc39fab7 Konsist: add test about PreviewParameterProvider class name and fix existing issues. 2023-10-12 15:03:50 +02:00
Benoit Marty
84594caad3 Use existing BooleanProvider 2023-10-12 15:03:50 +02:00
Benoit Marty
07a2643bd2 Merge pull request #1549 from vector-im/feature/bma/unknownMsgtype
Render unknown msgtype
2023-10-12 10:56:35 +02:00
Benoit Marty
305fb81b8a 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
ed7534aea7 Fix test, and distinguish failure message. 2023-10-11 16:55:48 +02:00
Benoit Marty
2e8be3a3d1 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
266612f9da MessageContent.type cannot be null 2023-10-11 16:14:15 +02:00
Benoit Marty
24963915b9 Move OtherState to its own file. 2023-10-11 16:06:49 +02:00
Benoit Marty
8e581109aa Move FormattedBody to its own file. 2023-10-11 16:05:47 +02:00
Benoit Marty
345c032a4e Move MembershipChange to its own file. 2023-10-11 16:05:19 +02:00
Benoit Marty
987b97a4b9 Move MessageFormat to its own file. 2023-10-11 16:04:41 +02:00
Benoit Marty
f6bd33231d Move MessageType to its own file. 2023-10-11 16:03:18 +02:00
Benoit Marty
d79affb3a4 Move InReplyTo to its own file. 2023-10-11 16:01:36 +02:00
Benoit Marty
69c46c993e Konsist: no field should have 'm' prefix, and fix new detected issues. 2023-10-10 22:09:57 +02:00
Benoit Marty
352d89fdfb Import strings for SigneddOut module. 2023-10-10 20:09:05 +02:00
Benoit Marty
16841e9721 data object 2023-10-10 17:31:04 +02:00
Benoit Marty
de31f8a73a 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
308a0c0f57 Konsist: add test to ensure filename match top level Composable View, and fix existing issue 2023-10-10 15:39:22 +02:00
jonnyandrew
7e91e7824e 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
0ca144117a Fix test. 2023-10-10 10:20:49 +02:00
Benoit Marty
920626d260 Database version 4: add isTokenValid and loginType fields
Generate database with model version 4
2023-10-10 10:20:49 +02:00
Benoit Marty
4a79d1f7b2 Fix test compilation 2023-10-10 10:20:49 +02:00
Benoit Marty
039eda038e Code quality. 2023-10-10 10:20:49 +02:00
Benoit Marty
529872a4f2 Do not restore session with invalid token. 2023-10-10 10:20:31 +02:00
Benoit Marty
5faf706264 Add SignedOutNode, to handle session behind deleted from outside (no support for soft-logout) 2023-10-10 10:20:31 +02:00
Benoit Marty
0b3fcecbed SignedOut mode - WIP 2023-10-10 10:20:31 +02:00
Benoit Marty
fea1fe0f3c Map the new fields of SessionData. 2023-10-10 10:20:31 +02:00
Benoit Marty
87fa394b93 Need this now. 2023-10-10 10:20:31 +02:00
Benoit Marty
b930a1a573 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
69ac38ed10 Fix compilation warning in tests. 2023-10-10 10:01:01 +02:00
Marco Romano
182511d92c 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
561aca7d82 Sync Strings from Localazy 2023-10-09 00:09:28 +00:00
Jorge Martin Espinosa
1bfe7b7224 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
fe4e3ba1da Add feature flag for voice messages (#1507) 2023-10-06 12:53:47 +00:00
ganfra
8526922587 Merge pull request #1482 from vector-im/renovate/appyx
Update appyx to v1.4.0
2023-10-06 12:08:27 +02:00
ganfra
2c80eee840 Appyx : quick management of PermanentChild 2023-10-06 11:44:09 +02:00
Jorge Martin Espinosa
ae7c2257df Improve coverage in permalinks package (#1502)
* Improve coverage in permalinks package
2023-10-06 11:37:26 +02:00
Jorge Martin Espinosa
0502b21ff8 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
5cb11e9cc9 Emote: format notification 2023-10-05 15:31:10 +02:00
Benoit Marty
a885989172 Emotes starts with * 2023-10-05 10:47:00 +02:00
Benoit Marty
19f011b19f Convert object to data object 2023-10-05 10:43:00 +02:00
Benoit Marty
1484e3df70 Merge pull request #1487 from vector-im/feature/bma/uiCleanup
Small cleanup
2023-10-05 09:01:57 +02:00
Benoit Marty
937e053d46 Fetch edited event in advanced (similar to reply mode). 2023-10-04 17:38:17 +02:00
Marco Romano
4a32a78884 Destroy EventTimelineItem pointer after use 2023-10-04 15:00:29 +02:00
Marco Romano
55154ce0b3 Handle breaking change in innerRoom.edit() 2023-10-04 10:33:29 +02:00
Benoit Marty
0d297bd0da Add preview for InfoListOrganism 2023-10-04 09:16:19 +02:00
Benoit Marty
1518ebc2fe Move InfoListItemMolecule to the molecules package. 2023-10-04 09:09:46 +02:00
Benoit Marty
a35cbd3cbd Move InfoListOrganism to the new organisms package. 2023-10-04 09:08:57 +02:00
Benoit Marty
cf4ad7649f Merge pull request #1465 from vector-im/feature/bma/codeCoverage
Improve code coverage
2023-10-02 10:18:31 +02:00