Commit Graph

1766 Commits

Author SHA1 Message Date
Onuray Sahin ab94b21807 Fix the place of the span factory. 2022-11-17 15:58:42 +03:00
Jorge Martin Espinosa 10775ab2f3
Editing: default to `MessageContent.body` when no `formattedBody` is present (#7592)
* Editing: default to `MessageContent.body` when no `formattedBody` is present

* Update docs
2022-11-16 12:13:07 +00:00
Florian Renaud 54fcdcdb6d
Merge pull request #7588 from vector-im/feature/fre/voice_broadcast_recording_time
Voice Broadcast - Add max length for recording
2022-11-15 17:26:17 +01:00
Florian Renaud 6fc8c2cb80
Merge pull request #7582 from vector-im/feature/fre/voice_message_persist_playback_state
Persist the playback state of voice messages across different screens
2022-11-15 17:25:53 +01:00
Florian Renaud 4ac9c8d0e0
Merge pull request #7579 from vector-im/feature/fre/voice_broadcast_live_indicator
Voice Broadcast - Improve live indicator icon rendering
2022-11-15 17:25:38 +01:00
Florian Renaud c3090fa45a Changelog 2022-11-15 10:43:50 +01:00
Florian Renaud a73e707f33 Changelog 2022-11-15 09:26:35 +01:00
Jorge Martin Espinosa a476544761
Fix some quoted messages having 'null' message bodies (#7532)
* Fix some quoted messages having 'null' message bodies
2022-11-14 11:01:29 +00:00
Florian Renaud 288fc35487 Changelog 2022-11-14 10:55:48 +01:00
Jorge Martin Espinosa 008432af36
Move TypingView into the timeline as another item (#7565)
* Typing view as item in list

* Don't show TypingItem if we're showing a forward loader
2022-11-10 17:28:03 +00:00
Onuray Sahin 202c0c58ab Merge branch 'develop' into feature/ons/toggle_ip_address_visibility
# Conflicts:
#	vector/src/test/java/im/vector/app/features/settings/devices/v2/overview/SessionOverviewViewModelTest.kt
2022-11-10 17:01:50 +03:00
Maxime NATUREL 744b03a806
Merge pull request #7523 from vector-im/feature/mna/push-toggle-current-session
Push notifications toggle: align implementation for current session (PSG-971)
2022-11-10 13:44:49 +01:00
Florian Renaud 271fd05a1c
Merge pull request #7496 from vector-im/feature/fre/voice_broadcast_seek_to_live_update
Voice Broadcast - Update seek bar position while playing
2022-11-10 13:43:34 +01:00
Amit Kumar c07b110b99
Add spannable tracking around SyncResponseHandler (#7514)
* Add spannable tracking around SyncResponseHandler

* Update LICENSE header

* Refactor handleResponse and MetricsExtensions

* Update changelog.d

* Improve code docs and comments

* Check if Sentry is enabled before tracking
2022-11-10 16:13:09 +05:30
Maxime NATUREL def74926d7 Adding changelog entry 2022-11-10 10:05:01 +01:00
Maxime NATUREL 41ab29d4c0 Adding changelog entry 2022-11-10 10:00:26 +01:00
Onuray Sahin b2589a1e4d Merge branch 'develop' into feature/ons/fix_device_manager_verified_desc 2022-11-09 19:05:07 +03:00
Onuray Sahin b81fc4f8f1 Merge branch 'develop' into feature/ons/toggle_ip_address_visibility
# Conflicts:
#	vector/src/test/java/im/vector/app/features/settings/devices/v2/overview/SessionOverviewViewModelTest.kt
2022-11-09 18:09:22 +03:00
Onuray Sahin 8bc70002d9 Add changelog. 2022-11-08 19:31:59 +03:00
Maxime NATUREL fc24beaa68
Merge pull request #7456 from vector-im/feature/mna/session_manager_multi_signout
[Session manager] Multi-session signout (PSG-857)
2022-11-08 14:21:14 +01:00
Benoit Marty 7a24e16092
Merge pull request #7501 from SpiritCroc/duplicated-pill-fixes
Fix duplicated pills when pills contain other spans
2022-11-07 15:33:34 +01:00
Onuray Sahin e30cbd5916 Add changelog. 2022-11-07 14:51:18 +03:00
Jorge Martin Espinosa f0340d5ced
When joining a room, the message composer should be visible once the room loads (#7510) 2022-11-07 11:58:34 +01:00
Maxime NATUREL 97cfc7dde4 Adding changelog entry 2022-11-07 11:09:41 +01:00
Florian Renaud 20d62b14de Changelog 2022-11-04 11:36:14 +01:00
Florian Renaud ac0d823c88
Merge pull request #7519 from vector-im/bugfix/fre/unencrypted_media_event_json_type
Fix bad content types when sending unencrypted media event with additional content data
2022-11-04 10:40:18 +01:00
Maxime NATUREL 4621488f21
Merge pull request #7476 from vector-im/fix/mna/push-toggle-check-support
[Session manager] Hide push notification toggle when there is no server support (PSG-970)
2022-11-04 09:19:04 +01:00
Florian Renaud c0ba2f2f48 Fix bad content types when sending unencrypted media 2022-11-03 11:28:45 +01:00
Florian Renaud 98e0397afd
Merge pull request #7455 from vector-im/resilience-rc
Merge branch resilience-rc into develop
2022-11-02 18:19:34 +01:00
Jorge Martín 5c55a3261f Merge remote-tracking branch 'origin/develop' into resilience-rc 2022-11-02 16:00:34 +01:00
ganfra d954c9eae4
Merge pull request #6195 from vector-im/feature/bma/jitsi_5_1_0
Upgrade Jitsi SDK to 6.2.2
2022-11-02 12:10:25 +01:00
Maxime NATUREL 38fe556978 Adding changelog entry 2022-11-02 09:37:10 +01:00
Amit Kumar b6746653f1
Add metrics plugin to track device download keys task (#7438)
* Add metrics tracking plugin for download device keys

* Add support for multiple metrics plugin

* Update copyright license header in matrix-sdk-android

* Add tests for MetricExtension

* Update changelog

* Improve MetricsExtension and reformatting
2022-11-02 13:43:57 +05:30
Florian Renaud 68062911a9 Changelog 2022-11-01 18:17:23 +01:00
SpiritCroc 99d5107732 Changelog 7501 2022-11-01 15:49:46 +01:00
Jorge Martin Espinosa 7ba1052bcf
Fix rich text editor EditText not resizing properly in full screen (#7491)
* Fix rich text editor full screen mode

* Add changelog

* Address review comments.
2022-10-31 16:43:01 +01:00
Jorge Martin Espinosa 76ead3f344
Fix new line and enter key presses deleting existing text in some keyboards (#7437) 2022-10-31 16:16:42 +01:00
Jorge Martin Espinosa ce35472824
Fix share actions from outside the app (#7473) 2022-10-31 11:39:38 +00:00
Joaquín Aguirrezabalaga 3a430efb02 Add setting to allow disabling direct share
Direct share continues to be enabled by default.

As requested in #2725

Signed-off-by: Joaquín Aguirrezabalaga <kinote@kinote.org>
2022-10-30 11:32:52 +01:00
Florian Renaud b510919d59 Add changelog 2022-10-28 10:53:35 +02:00
Florian Renaud 62c574b966 Add changelog 2022-10-28 10:29:48 +02:00
David Langley 15583a14aa changelog 2022-10-27 14:30:36 +01:00
Benoit Marty 461d07a4c3 changelog 2022-10-27 14:36:45 +02:00
jonnyandrew c776aae9d0
[Rich text editor] Add plain text mode and new attachment UI (#7459)
* Add new attachments selection dialog

* Add rounded corners to bottom sheet dialog.

Note these are currently only visible in the collapsed state.
- [Google issue](https://issuetracker.google.com/issues/144859239)
- [Rejected PR](https://github.com/material-components/material-components-android/pull/437)
- [Github issue](https://github.com/material-components/material-components-android/issues/1278)

* Add changelog entry

* Remove redundant call to superclass click listener

* Refactor to use view visibility helper

* Change redundant sealed class to interface

* Remove unused string

* Revert "Add rounded corners to bottom sheet dialog."

This reverts commit 17c43c9188.

* Remove redundant view group

* Remove redundant `this`

* Update rich text editor to latest

* Update rich text editor version

* Allow toggling rich text in the new editor

* Persist the text formatting setting

* Add changelog entry
2022-10-26 18:37:40 +02:00
Eric Decanini 29d3856ef2
Merge pull request #7424 from vector-im/feature/eric/msc3773
Implements MSC3773 (Thread Notifications)
2022-10-26 10:44:32 -04:00
Florian Renaud 6ee77ad101
Merge pull request #7450 from vector-im/feature/fre/voice_broadcast_stop_on_app_restart
Voice Broadcast - Stop recording on app restart
2022-10-26 15:49:32 +02:00
Jorge Martin Espinosa d242ab049b
[Rich text editor] Implement full screen editor mode (simple approach) (#7436)
* Rich text editor: implement full screen editor mode using ConstraintSets

* Add back press handler

* Change ToggleFullScreen to SetFullScreen, fix rebase issues

* Add warning to fragment_timeline* files
2022-10-26 15:15:48 +02:00
Benoit Marty e41b1a6e8b
Merge pull request #7454 from vector-im/feature/bma/upgrade_sanselan
Replace org.apache.sanselan:sanselan by org.apache.commons:commons-imaging
2022-10-26 14:19:08 +02:00
Benoit Marty 307b71dbd7 Changelog 2022-10-26 12:40:45 +02:00
Maxime NATUREL b532112f58 Adding changelog entry 2022-10-26 12:22:25 +02:00
Florian Renaud 53db04c8cf Add changelog 2022-10-26 09:46:24 +02:00
ericdecanini 51251c2b2b Merge remote-tracking branch 'origin/develop' into feature/eric/msc3773 2022-10-25 11:56:46 -04:00
Florian Renaud a4eff0cc78 Add changelog 2022-10-25 17:56:27 +02:00
Florian Renaud 0f21f404e6 Add changelog 2022-10-25 17:41:36 +02:00
ericdecanini 35be56a44a Merge remote-tracking branch 'origin/develop' into feature/eric/msc3773
# Conflicts:
#	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/RealmSessionStoreMigration.kt
2022-10-24 10:28:21 -04:00
Jonny Andrew f52aaef645
Add changelog entry 2022-10-21 17:40:09 +01:00
jonnyandrew 31811bb7e0
Fix crash by disabling Flipper on API 22 and below (#7428)
* Disable Flipper on API 21 and below - only affects debug builds.

Due to a bug: https://github.com/facebook/flipper/issues/3572

* Add jonnyandrew to PR sign-off allowlist

Co-authored-by: Benoit Marty <benoit.marty@gmail.com>
2022-10-21 17:36:31 +01:00
ericdecanini f76490130c Adds changelog file 2022-10-20 19:49:37 -04:00
Florian Renaud 8869d82dd0 Add changelog 2022-10-20 23:28:32 +02:00
Florian Renaud 99a2afa5ee Add changelog 2022-10-20 23:03:28 +02:00
Benoit Marty 9122d96fc6 Merge remote-tracking branch 'origin/develop' into develop 2022-10-19 17:17:33 +02:00
Johannes Marbach 451f5f824a
Merge pull request #7369 from vector-im/feature/hughns/qr_code_login
Implement logic for sign in with QR
2022-10-19 17:10:19 +02:00
Benoit Marty 21c30c488c Towncrier 2022-10-19 17:07:11 +02:00
Benoit Marty ff4ec3f583 Fix typo 2022-10-19 10:00:34 +02:00
Benoit Marty f5fe5cce62
Merge pull request #7372 from vector-im/feature/bma/fix_getUser_null
Handle properly when getUser returns null - prefer using getUserOrDefault
2022-10-19 08:40:44 +02:00
Florian Renaud 13972661e0
Merge pull request #7397 from vector-im/feature/fre/voice_broadcast_additional_content
Add additional data in voice broadcast events
2022-10-19 07:51:01 +02:00
Florian Renaud 096b423cc1 Update changelog wording 2022-10-18 22:10:18 +02:00
Florian Renaud 5438c7e089 Add changelog 2022-10-18 21:08:09 +02:00
Florian Renaud a03be5d02f Add changelog 2022-10-18 21:07:44 +02:00
Florian Renaud 0dad78a24a
Merge pull request #7387 from vector-im/feature/fre/voice_broadcast_start_listening
Voice Broadcast - Listening
2022-10-18 17:54:07 +02:00
Florian Renaud b67500515c
Merge pull request #7363 from vector-im/feature/fre/voice_broadcast_start_record
Voice Broadcast - Start record
2022-10-18 16:43:18 +02:00
Florian Renaud e75ddf763b Add changelog file 2022-10-18 13:41:05 +02:00
Florian Renaud 06bceef7c0 Add changelog 2022-10-17 22:33:43 +02:00
Jorge Martín 7793667970 Update changelog 2022-10-17 17:12:16 +02:00
Onuray Sahin 47c87141b2
Merge pull request #7338 from vector-im/feature/ons/qr_code_login_ui
QR Code Login UI
2022-10-17 17:20:07 +03:00
Benoit Marty 997341b962
Merge pull request #7282 from vector-im/feature/bma/remove_original_event
Stop using `original_event` field
2022-10-17 14:43:22 +02:00
Benoit Marty 36e5166051
Merge pull request #7375 from vector-im/feature/mna/device-manager-go-to-new-screen
[Device Management] Redirect to the new screen everywhere when lab flag is on
2022-10-17 11:44:02 +02:00
Jorge Martin Espinosa f1acb4712c
Fix editing formatted messages in plain text editor (#7360)
* Fix editing formatted messages in plain text editor

* Update changelog.d/7359.sdk

Co-authored-by: Benoit Marty <benoitm@matrix.org>

Co-authored-by: Benoit Marty <benoitm@matrix.org>
2022-10-14 15:15:12 +00:00
Maxime NATUREL 612d2e51e5
Merge pull request #7361 from vector-im/feature/mna/device-manager-unknown-verification-status
[Device management] Update the unknown verification status icon (PSG-824)
2022-10-14 16:22:33 +02:00
Maxime NATUREL ec5964bc20
Merge pull request #7352 from vector-im/feature/mna/device-manager-lab-flag-account-data
[Device management] Add lab flag for matrix client info account data event (PSG-800)
2022-10-14 16:03:40 +02:00
Hugh Nimmo-Smith f999e72759 Changelog 2022-10-14 14:01:13 +01:00
Onuray Sahin b04ad4915f Add changelog. 2022-10-14 15:38:28 +03:00
Maxime NATUREL 1f0028fd7e Adding changelog entry 2022-10-14 14:09:30 +02:00
Benoit Marty 8bb5dcd553 Changelog 2022-10-14 12:33:27 +02:00
Hugh Nimmo-Smith 626e3dbd10
Merge pull request #7358 from vector-im/feature/hughns/qr_code_login_task 2022-10-14 09:38:07 +01:00
Jorge Martin Espinosa 81ef1415dc
Apply design changes to WYSIWYG editor (#7354)
* Apply design changes to WYSIWYG editor

* Add changelog

* Remove unneeded attribute in RichTextComposerLayout

* Fix lint issues

* Fix style naming issue.

* Change rich text editor border radius depending on the number of lines.

* Replace standby voice recorder icon.
2022-10-14 09:59:43 +02:00
Hugh Nimmo-Smith f13419d696 Changelog 2022-10-13 15:18:31 +01:00
Benoit Marty 5b56ae1e1c
Merge pull request #7319 from ByeongsuPark/feature/bspark/bugfix-wrong-mic-direction-rtl
Fix the wrong mic button direction to cancel on RTL languages
2022-10-13 13:59:09 +02:00
Maxime NATUREL f9eb6a64ea
Merge pull request #7323 from vector-im/feature/mna/device-manager-parsing-os
[Device management] Improve the parsing for OS of Desktop/Web sessions (PSG-823)
2022-10-13 10:39:38 +02:00
Maxime NATUREL 893008a93d Adding changelog entry 2022-10-13 10:13:10 +02:00
Maxime NATUREL 1ede6b32a5 Adding changelog entry 2022-10-13 09:41:53 +02:00
Eric Decanini 963c0e5a50
Local Notification Settings Event (#7300)
* Adds push notifications switch

* Adds functionality to Push notification toggle

* Adds DefaultPushersServiceTest for togglePusher

* Adds DefaultTogglePusherTaskTest

* Adds SessionOverviewViewModelTest for toggling pusher

* Hides pusher toggle if there are no pushers of the device

* Adds changelog file

* Edits changelog file

* Fixes copyrights

* Unregisters checkedChangelistener in onDetachedFromWindow for switch view

* Links notification settings toggle to pusher service

* Adds changelog file

* Adds error handling to VectorSettingsNotificationPreferenceFragment

* Removes comment in FakePushersService

* Adds parsing for LocalNotificationSettings event

* Adds changelog file

* Fixes post merge errors

* Fixes imports and improves string name

* Fixes legal copies

* Fixes kdoc punctuation

* Fixes string error

* Removes unused imports

* Moves LocalNotificationSettingsContent

* Fixes lint errors

* Fixes test errors

* Fixes test errors

* Fixes error

* Fixes error

* Fixes error

* Fixes error

* Fixes error

* Fixes error

* Fixes error

* Adds lost tests

* Adds PusherEntity migration

* Fixes session overview layout overlap

* Fixes switch being enabled by default

* Adds device id and unstable prefix
2022-10-12 23:11:27 -04:00
Maxime NATUREL f8f416e979
Merge pull request #7306 from vector-im/feature/mna/device-manager-extended-details
[Device Management] Render extended device info (PSG-773)
2022-10-12 18:09:33 +02:00
Benoit Marty beb334babe
Merge pull request #7335 from vector-im/feature/bma/upgrade_arrow
Remove Arrow-kt dependency
2022-10-12 16:26:02 +02:00
Maxime NATUREL 7877ef92cc
Merge pull request #7325 from vector-im/feature/mna/device-manager-hide-ip-current-session
[Device management] Hide the IP address and last activity date on current session (PSG-823)
2022-10-12 15:56:30 +02:00
Maxime NATUREL 6626732b3b
Merge pull request #7276 from vector-im/feature/mna/device-manager-account-data
[Device Management] Save matrix_client_information events on login/registration (PSG-769, PSG-771)
2022-10-12 15:41:40 +02:00
Eric Decanini 9857fa6ca4
Makes "Enable Notifications for this session" respond to enabled value in pusher (#7281)
* Adds push notifications switch

* Adds functionality to Push notification toggle

* Adds DefaultPushersServiceTest for togglePusher

* Adds DefaultTogglePusherTaskTest

* Adds SessionOverviewViewModelTest for toggling pusher

* Hides pusher toggle if there are no pushers of the device

* Adds changelog file

* Edits changelog file

* Fixes copyrights

* Unregisters checkedChangelistener in onDetachedFromWindow for switch view

* Links notification settings toggle to pusher service

* Adds changelog file

* Adds error handling to VectorSettingsNotificationPreferenceFragment

* Removes comment in FakePushersService

* Fixes post merge errors

* Fixes imports and improves string name

* Fixes legal copies

* Fixes kdoc punctuation

* Fixes string error

* Removes unused imports

* Fixes lint errors

* Fixes test errors

* Fixes test errors

* Fixes error

* Fixes error

* Fixes error

* Fixes error

* Fixes error

* Adds lost tests

* Adds PusherEntity migration

* Fixes session overview layout overlap

* Fixes switch being enabled by default

* Binds entire view to toggle switch
2022-10-12 09:27:55 -04:00
Benoit Marty 1669316682 Remove dependency to arrow. Please use `org.matrix.android.sdk.api.util.Optional` instead. 2022-10-12 10:20:52 +02:00
Maxime NATUREL 052b497ebe Adding new changelog entry 2022-10-11 17:47:24 +02:00
Jorge Martin Espinosa def67b2e7d
Integrate WYSIWYG editor (#7288)
* Add WYSIWYG lib dependency

* Replace EditText with RichTextEditor

* Add bold button, fix sending formatting messages issues

* Add missing inline formatting buttons, make scrollview horizontal

* Disable autocomplete for rich text editor

* Add formatted text to messages sent, replies, quotes and edited messages.

* Several fixes

* Add changelog

* Try to fix lint issues

* Address review comments.

* Exclude Epoxy KSP generated files from ktlint checks
2022-10-11 17:05:47 +02:00