Commit graph

7573 commits

Author SHA1 Message Date
sowjanyakch
9b3a11569a
bump minSdkVersion to 26 and remove old checks
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 11:34:23 +01:00
Marcel Hibbe
e8cf3eed56
add setConversationReadOnly
must have been lost during resolving merge conflicts

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-21 11:18:36 +01:00
sowjanyakch
ebfb38b5b5
write logs for exceptions in viewModel
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 11:07:09 +01:00
sowjanyakch
fa3e8002bc
remove unused endpoint
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 11:07:08 +01:00
sowjanyakch
a95433c6bc
convert rxjava to coroutines - unban actor
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 11:07:06 +01:00
sowjanyakch
bdda04c21e
remove unused code
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 11:05:57 +01:00
sowjanyakch
121d7e6907
convert rxjava to coroutines - list bans
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 11:05:55 +01:00
sowjanyakch
3bc3a8e3ee
remove unused endpoint
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 11:05:31 +01:00
sowjanyakch
7ae39bfcd2
convert rxjava to coroutines - ban actor
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 11:05:29 +01:00
sowjanyakch
626994e68c
lint warnings
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 10:52:10 +01:00
sowjanyakch
33314cf0ca
use constants
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 10:52:10 +01:00
sowjanyakch
af7a395508
remove unused endpoints
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 10:52:10 +01:00
sowjanyakch
5094cf5719
convert rxjava to coroutines - set expiration and set notification levels for messages
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 10:52:10 +01:00
sowjanyakch
1d9f475768
remove unused endpoints
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 10:52:09 +01:00
sowjanyakch
f4f943ff5a
convert rxjava to coroutines - notification calls
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 10:52:09 +01:00
sowjanyakch
77b55dcd9b
convert java code to kotlin - DatabaseStorageModule
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 10:52:09 +01:00
sowjanyakch
9e8a5476f9
Rename .java to .kt
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 10:52:09 +01:00
sowjanyakch
75d1c548ab
remove unused endpoints
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 10:52:09 +01:00
sowjanyakch
9ba07f575f
convert rxjava to coroutine - unfavourite conversation
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 10:52:08 +01:00
sowjanyakch
e9d2a866a7
remove unused endpoint
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 10:52:08 +01:00
sowjanyakch
68366b3d09
convert rxjava to coroutine - favourite conversation
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 10:52:07 +01:00
Marcel Hibbe
6637e8c9d9
Merge pull request #4415 from nextcloud/issue-4376-hide-features-in-offline-mode
Disabling/Hiding features when offline
2024-11-21 10:32:42 +01:00
Marcel Hibbe
90c6eb0b24
Merge pull request #4423 from nextcloud/issue-4404-better-indicator-for-calls
Better call started indicator
2024-11-21 10:19:25 +01:00
rapterjet2004
68ce6fabf3
linter -_-
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-11-21 10:17:15 +01:00
rapterjet2004
814592da7f
Refactoring NetworkMonitor to be more Java friendly
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-11-21 10:17:14 +01:00
rapterjet2004
01006c29d7
linter
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-11-21 10:17:14 +01:00
rapterjet2004
8e7515238a
Disabling features when not connected to internet
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-11-21 10:17:13 +01:00
Nextcloud bot
73228bdad9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-21 03:02:23 +00:00
rapterjet2004
6067f04b12
Should be working
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-11-20 10:54:46 -06:00
Nextcloud Android Bot
b6d28dfbbb Weekly 20.1.0 Alpha 14 2024-11-20 13:33:33 +00:00
Nextcloud Android Bot
89ba1183d8 Weekly 20.1.0 Alpha 13 2024-11-20 12:10:06 +00:00
Nextcloud bot
387ffd39df
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-20 03:09:02 +00:00
sowjanyakch
0db401de4a
remove unused code
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-19 11:07:35 +01:00
sowjanyakch
a133c2a3b9
refactor
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-19 10:56:35 +01:00
sowjanyakch
574791c1bc
remove unused imports
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-19 10:56:35 +01:00
sowjanyakch
452a4c72f4
convert rxjava to coroutines - set conversation read only
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-19 10:56:32 +01:00
sowjanyakch
ab313adfd5
remove unused endpoint
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-19 10:52:33 +01:00
sowjanyakch
66686d7602
get correct api version for chat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-19 10:52:33 +01:00
sowjanyakch
7a8eb3ca22
convert rxjava to coroutines - clearChatHistory
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-19 10:52:30 +01:00
sowjanyakch
6955995654
remove unused endpoints
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-19 10:45:17 +01:00
sowjanyakch
6cce2783b9
convert rxjava to coroutines - setConversationDescription
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-19 10:41:08 +01:00
sowjanyakch
1beffd9e22
remove unused endpoint
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-19 10:41:08 +01:00
sowjanyakch
9525986dde
convert rxjava to coroutines - renameRoom
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-19 10:41:07 +01:00
sowjanyakch
cedf1f09e9
Implement renameRoom in ConversationInfoEditRepository
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-19 10:41:07 +01:00
Nextcloud bot
9cc826abef
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-19 02:59:07 +00:00
sowjanyakch
e5802d70f3
remove unused code
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-18 21:08:15 +01:00
sowjanyakch
013195465c
refactoring
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-18 21:08:15 +01:00
sowjanyakch
3de36ebec3
ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-18 21:08:15 +01:00
sowjanyakch
03c4402630
remove unused string
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-18 21:08:15 +01:00
sowjanyakch
e0b2174fc7
use one endpoint instead of two
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-18 21:08:12 +01:00
sowjanyakch
51330cbc76
remove unused imports
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-18 21:07:58 +01:00
sowjanyakch
228c73ce60
test coroutines
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-18 21:07:43 +01:00
sowjanyakch
79dfac6ac0
remove endpoints from NcApi
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-18 21:06:50 +01:00
sowjanyakch
c03c5a5d50
remove unused imports
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-18 21:06:50 +01:00
sowjanyakch
af9b2b29c7
convert rxjava to coroutines
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-18 21:06:50 +01:00
sowjanyakch
2d5facc905
remove setPassword from NcApi
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-18 21:06:49 +01:00
sowjanyakch
4439da9bd1
use lifecycleScope
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-18 20:51:07 +01:00
sowjanyakch
240bdd6771
handle errors
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-18 20:51:07 +01:00
sowjanyakch
dce609b831
remove unused used from NcApi
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-18 20:51:07 +01:00
sowjanyakch
9f3bbf6ebf
refactor code
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-18 20:51:07 +01:00
sowjanyakch
99d73e15e0
migration to coroutines
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-18 20:51:06 +01:00
sowjanyakch
91a18e27f9
implement API in NcApiCoroutines
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-18 20:51:06 +01:00
Marcel Hibbe
b96cd32108
fix NPE currentConversation!!.internalId
followup to PR #4439

Exception java.lang.NullPointerException:
  at com.nextcloud.talk.chat.MessageInputFragment.handleMessageQueue (MessageInputFragment.kt:251)
  at com.nextcloud.talk.chat.MessageInputFragment.access$handleMessageQueue (MessageInputFragment.kt:82)
  at com.nextcloud.talk.chat.MessageInputFragment$initObservers$4$1.invokeSuspend (MessageInputFragment.kt:192)
  at com.nextcloud.talk.chat.MessageInputFragment$initObservers$4$1.invoke (Unknown Source:12)
  at com.nextcloud.talk.chat.MessageInputFragment$initObservers$4$1.invoke (Unknown Source:8)
  at kotlinx.coroutines.flow.FlowKt__TransformKt$onEach$$inlined$unsafeTransform$1$2.emit (Emitters.kt:219)
  at kotlinx.coroutines.flow.FlowKt__ChannelsKt.emitAllImpl$FlowKt__ChannelsKt (Channels.kt:33)
  at kotlinx.coroutines.flow.FlowKt__ChannelsKt.access$emitAllImpl$FlowKt__ChannelsKt (Channels.kt:1)
  at kotlinx.coroutines.flow.FlowKt__ChannelsKt$emitAllImpl$1.invokeSuspend (Unknown Source:14)
  at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith (ContinuationImpl.kt:33)
  at kotlinx.coroutines.DispatchedTask.run (DispatchedTask.kt:104)
  at android.os.Handler.handleCallback (Handler.java:938)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loopOnce (Looper.java:241)
  at android.os.Looper.loop (Looper.java:342)
  at android.app.ActivityThread.main (ActivityThread.java:8128)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:583)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1045)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-18 09:53:08 +01:00
Nextcloud Android Bot
62eb4cc64d Weekly 20.1.0 Alpha 12 2024-11-18 03:16:00 +00:00
Nextcloud bot
e77544b0b6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-18 02:59:52 +00:00
Valdnet
2cbfb0f1e9
Change apostrophe
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2024-11-17 11:53:54 +01:00
Nextcloud bot
13335250ca
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-17 03:05:59 +00:00
renovate[bot]
3ccd8c8ec4
Update plugin com.google.devtools.ksp to v2.0.21-1.0.28
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-16 12:49:12 +00:00
Nextcloud bot
ba339adf1f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-16 02:57:45 +00:00
Nextcloud bot
026bb92be5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-15 02:58:46 +00:00
renovate[bot]
524f6f80f5
Update dependency com.google.firebase:firebase-messaging to v24.1.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-15 00:33:36 +00:00
sowjanyakch
b558a71ede
ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-14 17:05:50 +01:00
sowjanyakch
92caa215b0
error handling
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-14 17:05:50 +01:00
sowjanyakch
2c6daedb2b
handle disposable properly
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-14 17:05:50 +01:00
sowjanyakch
dba30346dc
use const val HTTP_STATUS_CODE_OK
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-14 17:05:50 +01:00
sowjanyakch
05ca7f52a5
remove Snackbar
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-14 17:05:50 +01:00
sowjanyakch
fbecfaf95d
reset status and hide the dialog
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-14 17:05:50 +01:00
sowjanyakch
3f74a440d5
add hint - your status was set automatically
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-14 17:05:49 +01:00
sowjanyakch
13208e85f9
remove redundant null check
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-14 17:05:49 +01:00
sowjanyakch
c4f4c857d3
check for capability before reverting status
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-14 17:05:49 +01:00
sowjanyakch
7a63a645fe
format
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-14 17:05:49 +01:00
sowjanyakch
9fbb3886ab
handle reset status button
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-14 17:05:46 +01:00
sowjanyakch
ec01a049c8
add elements to predefinedStatusesList correctly
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-14 17:04:43 +01:00
sowjanyakch
974da71e52
get backup status only if restore capability is available
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-14 17:02:29 +01:00
sowjanyakch
d08b4f51b8
add backup message in the predefined status list
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-14 17:02:29 +01:00
sowjanyakch
27aafda59f
test backupStatus endpoint
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-14 17:02:29 +01:00
sowjanyakch
5fe5931bc4
add capability for restore
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-14 17:02:29 +01:00
sowjanyakch
6a9211e292
show reset button on first item of recycler view
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-14 17:02:29 +01:00
sowjanyakch
9f7c899368
add reset button
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-14 17:02:28 +01:00
sowjanyakch
2aac51d8bb
modify predefined_status.xml
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-14 17:02:28 +01:00
sowjanyakch
8cd8c5ca01
create url for backup status
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-14 17:02:28 +01:00
sowjanyakch
658988901c
add backupStatus endpoint
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-14 17:02:28 +01:00
Sowjanya Kota
5ff1003154
Merge pull request #4428 from nextcloud/lock_room
Lock room
2024-11-14 16:53:54 +01:00
Marcel Hibbe
f94a0cf95c
Merge pull request #4436 from nextcloud/bugfix/noid/fixCallEmojiListByScrolling
fix to provide all call emojis
2024-11-14 16:02:18 +01:00
Marcel Hibbe
89964c0725
Merge pull request #4448 from nextcloud/bugfix/noid/fixWebsocketConnectionForChat
Bugfix/noid/fix websocket connection for chat
2024-11-14 15:54:53 +01:00
Marcel Hibbe
cd5ee2f619
fix to support different screen densities
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-14 15:36:59 +01:00
Marcel Hibbe
59ee0b0cb1
fix to provide all call emojis
As the number of provided emojis grew, there was a bug that only one emoji was shown.

Putting all 12 emojis would have been too close, so it's implemented to scroll them horizontally

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-14 15:36:59 +01:00
Julius Linus
3908d0ce14
Merge pull request #4441 from nextcloud/issue-4405-fix-filter
Align filter behavior with web
2024-11-14 06:55:23 -06:00
Marcel Hibbe
acd964869d
add disposable
however i was not able to see onDestroy being executed.

anyway, disposables won't be necessary when coroutine is used.

also: remove a useless outdated log line

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-14 13:41:06 +01:00
Marcel Hibbe
8dd1b885f3
fix check if federated is still the same
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-14 13:41:06 +01:00