Commit Graph

1586 Commits

Author SHA1 Message Date
Marco Romano
f32817e71f Other fixes as per https://cashapp.github.io/sqldelight/2.0.0/upgrading-2.0/ 2023-10-13 15:17:12 +02:00
Marco Romano
0e1a8d506d Find and replace 2023-10-13 14:55:12 +02:00
Benoit Marty
5f56961fd0 Merge pull request #1556 from vector-im/feature/bma/videoLock
Ensure screen does not turn off when playing a video (#1519)
2023-10-13 14:05:30 +02:00
ganfra
c6a6ccc844 Merge pull request #1554 from vector-im/feature/fga/init_pin_unlock
[Pin code] : setup the feature
2023-10-13 12:38:41 +02:00
ganfra
9d12d82112 Misc: remove usage of blocking methods #1563 2023-10-13 12:16:31 +02:00
renovate[bot]
31d5e7395f Update dependency org.matrix.rustcomponents:sdk-android to v0.1.62 (#1562)
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.62
* Add `sendVoiceMessage()` API from https://github.com/matrix-org/matrix-rust-sdk/pull/2697
* Fix other breaking changes

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Romano <marcor@element.io>
2023-10-13 08:19:30 +00:00
jonnyandrew
ffa6c43503 [Voice messages] Add voice recording UI (#1546)
---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-10-12 15:17:18 +00:00
Benoit Marty
0c2a6468b5 Merge pull request #1555 from vector-im/feature/bma/fixDbMigrationTest
Feature/bma/fix db migration test
2023-10-12 16:23:01 +02:00
Benoit Marty
a71fb431d3 Ensure screen does not turn off when playing a video (#1519) 2023-10-12 15:53:05 +02:00
Benoit Marty
3583aed69a Improve comment. 2023-10-12 15:48:13 +02:00
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
11ddb4a8cc Add some comment in the files manipulating the session DB 2023-10-12 14:59:06 +02:00
Benoit Marty
8e8821ca1c Add DB versions to test all migrations 2023-10-12 14:53:14 +02:00
Benoit Marty
7797b4c48a Fix DB migration test. Does not require a migration apparently. 2023-10-12 14:53:00 +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
ganfra
760ea44e9d Pin unlock : hides behind feature flag (disabled by default) 2023-10-11 20:36:30 +02:00
ganfra
a2ebf39cb5 Pin setup with fake lock 2023-10-11 18:09:16 +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