Commit Graph

14549 Commits

Author SHA1 Message Date
SpiritCroc d9c1ec588d Merge tag 'v1.6.0' into sc
v1.6.0

Change-Id: Iaca4b437bc5a267c40b83a87a98eb7761dae345b

Conflicts:
	library/ui-styles/src/main/res/values/styles_app_bar_layout.xml
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/RealmSessionStoreMigration.kt
	vector-app/build.gradle
	vector/src/main/java/im/vector/app/core/di/ConfigurationModule.kt
	vector/src/main/java/im/vector/app/features/crypto/verification/emoji/VerificationEmojiCodeController.kt
	vector/src/main/java/im/vector/app/features/disclaimer/DisclaimerDialog.kt
	vector/src/main/java/im/vector/app/features/home/room/detail/timeline/helper/MessageInformationDataFactory.kt
	vector/src/main/java/im/vector/app/features/settings/VectorPreferences.kt
	vector/src/main/java/im/vector/app/features/settings/VectorSettingsHelpAboutFragment.kt
	vector/src/main/java/im/vector/app/features/settings/VectorSettingsPinFragment.kt
	vector/src/main/java/im/vector/app/features/settings/VectorSettingsUrls.kt
	vector/src/main/res/layout/dialog_disclaimer_content.xml
	vector/src/main/res/xml/vector_settings_help_about.xml
2023-05-22 14:19:46 +02:00
SpiritCroc 1b8cef9678 Fix live location render crash for Android < 7
Bring back proper implementation from 9ef870b927, probably gone due to mismerge?

Change-Id: I198488e57d9b800cee303373372b1fd165ddf7f1
2023-05-16 14:41:36 +02:00
Valere c9ed3abc36
Merge pull request #8436 from vector-im/feature/bca/update_analytics
Add sentry config for rust crypto
2023-05-15 21:44:02 +02:00
Benoit Marty 7c3ecec92a
Merge pull request #8426 from vector-im/feature/bma/a11yFixes
A11y fixes
2023-05-15 16:28:35 +02:00
valere eba31a7216 Add sentry config for rust crypto
update posthog url
2023-05-15 11:29:49 +02:00
bmarty 1fdb31d4c6 Sync Emojis 2023-05-15 00:03:30 +00:00
Valere b2cde3f9d6
Merge pull request #8390 from vector-im/feature/bma/crypto_rust_default
Rust Crypto SDK is now the default, and the build will replace the existing application
2023-05-11 14:52:26 +02:00
Benoit Marty f9f341e0ed
Merge pull request #8410 from vector-im/feature/bma/fixCrashes
Fix crashes
2023-05-11 14:51:33 +02:00
valere b2a21f7cc8 Add user property for rust to help analytics 2023-05-11 10:48:51 +02:00
valere 1a1f6810e2 Fix missing implem 2023-05-11 10:48:28 +02:00
Benoit Marty 7a65a51ee1 Attempt to give accessibility focus to the first item of the RecyclerView when the recycler view is updated (screen change), to improve screen reader behavior. 2023-05-10 18:45:25 +02:00
Benoit Marty 20fedc87fe Remove dead code 2023-05-10 17:51:40 +02:00
Benoit Marty db76cd5899 Give accessibility focus to title of bottom sheet, which can be updated asynchronously. 2023-05-10 17:27:39 +02:00
Benoit Marty 6c942a7575 Give accessibility focus to the alerts. 2023-05-10 17:00:07 +02:00
Benoit Marty 71a2a4d31a a11y: add custom action to be able to close the alert. 2023-05-10 16:43:54 +02:00
Benoit Marty fe3a41e4e9 Improve accessibility for avatar of users, rooms and spaces. 2023-05-10 14:49:05 +02:00
Benoit Marty c8fbb88511 Let the focus go to the room list and the actions at the bottom, useful when navigating with the keyboard. 2023-05-10 13:39:18 +02:00
Yoan Pintas 36b1e9b5e4
Replace matrix ids by displayname in notice events (#8395) 2023-05-10 08:30:21 +00:00
Benoit Marty eb1d361066 Fix other wrong usage of `repeatOnLifecycle` 2023-05-09 14:03:08 +02:00
Benoit Marty 9569c34324 Do not repeat the recovery setup.
Should fix issue reported at https://github.com/vector-im/element-android/pull/8165#issuecomment-1533212264
2023-05-09 13:50:45 +02:00
Benoit Marty 8b7601029b Fix crash when entering to "Protect access" screen. 2023-05-09 13:46:49 +02:00
valere 257ca26a8e unused resources 2023-05-08 00:08:57 +02:00
Benoit Marty 622aa88f86 Remove LegacySessionImporter, and the dialog which explains that Riot is now Element. 2023-05-05 16:04:30 +02:00
dependabot[bot] 9fbf34f7e5
Bump org.jetbrains.kotlin:kotlin-reflect from 1.8.10 to 1.8.21
Bumps [org.jetbrains.kotlin:kotlin-reflect](https://github.com/JetBrains/kotlin) from 1.8.10 to 1.8.21.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.8.10...v1.8.21)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-reflect
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-05 09:09:58 +00:00
Benoit Marty b5f1ecf9e0
Merge pull request #8325 from networkException/free-style-cropping
Enable free style cropping for camera and gallery images
2023-05-05 10:35:51 +02:00
Benoit Marty 09e1d4d97a
Merge pull request #8327 from tulir/emoji-variation-selectors
Add variation selector 16 to all applicable emojis
2023-05-05 10:28:30 +02:00
Benoit Marty 613dc3d7fa Fix crash when starting app with no available network. 2023-05-04 12:02:09 +02:00
Yoan Pintas f3faed0ffd
Update sound on vb network error (#8389) 2023-05-04 08:19:44 +00:00
SpiritCroc acf7d374b9 Render MSC2530 captions in notifications
Change-Id: I0de1c61ded81fe6fc8ef79ec6effc42aca693dc6
2023-05-03 20:20:05 +02:00
Benoit Marty aaa6e7255c
Merge pull request #8385 from vector-im/dependabot/gradle/org.checkerframework-checker-3.34.0
Bump org.checkerframework:checker from 3.33.0 to 3.34.0
2023-05-03 14:18:35 +02:00
Valere 92c37f3bb2
Merge pull request #8364 from vector-im/feature/bca/expose_rust_crate_version
Expose rust version in settings and RS
2023-05-03 12:50:37 +02:00
Benoit Marty 6c80a38c4a
Merge pull request #8383 from vector-im/feature/bma/jitsi8
Upgrade jitsi to version 8.1.1
2023-05-03 09:27:55 +02:00
dependabot[bot] 492115d702
Bump org.checkerframework:checker from 3.33.0 to 3.34.0
Bumps [org.checkerframework:checker](https://github.com/typetools/checker-framework) from 3.33.0 to 3.34.0.
- [Release notes](https://github.com/typetools/checker-framework/releases)
- [Changelog](https://github.com/typetools/checker-framework/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/typetools/checker-framework/compare/checker-framework-3.33.0...checker-framework-3.34.0)

---
updated-dependencies:
- dependency-name: org.checkerframework:checker
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-02 23:58:54 +00:00
Yoan Pintas 9347de3fad
Improve message rendering when editing (#8377) 2023-05-02 13:28:31 +00:00
Yoan Pintas 8ca0381e9b
Add an audio alert when the voice broadcast recording is automatically paused (#8382) 2023-05-02 13:27:43 +00:00
Benoit Marty e34958b814 Jitsi 8.1.1 is now API 24+ 2023-05-02 14:38:40 +02:00
Benoit Marty 48f4ad412f Jitsi 8.1.1 2023-05-02 14:38:40 +02:00
SpiritCroc de1cd864cf Make autocompletion a bit more compact
- Less standard emojis shown by default
- Smaller section titles

Change-Id: Ia79d7370253108a7866628013d8c4f89ba8327a3
2023-05-02 13:18:33 +02:00
SpiritCroc 0faa712f23 Fix possible emoji-autocompletion crash
Thread: main, Exception: java.lang.ClassCastException: im.vector.app.features.autocomplete.AutocompleteHeaderItem$Holder cannot be cast to im.vector.app.features.autocomplete.emoji.AutocompleteEmojiItem$Holder
at im.vector.app.features.autocomplete.emoji.AutocompleteEmojiItem_.handlePreBind(AutocompleteEmojiItem_.java:1)
at com.airbnb.epoxy.BaseEpoxyAdapter.onBindViewHolder(BaseEpoxyAdapter.java:22)
at com.airbnb.epoxy.BaseEpoxyAdapter.onBindViewHolder(BaseEpoxyAdapter.java:3)
at androidx.recyclerview.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:43)
at androidx.recyclerview.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(RecyclerView.java:59)
at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:974)
at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6)
at androidx.recyclerview.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:54)
at androidx.recyclerview.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1)
at androidx.recyclerview.widget.LinearLayoutManager.fill(LinearLayoutManager.java:54)
at androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:400)
at androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:67)
at androidx.recyclerview.widget.RecyclerView.dispatchLayout(RecyclerView.java:135)
at androidx.recyclerview.widget.RecyclerView.onLayout(RecyclerView.java:8)

Change-Id: I4d4919c35babea2606a06b3e99b5c3b3ce08e95d
2023-05-02 13:18:20 +02:00
jonnyandrew e37fe1f8f5
Allow custom push gateway to use non-default port (#8376) 2023-05-02 10:05:15 +00:00
SpiritCroc aa34c108b5 Labs: setting to clear highlighted message on scroll
Change-Id: If07012f29159bb10cbd90f410955b49684891945
2023-04-25 14:15:47 +02:00
valere 3705e14851 Expose rust version in settings and RS 2023-04-25 13:31:15 +02:00
SpiritCroc 0cc0a191bc Merge remote-tracking branch 'CicadaCinema/fallback-turn-server' into sc
Change-Id: I07acecb8587ee3bdf6b2eef1e130ffd578739416

Conflicts:
	vector/src/main/java/im/vector/app/features/call/webrtc/WebRtcCall.kt
	vector/src/main/java/im/vector/app/features/call/webrtc/WebRtcCallManager.kt
	vector/src/main/java/im/vector/app/features/settings/VectorPreferences.kt
	vector/src/main/res/xml/vector_settings_voice_video.xml
2023-04-24 12:02:18 +02:00
SpiritCroc 9435780036 Fix long freeform reactions moving out sender from reaction info
Change-Id: Ic41b17546f6f0f52a6dfdb800788560788ec1d37
2023-04-23 10:59:16 +02:00
valere 1cc3f194e4 rust/native analytics E2E errors 2023-04-20 16:58:04 +02:00
SpiritCroc b88a41aaa8 Fix (upstream) crash for protected access settings
java.lang.IllegalStateException: Can't access the Fragment View's LifecycleOwner when getView() is null i.e., before onCreateView() or after onDestroyView()
	at androidx.fragment.app.Fragment.getViewLifecycleOwner(Fragment.java:10)
	at im.vector.app.features.settings.VectorSettingsPinFragment.refreshPinCodeStatus(VectorSettingsPinFragment.kt:1)
	at im.vector.app.features.settings.VectorSettingsPinFragment.bindPref(VectorSettingsPinFragment.kt:1)
	at im.vector.app.features.settings.VectorSettingsBaseFragment.onCreatePreferences(VectorSettingsBaseFragment.kt:8)
	at androidx.preference.PreferenceFragmentCompat.onCreate(PreferenceFragmentCompat.java:74)
	at androidx.fragment.app.Fragment.performCreate(Fragment.java:22)
	at androidx.fragment.app.FragmentStateManager.create(FragmentStateManager.java:52)
	at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:149)
	at androidx.fragment.app.FragmentManager.executeOpsTogether(FragmentManager.java:1135)
	at androidx.fragment.app.FragmentManager.removeRedundantOperationsAndExecute(FragmentManager.java:82)
	at androidx.fragment.app.FragmentManager.execPendingActions(FragmentManager.java:74)
	at androidx.fragment.app.FragmentManager$5.run(FragmentManager.java:4)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:236)
	at android.app.ActivityThread.main(ActivityThread.java:7876)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:656)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:967)

Change-Id: Iac3e08d95338417f69ee71ce0b185b825b9b0333
2023-04-20 11:19:12 +02:00
SpiritCroc acdf419768 Merge tag 'v1.5.32' into sc
Note: mainly conflicts in differing implementations to fix duplicate
read receipts.

After a quick glance at the upstream implementation, my first impression
is that we likely want to keep our downstream implementation:
- Better performance by checking for the more recent receipt in the SDK
  upon receipt receival, instead on rendering the timeline
- null seems to always map to main, which caused us jumping receipts in
  the past, which we have addressed by now

Conflicts:
	matrix-sdk-android/src/main/java/org/matrix/android/sdk/internal/database/helper/ChunkEntityHelper.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/timeline/TimelineEventController.kt
	vector/src/main/java/im/vector/app/features/html/PillsPostProcessor.kt

Change-Id: I47ae2afe5fcbe77a4fec69374d83821b94a431de
2023-04-20 10:53:09 +02:00
valere b2c7f05a10 Merge branch 'develop' into feature/bca/rust_flavor 2023-04-20 09:51:17 +02:00
SpiritCroc 799279eb5d Do not ellipsize message previews due to trailing newline
Change-Id: I8e6a43f6599e209f40e676a8bdb1754fb6a6e93e
2023-04-19 17:09:45 +02:00
ganfra 0143cf7ea8 Changelog for version 1.5.32 2023-04-19 16:15:35 +02:00