Commit graph

9363 commits

Author SHA1 Message Date
sowjanyakch
f20ec95b5f
Avoid conflicting overloads
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-12 17:26:26 +02:00
sowjanyakch
3946240e4f
Add verification metadata
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-12 17:26:26 +02:00
sowjanyakch
f8bc4f2e96
upload conversation avatar
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-12 17:26:25 +02:00
sowjanyakch
fa014aab3a
Make pickImage work
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-12 17:26:25 +02:00
sowjanyakch
df6d54d51c
Add endpoints upload and delete Conversation Avatar
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-12 17:26:25 +02:00
Marcel Hibbe
9976767591
Merge pull request #4193 from nextcloud/bugfix/4168/doNotPullMessagesWhenOfflineOrPaused
do not try to pull chat messages when offline or paused
2024-09-12 17:24:21 +02:00
Marcel Hibbe
50c9cfdb54
Merge pull request #4194 from nextcloud/bugfix/noid/delayWebsocketReconnect
sleep one second before websocket reconnect
2024-09-12 12:02:43 +02:00
Nextcloud bot
9a44a9bf19
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-12 02:50:22 +00:00
Marcel Hibbe
24c27d0029
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-11 17:21:41 +02:00
Marcel Hibbe
9a14764321
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-11 17:05:07 +02:00
Julius Linus
e7d596f402
Merge pull request #4191 from nextcloud/bugfix/4012/fixIconColors
remove theming of call buttons to remove disabled look for dark mode
2024-09-11 08:09:50 -05:00
Marcel Hibbe
796053e271
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:49:20 +02:00
Sowjanya Kota
58474dd97f
Merge pull request #4177 from nextcloud/bugfix/3993/fixFlickeringUnreadMentionPopup
Bugfix/3993/fix flickering unread mention popup
2024-09-11 11:43:51 +02:00
Marcel Hibbe
6ddf06e9fd
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 11:11:56 +02:00
Marcel Hibbe
4209bfa2b4
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 11:11:56 +02:00
Marcel Hibbe
bef414fc10
fix logic to show UnifiedSearch results when federation capability exists
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-11 11:11:56 +02:00
Marcel Hibbe
270d76554f
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 11:11:56 +02:00
Sowjanya Kota
e7d6dfd060
Merge pull request #4180 from nextcloud/bugfix/4175/setBackgroundColorForPasswordDialog
set background color for password dialog
2024-09-11 11:08:53 +02:00
Marcel Hibbe
5921faa8a8
set background color for password dialog
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-11 10:16:26 +02:00
Marcel Hibbe
14752c6ec4
Merge pull request #4182 from nextcloud/select_search_contacts
Select contacts from search
2024-09-11 10:02:39 +02:00
Marcel Hibbe
2549e884fd
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 09:56:54 +02:00
sowjanyakch
3d1644a76d
Avoid conflicting overloads
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-11 09:31:13 +02:00
sowjanyakch
082669a3bf
ktlint Format
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-11 09:30:41 +02:00
sowjanyakch
06e48c6aad
Set background color for search
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-11 09:30:41 +02:00
sowjanyakch
922c329fab
Fix bug - select contacts onclick
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-11 09:30:41 +02:00
sowjanyakch
9fcb1427db
Make contacts select and deselect via search
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-11 09:30:41 +02:00
sowjanyakch
f374e6fe50
ConversationCreationActivity UI
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-11 09:30:37 +02:00
Nextcloud bot
4fd9428fb4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-11 02:58:58 +00:00
github-actions[bot]
9a83f55212
Merge pull request #4186 from nextcloud/renovate/androidx.compose-compose-bom-2024.x
fix(deps): update dependency androidx.compose:compose-bom to v2024.09.01
2024-09-10 22:42:36 +02:00
renovate[bot]
8f68d28016
fix(deps): update dependency androidx.compose:compose-bom to v2024.09.01
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 20:32:37 +00:00
github-actions[bot]
de42705e34
Merge pull request #4185 from nextcloud/renovate/androidx.compose.ui-ui-test-junit4-1.x
fix(deps): update dependency androidx.compose.ui:ui-test-junit4 to v1.7.1
2024-09-10 22:18:39 +02:00
renovate[bot]
2d46532f9f
fix(deps): update dependency androidx.compose.ui:ui-test-junit4 to v1.7.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 20:11:30 +00:00
github-actions[bot]
c34db5fef1
Merge pull request #4184 from nextcloud/renovate/androidx.compose.runtime-runtime-1.x
fix(deps): update dependency androidx.compose.runtime:runtime to v1.7.1
2024-09-10 22:02:38 +02:00
renovate[bot]
beece3d892
fix(deps): update dependency androidx.compose.runtime:runtime to v1.7.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 19:54:03 +00:00
Joas Schilling
5fd20ac8e3
Merge pull request #4181 from nextcloud/ci/noid/update-workflow-109
ci: Update workflows
2024-09-10 11:40:13 +02:00
Joas Schilling
87e08d3b96
ci: Update workflows
[skip-ci]

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-10 11:39:27 +02:00
Nextcloud bot
216b9d8c0a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-10 04:22:23 +00:00
github-actions[bot]
115efdab5d
Merge pull request #4178 from nextcloud/renovate/actions-setup-java-4.x
Update actions/setup-java action to v4.3.0
2024-09-09 17:56:59 +02:00
renovate[bot]
b672ccb1af
Update actions/setup-java action to v4.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-09 15:31:01 +00:00
github-actions[bot]
b67fcadec1
Merge pull request #4174 from nextcloud/renovate/gradle-8.x
Update dependency gradle to v8.10.1
2024-09-09 10:46:34 +02:00
renovate[bot]
356b37c61b
Update dependency gradle to v8.10.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-09 08:41:28 +00:00
Nextcloud bot
214fd0a803
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-09 04:17:30 +00:00
github-actions[bot]
a8268cd7d2
Merge pull request #4171 from nextcloud/renovate/io.gitlab.arturbosch.detekt-detekt-gradle-plugin-1.x
Update dependency io.gitlab.arturbosch.detekt:detekt-gradle-plugin to v1.23.7
2024-09-08 19:13:20 +02:00
github-actions[bot]
2d767a4c37
Merge pull request #4170 from nextcloud/renovate/io.gitlab.arturbosch.detekt-detekt-formatting-1.x
Update dependency io.gitlab.arturbosch.detekt:detekt-formatting to v1.23.7
2024-09-08 19:11:25 +02:00
renovate[bot]
e83e9fa8df
Update dependency io.gitlab.arturbosch.detekt:detekt-gradle-plugin to v1.23.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-08 17:03:43 +00:00
renovate[bot]
b2ebafaf2d
Update dependency io.gitlab.arturbosch.detekt:detekt-formatting to v1.23.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-08 17:00:40 +00:00
Nextcloud bot
758e454702
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-08 04:54:22 +00:00
Nextcloud bot
60ecfa72c5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-07 06:12:22 +00: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