Commit Graph

8106 Commits

Author SHA1 Message Date
rapterjet2004
ba3985e536
detekt
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-04-16 20:09:29 +02:00
rapterjet2004
ce589b3cae
Improving search capability
- Updated api with getContextForChatMessages
- Added ContextChatCompose for viewing the context of messages
- Added ComposeChatAdapter, a reimplementation of chat adapter
- Helper functions
- Added new date header
- Added a better Shimmer

Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-04-16 20:09:25 +02:00
Julius Linus
5aab7ac9bb
Merge pull request #4882 from nextcloud/open_conversations_list
show full open conversation list when search text is empty
2025-04-16 11:31:09 -05:00
sowjanyakch
93de317aa6
show full conversation list when search text is empty
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-16 17:12:44 +02:00
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
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
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
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
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
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
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
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
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
renovate[bot]
5af4abf6b5
Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-test to v1.10.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-08 15:06:15 +00:00
Marcel Hibbe
2f54c53796
Merge pull request #4824 from gavine99/fix-bluetooth-receiver-not-exported
allow bluetooth headset to be discovered and used during a call
2025-04-07 16:31:39 +00:00
Nextcloud Android Bot
8e4893da10 Weekly 21.1.0 Alpha 13 2025-04-07 03:12:56 +00:00
Nextcloud bot
8df8fcf9d7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-07 03:10:28 +00:00
github-actions[bot]
07f6fcc636
Merge pull request #4844 from nextcloud/renovate/mockito-monorepo
Update mockito monorepo to v5.17.0
2025-04-06 08:43:12 +00:00
renovate[bot]
c2048c009d
Update mockito monorepo to v5.17.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-06 08:33:34 +00:00
renovate[bot]
023e32cc43
Update dependency joda-time:joda-time to v2.14.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-06 08:31:47 +00:00
github-actions[bot]
380f706afd
Merge pull request #4842 from nextcloud/renovate/org.jetbrains.kotlinx-kotlinx-serialization-json-1.x
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.8.1
2025-04-06 06:40:29 +02:00
renovate[bot]
8056240081
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.8.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-06 04:30:43 +00:00
renovate[bot]
5c6e4480fb
Update dependency androidx.datastore:datastore-preferences to v1.1.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-06 04:28:59 +00:00
github-actions[bot]
a6482870a4
Merge pull request #4839 from nextcloud/renovate/androidx.compose-compose-bom-2025.x
Update dependency androidx.compose:compose-bom to v2025.03.01
2025-04-06 03:44:38 +00:00
github-actions[bot]
ac7916d3a6
Merge pull request #4840 from nextcloud/renovate/androidx.datastore-datastore-core-1.x
Update dependency androidx.datastore:datastore-core to v1.1.4
2025-04-06 03:40:29 +00:00
Nextcloud bot
aa45da9e66
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-06 03:21:15 +00:00
renovate[bot]
dcdf348243
Update dependency androidx.datastore:datastore-core to v1.1.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-06 03:13:56 +00:00
renovate[bot]
062c7f1cc3
Update dependency androidx.compose:compose-bom to v2025.03.01
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-06 03:11:08 +00:00
Nextcloud bot
fc3d38a967
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-05 03:10:21 +00:00
Marcel Hibbe
7fe987ba91
Merge branch 'master' into fix-bluetooth-receiver-not-exported 2025-04-04 14:45:05 +00:00
Marcel Hibbe
863dc10f36
fix detekt warnings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-04 14:57:23 +02:00
sowjanyakch
0e38490ea6
fix theming
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-04 14:47:08 +02:00
sowjanyakch
52cb837438
fix detekt
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-04 14:47:08 +02:00
sowjanyakch
68efcc0a95
check for necessary capabilities
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-04 14:47:08 +02:00
sowjanyakch
ea61e49821
layout changes
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-04 14:47:08 +02:00
sowjanyakch
6995964e5c
modify outgoingTextViewHolder
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-04 14:47:08 +02:00
sowjanyakch
8b44882e78
edit checkbox messages directly
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-04 14:47:07 +02:00
sowjanyakch
4abb28e445
fix detekt
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-04 14:47:07 +02:00