Commit graph

8718 commits

Author SHA1 Message Date
nextcloud-android-bot
9c92f14cfd 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2024-04-10 02:19:55 +00:00
Andy Scherzinger
70d3e955f5
Merge pull request #3814 from nextcloud/renovate/com.github.spotbugs.snom-spotbugs-gradle-plugin-6.x
Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.10
2024-04-09 15:48:42 +02:00
renovate[bot]
fe81712d4a Update dependency com.github.spotbugs.snom:spotbugs-gradle-plugin to v6.0.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-09 07:26:58 +02:00
Andy Scherzinger
71a12cd3cc
Merge pull request #3813 from nextcloud/renovate/gradle-gradle-build-action-3.x
Update gradle/gradle-build-action action to v3.2.1
2024-04-09 07:25:51 +02:00
Nextcloud bot
2e5f10b1f2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-09 02:43:44 +00:00
renovate[bot]
820ae18ca9
Update gradle/gradle-build-action action to v3.2.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-08 23:30:33 +00:00
Nextcloud bot
5282ecabfb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-08 02:44:33 +00:00
Nextcloud bot
ccccaae4ad
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-07 02:44:43 +00:00
Andy Scherzinger
35420af121
Merge pull request #3810 from nextcloud/renovate/github-codeql-action-3.x
Update github/codeql-action action to v3.24.10
2024-04-05 19:42:27 +02:00
renovate[bot]
5a6e6f8058
Update github/codeql-action action to v3.24.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-05 15:55:16 +00:00
Marcel Hibbe
9ff8e64b38
manually bump to 19.1.0 Alpha 02
still because of https://github.com/nextcloud/talk-android/pull/3733

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-05 17:54:01 +02:00
Marcel Hibbe
e0837af157
Merge pull request #3808 from nextcloud/bugfix/noid/fixesForPolls
Bugfix/noid/fixes for polls
2024-04-05 15:52:12 +02:00
Marcel Hibbe
3cfc4188f0
fix to load fallback poll avatar for other actorTypes (deleted users...)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-05 15:48:13 +02:00
Marcel Hibbe
89d004b32d
fix margins for poll checkboxes
checkbox was cut off to the left. probably some material design update changed this. Now there is no need to modify the margin anymore.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-05 15:33:31 +02:00
Marcel Hibbe
eaa0743027
fix to always show polls dialog.
Sometimes the polls dialog seemed to not load the content.
This was caused by the showLoadingScreen logic using binding.root.post which overwrote the content depending on if the showResultsScreen or showVoteScreen already set the content. So it was a race conditions that sometimes it worked and sometimes not.
Additionally, calculating the height failed in showLoadingScreen, so in the end there was only the headline visible and even not loading spinner. This is now replaced by a fixed height.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-05 15:33:30 +02:00
Marcel Hibbe
cbc1eed336
Merge pull request #3806 from nextcloud/feature/noid/showFederatedAvatarsForPolls
show federated avatars for polls
2024-04-05 14:29:48 +02:00
Marcel Hibbe
0bdbc8a538
use EnumActorTypeConverter for poll models
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-05 13:25:32 +02:00
Marcel Hibbe
091fddc2c0
show federated avatars for polls
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-05 12:43:37 +02:00
Sowjanya Kota
e57f08f2d5
Merge pull request #3803 from nextcloud/bugfix/noid/fixNpeForConversationCreation
avoid NPE when context is not known when creating conversation
2024-04-05 10:15:26 +02:00
Andy Scherzinger
af43bab814
Merge pull request #3804 from nextcloud/renovate/gradle-gradle-build-action-3.x
Update gradle/gradle-build-action action to v3.2.0
2024-04-05 07:16:30 +02:00
Nextcloud bot
4c6ba0634d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-05 02:44:39 +00:00
renovate[bot]
f9872bc48d
Update gradle/gradle-build-action action to v3.2.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-04 23:12:04 +00:00
Marcel Hibbe
1d62b9f7f9
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-04 17:12:21 +02:00
Marcel Hibbe
a17d5132d0
Merge pull request #3801 from nextcloud/bugfix/noid/fixNpeForMissingServerVersion
avoid NPE when serverVersion is not known
2024-04-04 17:10:16 +02:00
Marcel Hibbe
3d9c1d2ca9
avoid NPE when serverVersion is not known
NPE without this fix:

Exception java.lang.RuntimeException:
  at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4975)
  at android.app.ActivityThread.handleResumeActivity (ActivityThread.java:5008)
  at android.app.servertransaction.ResumeActivityItem.execute (ResumeActivityItem.java:54)
  at android.app.servertransaction.ActivityTransactionItem.execute (ActivityTransactionItem.java:45)
  at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:176)
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:97)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2386)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loopOnce (Looper.java:210)
  at android.os.Looper.loop (Looper.java:299)
  at android.app.ActivityThread.main (ActivityThread.java:8252)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:559)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:954)
Caused by java.lang.NullPointerException:
  at com.nextcloud.talk.conversationlist.ConversationsListActivity.onResume (ConversationsListActivity.kt:287)
  at android.app.Instrumentation.callActivityOnResume (Instrumentation.java:1565)
  at android.app.Activity.performResume (Activity.java:8668)
  at android.app.ActivityThread.performResumeActivity (ActivityThread.java:4965)

 The root cause may be that the CapabilitiesWorker is not finished so the serverVersion was not added to the user.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-04 16:09:15 +02:00
Marcel Hibbe
2c8d5f50cc
Merge pull request #3793 from nextcloud/bugfix/3770/translateMoreBooleansInDiagnosisScreen
translate all boolean values in diagnosis screen
2024-04-04 16:07:47 +02:00
Marcel Hibbe
c82138ca7c
translate all boolean values in diagnosis screen
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-04 16:06:06 +02:00
Marcel Hibbe
bf27398a50
Merge pull request #3777 from nextcloud/issue-3771-fix-snackbar-err
Theme pending invitations panel
2024-04-04 15:44:25 +02:00
Julius Linus
c12c090551
theme federation invitations panel
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-04 14:54:30 +02:00
Nextcloud bot
3b710b904e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-04 02:44:06 +00:00
Marcel Hibbe
722086793d
Merge pull request #3776 from nextcloud/issue-3774-network-check-error-handling
Network checks and show network error dialog
2024-04-03 17:50:42 +02:00
Bhavesh Kumawat
bde1c3a48d
Added network checks and display error dialog
Signed-off-by: Bhavesh Kumawat <kumawatbhavesh1000@gmail.com>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-03 17:49:51 +02:00
Marcel Hibbe
6709fefd09
Merge pull request #3768 from nextcloud/issue-3734-handle-crash
Fix crash on sendStopTypingMessage
2024-04-03 17:17:21 +02:00
Julius Linus
b660816bc9
fix ConcurrentModificationException
2024-03-19 15:49:38.476 15732-17089 okhttp.OkHttpClient     com.nextcloud.talk2                  I  {"ocs":{"meta":{"status":"ok","statuscode":200,"message":"OK"},"data":[]}}
2024-03-19 15:49:38.476 15732-17089 okhttp.OkHttpClient     com.nextcloud.talk2                  I  <-- END HTTP (74-byte body)
2024-03-19 15:49:38.571 15732-15732 ViewRootIm...tActivity] com.nextcloud.talk2                  I  handleAppVisibility mAppVisible = false visible = true
2024-03-19 15:49:38.571 15732-15732 ViewRootIm...tActivity] com.nextcloud.talk2                  I  stopped(false) old = true
2024-03-19 15:49:38.571 15732-15732 ViewRootIm...tActivity] com.nextcloud.talk2                  I  WindowStopped on com.nextcloud.talk2/com.nextcloud.talk.chat.ChatActivity set to false
2024-03-19 15:49:38.695 15732-16333 WebSocketInstance       com.nextcloud.talk2                  D  Receiving : okhttp3.internal.ws.RealWebSocket@b8eb9d5 {"type":"event","event":{"target":"room","type":"leave","leave":["01s9v73eeKC5P2QUmsEqfsi_ZmY-DaDPhs3wdFTmJkB8VzVJc1FSWUV5bVZVTEtBaVpZOUYxaDVMRlpsaG95enlFc2dXMXpQY3Y3dGNGNlNfemZiLXg5cXk1ZVNyTEkzNS0wcDZJZUdnelFYbmF6ZVMwcWRDbVBTNklLYkFHNUdwRDQ2c0VZR1RoX1JObmF2Q3hSb2YtbFNJOFRONkhFLWp2cWZBZnk2d2VSb1BsbG96VE90Vm45bFhOa2NwWWZfdTA1clJ4VFoxcHpJcHwyMjEzNTgwMTcx"]}}
2024-03-19 15:49:38.697 15732-15732 AndroidRuntime          com.nextcloud.talk2                  D  Shutting down VM
2024-03-19 15:49:38.702 15732-15732 AndroidRuntime          com.nextcloud.talk2                  E  FATAL EXCEPTION: main
                                                                                                    Process: com.nextcloud.talk2, PID: 15732
                                                                                                    java.util.ConcurrentModificationException
                                                                                                    	at java.util.HashMap$HashIterator.nextNode(HashMap.java:1441)
                                                                                                    	at java.util.HashMap$EntryIterator.next(HashMap.java:1475)
                                                                                                    	at java.util.HashMap$EntryIterator.next(HashMap.java:1473)
                                                                                                    	at com.nextcloud.talk.chat.ChatActivity.sendStopTypingMessage(ChatActivity.kt:2097)
                                                                                                    	at com.nextcloud.talk.chat.ChatActivity.updateOwnTypingStatus(ChatActivity.kt:2063)
                                                                                                    	at com.nextcloud.talk.chat.ChatActivity$initMessageInputView$1.onTextChanged(ChatActivity.kt:1162)
                                                                                                    	at android.widget.TextView.sendOnTextChanged(TextView.java:11881)
                                                                                                    	at android.widget.TextView.setText(TextView.java:6968)
                                                                                                    	at android.widget.TextView.setText(TextView.java:6751)
                                                                                                    	at android.widget.EditText.setText(EditText.java:133)
                                                                                                    	at android.widget.TextView.setText(TextView.java:6703)
                                                                                                    	at com.nextcloud.talk.chat.ChatActivity.onStart(ChatActivity.kt:575)
                                                                                                    	at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1510)
                                                                                                    	at android.app.Activity.performStart(Activity.java:8616)
                                                                                                    	at android.app.ActivityThread.handleStartActivity(ActivityThread.java:4204)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.performLifecycleSequence(TransactionExecutor.java:221)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.cycleToPath(TransactionExecutor.java:201)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:173)
                                                                                                    	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:97)
                                                                                                    	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2574)
                                                                                                    	at android.os.Handler.dispatchMessage(Handler.java:106)
                                                                                                    	at android.os.Looper.loopOnce(Looper.java:226)
                                                                                                    	at android.os.Looper.loop(Looper.java:313)
                                                                                                    	at android.app.ActivityThread.main(ActivityThread.java:8762)
                                                                                                    	at java.lang.reflect.Method.invoke(Native Method)
                                                                                                    	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
                                                                                                    	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)
2024-03-19 15:49:38.735 15732-15732 Process                 com.nextcloud.talk2                  I  Sending signal. PID: 15732 SIG: 9
2024-03-19 15:49:39.328  1477-1521  WindowManager           system_server                        E  win=Window{9280569 u0 com.nextcloud.talk2/com.nextcloud.talk.activities.CallActivity EXITING} destroySurfaces: appStopped=false cleanupOnResume=false win.mWindowRemovalAllowed=true win.mRemoveOnExit=true win.mViewVisibility=0 caller=com.android.server.wm.ActivityRecord.destroySurfaces:6539 com.android.server.wm.ActivityRecord.destroySurfaces:6520 com.android.server.wm.WindowState.onExitAnimationDone:5995 com.android.server.wm.ActivityRecord$$ExternalSyntheticLambda10.accept:2 java.util.ArrayList.forEach:1262 com.android.server.wm.ActivityRecord.onAnimationFinished:8607 com.android.server.wm.ActivityRecord.postApplyAnimation:6252
2024-03-19 15:49:40.075 19752-19752 nativeloader            com.nextcloud.talk2                  D  Configuring classloader-namespace for other apk /data/app/~~7lbTYxiIqB-jrG8FI6_p4A==/com.nextcloud.talk2-0R1zH5b8yl__vfC9tvSYrg==/base.apk. target_sdk_version=34, uses_libraries=, library_path=/data/app/~~7lbTYxiIqB-jrG8FI6_p4A==/com.nextcloud.talk2-0R1zH5b8yl__vfC9tvSYrg==/lib/arm64:/data/app/~~7lbTYxiIqB-jrG8FI6_p4A==/com.nextcloud.talk2-0R1zH5b8yl__vfC9tvSYrg==/base.apk!/lib/arm64-v8a, permitted_path=/data:/mnt/expand:/data/user/0/com.nextcloud.talk2
2024-03-19 15:49:40.097 19752-19752 GraphicsEnvironment     com.nextcloud.talk2                  V  ANGLE Developer option for 'com.nextcloud.talk2' set to: 'default'
2024-03-19 15:49:40.098 19752-19752 GraphicsEnvironment     com.nextcloud.talk2                  V  ANGLE GameManagerService for com.nextcloud.talk2: false
2024-03-19 15:49:40.099 19752-19752 GraphicsEnvironment     com.nextcloud.talk2

Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
2024-04-03 17:15:49 +02:00
Marcel Hibbe
f8851d824c
Merge pull request #3766 from nextcloud/show_editview_when_edit_enabled
shows edit message view only when user edits a message
2024-04-03 17:02:03 +02:00
sowjanyakch
99d361f37d
Hides messageSendButton initially
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-04-03 16:57:16 +02:00
sowjanyakch
2ad6b72bcf
shows edit message only when user edits a message
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-04-03 16:57:16 +02:00
Marcel Hibbe
21c05f01a2
Merge pull request #3764 from nextcloud/feature/noid/moreFederationAvatars
Feature/noid/more federation avatars
2024-04-03 16:53:45 +02:00
Marcel Hibbe
16c53cab21
refactor (extract methods)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-03 16:51:42 +02:00
Marcel Hibbe
c21a3a2363
fix to hide moderation actions
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-03 16:51:42 +02:00
Marcel Hibbe
39180f2f6d
change logging
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-03 16:51:42 +02:00
Marcel Hibbe
af9d75a978
show federated avatars in conversation info
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-03 16:51:42 +02:00
Marcel Hibbe
1553cdf107
remove 'source' variable from Participant
As far i could see this is identical to actorType, so 'source' was removed and actorType is now used.

This makes checks in ParticipantItem etc more clean

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-03 16:51:42 +02:00
Marcel Hibbe
8216811e99
convert ParticipantItem to kt
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-03 16:51:42 +02:00
Marcel Hibbe
9fa560e97d
add FEDERATED ActorType
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-03 16:51:41 +02:00
Marcel Hibbe
7e3d48f45f
Merge pull request #3746 from nextcloud/issue-3744-sent-message-delayed
Fix message delay on send and delete
2024-04-03 16:50:09 +02:00
Julius Linus
07bf65460b
Fixed some bugs with formatting and message handling
Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-03 16:41:14 +02:00
Sowjanya Kota
4c7ddae084
Merge pull request #3752 from nextcloud/new-result-apis
Use new Result APIs instead of startActivityForResult() and onActivityResult().
2024-04-03 08:51:19 +02:00
Nextcloud bot
c3cd8ee41f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-03 02:44:50 +00:00
Nextcloud bot
632e151cae
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-02 02:43:00 +00:00