Commit graph

10733 commits

Author SHA1 Message Date
SpiritCroc
540dd5b778 increment_version.sh: do not always update translations
Change-Id: Ia6257e15e50287eeffe1dcdf4bf9dcc11f8418e9
2021-08-20 09:45:42 +02:00
SpiritCroc
2f4d379ed0 Do not crash on sending 0 byte videos
java.lang.RuntimeException: setDataSource failed: status = 0xFFFFFFEA
    at android.media.MediaMetadataRetriever._setDataSource(MediaMetadataRetriever.java)
    at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:306)
    at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:327)
    at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:376)
    at org.matrix.android.sdk.internal.session.room.send.LocalEchoEventFactory.createVideoEvent
    at org.matrix.android.sdk.internal.session.room.send.LocalEchoEventFactory.createMediaEvent
    at org.matrix.android.sdk.internal.session.room.send.DefaultSendService.sendMedia(DefaultSendService.kt:253)
    at org.matrix.android.sdk.internal.session.room.send.DefaultSendService.sendMedias(DefaultSendService.kt:240)
    at org.matrix.android.sdk.internal.session.room.DefaultRoom.sendMedias
    at im.vector.app.features.home.room.detail.RoomDetailViewModel.handleSendMedia(RoomDetailViewModel.kt:1158)
    at im.vector.app.features.home.room.detail.RoomDetailViewModel.handle(RoomDetailViewModel.kt:298)
    at im.vector.app.features.home.room.detail.RoomDetailFragment$contentAttachmentActivityResultLauncher$1.invoke(RoomDetailFragment.kt:1161)
    at im.vector.app.features.home.room.detail.RoomDetailFragment$contentAttachmentActivityResultLauncher$1.invoke(RoomDetailFragment.kt:1156)
    at im.vector.app.core.extensions.FragmentKt.registerStartForActivityResult$lambda-0
    at im.vector.app.core.extensions.FragmentKt.lambda$6uyRKSScfR1yqThCkGUu8777SL8
    at im.vector.app.core.extensions.-$$Lambda$FragmentKt$6uyRKSScfR1yqThCkGUu8777SL8.onActivityResult(lambda:0)
    at androidx.activity.result.ActivityResultRegistry$1.onStateChanged(ActivityResultRegistry.java:148)
    at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent(LifecycleRegistry.java:354)
    at androidx.lifecycle.LifecycleRegistry.forwardPass(LifecycleRegistry.java:265)
    at androidx.lifecycle.LifecycleRegistry.sync(LifecycleRegistry.java:307)
    at androidx.lifecycle.LifecycleRegistry.moveToState(LifecycleRegistry.java:148)
    at androidx.lifecycle.LifecycleRegistry.handleLifecycleEvent(LifecycleRegistry.java:134)
    at androidx.fragment.app.Fragment.performStart(Fragment.java:3026)
    at androidx.fragment.app.FragmentStateManager.start(FragmentStateManager.java:589)
    at androidx.fragment.app.FragmentStateManager.moveToExpectedState(FragmentStateManager.java:300)
    at androidx.fragment.app.FragmentStore.moveToExpectedState
    at androidx.fragment.app.FragmentManager.moveToState(FragmentManager.java:1647)
    at androidx.fragment.app.FragmentManager.dispatchStateChange(FragmentManager.java:3128)
    at androidx.fragment.app.FragmentManager.dispatchStart
    at androidx.fragment.app.FragmentController.dispatchStart
    at androidx.fragment.app.FragmentActivity.onStart(FragmentActivity.java:510)
    at androidx.appcompat.app.AppCompatActivity.onStart(AppCompatActivity.java:246)
    at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1455)
    at android.app.Activity.performStart(Activity.java:8076)
    at android.app.ActivityThread.handleStartActivity(ActivityThread.java:3653)
    at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
    at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
    at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
    at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2203)
    at android.os.Handler.dispatchMessage(Handler.java:106)
    at android.os.Looper.loopOnce(Looper.java:201)
    at android.os.Looper.loop(Looper.java:288)
    at android.app.ActivityThread.main(ActivityThread.java:7822)
    at java.lang.reflect.Method.invoke(Method.java)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

Change-Id: Ib909abe6468703452d53e760bde414e81a8876e3
2021-08-20 09:15:58 +02:00
SpiritCroc
8917e78ced Work around voice message crashes on Android 5
- Catch NPE in onVisibilityChanged (happens for SDK 21 and 22)
- Do not allow voice messages on SDK 21: segfaults as soon as recording
  stops

Change-Id: I0cfc55fbb7880dc29e29df4fba14d57af1f82bba
2021-08-20 09:13:44 +02:00
waclaw66
7ba2ba16a6 Translated using Weblate (Czech)
Currently translated at 100.0% (90 of 90 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/cs/
2021-08-20 09:13:37 +02:00
SpiritCroc
f9f11b604c Make composer notification (not allowing to send messages) more compact
Change-Id: Iba087f569d8928e844bf34d5660ea7256156ad9d
2021-08-20 09:13:32 +02:00
SpiritCroc
d11b6cf154 Add to rageshake whether it is a debug build or not
Change-Id: I90336416c10d2f09979eb7518cc651c3e33a40fa
2021-08-20 09:13:21 +02:00
PoorPocketsMcNewHold
bf0204a99e Translated using Weblate (French)
Currently translated at 98.8% (88 of 89 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/fr/
2021-08-20 09:13:12 +02:00
SpiritCroc
6048e12669 Fix reaction color for non-emojis on dark theme
Hardcoding it to black is bad for dark themes. It was probably done
because the default color would make emojis look pale due to
transparency. If we use a primary text color which hopefully does not
feature transparency (it does not for SC themes, at least), everything
looks fine.

Change-Id: I207290a777086db1b27209c4dc34a9810be0a37c
2021-08-18 15:35:56 +02:00
SpiritCroc
b55a83a657 Always update image measures when actual known
Previuos measures might not what we actually display, e.g. for videos.

Change-Id: I20a80c2ba61d3ca6dd62bde1d5c06d4738553f83
2021-08-18 12:55:49 +02:00
SpiritCroc
f2f15ed7e4 Add some note to bug reports for SchildiChat
Change-Id: I2e0360ba041e06bdccfe069b0ea0d62f33afe42f
2021-08-18 12:33:37 +02:00
SpiritCroc
e2bf0a927d Hide suggestion button again
Change-Id: I2e9bb7dc8c473b3096c11b24c51e294aea7e4d46
2021-08-18 12:15:35 +02:00
SpiritCroc
86108b1031 Fix crash when trying to persist expand status with null context
Change-Id: I4748445f4cf6701e417d137958859157fab72a38
2021-08-18 12:12:04 +02:00
SpiritCroc
387459ae6b Fix material alert dialog brightening up the desired background color
Change-Id: I0b805d1605d80765631fdf093ed645b5be35c57b
2021-08-18 12:07:44 +02:00
SpiritCroc
6a29821273 fastlane: build app bundle
Change-Id: I6b75272f450dde708dd15b205d9bc2d456340b78
2021-08-15 14:13:08 +02:00
SpiritCroc
8fe2a0021f Increment version
Change-Id: I5c2d1293f5251d6d4c0cb889195f2db8a509e378
2021-08-14 14:38:23 +02:00
Nikita Epifanov
037977a817 Translated using Weblate (Russian)
Currently translated at 100.0% (89 of 89 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/ru/
2021-08-14 10:56:11 +02:00
waclaw66
dd6842e26a Translated using Weblate (Czech)
Currently translated at 100.0% (89 of 89 strings)

Translation: SchildiChat/SchildiChat-android
Translate-URL: https://weblate.bubu1.eu/projects/schildichat/schildichat-android/cs/
2021-08-14 10:56:11 +02:00
SpiritCroc
ed89f7fb1b Fix composerView having issues with long texts pasted from gboard clipboard
The pasted text would not properly fill the editText, but show moved up
with empty space below instead.

Change-Id: I82d2a0bafbb402ec0728f21075d4641fbce90890
2021-08-12 13:50:37 +02:00
SpiritCroc
2ff3989230 Proper tint for voice message send button
Change-Id: I25202dea6c794c8dcca3412bca098825b79a01d6
2021-08-12 09:28:28 +02:00
SpiritCroc
8892248071 Bring back setting to disable voice message recorder button
Change-Id: I81d647796b82e2034383278da7b169795a092f2e
2021-08-12 09:22:35 +02:00
SpiritCroc
033c3f7792 Automatic SchildiChat string correction
Change-Id: Iad534d811812f2a07adbffa4bfc68a73186e3e34
2021-08-12 09:04:01 +02:00
SpiritCroc
6aba012772 Automatic upstream merge postprocessing
Change-Id: If4b404091e76ab298085a1151de222f423ce89f7
2021-08-12 09:04:00 +02:00
SpiritCroc
58f5310e83 Merge tag 'v1.2.0' into sc
v1.2.0

Change-Id: I900672607ec264e60c96c886d0accb053934fa4a

Conflicts:
	vector/src/main/res/xml/vector_settings_labs.xml
2021-08-12 09:03:42 +02:00
SpiritCroc
6443ae4c7d [TMP] Automatic upstream merge preparation
Change-Id: I042bcc5e6ed6a00473f32d1270b5b620c69a5691
2021-08-12 09:02:53 +02:00
SpiritCroc
3e368c56ff Automatic revert to unchanged upstream strings, pt.1
Change-Id: I84ef9d6b2053914fd11cc202c17562d7f351ade6
2021-08-12 09:02:52 +02:00
Onuray Sahin
4f6b6ddfa8 Merge branch 'release/1.2.0' into main 2021-08-12 02:33:02 +03:00
Onuray Sahin
dfc2460189 Changelog added. 2021-08-12 02:32:54 +03:00
Onuray Sahin
d8177c4b5d
Merge pull request #3826 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2021-08-11 22:12:59 +03:00
Onuray Sahin
e215d964ff Translated using Weblate (Indonesian)
Currently translated at 45.7% (1174 of 2565 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-08-11 17:40:26 +00:00
Onuray Sahin
64317c420a
Merge pull request #3824 from RiotTranslateBot/weblate-element-android-element-app
Translations update from Weblate
2021-08-11 20:34:57 +03:00
Weblate
f1ff0a78fc Merge branch 'origin/develop' into Weblate. 2021-08-11 13:46:06 +00:00
Linerly
fdf983a2c8 Translated using Weblate (Indonesian)
Currently translated at 100.0% (27 of 27 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/id/
2021-08-11 13:45:40 +00:00
Danial Behzadi
a8c8906934 Translated using Weblate (Persian)
Currently translated at 48.1% (13 of 27 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/fa/
2021-08-11 13:45:40 +00:00
Linerly
35b381e7ea Translated using Weblate (Indonesian)
Currently translated at 46.0% (1174 of 2552 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/id/
2021-08-11 13:45:39 +00:00
Danial Behzadi
bb4a45a93d Translated using Weblate (Persian)
Currently translated at 99.6% (2542 of 2552 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2021-08-11 13:45:17 +00:00
Onuray Sahin
8216acfd5c version++ 2021-08-11 16:40:45 +03:00
Onuray Sahin
ba83092ebc
Merge pull request #3818 from vector-im/feature/ons/delabs_voice_message
Enable voice message by default, remove from labs.
2021-08-11 16:34:37 +03:00
Onuray Sahin
f6477d5e3b
Merge branch 'develop' into feature/ons/delabs_voice_message 2021-08-11 15:44:14 +03:00
Onuray Sahin
ec093e78b0
Merge pull request #3816 from vector-im/feature/ons/fix_voice_message_ui
Voice Message - UI Improvements
2021-08-11 15:42:29 +03:00
Onuray Sahin
a8f4b318c1 Fix tice vibration after cancelling the voice record. 2021-08-11 14:59:21 +03:00
Onuray Sahin
c2401e04b4 Fix collapsing mic and send buttons. 2021-08-11 14:54:29 +03:00
David Langley
a538014935
Merge pull request #3673 from vector-im/feature/dla/reorg_account_notification_settings
Reorganise Account Notification Settings
2021-08-11 11:44:17 +01:00
David Langley
45077c69f7 remove NotificationIndex Int index 2021-08-11 09:59:23 +01:00
Onuray Sahin
9b011f9fbd Enable voice message by default, remove from labs. 2021-08-10 17:58:41 +03:00
Onuray Sahin
02e3dac1c7 Merge branch 'develop' into feature/ons/fix_voice_message_ui
* develop: (34 commits)
  version++
  Changelog added.
  Translated using Weblate (German)
  Translated using Weblate (Chinese (Simplified))
  Translated using Weblate (German)
  Translated using Weblate (Russian)
  Translated using Weblate (Russian)
  Fix error when sending encrypted message if someone in the room logs out.
  Translated using Weblate (Russian)
  Translated using Weblate (Russian)
  Translated using Weblate (Portuguese (Brazil))
  Translated using Weblate (Indonesian)
  Translated using Weblate (French)
  Translated using Weblate (Indonesian)
  Translated using Weblate (Latvian)
  Translated using Weblate (Frisian)
  Translated using Weblate (Albanian)
  add towncrier
  Translated using Weblate (Czech)
  Translated using Weblate (Chinese (Traditional))
  ...
2021-08-10 15:47:57 +03:00
Onuray Sahin
5cc9c6231b Changelog added. 2021-08-10 15:44:09 +03:00
Onuray Sahin
9f4a459116 Fix cannot draw waveform while recording after onPause. 2021-08-10 15:40:04 +03:00
waclaw66
d2fc32117c Translated using Weblate (Czech)
Currently translated at 100.0% (27 of 27 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/cs/
2021-08-10 12:25:34 +00:00
Jeff Huang
c13f30a5c1 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (27 of 27 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/zh_Hant/
2021-08-10 12:25:33 +00:00
random
871925e340 Translated using Weblate (Italian)
Currently translated at 100.0% (27 of 27 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/it/
2021-08-10 12:25:32 +00:00