Commit graph

9671 commits

Author SHA1 Message Date
Benoit Marty
8b852a2ab2 Fix glitch when opening a room invite
Composer and mic was shown for a few milliseconds
Also hide the mic if the uer cannot send event, or if the room has been tombstoned.
2021-07-12 13:55:44 +02:00
Benoit Marty
e49290b8ac Fix mic visible for invite room mode.
We can still view the mic when the screen is resumed, to be improved.
2021-07-12 13:40:59 +02:00
Benoit Marty
fbcb2ea8ae
Merge pull request #3655 from SpiritCroc/unread_collapsed
Fix unread messages marker being hidden in collapsed membership item
2021-07-12 13:10:13 +02:00
Benoit Marty
219d56a4b4
Merge pull request #3660 from TheWayOfTheWarrior/patch-1
Typo in InitializeCrossSigningTask.kt
2021-07-12 12:47:58 +02:00
TheWayOfTheWarrior
995f9d87bb
Typo in InitializeCrossSigningTask.kt
Typo in comment. Was "userSigningKey" instead of "selfSigningKey".
2021-07-10 22:17:17 +02:00
SpiritCroc
a52d1e4312 Add changelog.d/3655.bugfix 2021-07-10 11:07:21 +02:00
SpiritCroc
e61fc1a935 Fix unread messages marker being hidden in collapsed membership item
Scenario: the last read event in a chat is a membership change. After
that, at least two new membership changes were added, followed by normal
messages. Due to the membership changes being collapsed by default, in
this scenario the read marker would not show, since in the loop, we
would overwrite the appendReadMarker with the value for the last eventId
of the merged item, instead of showing it if any of the items matched.
2021-07-10 11:01:36 +02:00
Benoit Marty
c5b8755bab Trick for a better alignment of voice message in the timeline. 2021-07-09 23:16:43 +02:00
Benoit Marty
0382ae8273 Swipe to reply on voice message 2021-07-09 22:35:44 +02:00
Benoit Marty
e391a1371c Merge branch 'develop' into feature/ons/voice_message 2021-07-09 22:19:50 +02:00
Benoit Marty
db80ea6432 Prefer testing attachment.waveform to see if it's a voice message 2021-07-09 22:17:04 +02:00
Benoit Marty
984112e83f Also copy waveform when sending again 2021-07-09 22:15:50 +02:00
Benoit Marty
963eb9daf4 Fix missing duration in audio event, and move AudioWaveformInfo to the proper package 2021-07-09 22:06:09 +02:00
Benoit Marty
2ca0a99dce Follow the spec
https://github.com/matrix-org/matrix-doc/blob/travis/msc/voice-messages/proposals/3245-voice-messages.md#unstable-prefix
2021-07-09 21:49:37 +02:00
Benoit Marty
79f4053ab4 Use DimensionConverter 2021-07-09 21:33:54 +02:00
Benoit Marty
a69ac965b6 Fix bad timer display 2021-07-09 21:21:45 +02:00
Benoit Marty
2c1335a2f5 Theme for Toast 2021-07-09 21:06:13 +02:00
Benoit Marty
a2671bc0d3 Fix touchable area to delete the voice message 2021-07-09 18:26:58 +02:00
Benoit Marty
2792d736f0 Apply missing tint 2021-07-09 18:22:52 +02:00
Benoit Marty
9dea519d0c Fix issue with play / pause button alignment 2021-07-09 18:05:41 +02:00
Benoit Marty
7a1c6b78d4 Move the style to the layout, for code clarity. Style are not reused, and it's better to have layout attr in the layout itself 2021-07-09 17:49:27 +02:00
Benoit Marty
558cd6f376 Cleanup 2021-07-09 17:18:56 +02:00
Benoit Marty
b400f3c83f Small cleanup 2021-07-09 16:31:26 +02:00
Benoit Marty
910c0ff326
Merge pull request #3648 from vector-im/dependabot/gradle/com.googlecode.libphonenumber-libphonenumber-8.12.27
Bump libphonenumber from 8.12.26 to 8.12.27
2021-07-09 09:47:45 +02:00
Benoit Marty
2948f03978
Merge pull request #3551 from vector-im/feature/bca/room_upgrade
Feature/bca/room upgrade
2021-07-08 10:00:01 +02:00
dependabot[bot]
76890a3b26
Bump libphonenumber from 8.12.26 to 8.12.27
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.26 to 8.12.27.
- [Release notes](https://github.com/google/libphonenumber/releases)
- [Changelog](https://github.com/google/libphonenumber/blob/master/making-metadata-changes.md)
- [Commits](https://github.com/google/libphonenumber/compare/v8.12.26...v8.12.27)

---
updated-dependencies:
- dependency-name: com.googlecode.libphonenumber:libphonenumber
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-07 23:06:17 +00:00
Onuray Sahin
3372177b0e Design review fixes. 2021-07-07 16:44:42 +03:00
Onuray Sahin
a9beded589 Lint fix. 2021-07-07 11:54:23 +03:00
Onuray Sahin
b1c7cb3219 Lint fixes. 2021-07-07 11:37:01 +03:00
Benoit Marty
5bbb45de68
Merge pull request #3636 from vector-im/feature/bma/cleanup_interface
Decorelate interfaces for code clarity
2021-07-07 10:08:15 +02:00
Onuray Sahin
8452f7564c Lint fix. 2021-07-07 10:28:08 +03:00
Onuray Sahin
5856e563c5 Put voice message preference under labs. 2021-07-07 10:23:22 +03:00
Benoit Marty
07e8074c25
Merge pull request #3641 from vector-im/bmarty-patch-1
Update issue templates
2021-07-06 17:05:14 +02:00
Benoit Marty
1cb93b60c2 Update issue templates 2021-07-06 17:04:38 +02:00
Onuray Sahin
6cb53c991a Fix visibility of microphone icon. 2021-07-06 14:29:56 +03:00
Onuray Sahin
7a1b138894 Merge branch 'develop' into feature/ons/voice_message
* develop: (286 commits)
  Fix crash after video call
  Fix issue on button styles
  Clean after benoits review
  Fix warning about implicit type, introduced in Kotlin 1.5.20. "Returning type parameter has been inferred to Nothing implicitly. Please specify type arguments explicitly to hide this warning. Nothing can produce an exception at runtime."
  Bump kotlin_version from 1.5.10 to 1.5.20
  Bump libphonenumber from 8.12.25 to 8.12.26
  Fix call invite processed after call is ended because of fastlane mode.
  Jump to unread: removes unnecessary check which can cause scroll issue
  Jump to unread: avoid blink when jumping
  Clean after Benoits review
  Delete unused drawable to avoid conflict on develop
  Jump to unread: add towncrier file.
  Read marker: fix some issues with jump to unread visibility.
  Stop using ProgressDialog, there is a theme issue with it. It's not maintain by Google since it's deprecated. Force usage of MaterialAlertDialogBuilder to have the same UI effect. We sometimes need to block the UI :/
  Reordering
  Add text style for dialogs
  Colored dialog button is now handled by the theme
  Update theme for material dialog and create a destructive variant
  Reorder buttons
  Update doc
  ...

# Conflicts:
#	library/ui-styles/src/main/res/values/theme_dark.xml
#	library/ui-styles/src/main/res/values/theme_light.xml
#	vector/build.gradle
#	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailFragment.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/RoomDetailViewModel.kt
#	vector/src/main/java/im/vector/app/features/home/room/detail/composer/TextComposerView.kt
#	vector/src/main/res/values/strings.xml
2021-07-06 13:17:49 +03:00
Benoit Marty
e9da63e3ee
Merge pull request #3635 from vector-im/feature/bma/crash_room_aliases
Fix crash in room aliases
2021-07-06 12:15:37 +02:00
Benoit Marty
8f1b7649aa Make the code compile... 2021-07-06 12:10:06 +02:00
Benoit Marty
4963025150 Decorelate interfaces for code clarity 2021-07-06 11:36:50 +02:00
Benoit Marty
ca9f5161d1 Add retry support on Room Alias screen 2021-07-06 11:12:40 +02:00
Benoit Marty
5b149c8a34 Crash when opening room addresses screen with no internet connection 2021-07-06 10:57:59 +02:00
Benoit Marty
e22bd8f637
Merge pull request #3593 from vector-im/dependabot/gradle/androidx.test.ext-junit-1.1.3
Bump junit from 1.1.2 to 1.1.3
2021-07-05 21:36:38 +02:00
Benoit Marty
ca45cdd5c7
Merge pull request #3585 from vector-im/feature/bma/wellknown
Improve wellknown usage
2021-07-05 21:36:16 +02:00
Benoit Marty
692adffa69
Merge pull request #3626 from vector-im/dependabot/gradle/com.google.android.material-material-1.4.0
Bump material from 1.3.0 to 1.4.0
2021-07-05 21:29:49 +02:00
Benoit Marty
07d6eaacf9 Quick cleanup after #3624 2021-07-05 21:28:37 +02:00
Benoit Marty
a335c5eb4b
Merge pull request #3624 from vector-im/dbkr/scan_button_title
Use different copy for self verification
2021-07-05 21:25:57 +02:00
David Baker
04cad290f7 Also change the emoji button subtitle
and tweak the other string more because it's not "each other" either
2021-07-05 19:49:48 +01:00
Benoit Marty
d29e04f16c Create fun String.getDomain(): String to avoid duplicated code 2021-07-05 16:49:09 +02:00
Benoit Marty
67f41028ff Remove Riot ref: Riot -> Web client 2021-07-05 16:41:26 +02:00
Benoit Marty
0e8018cbba ktlint and format 2021-07-05 16:24:19 +02:00