David Langley
e388ea21b6
Merge branch 'develop' into dla/feature/custom_room_notification_settings_list
2023-10-24 17:20:15 +01:00
Benoit Marty
1fa745dcbd
Add BackupState and BackupStateMapper from the feature/bma/secureBackup branch to ensure that we do not upgrade the SDK with no support of KeyBackup.
...
This will act as a poison pill to avoid mistake when building new version of the SDK.
2023-10-24 11:12:06 +02:00
Jorge Martin Espinosa
e61c7d8de0
Set tracing of matrix_sdk_ui::timeline to trace ( #1630 )
2023-10-24 09:37:41 +02:00
renovate[bot]
7c5fab732b
Update dependency org.matrix.rustcomponents:sdk-android to v0.1.63 ( #1619 )
...
* Update dependency org.matrix.rustcomponents:sdk-android to v0.1.63
* Update Element Call integrated APIs
* Take into account the new `MessageType.Other` from the SDK
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io >
Co-authored-by: Benoit Marty <benoit@matrix.org >
2023-10-20 22:32:59 +02:00
Marco Romano
7e8f78c05d
Document the nuances in UserId and SessionId types. ( #1616 )
2023-10-20 12:25:20 +00:00
Jorge Martin Espinosa
5e547269e7
Integrate Element Call with widget API ( #1581 )
...
* Integrate Element Call with widget API.
- Add `appconfig` module and extract constants that can be overridden in forks there.
- Add an Element Call feature flag, disabled by default.
- Refactor the whole `ElementCallActivity`, move most logic out of it.
- Integrate with the Rust Widget Driver API (note the Rust SDK version used in this PR lacks some needed changes to make the calls actually work).
- Handle calls differently based on `CallType`.
- Add UI to create/join a call.
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-10-19 15:38:43 +00:00
David Langley
3ecabd71c0
Merge branch 'develop' into dla/feature/custom_room_notification_settings_list
2023-10-19 16:36:30 +01:00
Marco Romano
80870adfe3
Extract more content from audio messages. ( #1607 )
...
`TimelineItemAudioContent`:
- Use `java.time.Duration` instead of milliseconds. This will ease up things in the future because currently milliseconds are sent over the wire but in the future seconds will be sent (as per the stable MSC). Using `Duration` will allow our downstream code to be independent of what's passed over the wire.
- Rename `audioSource` property to `mediaSource` to better match its type.
`AudioMessageType`:
- Add and populate new fields `details` and `isVoiceMessage` to be used by voice messages.
2023-10-19 13:32:43 +02:00
David Langley
af4a1d3fd6
Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/custom_room_notification_settings_list
2023-10-18 22:07:14 +01: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
Benoit Marty
7afae87b3e
Konsist: add rule obout test class name, and fix existing issue
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
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
16841e9721
data object
2023-10-10 17:31:04 +02:00
Benoit Marty
529872a4f2
Do not restore session with invalid token.
2023-10-10 10:20:31 +02:00
Benoit Marty
0b3fcecbed
SignedOut mode - WIP
2023-10-10 10:20:31 +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
Benoit Marty
19f011b19f
Convert object to data object
2023-10-05 10:43:00 +02:00
Benoit Marty
937e053d46
Fetch edited event in advanced (similar to reply mode).
2023-10-04 17:38:17 +02: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
ganfra
e6b32163ee
Room : makes subscribeToSync/unsubscribeFromSync suspendable and makes sure we keep subscription count
2023-09-28 20:16:19 +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
79f37f1504
Fix API break with Matrix SDK 0.1.58.
2023-09-27 09:44:58 +02:00
David Langley
a9d87da1ff
Add roomsWithUserDefinedRules data and render list
...
- get roomsWithUserDefinedRules from rust
- add to state in the presenter
- render in the edit defaults view as a list
2023-09-22 16:16:52 +01:00
David Langley
8605673ca1
Merge branch 'develop' into dla/feature/room_list_decoration
2023-09-18 10:34:32 +01:00
Jorge Martín
fa277f062f
Add preference screen for user profile
2023-09-15 12:16:47 +02:00
David Langley
fc487ba9da
Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/room_list_decoration
2023-09-14 19:30:02 +01:00
ganfra
54b290d630
Merge pull request #1298 from vector-im/feature/fga/timeline_thread_decoration
...
Feature/fga/timeline thread decoration
2023-09-14 18:45:33 +02:00
ganfra
b60b481ee0
Merge branch 'develop' into feature/fga/timeline_thread_decoration
2023-09-14 16:57:20 +02:00
Benoit Marty
51e663ffdc
Account management with OIDC: split account and session management. #1303
2023-09-14 16:38:13 +02:00
David Langley
2a7a46841e
Show a room list decoration for notification setting applied
...
- Add the UI
- Rebuild room summaries when push rules change or when user disables notifications(hide them all)
2023-09-14 14:24:13 +01:00
David Langley
827dd35791
Enabled NotificationSettings by default, Fix spacing, use activeMemberCount for isOneToOne.
...
- Enabled Notification Settings by default
- Fix spacing
- Use activeMemberCount for isOneToOne
2023-09-13 14:18:28 +01:00
David Langley
91cf00a3c4
Merge branch 'develop' into dla/feature/connect_sdk_to_global_notifications_ui
2023-09-13 13:00:11 +01:00
David Langley
ccd684ea40
Add tests, mocks and lint
2023-09-13 12:44:22 +01:00
ganfra
b6be989884
Thread decoration: add and branch isThreaded method
2023-09-13 12:05:50 +02:00
jonnyandrew
d5b01ac0b4
[Rich text editor] Add feature flag for rich text editor ( #1289 )
2023-09-13 08:17:02 +00:00
David Langley
7d95feadc1
Merge branch 'develop' of https://github.com/vector-im/element-x-android into dla/feature/connect_sdk_to_global_notifications_ui
2023-09-12 16:30:36 +01:00
David Langley
2f6f28bfbb
Implement Notification Settings
...
- Add UI and logic to inform the user of mismatched notification settings and help them correct it.
- Display a warning when the system notification settings are disabled and a link out to the app settings.
- A toggle to disable notifications for the device
- A screen for editing the group and direct chat notification defaults.
- A toggle for switching on/off atRoom and call notifications.
2023-09-12 01:11:13 +01:00
Benoit Marty
5f77740533
Iterate on tracing configuration
...
- Add targets matrix_sdk, matrix_sdk::client and matrix_sdk::oidc
- introduce default log level.
2023-09-11 08:57:09 +02:00
ganfra
b10932b2dd
Merge branch 'develop' into feature/fga/sync_indicator_api
2023-09-07 21:56:48 +02:00
jonnyandrew
11c1fca92e
[Rich text editor] Integrate rich text editor library ( #1172 )
...
* Integrate rich text editor
* Also increase swapfile size in test CI
Fixes issue where screenshot tests are terminated due to lack of CI
resources.
See https://github.com/actions/runner-images/discussions/7188#discussioncomment-6750749
---------
Co-authored-by: ElementBot <benoitm+elementbot@element.io >
2023-09-07 15:21:29 +00:00
ganfra
423c7d6444
Sync: use the new SyncIndicator api
2023-09-07 17:03:52 +02:00