Commit Graph

1544 Commits

Author SHA1 Message Date
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
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
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
bmarty
cd0a0f7c9a Sync Strings from Localazy 2023-10-02 00:09:47 +00:00
Marco Romano
f10040f729 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
e47e9b12b0 Add test for MatrixClientsHolder 2023-09-29 15:34:02 +02:00
jonnyandrew
70dfbd7c31 [Rich text editor] Add full screen mode (#1447)
- Add full screen mode for the rich text editor (RTE). When text formatting options are enabled, the editor can be dragged to full screen.
- Remove `ConstraintLayout` from `textcomposer` module, now made much simpler now the RTE supports being called in multiple layouts matrix-org/matrix-rich-text-editor#822

- Part of vector-im/element-meta#1973
- Includes design from #1315
- Fixes #1293 (through new layout)
- Fixes #1394 (through inclusion of matrix-org/matrix-rich-text-editor#824)
- Fixes #1259 (through inclusion of matrix-org/matrix-rich-text-editor#820)

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-29 09:11:18 +00:00
ganfra
1a87bf6352 Merge pull request #1457 from vector-im/feature/fga/suspend_subscribe_unsubscribe_sync
Room : makes subscribeToSync/unsubscribeFromSync suspendable
2023-09-29 10:15:58 +02:00
ganfra
e6b32163ee Room : makes subscribeToSync/unsubscribeFromSync suspendable and makes sure we keep subscription count 2023-09-28 20:16:19 +02:00
Benoit Marty
5964591a19 Fix lint UnnecessaryComposedModifier and make it an error 2023-09-28 16:55:21 +02:00
Benoit Marty
d32a7c6ddf Simplify the management of inReplyToEventTimelineItem 2023-09-27 11:31:12 +02:00
Benoit Marty
9d0e185d1c Ensure getEventTimelineItemByEventId is called when we enter in reply mode. 2023-09-27 10:48:31 +02:00
Benoit Marty
00ab22f42e Reduce the number of fallback notification. Only used now when message cannot be decrypted.
Also avoid using `else` in this `when` block.
2023-09-27 10:12:04 +02:00
Benoit Marty
79f37f1504 Fix API break with Matrix SDK 0.1.58. 2023-09-27 09:44:58 +02:00
Benoit Marty
652597c127 Merge pull request #1436 from vector-im/feature/bma/mutableIntFloat
Mutable int float
2023-09-26 18:31:36 +02:00
Benoit Marty
f21b3e385b Merge pull request #1432 from vector-im/feature/bma/installApk
Install apk from the app - REQUEST_INSTALL_PACKAGES
2023-09-26 18:15:35 +02:00
Benoit Marty
99caa031e8 Replace mutableStateOf by mutableIntStateOf and mutableFloatStateOf. Use intValue and floatValue to avoid unboxing. 2023-09-26 18:07:53 +02:00
Benoit Marty
34114caeb5 Be able to install APK from Element X. 2023-09-26 17:48:26 +02:00
Benoit Marty
45cd853c21 Improve default mime type. 2023-09-26 17:48:26 +02:00
Benoit Marty
c380ed538d Avoid hard-coded string. 2023-09-26 17:48:26 +02:00
Marco Romano
295e10e612 Show poll creator view in timeline (#1429)
- Shows edit/end poll buttons when the user is the creator of the poll.
- Only the end poll button is wired right now as there is no "edit poll" screen yet.
2023-09-26 11:19:24 +02:00
bmarty
e9a7c7bbaf Sync Strings from Localazy 2023-09-25 00:09:17 +00:00
Benoit Marty
10943dc7fc Merge pull request #1405 from vector-im/feature/bma/timelineGlitch
Add animation on the timeline content, to avoid glitch (#1323)
2023-09-21 22:12:59 +02:00
Marco Romano
b6c0ea8d71 Upgrade Rust SDK to v0.1.57 (#1401)
- Enables polls in room summaries from https://github.com/vector-im/element-x-android/pull/1387
- Accommodates a few breaking changes
2023-09-21 19:48:19 +00:00
Benoit Marty
38ee16725e Add animation on the timeline content, to avoid glitch (#1323) 2023-09-21 18:43:46 +02:00
bmarty
4077c5c834 Sync Strings from Localazy 2023-09-21 15:51:21 +00:00
Benoit Marty
5119ca33dd Merge pull request #1400 from vector-im/feature/bma/fixCrashPhoto
Fix crash when user wants to use the camera
2023-09-21 16:31:36 +02:00
Benoit Marty
74fc9ad905 Rename Event for clarity 2023-09-21 15:33:03 +02:00
Benoit Marty
7c190883e8 Rename file to match the class it contains. 2023-09-21 15:24:26 +02:00
Marco Romano
837443c690 Properly format lastMessage when it belongs to a poll. (#1387)
Takes care of properly formatting a room's last message when it belongs to a poll.

NB: Polls still aren't exposed as a room's `last_message` from the rust SDK, so this code won't actually run yet. This will happen after integrating rust SDK version 0.1.57 which includes: https://github.com/matrix-org/matrix-rust-sdk/pull/2580
2023-09-21 15:20:15 +02:00