Commit graph

6265 commits

Author SHA1 Message Date
Marcel Hibbe
2a09320353 Remove error logging for voice message that was not correct
media player can already exist here when playback was paused, that's okay.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-02-16 11:38:59 +00:00
Marcel Hibbe
4932541de7 avoid NPE for voice message playback
Exception java.lang.NullPointerException:
  at com.nextcloud.talk.controllers.ChatController.startPlayback (ChatController.kt:985)
  at com.nextcloud.talk.controllers.ChatController.access$startPlayback (ChatController.kt:219)
  at com.nextcloud.talk.controllers.ChatController$downloadFileToCache$1.invoke (ChatController.kt:1130)
  at com.nextcloud.talk.controllers.ChatController$downloadFileToCache$1.invoke (ChatController.kt:1128)
  at com.nextcloud.talk.controllers.ChatController.downloadFileToCache$lambda$19 (ChatController.kt:1128)
  at com.nextcloud.talk.controllers.ChatController.$r8$lambda$oLS0bGL_zLma74VfkfStO_mReb4
  at com.nextcloud.talk.controllers.ChatController$$ExternalSyntheticLambda10.onChanged
  at androidx.lifecycle.LiveData.considerNotify (LiveData.java:133)
  at androidx.lifecycle.LiveData.dispatchingValue (LiveData.java:151)
  at androidx.lifecycle.LiveData.setValue (LiveData.java:309)
  at androidx.lifecycle.MutableLiveData.setValue (MutableLiveData.java:50)
  at androidx.lifecycle.LiveData$1.run (LiveData.java:93)
  at android.os.Handler.handleCallback (Handler.java:942)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loopOnce (Looper.java:226)
  at android.os.Looper.loop (Looper.java:313)
  at android.app.ActivityThread.main (ActivityThread.java:8775)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:571)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1067)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-02-16 11:38:59 +00:00
Andy Scherzinger
490feefc8b
Merge pull request #2777 from nextcloud/chore/noid/androidCommon
bump android common to 0.6.0
2023-02-16 12:23:50 +01:00
Andy Scherzinger
d0fa7507e8
bump android common to 0.6.0
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-02-16 12:11:10 +01:00
Andy Scherzinger
469aaf2617
Merge pull request #2776 from nextcloud/chore/noid/ktlintFormatting
Reformat code
2023-02-16 11:59:47 +01:00
Andy Scherzinger
825354881e
Reformat code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-02-16 11:41:32 +01:00
Marcel Hibbe
d1221aa435
Merge pull request #2773 from nextcloud/dependabot/gradle/org.jlleitschuh.gradle-ktlint-gradle-11.2.0
Build(deps): Bump org.jlleitschuh.gradle:ktlint-gradle from 11.1.0 to 11.2.0
2023-02-16 09:58:05 +01:00
Andy Scherzinger
41d671ff47
Fix code formatting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-02-16 09:57:19 +01:00
Andy Scherzinger
e84963842a
Rename property 'disabled_rules' to 'ktlint_disabled_rules' in all '.editorconfig' files.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-02-16 09:57:19 +01:00
dependabot[bot]
362d073caf
Build(deps): Bump org.jlleitschuh.gradle:ktlint-gradle
Bumps org.jlleitschuh.gradle:ktlint-gradle from 11.1.0 to 11.2.0.

---
updated-dependencies:
- dependency-name: org.jlleitschuh.gradle:ktlint-gradle
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-16 09:57:18 +01:00
Nextcloud bot
532febf678
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-16 03:45:54 +00:00
Nextcloud bot
f7ac397170
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-16 03:45:36 +00:00
Andy Scherzinger
fdf8133843
Merge pull request #2772 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-02-15 07:12:29 +01:00
Nextcloud bot
3bc99aa968
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-15 03:45:32 +00:00
Nextcloud bot
6f2020cacc
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-15 03:45:13 +00:00
nextcloud-android-bot
17e36d43f7 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2023-02-15 02:48:33 +00:00
Marcel Hibbe
4da03860df
Merge pull request #2736 from nextcloud/dependabot/gradle/kotlinVersion-1.8.10
Build(deps): Bump kotlinVersion from 1.8.0 to 1.8.10
2023-02-14 11:40:39 +01:00
dependabot[bot]
e14d3710e4
Build(deps): Bump kotlinVersion from 1.8.0 to 1.8.10
Bumps `kotlinVersion` from 1.8.0 to 1.8.10.

Updates `org.jetbrains.kotlin:kotlin-gradle-plugin` from 1.8.0 to 1.8.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

Updates `org.jetbrains.kotlin:kotlin-serialization` from 1.8.0 to 1.8.10
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 11:39:55 +01:00
Marcel Hibbe
56f0eb940a
Merge pull request #2766 from nextcloud/feature/2719/formerOneToOneConversationType
add support for FORMER_ONE_TO_ONE conversations
2023-02-14 11:30:47 +01:00
Marcel Hibbe
152c0b7ece
add support for FORMER_ONE_TO_ONE conversations
resolve #8517

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-02-14 11:30:07 +01:00
Andy Scherzinger
7a2a67dfb5
Merge pull request #2767 from nextcloud/dependabot/gradle/com.github.nextcloud.android-common-ui-0.5.0
Build(deps): Bump com.github.nextcloud.android-common:ui from 0.4.0 to 0.5.0
2023-02-14 10:13:11 +01:00
Andy Scherzinger
4e93b5bb51
Bump buildToolsVersion from 33.0.1 to 33.0.2
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-02-14 10:07:13 +01:00
dependabot[bot]
595fe2b763
Build(deps): Bump com.github.nextcloud.android-common:ui
Bumps [com.github.nextcloud.android-common:ui](https://github.com/nextcloud/android-common) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/nextcloud/android-common/releases)
- [Commits](https://github.com/nextcloud/android-common/compare/0.4.0...0.5.0)

---
updated-dependencies:
- dependency-name: com.github.nextcloud.android-common:ui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 08:44:08 +00:00
Andy Scherzinger
d939bf6517
Merge pull request #2768 from nextcloud/dependabot/github_actions/actions/setup-java-3.10.0
Build(deps): Bump actions/setup-java from 3.9.0 to 3.10.0
2023-02-14 09:40:59 +01:00
dependabot[bot]
a0a1d039f7
Build(deps): Bump actions/setup-java from 3.9.0 to 3.10.0
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.9.0 to 3.10.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](1df8dbefe2...3f07048e3d)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 08:27:48 +00:00
Andy Scherzinger
65af5291e1
Merge pull request #2770 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-02-14 09:26:53 +01:00
Andy Scherzinger
197e89b163
Merge pull request #2769 from nextcloud/dependabot/github_actions/github/codeql-action-2.2.4
Build(deps): Bump github/codeql-action from 2.2.1 to 2.2.4
2023-02-14 09:26:09 +01:00
Nextcloud bot
4a3b37e908
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-14 03:45:13 +00:00
Nextcloud bot
d873a9cecb
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-14 03:44:54 +00:00
nextcloud-android-bot
f3de7142bd 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2023-02-14 02:46:55 +00:00
dependabot[bot]
4843a1fc77
Build(deps): Bump github/codeql-action from 2.2.1 to 2.2.4
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.2.1 to 2.2.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](3ebbd71c74...17573ee1cc)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-14 00:00:00 +00:00
Andy Scherzinger
9561291fbd
Merge pull request #2764 from nextcloud/chore/remove-scorecards
Delete scorecards.yml
2023-02-13 22:14:06 +01:00
Marcel Hibbe
9b541fde04
Merge pull request #2765 from nextcloud/webrtcUpdate/110.5481.0
bump webRtc lib to 110.5481.0
2023-02-13 18:10:34 +01:00
Marcel Hibbe
28605070dc
bump webRtc lib to 110.5481.0
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-02-13 14:12:34 +01:00
Álvaro Brey
87040557a5
Delete scorecards.yml
Will be synced from android-config as scorecard.yml.

[ci skip]
[skip ci]

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2023-02-13 12:37:07 +01:00
Nextcloud bot
d9087ba813
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-13 03:47:54 +00:00
Nextcloud bot
070e150b53
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-13 03:47:36 +00:00
Nextcloud Android Bot
5071b7b414 Weekly 16.0.0 Alpha 06 2023-02-13 03:12:27 +00:00
Nextcloud bot
1a2e1a6402
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-12 03:44:14 +00:00
Nextcloud bot
41765deb9c
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-12 03:43:55 +00:00
Nextcloud bot
70bbfeda2c
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-11 03:43:23 +00:00
Nextcloud bot
29b7e6a169
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-02-11 03:43:05 +00:00
Andy Scherzinger
e8f3a4f71a
Merge pull request #2756 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-02-10 21:11:21 +01:00
Andy Scherzinger
8fa02c114f
Merge pull request #2755 from nextcloud/dependabot/gradle/daggerVersion-2.45
Build(deps): Bump daggerVersion from 2.44.2 to 2.45
2023-02-10 21:10:43 +01:00
Marcel Hibbe
5cdf93b666
Merge pull request #2761 from nextcloud/bugfix/noid/showBackButtonWhenOpenFromNotification
Fix to show back button when message opened by notification
2023-02-10 17:21:43 +01:00
Marcel Hibbe
28fcd585c7
Fix to show back button when message opened by notification
Before this fix, it was not possible to go to conversation list when a message was opened by notification

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-02-10 17:18:57 +01:00
Marcel Hibbe
4747b9935f
Merge pull request #2759 from nextcloud/bugfix/1756/fixActiveAccountAfterSwitchByNotification
Bugfix/1756/fix active account after switch by notification
2023-02-10 17:12:26 +01:00
Marcel Hibbe
fcb4ee0430
Switch to active user in CallNotificationActivity
There are no known bugs that were caused by not setting the active user here, but this should be done.

See fb7ea25b for reference

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-02-10 16:16:27 +01:00
Marcel Hibbe
fb7ea25b9d
Fix to switch active user when opening talk from notification
When two or more users were setup, the active user was not updated when opening the app from notification. As a result, it was not possible to send files, mention people...

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-02-10 16:13:46 +01:00
Marcel Hibbe
01128b7b93
Merge pull request #2752 from nextcloud/bugfix/2729/fixThumbnailsInFileBrowser
Fix to show thumbnails in FileBrowser
2023-02-10 13:49:29 +01:00