Commit graph

8570 commits

Author SHA1 Message Date
Marcel Hibbe
2ce3b2bbd8 avoid NPE when context is not known when creating conversation
NPE without this fix:

Exception java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Context.getPackageName()' on a null object reference
  at android.content.ComponentName.<init> (ComponentName.java:132)
  at android.content.Intent.<init> (Intent.java:8269)
  at com.nextcloud.talk.conversation.CreateConversationDialogFragment.initiateConversation (CreateConversationDialogFragment.kt:276)
  at com.nextcloud.talk.conversation.CreateConversationDialogFragment.access$initiateConversation (CreateConversationDialogFragment.kt:63)
  at com.nextcloud.talk.conversation.CreateConversationDialogFragment$addParticipants$1.invoke (CreateConversationDialogFragment.kt:257)
  at com.nextcloud.talk.conversation.CreateConversationDialogFragment$addParticipants$1.invoke (CreateConversationDialogFragment.kt:248)
  at com.nextcloud.talk.conversation.CreateConversationDialogFragment$sam$androidx_lifecycle_Observer$0.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:958)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loopOnce (Looper.java:230)
  at android.os.Looper.loop (Looper.java:319)
  at android.app.ActivityThread.main (ActivityThread.java:8893)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:608)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1103)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-05 08:15:32 +00:00
Nextcloud bot
082ba8d00b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-05 02:45:08 +00:00
Nextcloud bot
7856aa0472
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-04 02:44:34 +00:00
Nextcloud bot
d6bb746ac6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-03 02:45:19 +00:00
Nextcloud bot
14f1f00c19
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-02 02:43:27 +00:00
Nextcloud bot
9fe3bc03eb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-01 02:44:17 +00:00
Nextcloud bot
80dfb6aa47
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-31 02:46:11 +00:00
Nextcloud bot
6793ac9ae5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-30 10:50:55 +00:00
Marcel Hibbe
fac8d6daa8
Merge pull request #3767 from nextcloud/backport/3743/stable-19.0
[stable-19.0] i18n: Change to capital letter
2024-03-26 11:51:54 +01:00
sowjanyakch
78ba616d50 Add string message_last_edited_by
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-03-26 10:51:30 +00:00
Valdnet
53bc5a9e2a Unified spelling and remove space
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2024-03-26 10:51:30 +00:00
Valdnet
164e53a85d Change to capital letter
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2024-03-26 10:51:30 +00:00
Nextcloud bot
e97db2d241
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-26 02:45:22 +00:00
Marcel Hibbe
71076c6882
Merge pull request #3763 from nextcloud/backport/3762/stable-19.0
[stable-19.0] fix to show all participants in conversation info
2024-03-25 17:01:29 +01:00
Marcel Hibbe
883f3e74f1 fix to show all participants in conversation info
In general it's a bad idea to use recyclerview inside scrollviews because of poor performance! So this is only a fix until everything is replaced with jetpack compose.

setHasFixedSize and isNestedScrollingEnabled were set to false. This might not be necessary for the current implementation, but it's recommended when using NestedScrollView.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-25 12:24:53 +00:00
Nextcloud bot
c1aa51e67a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-22 13:11:05 +00:00
Marcel Hibbe
177858d319
bump version to 19.0.0 RC1
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-22 13:15:13 +01:00
Marcel Hibbe
7a64c53823
Merge pull request #3738 from nextcloud/set-mob-dialog
Use DialogFragment for Phone Number Integration
2024-03-22 13:01:58 +01:00
Julius Linus
20378ae89c
formatting
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-22 12:56:30 +01:00
Parneet Singh
6c52e73b9c
use DialogFragment to retain state
Signed-off-by: Parneet Singh <gurayaparneet@gmail.com>
2024-03-22 12:56:30 +01:00
Andy Scherzinger
304f6ad564
Merge pull request #3750 from nextcloud/renovate/gradle-wrapper-validation-action-2.x
Update gradle/wrapper-validation-action action to v2.1.2
2024-03-22 10:21:10 +01:00
Andy Scherzinger
6aafbcb3ec
Merge pull request #3749 from nextcloud/renovate/com.github.nextcloud.android-common-ui-0.x
Update dependency com.github.nextcloud.android-common:ui to v0.19.0
2024-03-22 10:20:43 +01:00
renovate[bot]
7218e607cc
Update gradle/wrapper-validation-action action to v2.1.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-22 07:59:37 +00:00
Andy Scherzinger
e6b8b5bd86
Merge pull request #3748 from nextcloud/chore/noid/spdxHeader5
Add SPDX header
2024-03-22 08:58:54 +01:00
Nextcloud bot
f5941a1327
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-22 02:42:52 +00:00
renovate[bot]
714f30e1d4
Update dependency com.github.nextcloud.android-common:ui to v0.19.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-22 02:35:07 +00:00
Andy Scherzinger
bfcc6e9f86
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-22 01:05:20 +01:00
Andy Scherzinger
f7505694c8
Merge pull request #3747 from nextcloud/chore/noid/spdxHeader4
Add SPDX header 4
2024-03-22 00:28:30 +01:00
github-actions
b70671a7fb Analysis: update lint results to reflect reduced error/warning count
Signed-off-by: github-actions <github-actions@github.com>
2024-03-21 23:21:31 +00:00
Andy Scherzinger
c85312b715
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-22 00:14:35 +01:00
Andy Scherzinger
0a01665362
Merge pull request #3745 from nextcloud/chore/noid/spdxHeader3
Add SPDX header
2024-03-21 21:30:17 +01:00
Andy Scherzinger
1768ce70cb
Bump score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-21 20:47:54 +01:00
Andy Scherzinger
3c4c3bbdad
SPDX headers added
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-21 18:57:27 +01:00
Andy Scherzinger
c005d93f8c
remove magic numbers
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-21 18:42:28 +01:00
Andy Scherzinger
ff23ced3ac
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-21 18:39:30 +01:00
Marcel Hibbe
22b93b2186
Merge pull request #3740 from nextcloud/issue_remove_animation_conversationlist_appbar
Remove flickering background on the app bar
2024-03-21 17:29:24 +01:00
Marcel Hibbe
6e45b0cdc7
Merge pull request #3701 from nextcloud/federated-mentions
Federated Mentions
2024-03-21 17:28:35 +01:00
sowjanyakch
1d3c792bbf
Remove flickering background on the app bar
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-03-21 16:58:56 +01:00
Marcel Hibbe
cc19157867 convert DisplayUtils to kt
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-21 16:39:16 +01:00
Marcel Hibbe
bb6af562cc convert MentionAutocompleteItem to kt
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-21 16:39:16 +01:00
Marcel Hibbe
4a75108557 reformat code
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-21 16:39:16 +01:00
Marcel Hibbe
c55403c023 modify log statement
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-21 16:39:16 +01:00
Marcel Hibbe
c0c671bccf fix to use correct cloudId.
Without this fix, the avatars for "normal" messages were not able to show avatars.
Only the messages that contained messageParameters with actor were able to show avatars(for example "userX invited userY")

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-21 16:39:16 +01:00
Julius Linus
870ef03d61 Federated Mentions
- Federated mention chip
- Federated message avatars
- Helper functions

Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
2024-03-21 16:39:16 +01:00
Andy Scherzinger
22de77896a
Merge pull request #3741 from nextcloud/renovate/com.github.spotbugs.snom-spotbugs-gradle-plugin-6.x
Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.9
2024-03-21 16:33:28 +01:00
Marcel Hibbe
e76166987f
Merge pull request #3736 from nextcloud/feature/noid/hideItemsForFederatedRooms
Feature/noid/hide items for federated rooms
2024-03-21 16:07:21 +01:00
renovate[bot]
f3d736bb87
Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.9
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-21 04:41:24 +00:00
Andy Scherzinger
e98f60d884
Merge pull request #3739 from nextcloud/chore/noid/mimeTypeTextColor
Update text mimetype color
2024-03-20 19:58:11 +01:00
Andy Scherzinger
7f29955f3d
Update text mimetype color
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-20 19:51:08 +01:00
Andy Scherzinger
5f57d6b58c
Merge pull request #3731 from nextcloud/renovate/retrofit2version
Update retrofit2Version to v2.10.0
2024-03-20 17:54:19 +01:00