Commit Graph

8105 Commits

Author SHA1 Message Date
Marcel Hibbe
af0294bb00
show maintenance warning in conv list on top
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-03-13 11:05:21 +01:00
Marcel Hibbe
c90f138f42
rename SetStatusBarColor to SetupSystemBars
(as it also colors the navigation bar buttons..)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-03-13 09:52:44 +01:00
Marcel Hibbe
7b5e404814
use common SetStatusBarColor component also for ConversationCreationActivity
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-03-13 09:52:43 +01:00
Marcel Hibbe
773a6295ba
color navigation buttons
(= set more contrast by fixing dark mode logic)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-03-13 09:52:43 +01:00
Marcel Hibbe
aeb50c6b68
fix to color status-bar with theming
SetStatusBarColor() was called outside of the MaterialTheme() block

Also, "surface" has to be used to get the 'light primary color'

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-03-13 09:52:42 +01:00
Nextcloud bot
6fa7b8f177
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-13 03:13:40 +00:00
Nextcloud bot
a08212cf34
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-12 03:11:42 +00:00
Nextcloud Android Bot
f08eaeb53a Weekly 21.1.0 Alpha 09 2025-03-10 03:10:21 +00:00
Nextcloud bot
9c595bf40b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-07 03:07:30 +00:00
Marcel Hibbe
869c8154d7
Merge pull request #4761 from nextcloud/edit_bot_messages
Edit bot messages in 1:1 conversations
2025-03-06 12:45:47 +00:00
sowjanyakch
e1830ce296
layout changes
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-03-06 13:30:18 +01:00
sowjanyakch
2604c56263
edit bot messages
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-03-06 13:30:18 +01:00
sowjanyakch
546e6abec4
fix detekt
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-03-06 13:22:06 +01:00
sowjanyakch
2ef4ff6e40
ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-03-06 13:22:06 +01:00
sowjanyakch
c0376c8eed
uploading file works for first time users
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-03-06 13:22:05 +01:00
sowjanyakch
2081a501a4
use proper url
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-03-06 13:22:05 +01:00
sowjanyakch
ef4d83a691
create a new folder
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-03-06 13:22:05 +01:00
sowjanyakch
bb581d0862
didn't set read timeout
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-03-06 13:22:05 +01:00
sowjanyakch
40cac86350
create folder for new users
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-03-06 13:22:04 +01:00
Marcel Hibbe
2b0a38240c
move AppBar component to component package on root level
+ add string
+ remove unused resources

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-03-06 09:12:06 +01:00
Marcel Hibbe
c2177f689b
move SetStatusBarColor component to component package on root level
however, the color still needs to be fixed

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-03-06 09:12:06 +01:00
Marcel Hibbe
3723599c68
move filebrowser package out of components package
... as "components" package should be used for jetpack compose components that can be shared for multiple screens

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-03-06 09:12:06 +01:00
Marcel Hibbe
6ed17603d6
migrate dropdown menu
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-03-06 09:12:05 +01:00
Marcel Hibbe
84ce5df2d7
migrate diagnosis screen to compose
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-03-06 09:12:05 +01:00
Nextcloud bot
773acf49e7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-06 03:08:39 +00:00
Nextcloud bot
258636cabc
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-05 03:08:21 +00:00
github-actions[bot]
052cfafc06
Merge pull request #4778 from nextcloud/renovate/mockito-monorepo
fix(deps): update mockito monorepo to v5.16.0
2025-03-04 22:24:53 +00:00
renovate[bot]
8942335711
fix(deps): update mockito monorepo to v5.16.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-04 22:15:04 +00:00
rapterjet2004
d26697b932
Abstracting away media player functionality to MediaPlayerManager
- Most code removed from ChatActivity
- Most work in MediaPlayerManager
- Added BackgroundVoiceMessageCard

Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-03-04 16:02:12 -06:00
Nextcloud Android Bot
459913d5d2 Weekly 21.1.0 Alpha 08 2025-03-03 03:14:19 +00:00
Nextcloud bot
e07589fb69
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-28 03:07:45 +00:00
renovate[bot]
e473bf9c8c
chore(deps): update plugin com.google.devtools.ksp to v2.1.10-1.0.31
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-27 21:42:34 +00:00
Nextcloud bot
1dddd1cdd3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-27 03:11:26 +00:00
renovate[bot]
394b9c8700
fix(deps): update dependency androidx.exifinterface:exifinterface to v1.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-27 01:47:27 +00:00
renovate[bot]
8833d27bf9
fix(deps): update dependency androidx.datastore:datastore-preferences to v1.1.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-26 22:06:54 +00:00
github-actions[bot]
2c7edf1105
Merge pull request #4766 from nextcloud/renovate/androidx.datastore-datastore-core-1.x
fix(deps): update dependency androidx.datastore:datastore-core to v1.1.3
2025-02-26 21:52:31 +00:00
renovate[bot]
aa3a27425b
fix(deps): update dependency androidx.datastore:datastore-core to v1.1.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-26 21:42:18 +00:00
renovate[bot]
37db0f4dac
fix(deps): update dependency androidx.constraintlayout:constraintlayout to v2.2.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-26 21:40:30 +00:00
Nextcloud bot
fb4148541c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-26 03:08:01 +00:00
Nextcloud bot
41aaa96128
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-25 03:16:38 +00:00
Nextcloud Android Bot
04d2f056b8 Weekly 21.1.0 Alpha 07 2025-02-24 03:12:13 +00:00
Nextcloud bot
d0b18a01cf
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-22 03:03:02 +00:00
renovate[bot]
1976cd042c
fix(deps): update dependency org.junit.vintage:junit-vintage-engine to v5.12.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-21 15:44:15 +00:00
renovate[bot]
9424805042
fix(deps): update dependency io.gitlab.arturbosch.detekt:detekt-formatting to v1.23.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-21 13:12:49 +00:00
Marcel Hibbe
17f43e8b42
avoid Npe for adapter.
A NPE was reported for ConversationsListActivity.kt:537

Adapter is accessed with !! while it is not safe to access in term of lifecycle.
So there could have been a race condition.
The overall problem is not solved and may even have to wait for migration to Compose.
This is just a quickfix for v21.0.0

Reported crash was :

Exception java.lang.NullPointerException:
  at com.nextcloud.talk.conversationlist.ConversationsListActivity.filterConversation (ConversationsListActivity.kt:537)
  at com.nextcloud.talk.conversationlist.ConversationsListActivity.setConversationList (ConversationsListActivity.kt:472)
  at com.nextcloud.talk.conversationlist.ConversationsListActivity.access$setConversationList (ConversationsListActivity.kt:158)
  at com.nextcloud.talk.conversationlist.ConversationsListActivity$initObservers$5$1.invokeSuspend (ConversationsListActivity.kt:398)
  at com.nextcloud.talk.conversationlist.ConversationsListActivity$initObservers$5$1.invoke (Unknown Source:8)
  at com.nextcloud.talk.conversationlist.ConversationsListActivity$initObservers$5$1.invoke (Unknown Source:4)
  at kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2.emit (Emitters.kt:219)
  at kotlinx.coroutines.flow.FlowKt__ErrorsKt$catchImpl$2.emit (Errors.kt:154)
  at kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2.emit (Emitters.kt:220)
  at kotlinx.coroutines.flow.SharedFlowImpl.collect$suspendImpl (SharedFlow.kt:392)
  at kotlinx.coroutines.flow.SharedFlowImpl.collect (Unknown Source)
  at kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1.collect (SafeCollector.common.kt:112)
  at kotlinx.coroutines.flow.FlowKt__ErrorsKt.catchImpl (Errors.kt:152)
  at kotlinx.coroutines.flow.FlowKt.catchImpl (Unknown Source:1)
  at kotlinx.coroutines.flow.FlowKt__ErrorsKt$catch$$inlined$unsafeFlow$1.collect (SafeCollector.common.kt:112)
  at kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1.collect (SafeCollector.common.kt:112)
  at kotlinx.coroutines.flow.FlowKt__CollectKt.collect (Collect.kt:26)
  at kotlinx.coroutines.flow.FlowKt.collect (Unknown Source:1)
  at com.nextcloud.talk.conversationlist.ConversationsListActivity$initObservers$5.invokeSuspend (ConversationsListActivity.kt:399)
  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:33)
  at kotlinx.coroutines.internal.DispatchedContinuationKt.resumeCancellableWith (DispatchedContinuation.kt:363)
  at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable (Cancellable.kt:26)
  at kotlinx.coroutines.intrinsics.CancellableKt.startCoroutineCancellable$default (Cancellable.kt:21)
  at kotlinx.coroutines.CoroutineStart.invoke (CoroutineStart.kt:88)
  at kotlinx.coroutines.AbstractCoroutine.start (AbstractCoroutine.kt:123)
  at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch (Builders.common.kt:52)
  at kotlinx.coroutines.BuildersKt.launch (Unknown Source:1)
  at kotlinx.coroutines.BuildersKt__Builders_commonKt.launch$default (Builders.common.kt:43)
  at kotlinx.coroutines.BuildersKt.launch$default (Unknown Source:1)
  at com.nextcloud.talk.conversationlist.ConversationsListActivity.initObservers (ConversationsListActivity.kt:395)
  at com.nextcloud.talk.conversationlist.ConversationsListActivity.onCreate (ConversationsListActivity.kt:261)
  at android.app.Activity.performCreate (Activity.java:9149)
  at android.app.Activity.performCreate (Activity.java:9127)
  at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1526)
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:4152)
  at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:4361)
  at android.app.ActivityThread.handleRelaunchActivityInner (ActivityThread.java:6446)
  at android.app.ActivityThread.handleRelaunchActivity (ActivityThread.java:6329)
  at android.app.servertransaction.ActivityRelaunchItem.execute (ActivityRelaunchItem.java:82)
  at android.app.servertransaction.ActivityTransactionItem.execute (ActivityTransactionItem.java:60)
  at android.app.servertransaction.TransactionExecutor.executeNonLifecycleItem (TransactionExecutor.java:174)
  at android.app.servertransaction.TransactionExecutor.executeTransactionItems (TransactionExecutor.java:109)
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:81)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2747)
  at android.os.Handler.dispatchMessage (Handler.java:112)
  at android.os.Looper.loopOnce (Looper.java:268)
  at android.os.Looper.loop (Looper.java:384)
  at android.app.ActivityThread.main (ActivityThread.java:8921)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:580)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:907)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-21 12:35:20 +01:00
Nextcloud bot
8aeaffa2bb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-21 03:01:29 +00:00
Marcel Hibbe
7615b92f14
extract Composables to files and simplify passed parameters
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-20 15:31:35 +01:00
Andy Scherzinger
2d37bb250b
style: Update twitter icon to X icon
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-02-20 11:37:55 +01:00
Andy Scherzinger
95e7e9c828
style: Update icons from Material Design to Material Symbols
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-02-20 11:37:54 +01:00
Nextcloud bot
43170a5cdf
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-20 03:05:31 +00:00
Nextcloud Android Bot
c50900802c Weekly 21.1.0 Alpha 06 2025-02-19 13:08:52 +00:00
Sowjanya Kota
e648b8846a
Merge pull request #4740 from nextcloud/bugfix/noid/improveContactsActivityDesign
Bugfix/noid/improve contacts activity design
2025-02-18 17:39:20 +01:00
Sowjanya Kota
8d7ce9fc5e
Merge pull request #4738 from nextcloud/bugfix/4701/avoidUninitializedInternalConvId
init other data earlier than ConversationModel
2025-02-18 15:50:00 +01:00
Marcel Hibbe
c5517c8426
fix background color for conversation creation
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-18 14:55:10 +01:00
Marcel Hibbe
903bed8fb4
improve colors for searchbar
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-18 14:55:10 +01:00
Marcel Hibbe
83c0d0b150
fix colors for header
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-18 14:55:10 +01:00
Marcel Hibbe
f76634511c
fix background color for contacts activity
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-18 14:55:09 +01:00
Marcel Hibbe
754e8a86fd
check if scope is initialized before canceling
without this fix, the scope may not have been initialized which threw the following exception:

Exception java.lang.RuntimeException:
  at android.app.ActivityThread.callActivityOnStop (ActivityThread.java:5658)
  at android.app.ActivityThread.performStopActivityInner (ActivityThread.java:5630)
  at android.app.ActivityThread.handleStopActivity (ActivityThread.java:5695)
  at android.app.servertransaction.StopActivityItem.execute (StopActivityItem.java:43)
  at android.app.servertransaction.ActivityTransactionItem.execute (ActivityTransactionItem.java:60)
  at android.app.servertransaction.TransactionExecutor.executeLifecycleItem (TransactionExecutor.java:282)
  at android.app.servertransaction.TransactionExecutor.executeTransactionItems (TransactionExecutor.java:150)
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:93)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2595)
  at android.os.Handler.dispatchMessage (Handler.java:107)
  at android.os.Looper.loopOnce (Looper.java:232)
  at android.os.Looper.loop (Looper.java:317)
  at android.app.ActivityThread.main (ActivityThread.java:8592)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:580)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:878)
Caused by kotlin.UninitializedPropertyAccessException: lateinit property scope has not been initialized
  at com.nextcloud.talk.chat.data.network.OfflineFirstChatRepository.handleOnStop (OfflineFirstChatRepository.kt:807)
  at com.nextcloud.talk.chat.viewmodels.ChatViewModel.onStop (ChatViewModel.kt:103)
  at androidx.lifecycle.DefaultLifecycleObserverAdapter.onStateChanged (DefaultLifecycleObserverAdapter.kt:28)
  at androidx.lifecycle.LifecycleRegistry$ObserverWithState.dispatchEvent (LifecycleRegistry.jvm.kt:320)
  at androidx.lifecycle.LifecycleRegistry.backwardPass (LifecycleRegistry.jvm.kt:272)
  at androidx.lifecycle.LifecycleRegistry.sync (LifecycleRegistry.jvm.kt:289)
  at androidx.lifecycle.LifecycleRegistry.moveToState (LifecycleRegistry.jvm.kt:142)
  at androidx.lifecycle.LifecycleRegistry.handleLifecycleEvent (LifecycleRegistry.jvm.kt:124)
  at androidx.lifecycle.ReportFragment$Companion.dispatch$lifecycle_runtime_release (ReportFragment.android.kt:190)
  at androidx.lifecycle.ReportFragment$LifecycleCallbacks.onActivityPreStopped (ReportFragment.android.kt:135)
  at android.app.Activity.dispatchActivityPreStopped (Activity.java:1633)
  at android.app.Activity.performStop (Activity.java:9197)
  at android.app.ActivityThread.callActivityOnStop (ActivityThread.java:5650)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-18 11:36:39 +01:00
Marcel Hibbe
1bcdeb2d46
init other data earlier than ConversationModel
because setData was called too late (after sendTempChatMessages was called from messageInputFragment, internalConversationId was not initialized in repository).
With this change, internalConversationId, credentials and urlForChatting are initialized earlier which should avoid the issue.
However conversationModel is still initialized quite late and should be accessed with caution. This could may be improved by better architecture..

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-18 10:48:17 +01:00
sowjanyakch
ef957508a3
make link clickable
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-18 09:55:46 +01:00
Nextcloud bot
7ff365194c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-18 03:02:57 +00:00
Marcel Hibbe
d387b2f5a7
Merge pull request #4734 from nextcloud/bugfix/4673/fixDuplicatedMessages
Avoid duplicated messages when activity is in background.
2025-02-17 16:58:31 +00:00
sowjanyakch
80e98a0d8b
ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-17 16:41:46 +01:00
sowjanyakch
ea608781c4
remove unused constant
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-17 16:40:23 +01:00
sowjanyakch
edcadbcd37
fix detekt
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-17 16:36:40 +01:00
Marcel Hibbe
30caa435ae
Avoid duplicated messages when activity is in background.
onDestroy is not called when navigating to the next activity or bringing the app to background. That's why the adapter was not set to null and all messages were added another time the next time the activity comes to foreground. With this fix, the adapter is set to null in onStop.

All in all, the adapter handling may not be the best, but will be replaced by Compose anyway..

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-17 14:59:15 +01:00
sowjanyakch
f418955e1d
label styling
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-17 13:09:29 +01:00
sowjanyakch
a133804f65
format code
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-17 13:09:29 +01:00
sowjanyakch
1ad186b94b
display label in the placeholder
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-17 13:09:28 +01:00
sowjanyakch
00b1b1fe51
ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-17 12:25:43 +01:00
rapterjet2004
d46f2488a7
No longer does edit button overlap the recordAudioButton
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-02-17 12:25:43 +01:00
rapterjet2004
9f9fd1a82e
Added offline check in handleHttpExceptions in ConversationsListActivity
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-02-17 11:42:56 +01:00
Nextcloud Android Bot
8571a25f99 Weekly 21.1.0 Alpha 05 2025-02-17 03:12:16 +00:00
Nextcloud bot
88384206e4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-17 03:02:28 +00:00
Nextcloud bot
4667e565ad
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-16 19:46:29 +00:00
renovate[bot]
e72da08bb9 chore(deps): update plugin com.google.devtools.ksp to v2.1.10-1.0.30
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-16 17:07:03 +01:00
Nextcloud bot
e0e0d5113d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-16 16:01:28 +00:00
github-actions[bot]
e2f366e4ec
Merge pull request #4718 from nextcloud/renovate/androidx.compose.ui-ui-test-junit4-1.x
fix(deps): update dependency androidx.compose.ui:ui-test-junit4 to v1.7.8
2025-02-16 16:50:33 +01:00
github-actions[bot]
2cee1edd65
Merge pull request #4721 from nextcloud/renovate/androidx.compose-compose-bom-2025.x
fix(deps): update dependency androidx.compose:compose-bom to v2025.02.00
2025-02-16 16:50:14 +01:00
github-actions[bot]
6b060dc72b
Merge pull request #4717 from nextcloud/renovate/androidx.compose.runtime-runtime-1.x
fix(deps): update dependency androidx.compose.runtime:runtime to v1.7.8
2025-02-16 16:47:58 +01:00
renovate[bot]
7a1db3aff2
fix(deps): update dependency androidx.compose:compose-bom to v2025.02.00
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-16 15:27:27 +00:00
renovate[bot]
d50bd57e8c
fix(deps): update dependency androidx.compose.ui:ui-test-junit4 to v1.7.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-16 15:26:41 +00:00
renovate[bot]
860edb26ee
fix(deps): update dependency androidx.compose.runtime:runtime to v1.7.8
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-16 15:25:23 +00:00
Andy Scherzinger
12b52a9024
fix(lint): Use plurals string instead of simple string
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-02-16 16:20:02 +01:00
Andy Scherzinger
b0b75ca6f0
chore: remove unnecessary lint suppression
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-02-16 14:58:48 +01:00
Nextcloud bot
8fcb610e24
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-16 13:44:29 +00:00
Nextcloud bot
eab7b40bff
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-16 13:38:28 +00:00
Andy Scherzinger
eae91c8277
Merge pull request #4722 from nextcloud/fix/noid/formattingCharacter
Message count is an Int hence use 'd' not 's' as formatting character
2025-02-16 14:36:11 +01:00
Nextcloud bot
4e170a8ee5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-16 13:27:28 +00:00
Andy Scherzinger
8fae612ed7
fix(lint): message count is an Int hence use 'd' not 's' as formatting character
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-02-16 14:17:31 +01:00
Nextcloud bot
33fd163ee6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-12 03:06:50 +00:00
Nextcloud bot
5c930eb1ae
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-11 03:05:31 +00:00
Nextcloud Android Bot
234f588c42 Weekly 21.1.0 Alpha 04 2025-02-10 03:11:55 +00:00
Nextcloud bot
ce7687f7ba
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-10 03:03:02 +00:00
Nextcloud bot
45202655d3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-09 03:06:43 +00:00
Marcel Hibbe
5219eeb11f
replace userManager.currentUser usage by currentUserProvider usage
userManager.currentUser was called too often. I was not able to prove that a bug is related to it but i think it may fix some hidden bugs.

CurrentUserProviderImpl is now used throughout the code to access the current user.
userManager.currentUser is only used from CurrentUserProviderImpl whenever the _currentUser was null (should only happen on app startup)

To avoid multiple initialization of CurrentUserProviderImpl it was changed to be a @Singleton

The handling should soon be replaced with coroutine flows. However for the v21.0.0 release it's still done with RxJava to avoid bugs.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-07 13:13:38 +01:00
Marcel Hibbe
c72c83b5bf
add license headers
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-07 12:33:20 +01:00
sowjanyakch
2d1c940eae
resize icons
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-07 09:34:47 +01:00
sowjanyakch
e40f3675c7
format code
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-07 09:34:47 +01:00
sowjanyakch
20a8a38764
make system messages work for teams
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-07 09:34:47 +01:00
sowjanyakch
c08a004d39
format code
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-07 09:34:46 +01:00
sowjanyakch
65707f2d34
add icon
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-07 09:34:46 +01:00
sowjanyakch
ba37c7bac0
add mention support for circles
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-07 09:34:46 +01:00
sowjanyakch
d927f8daa6
use proper avatar for circles
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-07 09:34:46 +01:00
sowjanyakch
64856ccda6
set chip avatar for team placeholder
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-07 09:34:46 +01:00
sowjanyakch
0de8a3e06e
add avatar for autocomplete mentions in recycler view
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-07 09:34:45 +01:00
sowjanyakch
f02257d5ff
add team support for mentions
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-07 09:34:45 +01:00
Marcel Hibbe
11fc9fa0d0
Merge pull request #4688 from nextcloud/bugfix/noid/avoidDuplicatedMessagesAfterSend
avoid duplicated messages after sending
2025-02-06 14:58:48 +00:00
renovate[bot]
34a8ca6f63
fix(deps): update dependency com.google.code.gson:gson to v2.12.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-06 10:50:06 +00:00
Marcel Hibbe
69a9b9687c
lower SEARCH_MIN_CHARS to 1
same behavior for web and iOS..

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-06 11:15:18 +01:00
Marcel Hibbe
423fbbe8ec
fix nullable createRoom param for FakeRepository classes
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-06 11:15:17 +01:00
Marcel Hibbe
f4a1b73f63
replace hardcoded number for 1:1 roomtype
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-06 11:15:17 +01:00
rapterjet2004
b707cebf6f
Added intent handling on item click
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-02-06 11:15:16 +01:00
rapterjet2004
93fa89fb81
linter -_-
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-02-06 09:39:41 +01:00
rapterjet2004
4425f8249a
Improved Search
- Uncommented out fetchOpenConversations
- Added fetchUsers to conversationList
- Made the messages appear first

Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-02-06 09:39:40 +01:00
Nextcloud bot
4632d20705
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-06 03:04:29 +00:00
renovate[bot]
43064a7dc5
fix(deps): update dependency joda-time:joda-time to v2.13.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-05 15:04:49 +00:00
Marcel Hibbe
09a6cfb68b
avoid duplicated messages after sending
It could happen that when sending a message it was received on server but if the servers response is not received, the retry was triggered in the talk app.
This sometimes happened when internet connection was not the best.

Best would be that messages with the same referenceId would be refused on server side, but this won't be the case for now. So messages with the same referenceId are NOT refused as this would be too much overhead as there would be additional queries on server for every received message)

For now, the automatic retry logic is just removed so duplicated messages won't be created automatically.
However it's still possible to manually trigger the retry via button. In this case it is not guaranteed that there won't be duplicates.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-05 15:56:42 +01:00
github-actions[bot]
e5b5a81c03
Merge pull request #4686 from nextcloud/renovate/androidx.compose-compose-bom-2025.x
fix(deps): update dependency androidx.compose:compose-bom to v2025.01.01
2025-02-05 14:53:57 +00:00
Marcel Hibbe
0e4e2f3b03
Merge pull request #4658 from nextcloud/conversation_description_length
Set limit on conversation description length
2025-02-05 13:44:24 +00:00
renovate[bot]
cb7c3f5ca8
fix(deps): update dependency androidx.compose:compose-bom to v2025.01.01
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-05 13:20:02 +00:00
renovate[bot]
c49a8f1d16
fix(deps): update dependency androidx.compose.ui:ui-test-junit4 to v1.7.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-05 12:54:29 +00:00
rapterjet2004
2b30988514
Added character counter to xml
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-02-05 13:53:32 +01:00
sowjanyakch
1663fcafda
ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-05 13:53:31 +01:00
sowjanyakch
ef7831472f
set limit on description
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-05 13:53:31 +01:00
sowjanyakch
fdcff12bd9
ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-05 13:53:31 +01:00
sowjanyakch
bbedbf569d
rename variable
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-05 13:53:31 +01:00
sowjanyakch
b7074c5412
set limit on conversation description
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-05 13:53:30 +01:00
sowjanyakch
39391c8bca
calculate conversation description length
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-02-05 13:53:29 +01:00
renovate[bot]
cef70753b3
fix(deps): update dependency androidx.compose.runtime:runtime to v1.7.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-05 12:12:38 +00:00
renovate[bot]
6f09598353
chore(deps): update plugin com.google.devtools.ksp to v2.1.10-1.0.29
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-05 11:38:57 +00:00
renovate[bot]
b23ab8bbca
chore(deps): update plugin org.jetbrains.kotlin.plugin.compose to v2.1.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-05 10:18:35 +00:00
Marcel Hibbe
a9461ff22f
bump webrtc lib to 132.6834.0
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-02-05 10:28:37 +01:00
Julius Linus
3d2f99907a
Merge pull request #4667 from nextcloud/bugfix/4492/fixMissingUsersInUI
Bugfix/4492/fix missing users in UI
2025-02-03 11:51:37 -06:00
Nextcloud bot
a098de9bab
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-03 03:26:06 +00:00
Nextcloud Android Bot
667a67b7fc Weekly 21.1.0 Alpha 03 2025-02-03 03:12:14 +00:00
Nextcloud bot
b7d4cf6dc5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-01 03:03:51 +00:00
Nextcloud bot
4880dcf2cb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-30 03:13:49 +00:00
Julius Linus
9aa9918664
Merge pull request #4664 from nextcloud/fixDuplicatedDependencies
remove duplicated dependencies
2025-01-28 18:04:12 -06:00
Marcel Hibbe
b69f21580a
self heal if multiple current users exist
usersDao.getActiveUser() will return only one current users even if multiple exist for whatever reason.
By executing setUserAsActiveWithId(it.id) with the same user, it is made sure all other users current status is set to 0.

This change won't fix the root cause if multiple users are set to current, but it will make sure the state is fixed as soon as there is a query to get the active user.

In fact, this change might also make it harder to find the root cause because debugging may be more difficult! When searching for the root cause, always keep this in mind and maybe revert the change.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-28 15:57:41 +01:00
Marcel Hibbe
22b8b59fb3
fix to not execute getAnyUserAndSetAsActive() until userRepository.getActiveUser() is empty
To make sure getAnyUserAndSetAsActive() is invoked lazily and avoid any side effects, it's explicitly wrapped it in a lambda.

Maybe.defer ensures that getAnyUserAndSetAsActive() is not invoked until switchIfEmpty decides it’s needed.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-28 15:15:06 +01:00
Marcel Hibbe
307ebd384d
ensure that getAnyUserAndSetAsActive will set other users to current=false
Before, getAnyUserAndSetAsActive did only set a random first user to current=true without to check if there is any other current user.

So it was up to the calling function of getAnyUserAndSetAsActive to check this.

I did not identify a scenario where the getAnyUserAndSetAsActive could cause to set multiple users to current, but anyway the new implementation might fix some scenario that i could not reproduce.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-28 15:11:07 +01:00
Marcel Hibbe
c58df32c87
Merge pull request #4659 from nextcloud/changing-btn-layout-date-time-fragment
Switched the "Close" and "Set" Buttons in the remind-me-later dialog
2025-01-28 11:42:34 +01:00
rapterjet2004
25df5197e5
switched the btns in DateTimeCompose
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-01-28 11:29:23 +01:00
Marcel Hibbe
bf97d937b1
remove duplicated dependencies
+ minor refactoring

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-28 11:09:37 +01:00
sowjanyakch
c7c287a7d5
message of type actorId = "sample" should show talk logo avatar
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-01-28 11:00:37 +01:00
Nextcloud Android Bot
be235c8141 Weekly 21.1.0 Alpha 02 2025-01-27 03:12:32 +00:00
Nextcloud bot
97988a4617
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-27 03:00:13 +00:00
Nextcloud bot
ad572b7222
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-26 03:10:18 +00:00
Nextcloud bot
be6cc855ad
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-25 03:21:09 +00:00