Commit Graph

8158 Commits

Author SHA1 Message Date
Marcel Hibbe
c6d1f68442
fix jumping Note to self option in message action dialog.
Only get room for Note to Self after clicking on the option..

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-29 12:32:36 +02:00
Nextcloud bot
0e72a82388
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-29 05:15:59 +00:00
Joas Schilling
f0c2e0aef5
fix(translation): Remove leading quote, trailing space and line break from translation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-29 07:11:52 +02:00
github-actions[bot]
2e41f232f8
Merge pull request #4929 from nextcloud/renovate/com.google.code.gson-gson-2.x
fix(deps): update dependency com.google.code.gson:gson to v2.13.1
2025-04-28 17:32:03 +02:00
renovate[bot]
de13ff4766
fix(deps): update dependency com.google.code.gson:gson to v2.13.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-28 15:07:51 +00:00
renovate[bot]
a7e44d6b44
fix(deps): update dependency androidx.exifinterface:exifinterface to v1.4.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-28 15:05:37 +00:00
sowjanyakch
fd6bb5b17e
detekt
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-28 09:03:42 +02:00
sowjanyakch
0b6ed3bcc1
improvements
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-28 09:03:42 +02:00
sowjanyakch
61d0e323b3
fix detekt
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-28 09:03:41 +02:00
sowjanyakch
c57bd90ee5
minor fixes - show meaningful message + add previews
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-28 09:03:41 +02:00
sowjanyakch
ce385556a3
fix detekt
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-28 09:03:41 +02:00
sowjanyakch
a7997abf57
copy the message
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-28 09:03:41 +02:00
sowjanyakch
7d381f4ca5
adding copyright
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-28 09:03:41 +02:00
sowjanyakch
c438250f07
add test push notification button
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-28 09:03:41 +02:00
sowjanyakch
99b61f5331
test push notification
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-28 09:03:40 +02:00
Nextcloud Android Bot
c97fbcc2ce Weekly 21.1.0 Alpha 16 2025-04-28 03:13:25 +00:00
Nextcloud bot
df00e6f977
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-28 03:10:35 +00:00
Nextcloud bot
56675bb1a4
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-27 03:07:06 +00:00
Nextcloud bot
5034f3d389
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-26 03:08:00 +00:00
Nextcloud bot
04044b68c4
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-25 03:07:13 +00:00
Nextcloud bot
d562626f26
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-24 03:08:37 +00:00
Nextcloud bot
b4d3921340
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-23 03:07:51 +00:00
github-actions[bot]
4e20559d6b
Merge pull request #4895 from nextcloud/renovate/com.google.code.gson-gson-2.x
fix(deps): update dependency com.google.code.gson:gson to v2.13.0
2025-04-22 21:07:30 +00:00
github-actions[bot]
ccaba64495
Merge pull request #4853 from nextcloud/renovate/ksp-monorepo
chore(deps): update plugin com.google.devtools.ksp to v2.1.20-2.0.0
2025-04-22 20:59:09 +00:00
renovate[bot]
bd44749e29
fix(deps): update dependency com.google.code.gson:gson to v2.13.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-22 20:53:17 +00:00
Andy Scherzinger
6ebf3d992b
Merge pull request #4896 from nextcloud/renovate/com.h3xstream.findsecbugs-findsecbugs-plugin-1.x
fix(deps): update dependency com.h3xstream.findsecbugs:findsecbugs-plugin to v1.14.0
2025-04-22 22:44:03 +02:00
renovate[bot]
8812cc38ea
chore(deps): update plugin com.google.devtools.ksp to v2.1.20-2.0.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-22 20:00:53 +00:00
renovate[bot]
8f06f07a78
fix(deps): update daggerversion to v2.56.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-22 19:12:17 +00:00
renovate[bot]
6fc47acb7c
fix(deps): update dependency com.h3xstream.findsecbugs:findsecbugs-plugin to v1.14.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-22 14:07:03 +00:00
Nextcloud bot
a4f8056c2d
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-22 10:33:11 +00:00
Nextcloud Android Bot
c8bf708b33 Weekly 21.1.0 Alpha 15 2025-04-21 03:10:49 +00:00
Marcel Hibbe
423fc1a60e
Merge pull request #4828 from nextcloud/fixEnglishOnlyFirstLetterUppercase
Modify some strings
2025-04-17 13:57:55 +00:00
Sowjanya Kota
a9090d4e71
Merge pull request #4826 from nextcloud/feature/4712/addParticipantTo1to1
Feature/4712/add participant to1to1
2025-04-17 12:47:19 +02:00
Nextcloud bot
05069009a1
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-17 03:08:46 +00:00
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
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