Commit graph

11215 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
waclaw66
461bc1bd24 Translated using Weblate (Czech)
Currently translated at 100.0% (28 of 28 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/cs/
2021-08-20 05:25:21 +00:00
Julianne420
fe677c19a3 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (28 of 28 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/zh_Hans/
2021-08-20 05:25:20 +00:00
Julianne420
79d3a98626 Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (2565 of 2565 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/zh_Hans/
2021-08-20 05:25:20 +00:00
Deleted User
d28a56c074 Translated using Weblate (Norwegian Bokmål)
Currently translated at 62.6% (1607 of 2565 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nb_NO/
2021-08-20 05:25:19 +00:00
waclaw66
f9741cf0c6 Translated using Weblate (Czech)
Currently translated at 100.0% (2565 of 2565 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-08-20 05:25:17 +00:00
S1m
be0437b715 Add adapter for notification counts 2021-08-19 15:14:28 +02:00
SpiritCroc
1af014a527 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-19 11:56:20 +02:00
SpiritCroc
cad30d4790 Actually, we're still at 1.2.0
Got develop in by accident due to unifiedpush, but whatever

Change-Id: I3d15dd820274076e4383aa17467a87dac9eebe31
2021-08-19 10:42:47 +02:00
waclaw66
19f9de9db0 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-19 10:37:17 +02:00
SpiritCroc
2b93557fd1 Make composer notification (not allowing to send messages) more compact
Change-Id: Iba087f569d8928e844bf34d5660ea7256156ad9d
2021-08-19 10:10:23 +02:00
Simon Wazynski
dfa0fb70d6 Fix swapped order 2021-08-18 21:03:40 +02:00
Simon Wazynski
bdcdff021f Sign off
Signed-off-by: Simon Wazynski <37022952+pr0gr8mm3r@users.noreply.github.com>
2021-08-18 20:18:03 +02:00
jonas siversten
78b9533761 Translated using Weblate (Norwegian Bokmål)
Currently translated at 96.4% (27 of 28 strings)

Translation: Element Android/Element Android Store
Translate-URL: https://translate.element.io/projects/element-android/element-store/nb_NO/
2021-08-18 16:25:22 +00:00
jonas siversten
7c3eab0fb5 Translated using Weblate (Norwegian Bokmål)
Currently translated at 61.4% (1577 of 2565 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/nb_NO/
2021-08-18 16:25:21 +00:00
Szimszon
cc66e383e3 Translated using Weblate (Hungarian)
Currently translated at 100.0% (2565 of 2565 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/hu/
2021-08-18 16:25:19 +00:00
Danial Behzadi
71f72f96db Translated using Weblate (Persian)
Currently translated at 100.0% (2565 of 2565 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/fa/
2021-08-18 16:25:17 +00:00
libexus
1ac349235c Translated using Weblate (German)
Currently translated at 99.4% (2552 of 2565 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-08-18 16:25:17 +00:00
waclaw66
dfa82d0f59 Translated using Weblate (Czech)
Currently translated at 100.0% (2565 of 2565 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/cs/
2021-08-18 16:25:17 +00:00
Auri B. P
63d95b0914 Translated using Weblate (Catalan)
Currently translated at 91.2% (2341 of 2565 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/ca/
2021-08-18 16:25:17 +00:00
PoorPocketsMcNewHold
89145f8ad5 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-18 17:35:32 +02:00
ganfra
121f17b93f Call: Clean code 2021-08-18 17:33:48 +02:00
SpiritCroc
ba89b11097 Add to rageshake whether it is a debug build or not
Change-Id: I90336416c10d2f09979eb7518cc651c3e33a40fa
2021-08-18 17:31:56 +02:00
SpiritCroc
6fd5ef9094 Add unifiedpush information to rageshake
Change-Id: I2434931f71a5012ba7d64c8c58ce6617cf3d2cd9
2021-08-18 17:26:43 +02:00
SpiritCroc
3cdf4f9d24 Explicitely specify unifiedpush pusher app id
We use the upstream pusher_app_id for their sygnal, but we do not need
to do this for unifiedpush, so we can explicitely define the SchildiChat
package here.

Change-Id: Ib56fcde242a584514978ccbdd7e8b337fa7c6529
2021-08-18 16:21:02 +02:00
SpiritCroc
8215c786b2 Merge branch 'unifiedpush' into sc
Change-Id: I3de68e2da07d144b2ee82c1ffe1eb6ff535a76f2
2021-08-18 15:45:22 +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
ganfra
50a042683b Architecture: get rid of RoomSummariesHolder as it can lead to errors 2021-08-18 15:25:58 +02:00
SpiritCroc
8475f24f17 Merge remote-tracking branch 'p1gp1g/unifiedpush' into unifiedpush
Change-Id: Ief98ae56d40f0724ba0e5f1f1c6ec09832425e58
2021-08-18 13:16:37 +02:00
SpiritCroc
3b3e39bbb6 Merge branch 'sc' into unifiedpush
Change-Id: I715e67cc1600706a6cfd7a2317df38909c74e11e
2021-08-18 13:16:19 +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
ganfra
799cd99176 Call: make PiP works with 2 calls 2021-08-18 10:52:19 +02:00
ganfra
d3e4a3c010 Call: fix wrong opponent name 2021-08-18 10:51:03 +02:00
libexus
328f62bf00 Translated using Weblate (German)
Currently translated at 99.4% (2552 of 2565 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-08-18 06:32:00 +00:00
Lamdarer
0add12de19 Translated using Weblate (German)
Currently translated at 99.4% (2552 of 2565 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-08-18 06:32:00 +00:00
libexus
8e3834ac45 Translated using Weblate (German)
Currently translated at 99.4% (2551 of 2565 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-08-18 06:29:55 +00:00
Lamdarer
7874ff6437 Translated using Weblate (German)
Currently translated at 99.4% (2551 of 2565 strings)

Translation: Element Android/Element Android App
Translate-URL: https://translate.element.io/projects/element-android/element-app/de/
2021-08-18 06:29:54 +00:00
gradle-update-robot
d0d8069493 Update Gradle Wrapper from 7.1.1 to 7.2.
Signed-off-by: gradle-update-robot <gradle-update-robot@regolo.cc>
2021-08-18 00:10:04 +00:00
dependabot[bot]
fac0198b26
Bump libphonenumber from 8.12.28 to 8.12.30
Bumps [libphonenumber](https://github.com/google/libphonenumber) from 8.12.28 to 8.12.30.
- [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.28...v8.12.30)

---
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-08-17 23:05:56 +00:00
ganfra
3b1249c489 Merge branch 'develop' into feature/fga/new_voip_design 2021-08-17 17:10:10 +02:00