Commit Graph

10959 Commits

Author SHA1 Message Date
sowjanyakch
a82218055e
use display name of user instead of userId
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-16 15:19:55 +02:00
Nextcloud bot
16613f3cd5
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-16 03:10:32 +00:00
Marcel Hibbe
e7d136524c
Merge pull request #4875 from nextcloud/updateChangelog
update changelog
2025-04-15 08:17:06 +00:00
Marcel Hibbe
d67e763f43
update changelog
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-15 09:49:49 +02:00
github-actions[bot]
582375a254
Merge pull request #4873 from nextcloud/renovate/junit5-monorepo
Update dependency org.junit.vintage:junit-vintage-engine to v5.12.2
2025-04-15 07:21:52 +00:00
renovate[bot]
f269e80657
Update dependency org.junit.vintage:junit-vintage-engine to v5.12.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-15 07:11:56 +00:00
Nextcloud bot
a9b226e3b0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-15 03:13:17 +00:00
Marcel Hibbe
65e5be4798
Merge pull request #4871 from nextcloud/bugfix/4869/avoidNoSupportedApiException
add hotfix to avoid NoSupportedApiException in ContactsRepositoryImpl
2025-04-14 15:29:58 +00:00
Marcel Hibbe
220c135257
add hotfix to avoid NoSupportedApiException in ContactsRepositoryImpl
There were crash reports for:

Exception java.lang.RuntimeException:
...
Caused by com.nextcloud.talk.utils.NoSupportedApiException:
at com.nextcloud.talk.utils.ApiUtils.getConversationApiVersion (ApiUtils.kt:134)
at com.nextcloud.talk.contacts.ContactsRepositoryImpl.<init> (ContactsRepositoryImpl.kt:28)

This could happen because of missing capabilities for user and should be fixed.
As a fallback, API v4 is guessed

Adding this as comment in the code as the root cause must be found..

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 16:31:52 +02:00
Marcel Hibbe
29348689a8
Merge pull request #4867 from nextcloud/bugfix/4866/avoidNpeInSendChatMessage
Avoid Npe in sendChatMessage
2025-04-14 14:22:04 +00:00
Marcel Hibbe
d617d65af2
Merge pull request #4865 from nextcloud/bugfix/4864/fixNpeOnLoadMore
avoid NPE in onLoadMore
2025-04-14 13:39:31 +00:00
Marcel Hibbe
95545c6635
Avoid Npe in sendChatMessage
as chatDao.getTempMessageForConversation could have returned null

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 14:53:16 +02:00
Marcel Hibbe
d0190158d5
avoid NPE in onLoadMore
For v21.0.0, the following crash was reported:

Exception java.lang.NullPointerException: null cannot be cast to non-null type com.nextcloud.talk.chat.data.model.ChatMessage
  at com.nextcloud.talk.chat.ChatActivity.onLoadMore (ChatActivity.kt:3107)
  at com.stfalcon.chatkit.messages.MessagesListAdapter.onLoadMore (MessagesListAdapter.java:148)
  at com.stfalcon.chatkit.messages.RecyclerScrollMoreListener.onScrolled (RecyclerScrollMoreListener.java:82)
  at androidx.recyclerview.widget.RecyclerView.dispatchOnScrolled (RecyclerView.java:5688)
  at androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep3 (RecyclerView.java:4741)
  at androidx.recyclerview.widget.RecyclerView.dispatchLayout (RecyclerView.java:4367)
  at androidx.recyclerview.widget.RecyclerView.onLayout (RecyclerView.java:4919)

This is now improved:
- lastOrNull prevents exceptions if no matching item is found
- as? is a safe cast that returns null if the cast fails

Whole expression becomes null-safe, and id will be null if anything along the way doesn't match. Only when not null, onLoadMore continues.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 14:21:51 +02:00
Sowjanya Kota
4c5c7c6a24
Merge pull request #4812 from nextcloud/bugfix/4764/fixDuplicateMessages
fix duplicate messages because of multiple scopes
2025-04-14 13:38:26 +02:00
Marcel Hibbe
a1c7e37fd9
extract methods (avoid too long method "initObservers")
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 12:20:41 +02:00
Marcel Hibbe
f34968c886
improve sorting for new conversation name
sort users so original users come first when creating new conversation from 1:1 conversation

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:57:15 +02:00
Marcel Hibbe
b0da7243e5
ellipsize conversation name for add participants to 1-to-1
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:47 +02:00
Marcel Hibbe
b4a9910fd3
check capability conversation-creation-all
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:46 +02:00
Marcel Hibbe
df7e772817
fix codacy warning
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:46 +02:00
Marcel Hibbe
c2ad89f7fb
minor refactoring
to be discussed: does it make sense to show a dialog instead? At least when it's created via 1:1 conversation

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:46 +02:00
Marcel Hibbe
e7ab3aab0d
open new conversation after creating it in 1to1 chat
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:46 +02:00
Marcel Hibbe
fa5570e901
WIP use new api endpoint to create group conversation
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:45 +02:00
Marcel Hibbe
77fe2ad024
refactor getRetrofitBucketForCreateRoom
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:45 +02:00
Marcel Hibbe
3dfb00d5c4
remove unused code
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:45 +02:00
Marcel Hibbe
d4959d9130
remove unused code (ConversationRepository, ConversationViewModel)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:45 +02:00
Marcel Hibbe
643385505c
use startGroupChat to differentiate between addParticipant or create room
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:44 +02:00
Marcel Hibbe
73d8daa3d0
rename AddParticipantsToConversation to AddParticipantsToConversationWorker
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:44 +02:00
Marcel Hibbe
dcd4fa5257
add button to start group chat in Conversation Info
no action for now

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:44 +02:00
Marcel Hibbe
c9136cdf15
replace snackbar with toasts for breakout room infos
snackbars disaapear with the switch to a different screen. Toasts survive the switch so they are visible during the activities switch

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:43 +02:00
Nextcloud Android Bot
190bdbb470 Weekly 21.1.0 Alpha 14 2025-04-14 03:10:29 +00:00
Nextcloud bot
ea4533a67a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-12 03:11:58 +00:00
Sowjanya Kota
a27f95caeb
Merge pull request #4838 from nextcloud/feature/2052/moreFovByRatioSwitch
switch video capture between 4:3 and 16:9 ratio for portrait/landscape
2025-04-11 16:43:29 +02:00
Marcel Hibbe
14b6060500
Merge pull request #4837 from nextcloud/issue-4831-rooms-on-top
Added messages to the end of the list when searching
2025-04-10 13:52:07 +00:00
rapterjet2004
025d0f4e87
detekt
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-04-10 15:25:57 +02:00
rapterjet2004
f837caad8b
Refactored
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-04-10 15:25:56 +02:00
rapterjet2004
0d080defad
trying to bypass the stupid linter
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-04-10 15:25:56 +02:00
rapterjet2004
6835c25ac5
Added messages to the end of the list
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-04-10 15:25:55 +02:00
github-actions[bot]
622d3d6e3f
Merge pull request #4858 from nextcloud/renovate/roomversion
Update roomVersion to v2.7.0
2025-04-10 04:36:35 +00:00
renovate[bot]
ec09e9bc0c
Update roomVersion to v2.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-10 04:26:53 +00:00
github-actions[bot]
d2201be08f
Merge pull request #4857 from nextcloud/renovate/androidx.compose-compose-bom-2025.x
Update dependency androidx.compose:compose-bom to v2025.04.00
2025-04-10 03:52:40 +00:00
renovate[bot]
8ba4ab06d0
Update dependency androidx.compose:compose-bom to v2025.04.00
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-10 03:40:33 +00:00
github-actions[bot]
a6949966e0
Merge pull request #4856 from nextcloud/renovate/androidx.compose.material3-material3-1.x
Update dependency androidx.compose.material3:material3 to v1.3.2
2025-04-10 03:25:40 +00:00
renovate[bot]
c63b47dda9
Update dependency androidx.compose.material3:material3 to v1.3.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-10 03:14:20 +00:00
Marcel Hibbe
b17cf0abfe
Apply suggestions from code review
improve more strings

Co-authored-by: Jan C. Borchardt <925062+jancborchardt@users.noreply.github.com>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-09 17:18:16 +02:00
Andy Scherzinger
b441758782
Merge pull request #4851 from nextcloud/renovate/actions-setup-java-4.x
Update actions/setup-java action to v4.7.1
2025-04-09 15:13:18 +02:00
github-actions[bot]
a27be0a6d0
Merge pull request #4850 from nextcloud/renovate/ubuntu-noble
Update ubuntu:noble Docker digest to 1e622c5
2025-04-09 10:52:20 +00:00
renovate[bot]
a49dbbc06f
Update ubuntu:noble Docker digest to 1e622c5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-09 10:38:30 +00:00
renovate[bot]
42c351df30
Update actions/setup-java action to v4.7.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-09 08:07:04 +00:00
Nextcloud bot
8170830b27
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-09 03:11:04 +00:00
github-actions[bot]
5d5f1deb81
Merge pull request #4849 from nextcloud/renovate/kotlinx-coroutines-monorepo
Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-test to v1.10.2
2025-04-08 17:22:36 +02:00