Commit graph

9502 commits

Author SHA1 Message Date
Marcel Hibbe
6c20cdc2a4 fix order of queued messages
add delay between sending of queued messages to increase the chance they are received on server in the correct order. This is not the best solution though as it blocks the UI a bit so may have to be improved!

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-13 13:30:01 +00:00
rapterjet2004
731d1bf7ca Implement queued messages for offline support
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-09-13 13:30:00 +00:00
Marcel Hibbe
d3b9bd3c7a
Merge pull request #4201 from nextcloud/backport/4196/stable-20.0
[stable-20.0] User avatar selection
2024-09-12 17:31:17 +02:00
sowjanyakch
516d02fbbc Make avatar circular
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-12 15:30:59 +00:00
sowjanyakch
9712c8d445 Avoid conflicting overloads
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-12 15:30:59 +00:00
sowjanyakch
a7051fe1b4 Add verification metadata
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-12 15:30:58 +00:00
sowjanyakch
b3bd53b558 upload conversation avatar
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-12 15:30:58 +00:00
sowjanyakch
c7a9b00f43 Make pickImage work
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-12 15:30:58 +00:00
sowjanyakch
d422bb870f Add endpoints upload and delete Conversation Avatar
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-12 15:30:58 +00:00
Marcel Hibbe
02520efa7c
Merge pull request #4200 from nextcloud/backport/4193/stable-20.0
[stable-20.0] do not try to pull chat messages when offline or paused
2024-09-12 17:24:43 +02:00
Marcel Hibbe
ad71cf98e4 do not try to pull chat messages when offline or paused
Otherwise, it resulted in a lot of flickering because _lastCommonReadFlow was emitted every 500ms. And anyway if we know we are offline or paused then it doesn't make sense to execute the sync method.

chain which caused the flickering was:
updateUiForLastCommonRead (_lastCommonReadFlow) -> updateReadStatusOfAllMessages - notifyDataSetChanged -> onBindViewHolder -> IncomingLinkPreviewMessageViewHolder

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-12 15:24:26 +00:00
Marcel Hibbe
c00eadefb4
Merge pull request #4197 from nextcloud/backport/4194/stable-20.0
[stable-20.0] sleep one second before websocket reconnect
2024-09-12 12:03:10 +02:00
Marcel Hibbe
2fa51552b2 sleep one second before websocket reconnect
otherwise it's an endless loop without delay which may stress the devices...

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-12 10:02:52 +00:00
Nextcloud bot
f6c34e65f0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-12 02:51:05 +00:00
Marcel Hibbe
6bfe82527a
Merge pull request #4192 from nextcloud/backport/4191/stable-20.0
[stable-20.0] remove theming of call buttons to remove disabled look for dark mode
2024-09-11 15:15:06 +02:00
Marcel Hibbe
e4c364e1ea remove theming of call buttons to remove disabled look for dark mode
In dark mode, the call buttons looked like disabled otherwise.

There is still the 3-dots menu next to the call icons like disabled for dark and light mode. But this is a different bug that needs to be fixed in another branch(could not find the reason for now).

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-11 13:09:55 +00:00
Marcel Hibbe
10eb7a55fb
Merge pull request #4188 from nextcloud/backport/4180/stable-20.0
[stable-20.0] set background color for password dialog
2024-09-11 12:48:37 +02:00
Marcel Hibbe
e492d32dd4
Merge pull request #4189 from nextcloud/backport/4177/stable-20.0
[stable-20.0] Bugfix/3993/fix flickering unread mention popup
2024-09-11 12:48:21 +02:00
Marcel Hibbe
660d157061 improve to align unread conversation after tapping on unread mentions button
...instead to just show it on top

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-11 09:43:58 +00:00
Marcel Hibbe
02be0d13c7 fix to set searchBehaviorSubject regardless of searchHelper being not null
same for swipeRefreshLayoutView?.isRefreshing

If searchHelper would be null (= when UnifiedSearch is not available) then going back to conversations list view would not trigger to check to show for unread mentions bubble. This fix will make it independent from searchHelper.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-11 09:43:58 +00:00
Marcel Hibbe
05bf66b6d9 fix logic to show UnifiedSearch results when federation capability exists
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-11 09:43:58 +00:00
Marcel Hibbe
d150568ae6 fix flickering of unread mention bubble
bug was introduced with https://github.com/nextcloud/talk-android/pull/3417

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-11 09:43:58 +00:00
Marcel Hibbe
bf1b5d70a6 set background color for password dialog
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-11 09:08:58 +00:00
Marcel Hibbe
e66c03d2f0
Merge pull request #4187 from nextcloud/backport/4182/stable-20.0
[stable-20.0] Select contacts from search
2024-09-11 10:04:05 +02:00
Marcel Hibbe
d48a192a9b change background color for searchbar in contacts screen
not the best solution. Needs to be improved with theming of Compose.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-11 08:03:26 +00:00
sowjanyakch
2747792bec Avoid conflicting overloads
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-11 08:03:26 +00:00
sowjanyakch
f87e34247b ktlint Format
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-11 08:03:26 +00:00
sowjanyakch
bd7faf1d05 Set background color for search
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-11 08:03:26 +00:00
sowjanyakch
0b5848d22f Fix bug - select contacts onclick
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-11 08:03:26 +00:00
sowjanyakch
d6fc5ada4b Make contacts select and deselect via search
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-11 08:03:26 +00:00
sowjanyakch
60eed856d6 ConversationCreationActivity UI
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-11 08:03:26 +00:00
Nextcloud bot
9d48b85bc9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-11 02:59:40 +00:00
Nextcloud bot
a7bd0099a5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-10 04:23:06 +00:00
Nextcloud bot
8d40c83ae2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-09 04:18:31 +00:00
Nextcloud bot
890ab654f7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-08 04:55:17 +00:00
Nextcloud bot
4bd3e3a403
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-07 06:13:20 +00:00
Marcel Hibbe
4a46af32fe
bump version to 20.0.0 RC2
did a git hard reset to master for this time because backporting became too complicated :(

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-06 17:24:48 +02:00
Marcel Hibbe
0d96a15906
Merge pull request #4165 from nextcloud/bugfix/4134/fixNpeBaseUrl
fix NPE when baseUrl is missing
2024-09-06 15:45:22 +02:00
Marcel Hibbe
6858b32f2b
fix NPE when baseUrl is missing
no idea how this happens, however this was
reported via gplay pre launch report for 20.0.0RC1
("Detected on 10 devices during testing"):

Exception java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.nextcloud.talk.data.user.model.User.getBaseUrl()' on a null object reference
  at com.nextcloud.talk.activities.BaseActivity.startActivity (BaseActivity.kt:240)
  at com.nextcloud.talk.account.ServerSelectionActivity.showVisitProvidersInfo$lambda$5 (ServerSelectionActivity.kt:206)
  at com.nextcloud.talk.account.ServerSelectionActivity.$r8$lambda$pjpPT-LQbGLSCJPXeRE8IJvpLIE
  at com.nextcloud.talk.account.ServerSelectionActivity$$ExternalSyntheticLambda0.onClick (D8$$SyntheticClass)
  at android.view.View.performClick (View.java:7506)
  at android.view.View.performClickInternal (View.java:7483)
  at android.view.View.-$$Nest$mperformClickInternal
  at android.view.View$PerformClick.run (View.java:29335)
  at android.os.Handler.handleCallback (Handler.java:942)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at androidx.test.espresso.base.Interrogator.loopAndInterrogate (Interrogator.java:10)
  at androidx.test.espresso.base.UiControllerImpl.loopUntil (UiControllerImpl.java:7)
  at androidx.test.espresso.base.UiControllerImpl.loopUntil (UiControllerImpl.java:1)
  at androidx.test.espresso.base.UiControllerImpl.injectMotionEvent (UiControllerImpl.java:5)
  at androidx.test.espresso.action.MotionEvents.sendUp (MotionEvents.java:6)
  at androidx.test.espresso.action.MotionEvents.sendUp (MotionEvents.java:1)
  at androidx.test.espresso.action.Tap.sendSingleTap (Tap.java:5)
  at androidx.test.espresso.action.Tap.-$$Nest$smsendSingleTap
  at androidx.test.espresso.action.Tap$1.sendTap (Tap.java:1)
  at androidx.test.espresso.action.GeneralClickAction.perform (GeneralClickAction.java:4)
  at androidx.test.espresso.ViewInteraction$SingleExecutionViewAction.perform (ViewInteraction.java:2)
  at androidx.test.espresso.ViewInteraction.doPerform (ViewInteraction.java:23)
  at androidx.test.espresso.ViewInteraction.-$$Nest$mdoPerform
  at androidx.test.espresso.ViewInteraction$1.call (ViewInteraction.java:6)
  at androidx.test.espresso.ViewInteraction$1.call (ViewInteraction.java:1)
  at java.util.concurrent.FutureTask.run (FutureTask.java:264)
  at android.os.Handler.handleCallback (Handler.java:942)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loopOnce (Looper.java:201)
  at android.os.Looper.loop (Looper.java:288)
  at android.app.ActivityThread.main (ActivityThread.java:7898)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:548)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:936)

If baseUrl is really missing this may lead to followup issues, however this maybe only 'happens' in gplay pre launch report without any real world scenario. A best solution may be to make baseUrl not nullable, but don't want to do this on short term before release..

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-06 15:38:13 +02:00
Marcel Hibbe
06f5c0b7c8
Merge pull request #4162 from nextcloud/bugfix/4078/fixSelfReactionWhenReEnteringChat
Bugfix/4078/fix self reaction when re entering chat
2024-09-06 15:26:01 +02:00
Marcel Hibbe
129ba94af5
Merge pull request #4139 from nextcloud/bugfix/4010/fixSendTextToTalkApp
fix to display text that was sent to app via "share to"
2024-09-06 15:25:49 +02:00
Marcel Hibbe
a0a388cc07
fix to switch background color between incoming&outgoing reaction
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-06 14:32:00 +02:00
Marcel Hibbe
f53f9381b8
fix to always render selfReactions with background color
= fix type of list in stringToArrayList

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-06 14:32:00 +02:00
github-actions[bot]
619d0f33f5
Merge pull request #4160 from nextcloud/renovate/junit5-monorepo
Update dependency org.junit.vintage:junit-vintage-engine to v5.11.0
2024-09-06 09:30:40 +00:00
renovate[bot]
dcd8782bbb
Update dependency org.junit.vintage:junit-vintage-engine to v5.11.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-06 09:20:29 +00:00
Marcel Hibbe
092499ce92
Merge pull request #4100 from nextcloud/restore-broken-tests
Revert "fix: deactivate broken test and remove test platform config"
2024-09-06 11:15:10 +02:00
Nextcloud bot
7fc47de696
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-06 03:20:33 +00:00
github-actions[bot]
4a75df6faa
Merge pull request #4112 from nextcloud/renovate/com.google.firebase-firebase-messaging-24.x
Update dependency com.google.firebase:firebase-messaging to v24.0.1
2024-09-06 01:19:01 +02:00
renovate[bot]
87011cc020
Update dependency com.google.firebase:firebase-messaging to v24.0.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 23:07:55 +00:00
github-actions[bot]
c4140062b2
Merge pull request #4158 from nextcloud/renovate/com.google.devtools.ksp-2.x
Update plugin com.google.devtools.ksp to v2.0.20-1.0.25
2024-09-06 00:09:34 +02:00