Commit Graph

7197 Commits

Author SHA1 Message Date
sowjanyakch
83b8915787
add icon for event conversations
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-05-14 17:37:57 +02:00
sowjanyakch
b96ee90398
add object type event to handle event conversations
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-05-14 17:37:57 +02:00
sowjanyakch
46d72eea5c
fix detekt
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-05-14 17:31:50 +02:00
sowjanyakch
eb0e205090
add constants
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-05-14 17:31:50 +02:00
sowjanyakch
5a4d09da5c
add some default recents
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-05-14 17:31:50 +02:00
sowjanyakch
245280615c
add more emojis
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-05-14 17:31:49 +02:00
sowjanyakch
26002a33a2
ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-05-14 17:31:49 +02:00
sowjanyakch
e63e1de7bc
avoid duplications
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-05-14 17:31:49 +02:00
sowjanyakch
544b8efea3
refactor
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-05-14 17:31:49 +02:00
sowjanyakch
44cbb020a8
make emojis clickable
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-05-14 17:31:49 +02:00
sowjanyakch
b325d60fda
use recently used emojis
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-05-14 17:31:48 +02:00
sowjanyakch
de07e127e9
fix crash
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-05-14 15:55:53 +02:00
Marcel Hibbe
70620ffba7
Merge pull request #4924 from nextcloud/update_snackbar_text
update snackbar text
2025-05-14 11:15:08 +00:00
Marcel Hibbe
aa19bbe991
Merge pull request #4936 from nextcloud/crash_for_set_status_sialog
fix crash
2025-05-14 10:23:43 +00:00
Marcel Hibbe
bf8b2b2320
Merge pull request #4913 from nextcloud/conversation_description
fix conversation description position
2025-05-14 09:50:32 +00:00
sowjanyakch
5500ffef6b
fix crash
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-05-14 11:23:06 +02:00
sowjanyakch
f11ed31408
update snackbar text
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-05-14 11:13:38 +02:00
Andy Scherzinger
240ec8f98e
style(lint): Unnecessary lambda with trim()
The lambda argument ({ it <= ' ' }) is unnecessary

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-05-14 10:55:08 +02:00
sowjanyakch
8af24a9e50
adjust layout
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-05-14 10:49:40 +02:00
Marcel Hibbe
f8bfa0485c
Merge pull request #4947 from nextcloud/improveCallGrid
Improve call grid & Picture-inPicture view
2025-05-14 08:01:12 +00:00
Nextcloud bot
4008fcc1a8
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-14 03:07:56 +00:00
Marcel Hibbe
31433f8ed9
adapt avatar size to box size
..by using a BoxWithConstraints

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-13 17:15:58 +02:00
Marcel Hibbe
6a048fde08
improve/fix contents for picture in picture mode
depending on amount of participants, voiceOnly call and enabled/disabled own video, the contents of PIP windows are updated.

This will be further improved when speaker-view is implemented.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-13 11:40:33 +02:00
Marcel Hibbe
eaed93087b
simplify participant data structure
move ParticipantUiState into ParticipantDisplayItem

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 15:01:26 +02:00
Marcel Hibbe
962972dce4
resolve lint/detekt warnings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:42 +02:00
Marcel Hibbe
addb022083
remove unused resources
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:41 +02:00
Marcel Hibbe
74d937c901
ktlint format + fix lint warning
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:41 +02:00
Marcel Hibbe
99d5e5d07a
clearImage before release surfaceViewRenderer in ParticipantDisplayItem
at least as another cell. fullscreen needs to be implemented

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:41 +02:00
Marcel Hibbe
38072d40c2
fix to show screenshare
at least as another cell. fullscreen needs to be implemented

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:41 +02:00
Marcel Hibbe
b6519f6ffb
make sure to release pipSelfVideoRenderer after hangup
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:41 +02:00
Marcel Hibbe
1703a34007
remove unused code
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:40 +02:00
Marcel Hibbe
51eb7edcb0
remove unused constants
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:40 +02:00
Marcel Hibbe
af93877e96
move self video position more to edge
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:40 +02:00
Marcel Hibbe
c3b09ddf90
add background colors like in web to participant tile
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:40 +02:00
Marcel Hibbe
257dc2af54
only show avatars for voiceonly calls
improve pip handling a bit

minor changes

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:40 +02:00
Marcel Hibbe
1136508ba2
fix voice only call design by workaround.
For now, instead to measure height mixed from xml and compose, assume a fixed height for the xml views (callInfosLinearLayout and callControls) to limit the grid height.
They is not a nice solution and should be replaced once everything is migrated to compose.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:39 +02:00
Marcel Hibbe
d546046d5b
add shadow to nick name
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:39 +02:00
Marcel Hibbe
91b0e97589
show rounded circle for avatar
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:39 +02:00
Marcel Hibbe
15d7c8371c
simplify grid cell calculation
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:39 +02:00
Marcel Hibbe
bcb276d533
add padding to cells
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:38 +02:00
Marcel Hibbe
ecf6d362bf
calculate item height
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:38 +02:00
Marcel Hibbe
2741f5962a
sort participants by audio/video (experimental, commented out)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:38 +02:00
Marcel Hibbe
35c777e70d
move SurfaceViewRenderer into WebRTCVideoView
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:38 +02:00
Marcel Hibbe
aacc013485
improve call participants layout
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:37 +02:00
Marcel Hibbe
42a8afded8
fix z index of videos and click listener to show controls
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:37 +02:00
Marcel Hibbe
feeec78ab4
WIP migrate call grid to compose
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:37 +02:00
Marcel Hibbe
4b8b7630a9
Rename .java to .kt
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:36 +02:00
Marcel Hibbe
7df19b7623
convert ParticipantsAdapter to kt
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:36 +02:00
Marcel Hibbe
b85016ad13
Rename .java to .kt
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-12 13:55:36 +02:00
Nextcloud bot
01636fabde
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-11 03:07:56 +00:00
Nextcloud bot
d95b43bb6f
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-10 03:10:12 +00:00
Nextcloud bot
54b0fd8f29
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-09 03:16:22 +00:00
Nextcloud bot
69d61be274
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-08 03:15:27 +00:00
Marcel Hibbe
d1500c9c75
Merge pull request #4939 from nextcloud/improvePipMode
Improve pip mode
2025-05-07 07:58:57 +00:00
Nextcloud bot
f520e52801
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-06 03:11:54 +00:00
Sowjanya Kota
d8db5079ea
Merge pull request #4935 from nextcloud/bugfix/4883/fixJumpingNoteToSelfEntry
Bugfix/4883/fix jumping note to self entry
2025-05-05 18:18:59 +02:00
Marcel Hibbe
0d2014aa27
set icon with call name as fallback for pip group calls when own video is disabled
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-05 09:57:20 +02:00
Marcel Hibbe
ee6543d766
fix to release "self" renderers when camera switched off
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-05 09:57:20 +02:00
Marcel Hibbe
e3bbe3503f
show own video in pip mode for group calls
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-05-05 09:57:19 +02:00
Nextcloud bot
947d064c34
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-05 03:37:47 +00:00
Nextcloud bot
22ad50d640
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-04 03:07:55 +00:00
Nextcloud bot
18dbc297be
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-02 03:08:36 +00:00
Nextcloud bot
7d77ff626a
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-01 03:08:50 +00:00
gavine99
d40878e3be changes to do audio channel switcheroo to bluetooth only after sco conn is available
Signed-off-by: gavine99 <github@xymail.tk>
2025-04-30 09:53:51 +00:00
gavine99
7e267ab761 add a default audio device option in audio manager. stops auto-switch to bluetooth being disabled by 'user selected audio device' being set in code
Signed-off-by: gavine99 <github@xymail.tk>
2025-04-30 09:53:51 +00:00
Viktor Balogh
f0bdae1417 fix Conscrypt initialization order
SSLSocketFactoryCompat relies on SSLContext.getInstance("TLS"), which is
called from componentApplication.inject(this) in NextcloudTalkApplication
.onCreate() - before Conscrypt is set as the provider.

This caused issues on Android 7.0 devices when connecting to Nextcloud's
push notification server. The result was a handshake error, because
Android 7.0's native implementation only supports TLSv1.2 and the
secp256r1 group, while the server supports only secp384r1.

Setting Conscrypt as a provider earlier ensures that the native
implementation is not used and the connection completes successfully.

Call stack:
<init>:44, SSLSocketFactoryCompat (com.nextcloud.talk.utils.ssl)
provideSslSocketFactoryCompat:156, RestModule (com.nextcloud.talk.dagger.modules)
provideSslSocketFactoryCompat:56, RestModule_ProvideSslSocketFactoryCompatFactory (com.nextcloud.talk.dagger.modules)
get:46, RestModule_ProvideSslSocketFactoryCompatFactory (com.nextcloud.talk.dagger.modules)
get:14, RestModule_ProvideSslSocketFactoryCompatFactory (com.nextcloud.talk.dagger.modules)
getSynchronized:54, DoubleCheck (dagger.internal)
get:45, DoubleCheck (dagger.internal)
get:69, RestModule_ProvideHttpClientFactory (com.nextcloud.talk.dagger.modules)
get:19, RestModule_ProvideHttpClientFactory (com.nextcloud.talk.dagger.modules)
getSynchronized:54, DoubleCheck (dagger.internal)
get:45, DoubleCheck (dagger.internal)
injectNextcloudTalkApplication:1393, DaggerNextcloudTalkApplicationComponent$NextcloudTalkApplicationComponentImpl (com.nextcloud.talk.application)
inject:867, DaggerNextcloudTalkApplicationComponent$NextcloudTalkApplicationComponentImpl (com.nextcloud.talk.application)
onCreate:145, NextcloudTalkApplication (com.nextcloud.talk.application)

Signed-off-by: Viktor Balogh <viktor.balogh45@gmail.com>
2025-04-30 07:27:17 +00:00
Nextcloud bot
d63f8d3fb4
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-30 03:08:55 +00:00
Marcel Hibbe
ab19f631ae
get Note-to-Self room by endpoint + convert to coroutines
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-29 13:40:27 +02:00
Marcel Hibbe
c6d1f68442
fix jumping Note to self option in message action dialog.
Only get room for Note to Self after clicking on the option..

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-29 12:32:36 +02:00
Nextcloud bot
0e72a82388
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-29 05:15:59 +00:00
Joas Schilling
f0c2e0aef5
fix(translation): Remove leading quote, trailing space and line break from translation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-29 07:11:52 +02:00
sowjanyakch
fd6bb5b17e
detekt
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-28 09:03:42 +02:00
sowjanyakch
0b6ed3bcc1
improvements
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-28 09:03:42 +02:00
sowjanyakch
61d0e323b3
fix detekt
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-28 09:03:41 +02:00
sowjanyakch
c57bd90ee5
minor fixes - show meaningful message + add previews
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-28 09:03:41 +02:00
sowjanyakch
ce385556a3
fix detekt
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-28 09:03:41 +02:00
sowjanyakch
a7997abf57
copy the message
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-28 09:03:41 +02:00
sowjanyakch
7d381f4ca5
adding copyright
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-28 09:03:41 +02:00
sowjanyakch
c438250f07
add test push notification button
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-28 09:03:41 +02:00
sowjanyakch
99b61f5331
test push notification
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-28 09:03:40 +02:00
Nextcloud bot
df00e6f977
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-28 03:10:35 +00:00
Nextcloud bot
56675bb1a4
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-27 03:07:06 +00:00
Nextcloud bot
5034f3d389
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-26 03:08:00 +00:00
Nextcloud bot
04044b68c4
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-25 03:07:13 +00:00
Nextcloud bot
d562626f26
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-24 03:08:37 +00:00
Nextcloud bot
b4d3921340
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-23 03:07:51 +00:00
Nextcloud bot
a4f8056c2d
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-22 10:33:11 +00:00
Marcel Hibbe
423fc1a60e
Merge pull request #4828 from nextcloud/fixEnglishOnlyFirstLetterUppercase
Modify some strings
2025-04-17 13:57:55 +00:00
Sowjanya Kota
a9090d4e71
Merge pull request #4826 from nextcloud/feature/4712/addParticipantTo1to1
Feature/4712/add participant to1to1
2025-04-17 12:47:19 +02:00
Nextcloud bot
05069009a1
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-17 03:08:46 +00:00
rapterjet2004
ba3985e536
detekt
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-04-16 20:09:29 +02:00
rapterjet2004
ce589b3cae
Improving search capability
- Updated api with getContextForChatMessages
- Added ContextChatCompose for viewing the context of messages
- Added ComposeChatAdapter, a reimplementation of chat adapter
- Helper functions
- Added new date header
- Added a better Shimmer

Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-04-16 20:09:25 +02:00
Julius Linus
5aab7ac9bb
Merge pull request #4882 from nextcloud/open_conversations_list
show full open conversation list when search text is empty
2025-04-16 11:31:09 -05:00
sowjanyakch
93de317aa6
show full conversation list when search text is empty
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-16 17:12:44 +02:00
sowjanyakch
a82218055e
use display name of user instead of userId
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-16 15:19:55 +02:00
Nextcloud bot
16613f3cd5
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-16 03:10:32 +00:00
Nextcloud bot
a9b226e3b0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-15 03:13:17 +00:00
Marcel Hibbe
220c135257
add hotfix to avoid NoSupportedApiException in ContactsRepositoryImpl
There were crash reports for:

Exception java.lang.RuntimeException:
...
Caused by com.nextcloud.talk.utils.NoSupportedApiException:
at com.nextcloud.talk.utils.ApiUtils.getConversationApiVersion (ApiUtils.kt:134)
at com.nextcloud.talk.contacts.ContactsRepositoryImpl.<init> (ContactsRepositoryImpl.kt:28)

This could happen because of missing capabilities for user and should be fixed.
As a fallback, API v4 is guessed

Adding this as comment in the code as the root cause must be found..

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 16:31:52 +02:00
Marcel Hibbe
29348689a8
Merge pull request #4867 from nextcloud/bugfix/4866/avoidNpeInSendChatMessage
Avoid Npe in sendChatMessage
2025-04-14 14:22:04 +00:00
Marcel Hibbe
d617d65af2
Merge pull request #4865 from nextcloud/bugfix/4864/fixNpeOnLoadMore
avoid NPE in onLoadMore
2025-04-14 13:39:31 +00:00
Marcel Hibbe
95545c6635
Avoid Npe in sendChatMessage
as chatDao.getTempMessageForConversation could have returned null

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 14:53:16 +02:00
Marcel Hibbe
d0190158d5
avoid NPE in onLoadMore
For v21.0.0, the following crash was reported:

Exception java.lang.NullPointerException: null cannot be cast to non-null type com.nextcloud.talk.chat.data.model.ChatMessage
  at com.nextcloud.talk.chat.ChatActivity.onLoadMore (ChatActivity.kt:3107)
  at com.stfalcon.chatkit.messages.MessagesListAdapter.onLoadMore (MessagesListAdapter.java:148)
  at com.stfalcon.chatkit.messages.RecyclerScrollMoreListener.onScrolled (RecyclerScrollMoreListener.java:82)
  at androidx.recyclerview.widget.RecyclerView.dispatchOnScrolled (RecyclerView.java:5688)
  at androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep3 (RecyclerView.java:4741)
  at androidx.recyclerview.widget.RecyclerView.dispatchLayout (RecyclerView.java:4367)
  at androidx.recyclerview.widget.RecyclerView.onLayout (RecyclerView.java:4919)

This is now improved:
- lastOrNull prevents exceptions if no matching item is found
- as? is a safe cast that returns null if the cast fails

Whole expression becomes null-safe, and id will be null if anything along the way doesn't match. Only when not null, onLoadMore continues.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 14:21:51 +02:00
Sowjanya Kota
4c5c7c6a24
Merge pull request #4812 from nextcloud/bugfix/4764/fixDuplicateMessages
fix duplicate messages because of multiple scopes
2025-04-14 13:38:26 +02:00
Marcel Hibbe
a1c7e37fd9
extract methods (avoid too long method "initObservers")
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 12:20:41 +02:00
Marcel Hibbe
f34968c886
improve sorting for new conversation name
sort users so original users come first when creating new conversation from 1:1 conversation

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:57:15 +02:00
Marcel Hibbe
b0da7243e5
ellipsize conversation name for add participants to 1-to-1
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:47 +02:00
Marcel Hibbe
b4a9910fd3
check capability conversation-creation-all
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:46 +02:00
Marcel Hibbe
df7e772817
fix codacy warning
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:46 +02:00
Marcel Hibbe
c2ad89f7fb
minor refactoring
to be discussed: does it make sense to show a dialog instead? At least when it's created via 1:1 conversation

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:46 +02:00
Marcel Hibbe
e7ab3aab0d
open new conversation after creating it in 1to1 chat
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:46 +02:00
Marcel Hibbe
fa5570e901
WIP use new api endpoint to create group conversation
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:45 +02:00
Marcel Hibbe
77fe2ad024
refactor getRetrofitBucketForCreateRoom
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:45 +02:00
Marcel Hibbe
3dfb00d5c4
remove unused code
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:45 +02:00
Marcel Hibbe
d4959d9130
remove unused code (ConversationRepository, ConversationViewModel)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:45 +02:00
Marcel Hibbe
643385505c
use startGroupChat to differentiate between addParticipant or create room
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:44 +02:00
Marcel Hibbe
73d8daa3d0
rename AddParticipantsToConversation to AddParticipantsToConversationWorker
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:44 +02:00
Marcel Hibbe
dcd4fa5257
add button to start group chat in Conversation Info
no action for now

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:44 +02:00
Marcel Hibbe
c9136cdf15
replace snackbar with toasts for breakout room infos
snackbars disaapear with the switch to a different screen. Toasts survive the switch so they are visible during the activities switch

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-14 11:03:43 +02:00
Nextcloud bot
ea4533a67a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-12 03:11:58 +00:00
Sowjanya Kota
a27f95caeb
Merge pull request #4838 from nextcloud/feature/2052/moreFovByRatioSwitch
switch video capture between 4:3 and 16:9 ratio for portrait/landscape
2025-04-11 16:43:29 +02:00
rapterjet2004
025d0f4e87
detekt
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-04-10 15:25:57 +02:00
rapterjet2004
f837caad8b
Refactored
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-04-10 15:25:56 +02:00
rapterjet2004
0d080defad
trying to bypass the stupid linter
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-04-10 15:25:56 +02:00
rapterjet2004
6835c25ac5
Added messages to the end of the list
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-04-10 15:25:55 +02:00
Marcel Hibbe
b17cf0abfe
Apply suggestions from code review
improve more strings

Co-authored-by: Jan C. Borchardt <925062+jancborchardt@users.noreply.github.com>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-09 17:18:16 +02:00
Nextcloud bot
8170830b27
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-09 03:11:04 +00:00
Marcel Hibbe
2f54c53796
Merge pull request #4824 from gavine99/fix-bluetooth-receiver-not-exported
allow bluetooth headset to be discovered and used during a call
2025-04-07 16:31:39 +00:00
Nextcloud bot
8df8fcf9d7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-07 03:10:28 +00:00
Nextcloud bot
aa45da9e66
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-06 03:21:15 +00:00
Nextcloud bot
fc3d38a967
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-05 03:10:21 +00:00
Marcel Hibbe
7fe987ba91
Merge branch 'master' into fix-bluetooth-receiver-not-exported 2025-04-04 14:45:05 +00:00
Marcel Hibbe
863dc10f36
fix detekt warnings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-04 14:57:23 +02:00
sowjanyakch
0e38490ea6
fix theming
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-04 14:47:08 +02:00
sowjanyakch
52cb837438
fix detekt
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-04 14:47:08 +02:00
sowjanyakch
68efcc0a95
check for necessary capabilities
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-04 14:47:08 +02:00
sowjanyakch
ea61e49821
layout changes
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-04 14:47:08 +02:00
sowjanyakch
6995964e5c
modify outgoingTextViewHolder
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-04 14:47:08 +02:00
sowjanyakch
8b44882e78
edit checkbox messages directly
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-04 14:47:07 +02:00
sowjanyakch
4abb28e445
fix detekt
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-04 14:47:07 +02:00
sowjanyakch
24fdf0884e
use constants
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-04 14:47:07 +02:00
sowjanyakch
47551284f6
adjust layout
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-04 14:47:07 +02:00
sowjanyakch
b323915d0f
apply theming
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-04 14:47:07 +02:00
sowjanyakch
b7835fd462
handle multiple checkboxes
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-04 14:47:06 +02:00
sowjanyakch
0e118dbfd1
refactor code
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-04 14:47:06 +02:00
sowjanyakch
2b939f9a9a
edit message on clicking checkboxes
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-04 14:47:06 +02:00
sowjanyakch
7fe6901fa2
use interactive checkbox
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-04 14:47:06 +02:00
sowjanyakch
bfc9251e80
align layout properly
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2025-04-04 14:47:05 +02:00
Marcel Hibbe
ba88f23f39
Merge branch 'master' into fix-bluetooth-receiver-not-exported 2025-04-04 12:27:19 +00:00
Marcel Hibbe
62235372ea
switch video capture between 4:3 and 16:9 ratio for portrait/landscape
switch video capture for calls between 4:3 and 16:9 ratio depending on portrait/landscape mode

Also: simplify placement of self video view (it was buggy) as well as applying the ratio there as well

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-04-04 13:16:02 +02:00
Nextcloud bot
3f1bf691cd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-04 03:09:42 +00:00
Nextcloud bot
0586e78d6a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-03 03:09:07 +00:00
Marcel Hibbe
7a54e498e2
Merge pull request #4829 from nextcloud/feature/4313/addNewPhotoPicker
Add new photo picker
2025-04-02 15:33:23 +00:00
Marcel Hibbe
f02028ba2a
Merge pull request #4827 from nextcloud/moveNotificationWarningSetting
move notification warning setting to bottom of category
2025-03-30 10:16:57 +00:00
Nextcloud bot
d1f7c3f872
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-30 03:09:37 +00:00
Nextcloud bot
fa6cc1e344
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-29 03:10:38 +00:00
Marcel Hibbe
180d674e64
add string "Gallery"
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-03-28 14:55:07 +01:00
Marcel Hibbe
7bf53e69dd
reorder attachment dialog items
... to match order from iOS talk.

Also add a divider

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-03-28 14:49:54 +01:00
Marcel Hibbe
8646dd3450
remove permission checks for new photo picker
The new photo picker does not need files permission. For other features, the permissions are already checked elsewhere

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-03-28 14:07:12 +01:00
Marcel Hibbe
8009cc1013
Add new photo picker
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-03-27 23:59:08 +01:00
Marcel Hibbe
59d37b2a2e
Change rules to work with translation file
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-03-27 18:58:15 +01:00
Marcel Hibbe
b688bf995e
Change translations + only first letter should be uppercase
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-03-27 18:53:47 +01:00
Marcel Hibbe
0c1d56ee10
move notification warning setting to bottom of category
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-03-27 18:34:06 +01:00
Nextcloud bot
42aee4e6aa
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-25 03:11:46 +00:00
gavine99
e68c023a27 changes to allow bluetooth headset state change receiver to be exported. fixes bluetooth headset (dis)connection not being recognised during a call.
Signed-off-by: Gavin Element <github@bobfox.top>
Signed-off-by: gavine99 <github@xymail.tk>
2025-03-24 16:16:56 +11:00
Nextcloud bot
5613a99454
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-24 03:09:08 +00:00
Nextcloud bot
10262810c7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-23 03:08:42 +00:00
Nextcloud bot
771402d337
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-22 03:08:07 +00:00
Marcel Hibbe
fbad489ecb
fix no sound after mic permission granted
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-03-21 11:39:27 +01:00
Nextcloud bot
cfdac006a7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-20 03:13:05 +00:00
Andy Scherzinger
db944ec1bd
style(lint): Migrate to KTX extension function
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-03-19 18:07:35 +01:00
Marcel Hibbe
8436831628
fix duplicate messages because of multiple scopes
fix duplicate messages because of multiple scopes that ran in OfflineFirstChatRepository

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-03-19 11:41:33 +01:00
Nextcloud bot
1e8438b784
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-19 03:11:34 +00:00
github-actions
743d4a0a4e
hide already selected participants
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: github-actions <github-actions@github.com>
2025-03-14 15:39:39 +01:00
Marcel Hibbe
1fa0496b94
remove unused resources
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-03-14 15:37:25 +01:00
Marcel Hibbe
23b03eead8
rename ContactsActivityCompose to ContactsActivity
the old ContactsActivity was deleted, so ContactsActivityCompose becomes ContactsActivity now

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-03-14 15:37:24 +01:00
Marcel Hibbe
1c7d84f90b
remove old ContactsActivity and use ContactsActivityCompose
for ConversationInfoActivity, the old ContactsActivity was still used to add participants. This is now replaced by the ContactsActivityCompose, so ContactsActivity is now deleted

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-03-14 15:37:24 +01:00
Nextcloud bot
d6d7a11573
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-03-14 03:16:05 +00:00
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 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
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 bot
e07589fb69
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-28 03:07:45 +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
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 bot
d0b18a01cf
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-02-22 03:03:02 +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
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 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
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
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 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