Commit Graph

13527 Commits

Author SHA1 Message Date
SpiritCroc 58dd1dedc9 Render MSC2530 captions
Change-Id: I10f875121e90102a0518d9bd39d87b3daa68ef2e
2022-11-10 14:00:26 +01:00
SpiritCroc e0f29a85bb Make sure for shown failure dialogs we get a stacktrace
Change-Id: I775908fffc555d11bde2f8afcff6fb85056b6989
2022-11-10 09:55:23 +01:00
SpiritCroc fcf2c17ede Automatic color correction
Change-Id: Icee0b22c4513331f3fdf3dae820891be92063e39
2022-11-03 09:44:14 +01:00
SpiritCroc eab87760fe Merge tag 'v1.5.6' into sc
Change-Id: I4c39b35ff50c57cc9894b709a91691fa745cb0a6

Conflicts:
	dependencies.gradle
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/sync/model/RoomSync.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/RealmSessionStoreMigration.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/mapper/RoomSummaryMapper.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/summary/RoomSummaryUpdater.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/sync/handler/room/RoomSyncHandler.kt
	vector-app/src/debug/java/im/vector/app/flipper/VectorFlipperProxy.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerFragment.kt
	vector/src/main/java/im/vector/app/features/notifications/NotificationUtils.kt
2022-11-03 09:31:58 +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
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
SpiritCroc 6a3d000be5 Fix frowning face emoji-only message detection
Change-Id: I9f1d41406feef32d5b83f73ef5759800981ccfbd
2022-11-02 09:10:41 +01:00
SpiritCroc 6c5e72a695 Fix space discovery search icon
Change-Id: I5cbcabd7dfeeabb728af03c2b7e7bcf2b34032f6
2022-11-02 08:37:34 +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
Jorge Martín 0cb9fdd3a2 Fix share actions from outside the app
Change-Id: I2671d6b9b096c487c22f4032a9152e60c260b4c4
2022-10-29 18:11:02 +02:00
SpiritCroc cf92927a03 Fix some neutral grey icons
Change-Id: Ib90cb3d72503889fc1a5945974fd2ba7b3eb8f73
2022-10-28 18:29:51 +02:00
SpiritCroc da5dcd18b0 Move voice message setting out of labs
Having no voice message button is actually more thoroughly tested than
the default setting... so let's put it to the other related settings

Change-Id: I82fda959dd8d0798a59d0444cd0cecdcda6b8cd3
2022-10-28 18:24:14 +02:00
SpiritCroc 9269a4442c Merge remote-tracking branch 'sc2/merge-v1.5.4-1' into sc
Change-Id: Idc08fd88297d8e1f5211908217e32b93fb6df693

Conflicts:
	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/format/DisplayableEventFormatter.kt
2022-10-28 18:16:15 +02:00
SpiritCroc 759da1fd09 Merge tag 'v1.5.4' into merge-v1.5.4
Change-Id: I3028022ed007c35d0ddbd6a859bc71958b8d2146

Conflicts:
	library/ui-styles/src/main/res/values/colors.xml
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/api/session/accountdata/UserAccountDataTypes.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/RealmSessionStoreMigration.kt
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/session/room/send/LocalEchoEventFactory.kt
	vector-config/src/main/res/values/config-settings.xml
	vector/src/main/java/im/vector/app/SpaceStateHandler.kt
	vector/src/main/java/im/vector/app/SpaceStateHandlerImpl.kt
	vector/src/main/java/im/vector/app/core/di/ActiveSessionHolder.kt
	vector/src/main/java/im/vector/app/features/home/HomeActivity.kt
	vector/src/main/java/im/vector/app/features/home/HomeActivityViewModel.kt
	vector/src/main/java/im/vector/app/features/home/HomeDrawerFragment.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/TimelineFragment.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerView.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/composer/MessageComposerViewModel.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/composer/voice/VoiceMessageViews.kt
	vector/src/main/java/im/vector/app/features/settings/labs/VectorSettingsLabsFragment.kt
	vector/src/main/java/im/vector/app/features/settings/notifications/VectorSettingsNotificationPreferenceFragment.kt
	vector/src/main/java/im/vector/app/features/voice/VoiceRecorderL.kt
	vector/src/main/res/drawable/ic_voice_mic.xml
	vector/src/main/res/layout/fragment_timeline.xml
	vector/src/main/res/layout/view_voice_message_recorder.xml
	vector/src/main/res/xml/vector_settings_labs.xml
2022-10-28 18:02:53 +02:00
Benoit Marty fbabe50875 Fix vulnerability 2022-10-28 16:41:44 +02:00
Benoit Marty 46d1795276 Fix crash due to missing notification
Thread: main, Exception: java.lang.RuntimeException: Unable to start service org.jitsi.meet.sdk.JitsiMeetOngoingConferenceService@3d1f0bc with Intent { cmp=im.vector.app.debug/org.jitsi.meet.sdk.JitsiMeetOngoingConferenceService (has extras) }: java.lang.IllegalArgumentException: Invalid notification (no valid small icon): Notification(channel=JitsiOngoingConferenceChannel pri=0 contentView=null vibrate=null sound=null defaults=0x0 flags=0xa color=0x00000000 category=call actions=2 vis=PUBLIC semFlags=0x0 semPriority=0 semMissedCount=0)
2022-10-28 11:10:08 +02:00
SpiritCroc 22f5408a1c Always allow collapsing sections to fix cases where state doesn't restore
Change-Id: Ib609de02b48b84a08e0643281a918793074ccc9d
2022-10-27 17:15:27 +02:00
Benoit Marty 6b34bb2086 Fix issue with Back button not working when conference is not joined yet. 2022-10-27 16:10:40 +02:00
Benoit Marty 1b5852fbcb API break, replace `leave()` by broadcast 2022-10-27 14:37:29 +02:00
Benoit Marty f93f43bf8b Fix issue with Jitsi compilation
Error was lots of `Duplicate class org.checkerframework.common.reflection.qual.MethodVal found in modules jetified-checker-3.1 (org.checkerframework:checker:3.1.1) and jetified-checker-qual-3.12.0 (org.checkerframework:checker-qual:3.12.0)
Cannot use latest 3.15.0 since it required min API 26.
2022-10-27 14:36:45 +02:00
Benoit Marty ac4785a0dd Fix lint issue 2022-10-27 14:36:45 +02:00
Benoit Marty 4515dcdfe9 Update Jitsi and WebRtc dependencies to android-sdk-6.2.2 2022-10-27 14:34:58 +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
Maxime NATUREL e765575cf6 Renaming and creating a fixture method for DeviceFullInfo mocks 2022-10-26 12:22:26 +02:00
Maxime NATUREL db17d02f36 Using host variable to make the code nicer 2022-10-26 12:22:26 +02:00
Maxime NATUREL 3e1c110343 Updating some new string keys to make them more generic 2022-10-26 12:22:26 +02:00
Maxime NATUREL 600f650256 Fixing visibility of the select session action when empty list 2022-10-26 12:22:25 +02:00
Maxime NATUREL b7f9419bd4 Fix usage of @+id in xml file 2022-10-26 12:22:25 +02:00
Maxime NATUREL 2e99d45c82 Adding unit test about select mode 2022-10-26 12:22:25 +02:00
Maxime NATUREL 3bba9dea25 Adding unit test for filter action 2022-10-26 12:22:25 +02:00
Maxime NATUREL 4a8289c6cc Adding first unit test on OtherSessionsViewModel for init of ViewModel 2022-10-26 12:22:25 +02:00
Maxime NATUREL 3390d7fde4 Handling correct UI for selected session 2022-10-26 12:22:25 +02:00
Maxime NATUREL a703b8ae10 Select all/Deselect all actions 2022-10-26 12:22:25 +02:00
Maxime NATUREL 2fc2665ff3 Deselect all sessions when leaving select mode 2022-10-26 12:22:25 +02:00
Maxime NATUREL 5b1bf8a68e Select devices with basic UI for tests 2022-10-26 12:22:25 +02:00
Maxime NATUREL ab2e91ae80 Enable selectMode when long pressing on list item 2022-10-26 12:22:25 +02:00
Maxime NATUREL 2e155b1acc Toggling of selectMode using menu i OtherSessionsFragment 2022-10-26 12:22:25 +02:00
ericdecanini 51251c2b2b Merge remote-tracking branch 'origin/develop' into feature/eric/msc3773 2022-10-25 11:56:46 -04:00
jonnyandrew 7cc06fa5ee
Merge pull request #7429 from jonnyandrew/feat/PSU-919-attachments-v2
Add new UI for selecting an attachment type
2022-10-25 11:46:34 +01:00
Benoit Marty 5b6763ff89
Merge pull request #7349 from vector-im/dependabot/gradle/com.github.UnifiedPush-android-connector-2.1.1
Bump android-connector from 2.1.0 to 2.1.1
2022-10-25 11:12:07 +02:00
ericdecanini 3673e720fa Code improvements 2022-10-24 10:31:55 -04: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 cdc8f7fea7
Remove redundant `this` 2022-10-24 09:43:28 +01:00
Jonny Andrew b9c1aa6ded
Remove redundant view group 2022-10-24 09:31:25 +01:00
Jonny Andrew 293811220d
Revert "Add rounded corners to bottom sheet dialog."
This reverts commit 17c43c9188.
2022-10-24 09:26:11 +01:00
Jonny Andrew c401d55dea
Change redundant sealed class to interface 2022-10-24 09:22:12 +01:00
Jonny Andrew 74591f5261
Refactor to use view visibility helper 2022-10-24 09:20:51 +01:00
Jonny Andrew 9da575b4d0
Remove redundant call to superclass click listener 2022-10-24 09:19:01 +01:00
SpiritCroc ca65de5eb5 Add SC settings migration and simplified mode prompt also to new home
Change-Id: Ib36c4504f1cb0b62c1d67c4f43682fa52d0bc289
2022-10-23 10:19:35 +02:00