Commit graph

7003 commits

Author SHA1 Message Date
Marcel Hibbe
9c1f68abb4
fix regex and brackets for isInstanceInternalFileShareUrl
only links without index.php returned true without this fix.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-05-21 12:14:21 +02:00
Marcel Hibbe
cc823dcc0c
fix to not set clipboard text repeatedly
initMessageInputView() is called repeatedly when capabilities are received. This is not a good solution but was done because capabilities are needed inside initMessageInputView().

As sharedText is set inside initMessageInputView(), this caused the bug that text was repeatedly inserted in to the message input field.

All in all, there is only the need to initialize initMessageInputView() once. With this fix, it is for now done when there is no filter set yet. As a long term solution, the architecture must be changed so that initMessageInputView() is not called repeatedly, but all UI elements that need capabilities etc are updated by livedata.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-05-17 14:09:40 +02:00
renovate[bot]
13906130e1
Update dependency androidx.core:core-ktx to v1.13.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-17 11:23:14 +00:00
Sowjanya Kota
7bd2e6c81a
Merge pull request #3909 from nextcloud/bugfix/3903/fixUnreadScrollingAndUnreadBubble
fix unread message behavior
2024-05-17 10:41:18 +02:00
renovate[bot]
de580a3bc9
Update mockito monorepo to v5.12.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-16 19:57:04 +00:00
sowjanyakch
5996699812
Align display name of conversation to center when description is empty.
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-05-16 11:46:43 +02:00
sowjanyakch
a2739b506c
created dimensions
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-05-16 11:46:42 +02:00
sowjanyakch
ed5a12b7da
Refactor code
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-05-16 11:46:42 +02:00
sowjanyakch
f0670f9f15
update description for open and group conversations in the chatActivity
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-05-16 11:46:42 +02:00
sowjanyakch
91726261d1
show description in open conversation list
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-05-16 11:46:42 +02:00
Marcel Hibbe
ac39e73782
only show new message notice when there are messages from other participants
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-05-15 15:50:40 +02:00
Nextcloud bot
06027b3c7b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-15 02:36:17 +00:00
Marcel Hibbe
5810d070fa
fix unread message behavior
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-05-13 19:28:54 +02:00
Nextcloud bot
b1bd50747b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-13 02:38:41 +00:00
Nextcloud bot
ebf26dbf80
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-11 02:39:06 +00:00
Nextcloud bot
cc0c48f55b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-10 02:55:48 +00:00
Nextcloud bot
ca1c10a4e1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-09 02:47:35 +00:00
Sowjanya Kota
500f2ca1a9
Merge pull request #3900 from nextcloud/improveBarColorsForLogin
set light or dark bar colors for login screens instead primary color
2024-05-08 15:01:45 +02:00
sowjanyakch
acd0b92b6c
Pretty URL for conversation link
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-05-08 13:53:44 +02:00
Marcel Hibbe
70598d9ede
Set taskAffinity to empty value on application level
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-05-08 09:43:18 +02:00
Nextcloud bot
0cb812c6e3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-08 02:52:28 +00:00
Marcel Hibbe
831ee0cdc4
set light or dark bar colors for login screens instead primary color
especially for branded clients the primary color might not look good.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-05-07 12:37:05 +02:00
Nextcloud bot
cdef3828c4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-05-04 02:52:34 +00:00
renovate[bot]
8770321325
fix(deps): update dependency com.google.android.material:material to v1.12.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-02 20:08:32 +00:00
Sowjanya Kota
7b3746e4f3
Merge pull request #3878 from nextcloud/bugfix/noid/fixLeaveAndDeleteConversationVisibility
fix visibility of conversation options
2024-04-29 10:09:45 +02:00
Nextcloud bot
a0ec57068b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-27 02:56:11 +00:00
Marcel Hibbe
6e59a94789
fix visibility of conversation options
fix visibility of leave conversation and delete conversation in ConversationInfoActivity

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-26 13:19:23 +02:00
Nextcloud bot
8bceb139c7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-26 02:49:12 +00:00
Andy Scherzinger
3f52b7aad2
fix: Have correct SPDX license header for logo/trademarked items
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-04-25 18:29:46 +02:00
Nextcloud bot
bf24629c81
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-25 02:46:42 +00:00
Nextcloud bot
2477284177
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-24 02:46:09 +00:00
Marcel Hibbe
b870b0f208
rename classes called 'Magic*'
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-23 15:26:00 +02:00
Nextcloud bot
379dd66612
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-20 02:53:25 +00:00
Nextcloud bot
e1b07b68dd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-19 02:47:48 +00:00
renovate[bot]
a081c9aca2
Update dependency com.github.nextcloud.android-common:ui to v0.20.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-18 16:25:10 +00:00
Sowjanya Kota
d876ec4ef0
Merge pull request #3849 from nextcloud/bugfix/noid/fixToOpenCallsAsVoiceOnly
fix to open calls as voice only when user clicked on voice button
2024-04-18 14:57:10 +02:00
Julius Linus
57017f95f4
Set pages to be every 50 messages
Large enough to prevent onLoadMore from calling refresh on a few messages, but small enough to refresh when needed.

Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-04-18 14:16:59 +02:00
Marcel Hibbe
8a8b128ac6
fix to keep text of message-editing after 30sec
without this fix, the text when editing a message was lost after pulling chat messages (30sec), because inputEditText was initialized again with the initial text

As a fix, message editing is only initialized once when the edit button was clicked.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-18 12:45:50 +02:00
renovate[bot]
9e288b38ab
Update dependency com.google.android.gms:play-services-base to v18.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-18 08:57:06 +02:00
Nextcloud bot
38dac71239
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-18 02:46:11 +00:00
renovate[bot]
5c06fce1c4
Update dependency androidx.core:core-ktx to v1.13.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-17 19:24:55 +00:00
renovate[bot]
939cf19042
Update androidxCameraVersion to v1.3.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-17 18:30:32 +00:00
Marcel Hibbe
ca65995f84
fix to open calls as voice only when user clicked on voice button
Before this fix, KEY_CALL_VOICE_ONLY was not included in the intent extras so call always started as videocall

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-17 17:00:37 +02:00
Marcel Hibbe
3ea3f94cff
fix to show "Note to self" icon in conversation info
share conversation link to other apps

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-17 14:40:01 +02:00
Marcel Hibbe
f628d357ea
use conversationType to check if share button should be shown for conversation
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-17 13:55:55 +02:00
sowjanyakch
080937305a
Make conversation settings visible
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-04-17 13:39:31 +02:00
sowjanyakch
287ba3bbc9
Not sharing the conversation link of Note to self
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-04-17 13:39:31 +02:00
sowjanyakch
1c26c757f0
Refactor ShareUtils and remove ShareUtilsTest file
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-04-17 13:39:31 +02:00
sowjanyakch
b6ab867280
Make conversation link available for copy and paste in the Conversation settings.
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-04-17 13:39:31 +02:00
sowjanyakch
7832f72d12
share conversation link to other apps
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-04-17 13:39:30 +02:00
Marcel Hibbe
94257242a3
fix to set ConversationType for "Note to self"
Fix to check if a conversation is "Note to self" by checking the ConversationType instead to check conversation name by hardcoded string

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-17 12:02:52 +02:00
Nextcloud bot
b9b449f0bf
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-17 02:45:18 +00:00
Marcel Hibbe
2df97b3be6
manually bump to 19.1.0 Alpha 04
still because of https://github.com/nextcloud/talk-android/pull/3733

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-15 15:06:33 +02:00
Marcel Hibbe
78d54528a5
manually bump to 19.1.0 Alpha 03
still because of https://github.com/nextcloud/talk-android/pull/3733

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-15 14:47:12 +02:00
Marcel Hibbe
2485b14009
get room in NotificationWorker so CallNotificationActivity doesn't have to wait for it
The get-room request in CallNotificationActivity was sometimes too slow which caused the activity to be unresponsive.
With this commit, the room is first loaded before the user gets a notification.
For now all necessary values are passed as intent extras. In the future with offline support, there might be reasons to load it from DB in CallNotificationActivity.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-15 14:33:27 +02:00
Marcel Hibbe
7e1ebebd5d
remove unnecessary KEY_FROM_NOTIFICATION_START_CALL handling
this seems to be a relict caused by conductor back then.

CallNotificationActivity is opened directly.
There shouldn't have been any scenario anymore when it would be opened by MainActivity.
Back then with conductor, this was done because there must have been an activity to open which then opened a controller.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-15 14:33:26 +02:00
Marcel Hibbe
52dc82703e
avoid error when clicking on federated user avatar
without this, there would be http 404 error (nothing was shown to user):

2024-04-11 15:34:30.612 18641-18641 ProfileBottomSheet      com.nextcloud.talk2                  E  Failed to get hover card for user user@yourfereatedserver.dev
                                                                                                    retrofit2.adapter.rxjava2.HttpException: HTTP 404
                                                                                                    	at retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onNext(BodyObservable.java:57)
                                                                                                    	at retrofit2.adapter.rxjava2.BodyObservable$BodyObserver.onNext(BodyObservable.java:38)
                                                                                                    	at retrofit2.adapter.rxjava2.CallExecuteObservable.subscribeActual(CallExecuteObservable.java:48)
                                                                                                    	at io.reactivex.Observable.subscribe(Observable.java:12284)
                                                                                                    	at retrofit2.adapter.rxjava2.BodyObservable.subscribeActual(BodyObservable.java:35)
                                                                                                    	at io.reactivex.Observable.subscribe(Observable.java:12284)
                                                                                                    	at io.reactivex.internal.operators.observable.ObservableSubscribeOn$SubscribeTask.run(ObservableSubscribeOn.java:96)
                                                                                                    	at io.reactivex.Scheduler$DisposeTask.run(Scheduler.java:608)
                                                                                                    	at io.reactivex.internal.schedulers.ScheduledRunnable.run(ScheduledRunnable.java:66)
                                                                                                    	at io.reactivex.internal.schedulers.ScheduledRunnable.call(ScheduledRunnable.java:57)
                                                                                                    	at java.util.concurrent.FutureTask.run(FutureTask.java:264)
                                                                                                    	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:307)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
                                                                                                    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
                                                                                                    	at java.lang.Thread.run(Thread.java:1012)

With this fix, nothing happens when clicking on a federated user avatar, just like in web and iOS.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-15 14:31:53 +02:00
Marcel Hibbe
69e8c91431
avoid error when clicking on federated user mention chip
without this, there would be the common error message shown because of a http 404 error.

With this fix, nothing happens when clicking on a federated user mention chip, just like in web and iOS.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-15 14:31:53 +02:00
Nextcloud bot
7979af0d38
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-14 02:44:56 +00:00
Sowjanya Kota
d8e6a4a135
Merge pull request #3822 from nextcloud/bugfix/noid/fixCanModerate
Bugfix/noid/fix can moderate
2024-04-12 14:54:19 +02:00
Sowjanya Kota
d7d3ec2ed6
Merge pull request #3825 from nextcloud/bugfix/noid/hideOpenConversationsInAddingParticipantsView
hide button for open conversations when adding participants
2024-04-12 14:37:15 +02:00
Marcel Hibbe
e5e859feeb
hide button for open conversations when adding participants
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-11 17:17:40 +02:00
renovate[bot]
f8d89406eb Update media3_version to v1.3.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 16:17:02 +02:00
Marcel Hibbe
d5ff59fcd0
remove unused method
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-11 13:53:39 +02:00
Marcel Hibbe
d93dd0f3c1
fix logic for canModerate
bug was introduced with commit 754b8250

As a result, for example the delete conversation option was not shown.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-11 13:51:15 +02:00
Nextcloud bot
0a24fafad7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-10 02:48:29 +00: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
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
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
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
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
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
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
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
c82138ca7c
translate all boolean values in diagnosis screen
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-04 16:06:06 +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
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
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
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
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
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
Nextcloud bot
91064f1b84
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-01 02:43:49 +00:00
Parneet Singh
631a93f687
use new result api
Signed-off-by: Parneet Singh <gurayaparneet@gmail.com>
2024-04-01 04:40:05 +05:30
Nextcloud bot
9955f37992
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-31 02:45:43 +00:00
Nextcloud bot
f3eff4ca24
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-30 10:50:27 +00:00
renovate[bot]
ae7e48e308
Update daggerVersion to v2.51.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-29 18:31:44 +00:00
Andy Scherzinger
f5a4274e54
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-29 15:42:11 +01:00
Andy Scherzinger
3eabf9bb83
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-29 12:55:12 +01:00
renovate[bot]
a511903c98 Update dependency com.squareup.retrofit2:retrofit to v2.11.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-29 11:40:02 +01:00
Marcel Hibbe
4c5ffdbae7
replace roomToken with token
roomToken was added unnecessarily as it already exists as "token"

By using the duplicated roomToken, this also introduced a bug when that it could be empty.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-26 16:54:39 +01:00
Marcel Hibbe
4a72735a57
open federated chat after accepting the invite
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-26 16:34:58 +01:00
Marcel Hibbe
03d33731fd
fix to handle invitation panel when userId is the same
with same userId on both servers, the invitation panel could get shown also there were no invitations for the current account

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-26 15:32:18 +01:00
Marcel Hibbe
0e64cd56f7
adapt models to changed federation invitations API
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-26 15:18:48 +01:00
sowjanyakch
ade3182d34
Add string message_last_edited_by
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-03-26 11:38:38 +01:00
Valdnet
018ede1bd7
Unified spelling and remove space
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2024-03-26 11:38:38 +01:00
Valdnet
a458afa521
Change to capital letter
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2024-03-26 11:38:38 +01:00
Nextcloud bot
8191996121
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-26 02:44:54 +00:00
Marcel Hibbe
32f4b59161
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 11:55:33 +01:00
renovate[bot]
0aa863966c
Update dependency io.gitlab.arturbosch.detekt:detekt-formatting to v1.23.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-25 01:30:01 +00:00
Andy Scherzinger
ed216bca85
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-24 20:08:43 +01:00
Andy Scherzinger
ddc7ebb814
Fix naming of app in header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-24 20:06:56 +01:00
Andy Scherzinger
fd470d6186
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-24 20:02:41 +01:00
Andy Scherzinger
9f5ea81442
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-24 19:44:44 +01:00
Andy Scherzinger
bbdb269793
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-24 15:19:21 +01:00
Andy Scherzinger
d1a8669f11
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-24 14:24:57 +01:00
Andy Scherzinger
c2683e0ed0
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-23 17:18:18 +01:00
Marcel Hibbe
a2a2760c9b
Merge pull request #3753 from nextcloud/bumpMasterTo19.1.0alpha1
bump version to 19.1.0 Alpha01
2024-03-22 15:36:14 +01:00
Nextcloud bot
f3c7d83889
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-22 13:10:37 +00:00
Marcel Hibbe
59b706fff8
bump version to 19.1.0 Alpha01
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-22 14:03:37 +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
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
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
c85312b715
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-22 00:14:35 +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
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
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
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
Marcel Hibbe
2cec1637e8
hide call notification setting for federated rooms
because right now it's response is http 406 as calls are not implemented for federation

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-20 17:38:43 +01:00
Marcel Hibbe
7e57ecaf79
hide shared items for federated rooms.
because right now it's response is http 406

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-20 15:57:32 +01:00
Marcel Hibbe
611dcb7911
fix error handling for shared items.
Before this with http 406 it threw a NPE and UI was shown as loading state.
With this commit an empty list is returned when there is a http error.

http 406 happens for federated rooms for now. So it might be that Shared items screen will be hidden by additional commits.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-20 15:53:39 +01:00
Marcel Hibbe
5fead79743
hide actions for federated rooms
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-20 15:22:24 +01:00
renovate[bot]
b9f32800aa
Update retrofit2Version to v2.10.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-20 14:03:08 +01:00
Marcel Hibbe
d15d8d29e6
fix to mark federated rooms as read
As lastMessageId is not available for federatedRooms, the API on server side now allows the messageID to be optional. This is done by this commit: messageId is null when it's a federated room.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-20 13:27:48 +01:00
Marcel Hibbe
b6ab3cde9a
manually bump to 19.0.0 Alpha 03
manual bump because alpha automation failed to bump version because of
"Commits must have verified signatures".
See https://github.com/nextcloud/talk-android/pull/3733#issuecomment-2007183957

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-19 14:42:46 +01:00
Marcel Hibbe
fe82c3f061
manually bump to 19.0.0 Alpha 02
there seems to be something wrong that alpha workflow did not update the apps version.
Thats why gplay complains with
"Google Api Error: forbidden: Cannot update a published APK. - Cannot update a published APK."
because it always tries to upload 19.0.0 Alpha 02.

On nextcloud ftp server, it was most probably always overwritten as there is an up to date alpha2 version.

Seeting the version number to 19.0.0 Alpha 02 should make sure that an alpha 3 is built on next automation run.

The root cause that the version was/is not changed by the automation is still unclear.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-19 14:13:39 +01:00
parneet-guraya
1dce0ca7a0
use id to retain scroll state
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-03-19 13:41:05 +01:00
Andy Scherzinger
8280479aa5
Update mimetype icons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-19 13:37:28 +01:00
sowjanyakch
d80200906d
ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-03-19 13:19:55 +01:00
sowjanyakch
2b1a16415c
Implemented delete-messages-unlimited feature
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-03-19 13:19:55 +01:00
Marcel Hibbe
2e317b134c
use X-Chat-Last-Common-Read to fix read status
Without this commit, the read status was broken as X-Chat-Last-Common-Read was not used. It was removed by
https://github.com/nextcloud/talk-android/pull/3630

As a result all messages were marked as unread after waiting for 30 seconds.

With this commit the X-Chat-Last-Common-Read is used again.
Messages are marked as read again also after 30 seconds.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-19 13:18:09 +01:00
Nextcloud bot
986773e0b4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-18 02:45:04 +00:00
Andy Scherzinger
df38cfccdc
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-17 18:33:33 +01:00
Andy Scherzinger
65662e90c8
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-17 18:19:19 +01:00
Andy Scherzinger
4b0daa6978
Fix kotlin fomatting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-17 14:41:36 +01:00
Andy Scherzinger
96ba967b03
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-17 14:19:56 +01:00
Giacomo Pacini
ee6722bc6f
Merge branch 'master' into master 2024-03-14 15:25:22 +01:00
Sowjanya Kota
a8d9009106
Merge pull request #3712 from nextcloud/bugfix/noid/fixConversationListItemsAfterSearch
fix to hide open conversations after returning from search
2024-03-14 15:23:46 +01:00
Nextcloud bot
bad323280a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-14 02:44:51 +00:00
Giacomo Pacini
2deefb3c0a
Merge remote-tracking branch 'upstream/master' 2024-03-13 18:50:32 +01:00
Giacomo Pacini
064c3809b0
removed some comments, modified indentation, moved some strings to companion object
Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-03-13 18:47:51 +01:00
Giacomo Pacini
ca5a379883
save audio message id and position when activity is destroyed,
also restores view position to that message and then resumes audio playback if was playing.
it allows to continue playing audio on screen rotation.

Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-03-13 18:47:51 +01:00
Giacomo Pacini
b44641c0c7
removed stopMediaPlayer method call in onStop(),
so that audio continues playing when activity in background.
if backpressed, stops mediaplayer

Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-03-13 18:47:50 +01:00
Marcel Hibbe
415349e267
Merge pull request #3716 from nextcloud/fix_recents_screen
Fix Recents Screen
2024-03-13 17:50:37 +01:00
sowjanyakch
353cabc442 Fix Recents Screen
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-03-13 17:37:56 +01:00
Marcel Hibbe
5d0c409d7b
fix to hide open conversations after returning from search
How to test:

pre-requirement:
There are open conversations

without this commit:
1. go to search screen
2. go back to conversation list
-> all open conversations are listed below own conversations

with this commit:
1. go to search screen
2. go back to conversation list
-> only own conversations are listed

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-13 13:07:42 +01:00
Marcel Hibbe
306ac18732
fix placement of contacts header items
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-13 12:45:09 +01:00
Marcel Hibbe
445721487e
dont hide message reactions in MessageActionsDialog for federated rooms
works out of the box after server implemented federated reactions. no client changes needed

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-13 10:25:17 +01:00
Nextcloud bot
a067692662
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-13 04:36:28 +00:00
Andy Scherzinger
13a5c9444f
Migrate to latest bottom sheet theming implementation
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-12 20:21:17 +01:00
Andy Scherzinger
cc0ccdf56c
Update dependency com.github.nextcloud.android-common:ui to v0.18.0
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-12 20:21:17 +01:00
Marcel Hibbe
625de657d4
hide features if federation is not available
+ add capability queries (not yet used)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-12 10:52:58 +01:00
Nextcloud bot
11a7764bad
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-12 02:44:05 +00:00
parneet-guraya
3866beed92
fix remind me later dialog
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-03-11 15:28:38 +01:00
parneet-guraya
e7ef618119
fix filter dialog
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-03-11 15:28:38 +01:00
rakekniven
7dc7c9c99c
fix(i18n): Fixed case of word
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-03-09 15:19:06 +01:00
Nextcloud bot
da0dc5f6ef
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-09 03:11:52 +00:00
Nextcloud bot
57ec680d41
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-08 02:44:28 +00:00
Andy Scherzinger
c8e18a3ab3
Merge pull request #3684 from nextcloud/renovate/mockito-monorepo
fix(deps): update mockito monorepo to v5.11.0
2024-03-07 16:01:06 +01:00
Andy Scherzinger
5625beb4d8
Merge pull request #3697 from nextcloud/renovate/media3_version
fix(deps): update media3_version to v1.3.0
2024-03-07 15:59:39 +01:00
Andy Scherzinger
197f7649bb
Merge pull request #3695 from nextcloud/renovate/androidxcameraversion
fix(deps): update androidxcameraversion to v1.3.2
2024-03-07 15:46:38 +01:00
renovate[bot]
d4d0d625bb
fix(deps): update media3_version to v1.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-07 10:09:25 +00:00
Nextcloud bot
fb6b070273
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-07 02:54:08 +00:00
renovate[bot]
1a1b61c5c4
fix(deps): update androidxcameraversion to v1.3.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 19:09:18 +00:00
Nextcloud bot
c3df939382
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-06 07:02:59 +00:00
Julius Linus
a74c8c552d Popup bubbles now show up + Fixed bugs with images + added new string resource
Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
2024-03-05 09:25:56 -06:00
Marcel Hibbe
ba812cabdc
add rest of SpreedFeatures to Enums
delete method hasSpreedFeatureCapability that accepts capability name as string

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-05 13:31:23 +01:00
parneet-guraya
a483fb7017
add shimmer on top of list & refactoring
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-03-05 13:26:11 +01:00
sowjanyakch
8ff4771e60
Renaming strings from circles to teams.
Signed-off-by: Sowjanya Kota<sowjanya.kch@gmail.com>
2024-03-05 13:20:17 +01:00
parneet-guraya
82a46572d9
wrap inside scroll view
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-03-05 10:48:57 +01:00
parneet-guraya
1881676538
use default constructor for fragment
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-03-05 10:48:56 +01:00
Nextcloud bot
b70b6dfba9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-05 02:44:37 +00:00
renovate[bot]
1ba04dd526
fix(deps): update mockito monorepo to v5.11.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-04 21:23:41 +00:00
renovate[bot]
4029d0aa3f
fix(deps): update dependency com.github.nextcloud.android-common:ui to v0.17.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-04 20:20:03 +00:00
Marcel Hibbe
fcf6c845a7
add compatibility for janus 1.x
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-04 12:59:35 +01:00
Marcel Hibbe
abe9a9d5fb
fix ShareUtilsTest
fix to not assume baseUrl can't be null for mockito 'when' condition

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-04 12:58:40 +01:00
Nextcloud bot
1612639b2e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-02 02:48:15 +00:00
Andy Scherzinger
a9cbb657ee
fix comment
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-01 18:05:32 +01:00
Andy Scherzinger
3c80197908
Update classes path for spotbugs to pick up
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-01 18:03:11 +01:00
renovate[bot]
523ade6250
fix(deps): update coilktversion to v2.6.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-01 13:49:19 +00:00
Andy Scherzinger
1879a4a0cb
Merge pull request #3671 from nextcloud/renovate/daggerversion
fix(deps): update daggerversion to v2.51
2024-03-01 14:43:17 +01:00
Nextcloud bot
688b54efa0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-01 11:10:57 +00:00
Marcel Hibbe
754b825096
pass spreedCapabilities instead user to CapabilitiesUtil
To support federated rooms, capabilities have to be checked from the room which now also has capabilities.
If room is not federated, capabilities fromuser are still checked.
This is why CapabilitiesUtil had to be refactored to accept SpreedCapabilities which can come from room or user.

Other than that, many other changes were made as a result of this change.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-01 11:25:11 +01:00
renovate[bot]
bd5e427b6d
fix(deps): update daggerversion to v2.51
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-29 22:47:00 +00:00
Nextcloud bot
bdd8e534d7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-29 02:43:47 +00:00
Nextcloud bot
c79def1855
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-28 02:53:22 +00:00
Julius Linus
dcc8fc6954
Major refactoring, implements ChatActivity in MVVM to prepare for federation and offline chatting.
Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
2024-02-27 17:52:30 +01:00
Marcel Hibbe
a3ecd82d13
rename MagicWebRTCUtils to WebRTCUtils
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-27 15:23:11 +01:00
Marcel Hibbe
dd6991e39e
remove hardcoded devices for webrtc audio setup
android-talk-webrtc in version 121.6167.0 doesn't allow access to
WebRtcAudioManager
WebRtcAudioUtils
anymore.

These classes were used for
HARDWARE_AEC_EXCLUDE_SET
and
OPEN_SL_ES_INCLUDE_SET
lists, which were not updated for years.

For these reasons the checks for HARDWARE_AEC_EXCLUDE_SET and OPEN_SL_ES_INCLUDE_SET are removed.
If people are complaining about different behaviour of audio performance/echoes, it's worth to have a closer look at the changes again.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-27 15:23:11 +01:00
Marcel Hibbe
8c47b89ce5
fix ktlint warnings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-27 15:15:56 +01:00
renovate[bot]
66c643a0e8
fix(deps): update dependency com.github.nextcloud-deps:android-talk-webrtc to v121
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-27 13:25:02 +00:00
Nextcloud bot
1c8d2b0dce
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-27 02:43:36 +00:00
Andy Scherzinger
6739086584
Merge pull request #3661 from nextcloud/renovate/com.github.nextcloud.android-common-ui-0.x
fix(deps): update dependency com.github.nextcloud.android-common:ui to v0.16.0
2024-02-26 18:20:30 +01:00
Andy Scherzinger
e2dbf0cdbe
Merge pull request #3662 from nextcloud/renovate/com.h3xstream.findsecbugs-findsecbugs-plugin-1.x
fix(deps): update dependency com.h3xstream.findsecbugs:findsecbugs-plugin to v1.13.0
2024-02-26 18:04:32 +01:00
Marcel Hibbe
fde635d61b
show test notification + modify doc
show test notification from
occ notification:test-push --talk username

This will directly show the push notification without to fetch any data from nextcloud instance.

Additionally some additions to documentation were made

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-26 16:52:41 +01:00
renovate[bot]
82ea36e598
fix(deps): update dependency com.h3xstream.findsecbugs:findsecbugs-plugin to v1.13.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 15:52:31 +00:00
renovate[bot]
403babcc86
fix(deps): update dependency com.github.nextcloud.android-common:ui to v0.16.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 15:51:21 +00:00
Marcel Hibbe
c13f2589ff
handle federation invitations
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-26 16:45:55 +01:00
Nextcloud bot
2c911d998a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-25 02:44:43 +00:00
Nextcloud bot
18e0ae31bc
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-21 02:41:28 +00:00
Nextcloud bot
094ecea457
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-20 02:40:30 +00:00
renovate[bot]
e51413f78f
fix(deps): update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.6.3 2024-02-19 09:53:38 +00:00
Marcel Hibbe
f64bd87d84
Merge remote-tracking branch 'origin/master' into feature/edit_messages 2024-02-19 09:27:20 +01:00
Nextcloud bot
a8aa3e42a4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-19 02:43:20 +00:00
Nextcloud bot
8768a901cd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-18 02:43:10 +00:00
Marcel Hibbe
9a4bf14e09
Merge remote-tracking branch 'origin/master' into feature/edit_messages 2024-02-16 17:09:03 +01:00
Marcel Hibbe
1b9fb81e61
bump version to 19.0.0 Alpha 01
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-16 16:34:17 +01:00
Marcel Hibbe
e3c0d500d8
remove FOREGROUND_SERVICE_PHONE_CALL
FOREGROUND_SERVICE_PHONE_CALL is removed because it is not necessary.

Seems it was introduced when moving to Android 14 because NCFirebaseMessagingService originally contained android:foregroundServiceType="phoneCall"

But this foregroundServiceType is not allowed/necessary for NCFirebaseMessagingService so it was removed, but it was forgotten to also remove FOREGROUND_SERVICE_PHONE_CALL permission.

This commit will remove FOREGROUND_SERVICE_PHONE_CALL permission so release process on gplay won't complain.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-16 16:01:23 +01:00
Marcel Hibbe
2a856bc77a
avoid to send "speaking" data channel message when mic is muted
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-16 13:06:56 +01:00
parneet-guraya
d63fc58a62
remove class level notification property
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-02-16 11:30:03 +01:00
parneet-guraya
d6201cf796
use new builder for failure notification
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-02-16 11:30:03 +01:00
parneet-guraya
94a1238f28
create notification group using summary notification
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-02-16 11:30:03 +01:00
renovate[bot]
2f0cff3a73
fix(deps): update dependency com.github.nextcloud.android-common:ui to v0.15.0 2024-02-15 14:25:27 +00:00
sowjanyakch
4e9f62e400 Added content description for ImageView.
Signed-off-by: Sowjanya Kota<sowjanya.kch@gmail.com>
2024-02-14 17:30:33 +01:00
sowjanyakch
861b565c01 Added date to editor details and changes related to design.
Signed-off-by: Sowjanya Kota<sowjanya.kch@gmail.com>
2024-02-14 16:08:13 +01:00
sowjanyakch
8d4c0fb57c Minor UI improvements
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-02-13 11:47:39 +01:00
Andy Scherzinger
edeb23781b
Merge pull request #3622 from nextcloud/renovate/joda-time-joda-time-2.x
fix(deps): update dependency joda-time:joda-time to v2.12.7
2024-02-12 13:10:37 +01:00
Nextcloud bot
d71c73bfe3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-12 02:41:48 +00:00
Nextcloud bot
740cf529c8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-10 02:53:53 +00:00
Marcel Hibbe
6708aeebad
fix to show message as edited after editing on own device
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-09 11:16:21 +01:00
Marcel Hibbe
4e4cb26862
fix to update adapter for "edited messages" by system message
This will update the message when an edit was made on other devices.
So the system message will trigger that you are informed about a change. But instead to show the system message, you use it's information to immediately update the adapter.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-09 11:14:00 +01:00