Commit graph

7573 commits

Author SHA1 Message Date
Nextcloud Android Bot
f9e41bbdde Weekly 20.1.0 Alpha 07 2024-10-07 03:13:34 +00:00
Nextcloud bot
2ba5a46fc0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-05 02:51:21 +00:00
renovate[bot]
f5e7f9fd89
Update dependency org.junit.vintage:junit-vintage-engine to v5.11.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-04 13:24:28 +00:00
Nextcloud bot
778230d039
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-04 02:52:39 +00:00
Nextcloud bot
7ddf048061
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-03 02:51:05 +00:00
renovate[bot]
51dc692402
Update dependency androidx.compose:compose-bom to v2024.09.03
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-02 22:37:14 +00:00
github-actions[bot]
d7ad139551
Merge pull request #4309 from nextcloud/renovate/androidx.compose.ui-ui-test-junit4-1.x
Update dependency androidx.compose.ui:ui-test-junit4 to v1.7.3
2024-10-02 21:49:20 +02:00
renovate[bot]
0cf1467ca6
Update dependency androidx.compose.ui:ui-test-junit4 to v1.7.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-02 19:39:39 +00:00
renovate[bot]
b1d72c1a83
Update dependency androidx.compose.runtime:runtime to v1.7.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-02 19:38:35 +00:00
Marcel Hibbe
ce8143a807
center search results in chat
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-10-02 14:03:11 +02:00
Marcel Hibbe
305f1732ba
fix availability of search feature.
Hide search feature if room is federated.
Also, for conversation list the check for federation inside isUnifiedSearchAvailable makes no sense.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-10-02 14:02:04 +02:00
renovate[bot]
2a5b72e721
Update dependency com.google.firebase:firebase-messaging to v24.0.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 22:11:22 +00:00
Sowjanya Kota
acd31ec2b5
Merge pull request #4289 from nextcloud/bugfix/4288/fixTypingIndicatorPosition
fix position and animation of typing indicator
2024-10-01 13:37:35 +02:00
sowjanyakch
d76a1d0bd9
make predefined status use custom time
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-10-01 12:45:31 +02:00
renovate[bot]
e8e89c80b7
Update mockito monorepo to v5.14.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-30 13:23:20 +00:00
Nextcloud Android Bot
c5700cdf6a Weekly 20.1.0 Alpha 06 2024-09-30 03:14:18 +00:00
Nextcloud bot
5a4047432a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-29 03:11:01 +00:00
renovate[bot]
ddd131f225
Update dependency com.mebigfatguy.fb-contrib:fb-contrib to v7.6.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-29 01:40:37 +00:00
Nextcloud bot
81704eb655
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-28 02:50:17 +00:00
renovate[bot]
d380cbd676
Update mockito monorepo to v5.14.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-27 17:09:54 +00:00
Marcel Hibbe
94d62a943f
fix position and animation of typing indicator
Without this fix, typing indicator moves up and wont go down

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-27 16:51:45 +02:00
Julius Linus
246d496024
Merge pull request #4273 from nextcloud/fix-reminder-refactor
[Bug Fix] Fix wrong value when choosing custom reminder date
2024-09-27 09:45:30 -05:00
sowjanyakch
de582f8b0b
use variable "VOICE_MESSAGE_PREFIX_MAX_LENGTH" to restrict length of voice recording file name
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-27 12:41:36 +02:00
sowjanyakch
2478aa884b
put file length value in utils
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-27 12:41:36 +02:00
sowjanyakch
ce8c4b2b84
fix file name of voice recording
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-27 12:41:36 +02:00
sowjanyakch
25846fe23f
set default emoji only when status icon is null
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-27 12:24:38 +02:00
sowjanyakch
1347ec29c4
Set empty status message and default emoji
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-27 12:13:32 +02:00
Marcel Hibbe
78e738bd51
add copyright to fix reuse
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-27 09:37:42 +02:00
Nextcloud bot
ca747af78c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-27 02:51:56 +00:00
renovate[bot]
28bb0d7106
Update dependency com.github.nextcloud.android-common:ui to v0.23.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-26 15:16:35 +00:00
Marcel Hibbe
16c49bc430
bump versions for SERVER_VERSION_MIN_SUPPORTED + SERVER_VERSION_SUPPORT_WARNING
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-26 13:27:45 +02:00
Marcel Hibbe
ebc2fd2702
Add test for conversation conversion
This test respects different API versions and checks if default values are set as expected.

- remove deprecated+unused methods
- remove comments
- remove unnecessary double-bang operator

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-26 13:27:44 +02:00
sowjanyakch
ebace8713a
Rounded corners for change password dialog
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-26 13:13:57 +02:00
sowjanyakch
8c967c4f56
use open lock icon for set password
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-26 13:13:56 +02:00
sowjanyakch
c165e9fe0c
UI improvements
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-26 13:13:56 +02:00
sowjanyakch
31c0d74356
Add change password dialog
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-26 13:13:56 +02:00
sowjanyakch
381804c892
Add Change Password dialogue
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-26 13:13:56 +02:00
parneet-guraya
856c0761c9
Fix logic for date time retrieval
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-09-25 22:04:11 +05:30
renovate[bot]
45d7969890
Update dependency org.junit.vintage:junit-vintage-engine to v5.11.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 07:53:51 +00:00
Sowjanya Kota
2592f72039
Merge pull request #4265 from nextcloud/bugfix/noid/fixCrashWhenExtSignalingEmpty
Fix crash when externalSignalingServer is empty
2024-09-25 09:48:56 +02:00
Nextcloud bot
b1cc652657
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-25 02:53:27 +00:00
Marcel Hibbe
7dc7051481
Fix crash when externalSignalingServer is empty
Otherwise, following crash happened, as it was tried to deal with the empty url:

2024-09-24 15:10:30.719 17765-17765 WebSocketInstance       com.nextcloud.talk2                  D  restartWebSocket: /spreed
2024-09-24 15:10:30.722 17765-17765 System.err              com.nextcloud.talk2                  W  java.lang.IllegalArgumentException: Expected URL scheme 'http' or 'https' but no scheme was found for /spree...
2024-09-24 15:10:30.723 17765-17765 System.err              com.nextcloud.talk2                  W  	at okhttp3.HttpUrl$Builder.parse$okhttp(HttpUrl.kt:1261)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-24 16:25:33 +02:00
Marcel Hibbe
b78267d96f
try to avoid NPE for currentConversation
On gplay console the following NPE was reported for the line

participantPermissions = ParticipantPermissions(spreedCapabilities, currentConversation!!)

 E  FATAL EXCEPTION: main
          Process: com.nextcloud.talk2, PID: 6626
          java.lang.NullPointerException
          at com.nextcloud.talk.chat.ChatActivity.initObservers$lambda$13(ChatActivity.kt:583)
          at com.nextcloud.talk.chat.ChatActivity.$r8$lambda$QKH5JCFLmCzRMlSJ-EV-m4IW5ig(Unknown Source:0)

which seems that currentConversation was null. If it would have been spreedCapabilities, then the error would have been thrown in the line before..

A reason MAY BE that the observer is triggered before setData on the ViewModel is executed.
While this fix is just not executing code when currentConversation is null, it's unsure if it will follow up problems (like an empty chat) or if the observer is triggered another time when currentConversation is available.

So it's just a hotfix.
To improve the situation in the long term, we should move more logic to viewModel and only use Flow instead to mix it with LiveData.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-24 15:52:49 +02:00
Marcel Hibbe
aeacfa09b6
avoid UninitializedPropertyAccessException for spreedCapabilities
reported issue on gplay console was:

Exception kotlin.UninitializedPropertyAccessException: lateinit property spreedCapabilities has not been initialized
  at com.nextcloud.talk.chat.ChatActivity.getSpreedCapabilities (ChatActivity.kt:284)
  at com.nextcloud.talk.chat.ChatActivity.processExpiredMessages (ChatActivity.kt:2536)
  at com.nextcloud.talk.chat.ChatActivity.access$processExpiredMessages (ChatActivity.kt:204)
  at com.nextcloud.talk.chat.ChatActivity$initObservers$10$1.invokeSuspend (ChatActivity.kt:820)

This is just a hotfix while hoping processExpiredMessages is executed again while spreedCapabilities are available.

To improve the situation in the long term, we should move more logic to viewModel and have better control over sequence of actions.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-24 15:25:42 +02:00
sowjanyakch
8bf9e3552e
rename variable selectedImageUri
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-23 16:40:06 +02:00
sowjanyakch
384ba6945f
ktlint format
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-23 16:40:06 +02:00
sowjanyakch
4dd22d6223
Get selectedImageUri from ViewModel
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-23 16:40:06 +02:00
sowjanyakch
bc02236801
Make Conversation name text limit to single line
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-23 16:40:06 +02:00
sowjanyakch
317f745806
Only display delete icon when user avatar is selected
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-23 16:40:05 +02:00
Nextcloud Android Bot
44e87dbd42 Weekly 20.1.0 Alpha 05 2024-09-23 03:12:39 +00:00
Marcel Hibbe
b080e891bb
fix to not remove call buttons for federated conversations after 30 seconds
After 30 seconds (when the capabilities were updated) the call buttons of federated conversations were removed (this was done back then when fed calls were not implemented).

However this happened not always because of the check
"if (this::spreedCapabilities.isInitialized) {...."
It seems this check sometimes is false when it's supposed to be true. This has be to further investigated and has to be be simplified/improved by a cleaner architecture.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-20 13:46:21 +02:00
renovate[bot]
bddf1361f8
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.7.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-19 16:56:56 +00:00
Julius Linus
5351296afd
Merge pull request #4240 from nextcloud/bugfix/4238/fixToHideMessageInputWhenNoRestriction
fix to hide messageInputFragment when user has no restriction to write
2024-09-19 18:48:25 +02:00
Nextcloud bot
663ba0a2ed
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-19 02:51:16 +00:00
github-actions[bot]
444dabda1e
Merge pull request #4246 from nextcloud/renovate/lifecycleversion
Update lifecycleVersion to v2.8.6
2024-09-18 23:33:12 +02:00
renovate[bot]
7c37d1f111
Update lifecycleVersion to v2.8.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 21:26:18 +00:00
renovate[bot]
d480fe3008
Update dependency androidx.lifecycle:lifecycle-viewmodel-compose to v2.8.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 21:24:09 +00:00
github-actions[bot]
cb114b64f1
Merge pull request #4244 from nextcloud/renovate/androidx.lifecycle-lifecycle-runtime-ktx-2.x
Update dependency androidx.lifecycle:lifecycle-runtime-ktx to v2.8.6
2024-09-18 22:34:32 +02:00
github-actions[bot]
5c84125aa4
Merge pull request #4243 from nextcloud/renovate/androidx.compose-compose-bom-2024.x
Update dependency androidx.compose:compose-bom to v2024.09.02
2024-09-18 22:28:47 +02:00
renovate[bot]
ef3cd824c0
Update dependency androidx.lifecycle:lifecycle-runtime-ktx to v2.8.6
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 20:20:43 +00:00
renovate[bot]
c1c68570b3
Update dependency androidx.compose:compose-bom to v2024.09.02
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 20:18:10 +00:00
renovate[bot]
bc57bb20de Update dependency androidx.compose.ui:ui-test-junit4 to v1.7.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 22:10:23 +02:00
renovate[bot]
6122650202
Update dependency androidx.compose.runtime:runtime to v1.7.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-18 19:56:24 +00:00
Marcel Hibbe
9e91bdeb1d
fix to hide messageInputFragment when user has no restriction to write
The messageInputFragment was hidden by checkShowMessageInputView(), but it was immediately shown again by checkLobbyState()

This fix will execute checkShowMessageInputView() inside checkLobbyState() in the correct order.

Additionally, the check
checkLobbyState()
has to be already executed in
GetCapabilitiesInitialLoadState
as well as
checkShowCallButtons()

Otherwise the expected behavior would only be set after 30 seconds.

An improvemnt for the future must be to improve the capabilities handling.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-18 17:34:10 +02:00
Nextcloud bot
3db9bc6247
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-18 02:53:40 +00:00
Marcel Hibbe
28906dd999
dont show error when fetching pending invitations failed
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-17 12:05:02 +02:00
Marcel Hibbe
5991b91460
fix to show accounts from older servers in switch account dialog
if invitations were not supported, the account did not show up

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-17 11:30:36 +02:00
Marcel Hibbe
722914fb6c
fix to show user status in conversation list
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-17 11:04:18 +02:00
Marcel Hibbe
3b51fde300
Merge pull request #4223 from nextcloud/bugfix/noid/fixNoChatForOldNcServerVersion
fix to load chat for old server version
2024-09-17 11:00:21 +02:00
Nextcloud bot
2f05ffb3d6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-17 02:55:40 +00:00
Marcel Hibbe
3f06801e59
fix to load chat for old server version
With server version 23.0.12 it happened that the chat did not load because values were null. Now default values in json model are set (because that's easier than changing the entity).
Additionally a check was added in CallActivity that a callStartTime of 0 would not be used (but it should not be used anyway if it would be 0 because then capability should also not be available).

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-16 17:29:08 +02:00
Marcel Hibbe
37033af668
remove duplicated dependencies
found by the tool
https://stackblitz.com/edit/find-gradle-dependency-duplicates?file=src%2Fapp%2Fapp.component.ts

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-16 11:38:38 +02:00
Nextcloud Android Bot
911c52c37b Weekly 20.1.0 Alpha 04 2024-09-16 03:11:34 +00:00
Nextcloud bot
b99cdd2e29
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-16 02:45:50 +00:00
renovate[bot]
0af66a3a6e
Update dependency joda-time:joda-time to v2.13.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-15 23:15:38 +00:00
Nextcloud Android Bot
a6dcd14f4e Weekly 20.1.0 Alpha 03 2024-09-15 15:19:37 +00:00
Marcel Hibbe
3521308496
manually bump to 20.1.0 Alpha 02
As build script was not able to push to master, it failed and next time it tried to build the same version again.
Thats why Google complained the apk already exists.

The bot was now changed to have admin permissions. So this commit will bump the version number manually and in the next runs everything should work again.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-15 17:06:35 +02:00
Nextcloud bot
ee6ca8f1ae
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-15 03:35:39 +00:00
Nextcloud bot
c6d5d7b2d8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-14 02:56:28 +00:00
Marcel Hibbe
af6e058c70
Merge pull request #4210 from nextcloud/bugfix/noid/fixConnectionLostHint
fix to show connection lost hint when internet is gone
2024-09-13 18:42:44 +02:00
Marcel Hibbe
0480ceef7f
fix to show connection lost hint when internet is gone
otherwise it showed "connection gained" with red background when loosing connection for the first time

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-13 18:41:46 +02:00
github-actions[bot]
9f53f7e631
Merge pull request #4209 from nextcloud/renovate/coroutines_version
Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-test to v1.9.0
2024-09-13 17:28:34 +02:00
github-actions[bot]
e0967913b7
Merge pull request #4208 from nextcloud/renovate/org.jetbrains.kotlinx-kotlinx-coroutines-test-1.x
Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-test to v1.9.0
2024-09-13 17:27:41 +02:00
Nextcloud bot
92c840f044
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-13 15:18:27 +00:00
renovate[bot]
80774f3d59
Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-test to v1.9.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-13 15:11:25 +00:00
renovate[bot]
fa88fa4b07
Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-test to v1.9.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-13 15:09:25 +00:00
Nextcloud bot
cc83e90d7f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-13 15:06:36 +00:00
Marcel Hibbe
033e3e86c1
reformat code
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-13 16:56:46 +02:00
Daniel Calviño Sánchez
4cea7b2390
Provide federation values to external signaling server in chat
Otherwise the WebSocket configuration and session clashes with the one
from the CallActivity, which already uses the federated settings.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-13 15:51:21 +02:00
Daniel Calviño Sánchez
148dedbc6c
fixup! Provide federation values when joining a room in the external signaling
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-13 15:51:21 +02:00
Daniel Calviño Sánchez
c7af117f4e
fixup! Store federation properties in signaling settings
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-13 15:51:21 +02:00
Daniel Calviño Sánchez
18a0394d3b
fixup! Provide federation values when joining a room in the external signaling
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-13 15:51:20 +02:00
Daniel Calviño Sánchez
166107d7d2
fixup! Provide federation values when joining a room in the external signaling
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-13 15:51:20 +02:00
Daniel Calviño Sánchez
0ff783ef0b
Show proper avatar for federated users in calls
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-13 15:51:20 +02:00
Daniel Calviño Sánchez
3b7c5e1d27
Store actor data from signaling messages with participant updates
Starting with Talk 20 the signaling messages that provide updates to the
participants ("participants->update" in the external signaling server,
"usersInRoom" in the internal signaling server) now include "actorType"
and "actorId" properties for each participant.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-13 15:51:20 +02:00
Daniel Calviño Sánchez
86b06488c3
Provide federation values when joining a room in the external signaling
The "federation" values are used by the external signaling server to
establish a connection with the remote signaling server in a federated
room.

For now this is applied only in calls; when the room is joined in the
chat view again after a call it will still join it in the old way,
without federation properties, which will cause the connection with the
remote signaling server to be closed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-13 15:51:20 +02:00
Daniel Calviño Sánchez
f3c7913f16
Get signaling settings by room when starting a call
This is necessary to get the specific federation properties for the
room.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-13 15:51:20 +02:00
Daniel Calviño Sánchez
6706bc2790
Store federation properties in signaling settings
Starting with Talk 20 the signaling settings include a "federation"
property that provide the values needed to join a federated room in the
external signaling settings. The "federation" property is specific to
each conversation, and it will be returned although empty for
non-federated conversations.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-13 15:51:19 +02:00
Marcel Hibbe
dc32a4a2f1
fix order of queued messages
add delay between sending of queued messages to increase the chance they are received on server in the correct order. This is not the best solution though as it blocks the UI a bit so may have to be improved!

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-13 15:27:44 +02:00
rapterjet2004
569be55395
Implement queued messages for offline support
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-09-13 15:27:44 +02:00
renovate[bot]
c2231a51d4
Update plugin com.google.devtools.ksp to v2.0.20-1.0.25
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-12 15:38:13 +00:00
sowjanyakch
6bc3b1a6e9
Make avatar circular
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-12 17:26:26 +02:00
sowjanyakch
f20ec95b5f
Avoid conflicting overloads
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-12 17:26:26 +02:00
sowjanyakch
3946240e4f
Add verification metadata
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-12 17:26:26 +02:00
sowjanyakch
f8bc4f2e96
upload conversation avatar
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-12 17:26:25 +02:00
sowjanyakch
fa014aab3a
Make pickImage work
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-12 17:26:25 +02:00
sowjanyakch
df6d54d51c
Add endpoints upload and delete Conversation Avatar
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-12 17:26:25 +02:00
Marcel Hibbe
9976767591
Merge pull request #4193 from nextcloud/bugfix/4168/doNotPullMessagesWhenOfflineOrPaused
do not try to pull chat messages when offline or paused
2024-09-12 17:24:21 +02:00
Marcel Hibbe
50c9cfdb54
Merge pull request #4194 from nextcloud/bugfix/noid/delayWebsocketReconnect
sleep one second before websocket reconnect
2024-09-12 12:02:43 +02:00
Nextcloud bot
9a44a9bf19
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-12 02:50:22 +00:00
Marcel Hibbe
24c27d0029
sleep one second before websocket reconnect
otherwise it's an endless loop without delay which may stress the devices...

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-11 17:21:41 +02:00
Marcel Hibbe
9a14764321
do not try to pull chat messages when offline or paused
Otherwise, it resulted in a lot of flickering because _lastCommonReadFlow was emitted every 500ms. And anyway if we know we are offline or paused then it doesn't make sense to execute the sync method.

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

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-11 17:05:07 +02:00
Marcel Hibbe
796053e271
remove theming of call buttons to remove disabled look for dark mode
In dark mode, the call buttons looked like disabled otherwise.

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

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-11 13:49:20 +02:00
Marcel Hibbe
6ddf06e9fd
improve to align unread conversation after tapping on unread mentions button
...instead to just show it on top

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

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

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

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-11 11:11:56 +02:00
Marcel Hibbe
5921faa8a8
set background color for password dialog
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-11 10:16:26 +02:00
Marcel Hibbe
2549e884fd
change background color for searchbar in contacts screen
not the best solution. Needs to be improved with theming of Compose.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-11 09:56:54 +02:00
sowjanyakch
3d1644a76d
Avoid conflicting overloads
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-11 09:31:13 +02:00
sowjanyakch
082669a3bf
ktlint Format
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-11 09:30:41 +02:00
sowjanyakch
06e48c6aad
Set background color for search
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-11 09:30:41 +02:00
sowjanyakch
922c329fab
Fix bug - select contacts onclick
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-11 09:30:41 +02:00
sowjanyakch
9fcb1427db
Make contacts select and deselect via search
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-11 09:30:41 +02:00
sowjanyakch
f374e6fe50
ConversationCreationActivity UI
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-11 09:30:37 +02:00
Nextcloud bot
4fd9428fb4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-11 02:58:58 +00:00
renovate[bot]
8f68d28016
fix(deps): update dependency androidx.compose:compose-bom to v2024.09.01
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 20:32:37 +00:00
renovate[bot]
2d46532f9f
fix(deps): update dependency androidx.compose.ui:ui-test-junit4 to v1.7.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 20:11:30 +00:00
renovate[bot]
beece3d892
fix(deps): update dependency androidx.compose.runtime:runtime to v1.7.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 19:54:03 +00:00
Nextcloud bot
216b9d8c0a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-10 04:22:23 +00:00
Nextcloud bot
214fd0a803
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-09 04:17:30 +00:00
renovate[bot]
b2ebafaf2d
Update dependency io.gitlab.arturbosch.detekt:detekt-formatting to v1.23.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-08 17:00:40 +00:00
Nextcloud bot
758e454702
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-08 04:54:22 +00:00
Nextcloud bot
60ecfa72c5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-07 06:12:22 +00:00
Marcel Hibbe
6858b32f2b
fix NPE when baseUrl is missing
no idea how this happens, however this was
reported via gplay pre launch report for 20.0.0RC1
("Detected on 10 devices during testing"):

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

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

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

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-06 14:32:00 +02:00
renovate[bot]
dcd8782bbb
Update dependency org.junit.vintage:junit-vintage-engine to v5.11.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-06 09:20:29 +00:00
Marcel Hibbe
092499ce92
Merge pull request #4100 from nextcloud/restore-broken-tests
Revert "fix: deactivate broken test and remove test platform config"
2024-09-06 11:15:10 +02:00
Nextcloud bot
7fc47de696
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-06 03:20:33 +00:00
renovate[bot]
87011cc020
Update dependency com.google.firebase:firebase-messaging to v24.0.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 23:07:55 +00:00
renovate[bot]
e57be1ed4d
Update plugin com.google.devtools.ksp to v2.0.20-1.0.25
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 22:02:28 +00:00
renovate[bot]
c4bba78191
Update dependency androidx.compose.material3:material3 to v1.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 13:54:07 +00:00
Marcel Hibbe
2fbe3dbb14
change wording for visibility of new conversation
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-05 15:41:12 +02:00
Marcel Hibbe
5001fd0b95
colorize status bar
...for ConversationCreationActivity and ContactsActivityCompose

just a quick fix, this may not be the best solution!

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-05 15:41:12 +02:00
Marcel Hibbe
8a59dd900d
fix to align Participants header
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-05 15:41:12 +02:00
Marcel Hibbe
8d1d44692e
only set password if not empty
otherwise response will be 400

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-05 15:41:12 +02:00
sowjanyakch
ecb3d5380c
Ktlint Format
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:12 +02:00
sowjanyakch
52378327f9
Work on warnings
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:11 +02:00
sowjanyakch
ff63bcd855
Properly select and deselect contact items
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:11 +02:00
sowjanyakch
5f3d73efce
make conversation available for registered users and guest app users
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:11 +02:00
sowjanyakch
1187b41e51
Set password
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:11 +02:00
sowjanyakch
cb6fdf6fe1
Refactor createRoom()
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:11 +02:00
sowjanyakch
dba56ddac0
Solved error unable to create call adapter for GenericOverall
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:11 +02:00
sowjanyakch
3db1f72981
Created a public conversation
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:10 +02:00
sowjanyakch
2959d8e13a
Create public conversation
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:10 +02:00
sowjanyakch
6b82d7209f
Start ContactsActivity to edit participants
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:10 +02:00
sowjanyakch
6d0144db1a
add participants list
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:10 +02:00
sowjanyakch
6a01309f2f
add participants
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:10 +02:00
sowjanyakch
9ae0d524c0
update ContactsViewModelTest - shareTypes
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:09 +02:00
sowjanyakch
0913b162b3
add participants endpoint
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:09 +02:00
sowjanyakch
e57c13efed
MultiSelect contacts
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:09 +02:00
sowjanyakch
b5f7556b3d
don't create room on clicking contacts when creating a new conversation
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:09 +02:00
sowjanyakch
9f61793c86
add isAddParticipant flag
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:09 +02:00
sowjanyakch
d32bc74559
ConversationCreationActivity - Refactoring
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:08 +02:00
sowjanyakch
cd01c80d71
ConversationCreationActivity UI
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:08 +02:00
Marcel Hibbe
ac217163e9
add dummy initialization of Conversation
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-05 14:54:40 +02:00
Marcel Hibbe
22182d211d
add junit-vintage-engine + remove duplicated junit dependency
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-05 14:54:37 +02:00
rapterjet2004
bc0dae7dce
fixed CI
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-05 14:53:36 +02:00
Joas Schilling
8957cff0d0
Revert "fix: deactivate broken test and remove test platform config"
This reverts commit 37625403d6.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-05 14:53:36 +02:00
renovate[bot]
74b71c613e
fix(deps): update emojiversion to v1.5.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 11:28:13 +00:00
renovate[bot]
cd828a0605
fix(deps): update dependency androidx.compose:compose-bom to v2024.09.00
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 11:06:59 +00:00
github-actions[bot]
e48b6587bb
Merge pull request #4150 from nextcloud/renovate/androidx.compose.ui-ui-test-junit4-1.x
fix(deps): update dependency androidx.compose.ui:ui-test-junit4 to v1.7.0
2024-09-05 09:52:02 +02:00
renovate[bot]
35885edf1a
fix(deps): update dependency androidx.compose.ui:ui-test-junit4 to v1.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 07:43:36 +00:00
renovate[bot]
137aaacfcc
fix(deps): update dependency androidx.compose.runtime:runtime to v1.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 07:42:11 +00:00
renovate[bot]
67461e4b23
fix(deps): update lifecycleversion to v2.8.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 04:20:41 +00:00
github-actions[bot]
0fc8cb85e4
Merge pull request #4145 from nextcloud/renovate/androidx.lifecycle-lifecycle-viewmodel-compose-2.x
fix(deps): update dependency androidx.lifecycle:lifecycle-viewmodel-compose to v2.8.5
2024-09-05 05:35:03 +02:00
github-actions[bot]
c0f080bee7
Merge pull request #4144 from nextcloud/renovate/androidx.lifecycle-lifecycle-runtime-ktx-2.x
fix(deps): update dependency androidx.lifecycle:lifecycle-runtime-ktx to v2.8.5
2024-09-05 05:34:08 +02:00
renovate[bot]
c6bc89b5d6
fix(deps): update dependency androidx.lifecycle:lifecycle-viewmodel-compose to v2.8.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 03:10:43 +00:00
renovate[bot]
6ff1c4d72f
fix(deps): update dependency androidx.lifecycle:lifecycle-runtime-ktx to v2.8.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 03:08:48 +00:00
Nextcloud bot
20fe1fb8fc
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-05 03:02:22 +00:00
github-actions[bot]
1ad1d1b777
Merge pull request #4142 from nextcloud/renovate/androidx.activity-activity-compose-1.x
fix(deps): update dependency androidx.activity:activity-compose to v1.9.2
2024-09-05 04:58:03 +02:00
renovate[bot]
96d743060f
fix(deps): update dependency androidx.activity:activity-ktx to v1.9.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 02:27:36 +00:00
renovate[bot]
1e28470c9d
fix(deps): update dependency androidx.activity:activity-compose to v1.9.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 02:25:49 +00:00
Julius Linus
7b63d0b432
Merge pull request #4135 from nextcloud/issue-4099-time-picker-bug
Fixing remind-me-later options
2024-09-04 08:03:24 -05:00
rapterjet2004
ece1f2ed65
fixed weekendTimeStamp, added a comment for clarity
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-09-04 07:15:34 -05:00
Marcel Hibbe
07cd9e1ced
fix to display text that was sent to app via "share to"
the bug was, that the sent text was overwritten with "" in restoreState.

With this fix the saved state is only applied when the input field is empty (which means there was nothing shared)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-04 13:41:15 +02:00
rapterjet2004
ea453dba3e
Follow up bug fixes for offline support
Got join conversation to work
Unread message popup should work when entering a conversation now
"Delete All Messages" now works without breaking the initMessagePolling
linter

Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-04 10:14:51 +02:00
Marcel Hibbe
20724c5efb
fix to scroll to last read message
This will fix to scroll to the last read message when a chat is opened.

Some refactorings were made that are not necessary for the fix (I tried to also show the "Unread messages" hint in the adapter but came to the conclusion this is not a good idea until chatkit is removed. Chatkit doesn't support to add some item in between but only at the end or start which will make it too complicated..)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-04 09:48:42 +02:00
rapterjet2004
08d5d41229
Should be fixed for good , need to test though
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-09-03 07:59:16 -05:00
Nextcloud bot
a5c6c2abaf
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-02 02:55:24 +00:00
Nextcloud bot
03691644be
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-01 03:00:35 +00:00
Nextcloud bot
64912d9d32
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-30 05:22:58 +00:00
renovate[bot]
6d035fca1a
fix(deps): update dependency org.apache.commons:commons-lang3 to v3.17.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-29 23:19:14 +00:00
sowjanyakch
2636979136
No Edit Time limit on Note to Self
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-08-29 09:06:29 +02:00
renovate[bot]
e2be6ad1b0
fix(deps): update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.7.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 18:51:11 +00:00
renovate[bot]
85049a467a
fix(deps): update mockito monorepo to v5.13.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 19:39:39 +00:00
renovate[bot]
a1e61de093
fix(deps): update media3_version to v1.4.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 11:22:04 +00:00
rapterjet2004
64ac46e605
Got it fixed
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-08-26 10:20:32 +02:00
rapterjet2004
a4fd2e6a4b
Got the highlighting fixed - need to fix the submit button (or disable it) as tapping it destroys the searchViewDisposable for some reason
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-08-26 10:20:32 +02:00
rapterjet2004
45cb74d4ce
partial fix - now need to reset highlighting after exit
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-08-26 10:20:32 +02:00
Marcel Hibbe
0564aef1c3 bump version to 20.1.0 Alpha 01
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-26 09:53:44 +02:00
Nextcloud bot
f1a41301cc
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-24 02:52:23 +00:00
Nextcloud bot
974463794f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-23 02:49:28 +00:00
renovate[bot]
b7713d9333
chore(deps): update plugin com.google.devtools.ksp to v2.0.20-1.0.24
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-22 21:57:34 +00:00
renovate[bot]
9c9aecc1e4
chore(deps): update plugin org.jetbrains.kotlin.plugin.compose to v2.0.20
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-22 09:57:25 +00:00
renovate[bot]
0cb9d5c463
fix(deps): update dependency androidx.compose:compose-bom to v2024.08.00
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 18:29:13 +00:00
rapterjet2004
9d75550482
fixed bug where the state of message input fragment wasn't saved because of capabilities
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-08-21 17:11:38 +02:00
Julius Linus
cb306d905c
Merge branch 'master' into issue-4075-filter-conversation-constrast 2024-08-21 09:26:37 -05:00
Julius Linus
1c52acc95d
Merge branch 'master' into issue-4072-federated-accept-message-should-be-system 2024-08-21 08:24:27 -05:00
renovate[bot]
64831278e4
fix(deps): update dependency com.google.firebase:firebase-messaging to v24
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-20 16:51:48 +00:00
github-actions[bot]
f21af51e60
Merge pull request #4092 from nextcloud/renovate/com.google.android.gms-play-services-base-18.x
fix(deps): update dependency com.google.android.gms:play-services-base to v18.5.0
2024-08-20 18:43:59 +02:00
Andy Scherzinger
0fa8d574c0
Revert "jackson-core to 2.14.3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-20 18:39:43 +02:00
github-actions[bot]
54a8b4224c
Merge pull request #3627 from nextcloud/renovate/com.fasterxml.jackson.core-jackson-core-2.x
fix(deps): update dependency com.fasterxml.jackson.core:jackson-core to v2.17.2
2024-08-20 18:05:41 +02:00
renovate[bot]
711a7853bd
fix(deps): update dependency com.google.android.gms:play-services-base to v18.5.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-20 15:58:53 +00:00
renovate[bot]
44cc750dfa
fix(deps): update dependency com.fasterxml.jackson.core:jackson-core to v2.17.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-20 15:55:15 +00:00
renovate[bot]
717b8fbbfa
fix(deps): update dependency androidx.test:core to v1.6.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-20 15:52:43 +00:00
renovate[bot]
2890b3fa7d
fix(deps): update dependency org.conscrypt:conscrypt-android to v2.5.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-20 14:39:16 +00:00
Andy Scherzinger
37625403d6
fix: deactivate broken test and remove test platform config
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-20 14:56:05 +02:00
renovate[bot]
f3887eca20
fix(deps): update dependency org.osmdroid:osmdroid-android to v6.1.20
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-20 06:08:07 +00:00
Nextcloud bot
7d225f7581
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-20 02:55:42 +00:00
Nextcloud bot
7fcf6add96
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-18 03:16:26 +00:00
Andy Scherzinger
8422b0836b
Merge pull request #4067 from nextcloud/renovate/androidx.test.ext-junit-ktx-1.x
fix(deps): update dependency androidx.test.ext:junit-ktx to v1.2.1
2024-08-18 00:13:42 +02:00
Andy Scherzinger
b11d26826d
Merge pull request #4056 from nextcloud/renovate/composeoptions-1.x
fix(deps): update dependency composeoptions to v1.5.15
2024-08-18 00:08:46 +02:00
renovate[bot]
9f2dc19ed7 fix(deps): update dependency composeoptions to v1.5.15
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-17 23:55:37 +02:00
renovate[bot]
44a6f6846f Update dependency androidx.test.ext:junit-ktx to v1.2.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-17 23:52:36 +02:00
renovate[bot]
53800e646e fix(deps): update dependency androidx.activity:activity-ktx to v1.9.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-17 23:50:38 +02:00
Andy Scherzinger
b0351f016e
style: move error color to M3 theme code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-17 23:31:57 +02:00
Andy Scherzinger
31d3c83abb
style: M3 divider specs implemented
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-17 23:31:57 +02:00
Andy Scherzinger
42207a8c10
fix: use theme primary color for stick headers
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-17 23:31:57 +02:00
Andy Scherzinger
31aacadf6f
fix: status bar color is themed now
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-17 23:31:57 +02:00
renovate[bot]
4ae1710c61
Update dependency com.github.nextcloud.android-common:ui to v0.23.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-17 22:28:51 +02:00
Andy Scherzinger
9d62a6f745
fix: improve detekt score and threshold
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-17 20:42:26 +02:00
Andy Scherzinger
69ed8207d0
fix: ktlintCheck by reformatting kt code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-17 20:20:42 +02:00
Andy Scherzinger
2c7c720a4d
fix: use layoutInflater directly
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-17 19:56:45 +02:00
renovate[bot]
dba9dc982d chore(deps): update plugin com.google.devtools.ksp to v2.0.10-1.0.24
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-17 19:36:28 +02:00
Nextcloud bot
b03e6f1ff6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-17 02:52:02 +00:00
rapterjet2004
1930bf0b6d
fix
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-08-16 09:28:21 -05:00
Nextcloud bot
388de89471
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-16 02:52:15 +00:00
rapterjet2004
7ca68b334a
fix
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-08-15 11:29:38 -05:00
rapterjet2004
903dd07a1b
fix
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-08-15 08:38:26 -05:00
Nextcloud bot
176ec82e2f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-15 09:48:55 +00:00
Sowjanya Kota
ed88841787
Merge pull request #4073 from nextcloud/rakekniven-patch-1
chore(i18n): Capitalization standardized
2024-08-15 11:17:44 +02:00
Sowjanya Kota
672ccef79a
Merge pull request #4077 from nextcloud/rename_conversation_gained_string
Rename string from connection gained to connection established
2024-08-15 11:17:08 +02:00
Nextcloud bot
4aef18d27e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-15 03:03:37 +00:00
sowjanyakch
2e96817bcc
Modify string connection_gained
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-08-14 11:11:57 +02:00
rakekniven
d9cc5a68dd chore(i18n): Capitalization standardized
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-08-14 10:51:54 +02:00
Nextcloud bot
3e52c38f5b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-14 02:51:06 +00:00
Nextcloud bot
e476092567
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-13 02:52:05 +00:00
Marcel Hibbe
82b3eb3647
fix tests
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 17:13:37 +02:00
Marcel Hibbe
8885b999ca
bump database version to 11 + add migration
comment in openHelperFactory

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:07 +02:00
Marcel Hibbe
6e2ee1f001
add index to ChatBlockEntity
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:07 +02:00
Marcel Hibbe
edc0554fd2
sort entity attributes of ChatMessageEntity and ConversationEntity alphabetically
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:07 +02:00
Marcel Hibbe
76e6bb0f82
set values to not nullable in ChatMessage wherever this makes sense
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:07 +02:00
Marcel Hibbe
a632765cce
set values to not nullable in ConversationEntity.kt wherever this makes sense
remove roomId from Conversation (deprecated. only token should be used)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:06 +02:00
Marcel Hibbe
9892613984
rearrange ConversationEntity columns to match documentation
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:06 +02:00
Marcel Hibbe
da04f536f7
remove dao methods to delete data when user is removed
...will be done by foreign keys cascading. Therefore, also added foreign key to ChatBlockEntity

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:06 +02:00
Marcel Hibbe
e951b3d53a
fix to load newest conversations (online first)
Before, old conversations that were left still occurred in the list (only adding+updating was done, but never deleting)

also, the list is up to date when coming back from chat. Otherwise there may be unread messages shown for a short moment which were already read.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:06 +02:00
Marcel Hibbe
beb7b150be
minor cleanup
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:06 +02:00
rapterjet2004
6a3ece6703
disabled message queuing - still kept code for now until i can fix it or remove it otherwise
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-08-12 16:47:05 +02:00
Marcel Hibbe
fe4bf942ab
remove SyncableModel and SyncUtils
not needed for our requirements + it simplifies code

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:05 +02:00
Marcel Hibbe
a84e69b6bb
fix to processExpiredMessages
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:05 +02:00
Marcel Hibbe
d18bd20bf1
extract a method to getItemFromAdapter
method was extracted for other purposes but was not used in the end. Anyway it made sense to use it for resumeAudioPlaybackIfNeeded.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:05 +02:00
Marcel Hibbe
217ff6af74
remove comments and unused code
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:05 +02:00
Marcel Hibbe
b757164c6d
only delay readStatus handling for initial loading
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:05 +02:00
Marcel Hibbe
0390c93ed2
implement lastCommonRead handling
contains one workaround for now, see TODO in updateUiForLastCommonRead method

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:04 +02:00
Marcel Hibbe
5bccdada7c
minor cleanup in OfflineFirstChatRepository
fix to show unreadMessagesPopup at bottom (typingIndicatorWrapper must not be gone but invisible)

align unreadMessagesPopup to not overlap typingIndicator

fix to hide scrollDown button when unreadMessagesPopup is shown

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:04 +02:00
Marcel Hibbe
a13a53f7fd
fix to hide popupBubbleView for system messages like reactions
rename popupBubbleView to unreadMessagesPopup

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:04 +02:00
Marcel Hibbe
299e8508c4
handle CLEARED_CHAT for scrolling into past
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:04 +02:00
Marcel Hibbe
85f4d8cd92
handle special system messages in ChatRepo instead in UI
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:04 +02:00
rapterjet2004
db8d7b91d4
WIP UI fixes for offline conversations - next up get queued messges to work and show up as temp messages ( I have some creative ideas for the UI )
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-08-12 16:47:03 +02:00
Marcel Hibbe
aa76636f72
handle reaction message for lookIntoFuture
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:03 +02:00
Marcel Hibbe
15d54f745b
revert to bump fido version
was falsely merged, so now reapplying commit 98f83617

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:03 +02:00
Marcel Hibbe
2408d639e4
Offline support for conversations and chats
Authors: Julius Linus and Marcel Hibbe

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:03 +02:00
Nextcloud bot
b15c1787c2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-12 02:48:27 +00:00
Nextcloud bot
fdb0011ed0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-11 02:47:15 +00:00
Nextcloud bot
ff61a659d2
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-10 02:51:07 +00:00
renovate[bot]
23df5d1953
fix(deps): update dependency org.mockito.kotlin:mockito-kotlin to v5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-09 17:41:34 +00:00
github-actions[bot]
c162f9f913
Merge pull request #4062 from nextcloud/renovate/coroutines_version
fix(deps): update dependency org.jetbrains.kotlinx:kotlinx-coroutines-test to v1.8.1
2024-08-09 16:23:40 +02:00
renovate[bot]
1f47986099
fix(deps): update dependency org.jetbrains.kotlinx:kotlinx-coroutines-test to v1.8.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-09 14:05:12 +00:00
renovate[bot]
6b78269a3c
fix(deps): update dependency androidx.lifecycle:lifecycle-viewmodel-compose to v2.8.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-09 14:00:38 +00:00
sowjanyakch
4508cbb0aa
work on codacy warnings
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-08-09 15:44:36 +02:00
sowjanyakch
c6fb2ef6e1
refactoring
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-08-09 15:44:35 +02:00
sowjanyakch
77a9ae601f
add signature
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-08-09 15:44:35 +02:00
sowjanyakch
a51e3b98ad
Image uri test cases
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-08-09 15:44:35 +02:00
sowjanyakch
d656a93e8a
add test cases for create room
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-08-09 15:44:35 +02:00
sowjanyakch
8d52a6fcc9
add error test case for contacts fetch
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-08-09 15:44:35 +02:00
sowjanyakch
62b2ecd338
Add tests for fetching contacts
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-08-09 15:44:35 +02:00
sowjanyakch
9526825da7
Refactor - use Icons
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-08-09 15:44:34 +02:00
sowjanyakch
acbda6f887
Create fake data for unit tests
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-08-09 15:44:34 +02:00
sowjanyakch
5d73b65a31
test dependencies
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-08-09 15:44:34 +02:00
sowjanyakch
d3ff2e9ee9
ViewModelModule.kt changes
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-08-09 15:44:34 +02:00
sowjanyakch
2582476a54
Contacts Screen
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-08-09 15:44:34 +02:00
Marcel Hibbe
a9593f25b6
Merge pull request #4060 from nextcloud/fixStringsForBanning
Fix strings for banning
2024-08-09 14:16:05 +02:00
Marcel Hibbe
94fbdb25ac
rename layouts for banning
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-09 12:58:53 +02:00
renovate[bot]
2c458254e5
fix(deps): update dependency com.github.nextcloud.android-common:ui to v0.23.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-09 10:49:46 +00:00
Marcel Hibbe
5f0563aae3
fix strings for banning (use 'participant' instead 'actor')
replace key ban_actor with ban_participant

fix upper/lower case

fix to use translation in ConversationInfoActivity instead hardcoded string

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-09 12:38:19 +02:00
Nextcloud bot
e1fe39c93b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-09 02:55:12 +00:00
Nextcloud bot
43a73f6c84
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-08 02:51:18 +00:00
renovate[bot]
c32685357d
fix(deps): update workversion to v2.9.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-07 18:27:44 +00:00
renovate[bot]
47898bc1b2
fix(deps): update dependency org.apache.commons:commons-lang3 to v3.16.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-07 16:29:10 +00:00
Nextcloud bot
03dbd320ea
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-07 02:49:44 +00:00
Julius Linus
9866062704
Merge pull request #3904 from nextcloud/issue-3898-ban
🚫 Allow Banning Users and Guests
2024-08-06 11:16:37 -05:00
rapterjet2004
46d3fd1569
Allows Banning
- New option to ban participant if your a moderator and not in one-2-one
- New fragment to see previous bans, unban if wanted

Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-08-06 10:58:22 -05:00
renovate[bot]
d17d600a1a
chore(deps): update plugin org.jetbrains.kotlin.plugin.compose to v2.0.10
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-06 12:27:13 +00:00
renovate[bot]
18bd709971
fix(deps): update daggerversion to v2.52
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-05 20:54:09 +00:00
rapterjet2004
46cafd5626
lint
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-07-31 09:40:42 -05:00
rapterjet2004
515ecedd04
Seems to work - fixed adapter issue
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-07-31 08:58:24 -05:00
rapterjet2004
b41f41f704
Got it working - Just need to test it out
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-07-30 11:59:45 -05:00
renovate[bot]
fa403d4f4a
chore(deps): update plugin com.google.devtools.ksp to v2.0.0-1.0.24
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-30 01:04:58 +00:00
Andy Scherzinger
98f836172b
Revert "fix(deps): update fidoversion to v4.4.0"
This reverts commit e8f1774a09.
2024-07-29 15:35:03 +02:00
renovate[bot]
e8f1774a09
fix(deps): update fidoversion to v4.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-29 12:01:08 +00:00
Andy Scherzinger
3d5f82a6e2
fix(deps): revert fido to 4.1
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-07-29 13:17:15 +02:00
Nextcloud bot
b34beee899
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-29 02:45:05 +00:00
Nextcloud bot
45b18a7f9d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-27 02:43:54 +00:00
Nextcloud bot
395f1d82e7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-26 02:45:43 +00:00
renovate[bot]
30cafb8361
fix(deps): update media3_version to v1.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-25 14:54:39 +00:00
rapterjet2004
5caf93357f
Fixed
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-07-25 08:54:01 -05:00
Nextcloud bot
2ba6676173
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-25 02:45:26 +00:00
github-actions[bot]
edee27639d
Merge pull request #3628 from nextcloud/renovate/fidoversion
fix(deps): update fidoversion to v4.4.0
2024-07-24 22:01:09 +02:00
github-actions[bot]
31e512cab5
Merge pull request #3890 from nextcloud/renovate/com.google.firebase-firebase-messaging-24.x
fix(deps): update dependency com.google.firebase:firebase-messaging to v24
2024-07-24 21:58:43 +02:00
github-actions[bot]
c152a48307
Merge pull request #3982 from nextcloud/renovate/com.google.devtools.ksp-2.x
chore(deps): update plugin com.google.devtools.ksp to v2.0.0-1.0.23
2024-07-24 21:54:54 +02:00
renovate[bot]
0478d0c4b4
fix(deps): update fidoversion to v4.4.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 19:51:43 +00:00
renovate[bot]
7a05c3b1f5
fix(deps): update dependency com.google.firebase:firebase-messaging to v24
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 19:43:19 +00:00
renovate[bot]
4efb1216a5
chore(deps): update plugin com.google.devtools.ksp to v2.0.0-1.0.23
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 19:39:37 +00:00
renovate[bot]
44c465af78
fix(deps): update lifecycleversion to v2.8.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 19:29:53 +00:00
Andy Scherzinger
bade1c082a
Merge pull request #3945 from nextcloud/renovate/com.google.android.gms-play-services-base-18.x
fix(deps): update dependency com.google.android.gms:play-services-base to v18.5.0
2024-07-24 21:21:43 +02:00
github-actions[bot]
940e451bf7
Merge pull request #4023 from nextcloud/renovate/androidx.activity-activity-ktx-1.x
fix(deps): update dependency androidx.activity:activity-ktx to v1.9.1
2024-07-24 20:37:19 +02:00
renovate[bot]
ca7e137f0b
fix(deps): update dependency androidx.activity:activity-ktx to v1.9.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 18:28:25 +00:00
renovate[bot]
2e29a8c930
fix(deps): update dependency androidx.activity:activity-compose to v1.9.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 18:26:54 +00:00
github-actions[bot]
996cdcf4f2
Merge pull request #4013 from nextcloud/renovate/androidx.lifecycle-lifecycle-runtime-ktx-2.x
fix(deps): update dependency androidx.lifecycle:lifecycle-runtime-ktx to v2.8.4
2024-07-24 20:21:09 +02:00
github-actions[bot]
9c69edd730
Merge pull request #4017 from nextcloud/renovate/androidx.compose-compose-bom-2024.x
fix(deps): update dependency androidx.compose:compose-bom to v2024.06.00
2024-07-24 20:02:55 +02:00
github-actions[bot]
08b517f491
Merge pull request #4015 from nextcloud/renovate/composeoptions-1.x
fix(deps): update dependency composeoptions to v1.5.14
2024-07-24 20:01:07 +02:00
renovate[bot]
971983832d
fix(deps): update dependency androidx.lifecycle:lifecycle-runtime-ktx to v2.8.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 17:42:42 +00:00
renovate[bot]
fa7e551575 fix(deps): update dependency com.google.android.gms:play-services-base to v18.5.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 19:40:23 +02:00
renovate[bot]
27d605a21c fix(deps): update dependency composeoptions to v1.5.14
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 19:39:37 +02:00
renovate[bot]
2303be351d fix(deps): update dependency androidx.compose:compose-bom to v2024.06.00
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 19:39:20 +02:00
renovate[bot]
9db0ed3c4e fix(deps): update dependency io.coil-kt:coil-compose to v2.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 19:37:50 +02:00
renovate[bot]
82884108be fix(deps): update coilktversion to v2.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 19:13:28 +02:00
renovate[bot]
92cf8f378c
fix(deps): update dependency org.apache.commons:commons-lang3 to v3.15.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 12:39:41 +00:00
Marcel Hibbe
8f3ddca2a6
add version to androidx.compose.ui:ui-test-junit4
otherwise this will cause:

Execution failed for task ':app:generateGplayDebugAndroidTestLintModel'.
> Could not resolve all files for configuration ':app:gplayDebugAndroidTestRuntimeClasspath'.
   > Could not find androidx.compose.ui:ui-test-junit4:.
     Required by:
         project :app

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-07-24 14:14:07 +02:00
Marcel Hibbe
f19e1b8a19
remove lib com.amulyakhare:com.amulyakhare.textdrawable
replace with own TextDrawable class

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-07-24 14:14:06 +02:00
Marcel Hibbe
d4e781a00a
remove lib com.novoda:merlin
Doesn't seemed to be used anymore

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-07-24 14:14:06 +02:00
Marcel Hibbe
0c9af5c4e3
use FlexibleAdapter from Jitpack.io
See
https://github.com/davideas/FlexibleAdapter/issues/768#issuecomment-1177642644

However FlexibleAdapter has to be removed soon (at best with Jetpack Compose)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-07-24 12:52:08 +02:00
Marcel Hibbe
688c351444
use converter-logansquare from mvncentral
See

https://github.com/mannodermaus/retrofit-logansquare

https://mvnrepository.com/artifact/de.mannodermaus.retrofit2/converter-logansquare/1.4.1

However logansquare has to be replaced with more modern solutions soon!

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-07-24 12:52:08 +02:00
Nextcloud bot
9f6de3a27f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-24 02:45:44 +00:00
Marcel Hibbe
eb18abef43
Merge pull request #3936 from nextcloud/contacts_activity
Contacts activity
2024-07-23 13:18:58 +02:00
sowjanyakch
1255a0b585
Add copyright to the drawable
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-07-23 12:27:30 +02:00
sowjanyakch
dc11254149
Refactoring
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-07-23 11:41:24 +02:00
sowjanyakch
bb46b6adad
Contacts Activity Compose
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-07-23 11:41:24 +02:00
Nextcloud bot
9ff46f4500
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-23 02:45:01 +00:00
Nextcloud bot
2c18ca54ef
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-19 02:43:56 +00:00
renovate[bot]
eec0537b78
fix(deps): update dependency pl.droidsonroids.gif:android-gif-drawable to v1.2.29
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-16 10:50:28 +02:00
Marcel Hibbe
750cce2560
bump version to 20.0.0 Alpha 01
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-07-15 11:30:51 +02:00
Nextcloud bot
96ed58cf60
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-15 02:43:35 +00:00
Nextcloud bot
6fc6507d86
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-14 02:45:15 +00:00
Nextcloud bot
decef00b4f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-13 02:47:13 +00:00
Andy Scherzinger
3e4995de36
Merge pull request #3986 from nextcloud/renovate/androidx.test-core-1.x
fix(deps): update dependency androidx.test:core to v1.6.1
2024-07-09 22:22:15 +02:00
renovate[bot]
c0c06d4a3a
fix(deps): update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.7.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 17:18:05 +00:00
renovate[bot]
2ae2a774a9 fix(deps): update dependency androidx.test:core to v1.6.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-09 15:51:52 +02:00
Andy Scherzinger
609cbd50ec
Merge pull request #3987 from nextcloud/renovate/espressoversion
fix(deps): update espressoversion to v3.6.1
2024-07-08 11:11:45 +02:00
renovate[bot]
d738494c97
fix(deps): update espressoversion to v3.6.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-08 08:04:19 +00:00
renovate[bot]
17a4aac6ff
fix(deps): update androidxcameraversion to v1.3.4
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-08 10:04:00 +02:00
Andy Scherzinger
4e9930152f
Merge pull request #3956 from nextcloud/renovate/com.github.nextcloud.android-common-ui-0.x
fix(deps): update dependency com.github.nextcloud.android-common:ui to v0.22.0
2024-07-08 09:55:38 +02:00
Andy Scherzinger
7ff894c734
Merge pull request #3944 from nextcloud/renovate/androidx.appcompat-appcompat-1.x
fix(deps): update dependency androidx.appcompat:appcompat to v1.7.0
2024-07-08 09:48:10 +02:00
Nextcloud bot
68aa5717e8
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-04 02:46:43 +00:00
Nextcloud bot
93bea53999
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-03 02:43:28 +00:00
Nextcloud bot
425610c62a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-02 02:46:44 +00:00
renovate[bot]
5fb1d842ac
fix(deps): update lifecycleversion to v2.8.3
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-01 18:58:45 +00:00
Nextcloud bot
f9a994e273
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-30 02:43:24 +00:00
Nextcloud bot
5a6cfb6fe6
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-28 02:51:39 +00:00
renovate[bot]
09764d917f
fix(deps): update dependency com.github.nextcloud.android-common:ui to v0.22.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-27 09:21:41 +00:00
Nextcloud bot
59b86aca73
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-27 02:44:27 +00:00
Nextcloud bot
0ce4ae8a6d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-23 02:44:56 +00:00
Nextcloud bot
c29afb6c44
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-22 03:41:13 +00:00
Nextcloud bot
f583e20db1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-21 02:44:14 +00:00
Nextcloud bot
09adacec7d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-20 02:43:44 +00:00
Andy Scherzinger
0a24f043b8
fix: remove use of LayoutInflater.from(Context)
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-19 17:15:21 +02:00
renovate[bot]
6fd725e8be
fix(deps): update dependency androidx.appcompat:appcompat to v1.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-19 17:15:20 +02:00
Marcel Hibbe
6ceafee3ed
Avoid StackOverflowError when opening chat (kotlin2.0 fix)
When opening the chat the app crashed with

2024-06-18 10:59:45.039 30757-30757 AndroidRuntime          com.nextcloud.talk2                  E  FATAL EXCEPTION: main
  Process: com.nextcloud.talk2, PID: 30757
  java.lang.StackOverflowError: stack size 8192KB
  at com.nextcloud.talk.ui.MessageInput.getMessageSendButton(MessageInput.kt:75)

Hint in AS was:
Now field from base class com.stfalcon.chatkit.messages.MessageInput shadows the property with custom getter from derived class com.nextcloud.talk.ui.MessageInput. This behavior will be changed soon in favor of the property. Please use explicit cast to com.stfalcon.chatkit.messages.MessageInput if you wish to preserve current behavior. See https://youtrack.jetbrains.com/issue/KT-55017 for details

The issue is caused by the update to kotlin2.0.
Calling the super fields fixes the issue.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-06-18 11:54:33 +02:00
Marcel Hibbe
1e14532713
Merge pull request #3970 from nextcloud/kotlin2.0
update to kotlin 2.0 / use ksp where possible
2024-06-18 09:23:08 +02:00
Nextcloud bot
988941a44b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-18 02:44:16 +00:00
Marcel Hibbe
00101abda7
update to kotlin 2.0 / use ksp where possible
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-06-17 17:41:03 +02:00
Nextcloud bot
34b49cc301
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-17 02:40:34 +00:00
Nextcloud bot
8799886bb3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-16 02:44:01 +00:00
Nextcloud bot
bcc514986c
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-15 02:46:38 +00:00
Nextcloud bot
0e49006118
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-14 02:44:19 +00:00
Nextcloud bot
acec694121
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-11 02:42:48 +00:00
rapterjet2004
560e454d5e
Fixes
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-06-06 09:20:01 -05:00
Andy Scherzinger
944e1429c2
Merge pull request #3943 from nextcloud/renovate/lifecycleversion
fix(deps): update lifecycleversion to v2.8.1
2024-06-05 20:11:41 +02:00
Julius Linus
6a01ebf630
Message Input Refactoring
- Added io folder for Abstracting away background work
- AudioFocusRequestManager
- MediaPlayerManager
- MediaRecorderManager
- AudioRecorderManager

Included new View Models + Fragments to separate concerns

- MessageInputFragment
- MessageInputVoiceRecordingFragment

Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-06-05 17:45:01 +02:00
Nextcloud bot
efef81bcd1
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-05 02:43:38 +00:00
Sowjanya Kota
38abfafc38
Merge pull request #3947 from nextcloud/bugfix/3896/avoidErrorByEthernetConnection
avoid "Please check your internet connection"
2024-06-04 11:57:26 +02:00
rapterjet2004
2db6ce7066
Avoid NPE for databaseStorageModule
Exception java.lang.NullPointerException:
  at com.nextcloud.talk.conversationinfo.ConversationInfoActivity.handleConversation (ConversationInfoActivity.kt:686)
  at com.nextcloud.talk.conversationinfo.ConversationInfoActivity.access$handleConversation (ConversationInfoActivity.kt:94)
  at com.nextcloud.talk.conversationinfo.ConversationInfoActivity$initObservers$2.invoke (ConversationInfoActivity.kt:232)
  at com.nextcloud.talk.conversationinfo.ConversationInfoActivity$initObservers$2.invoke (ConversationInfoActivity.kt:227)
  at com.nextcloud.talk.conversationinfo.ConversationInfoActivity$sam$androidx_lifecycle_Observer$0.onChanged

Handle conversation is called when capabilities are retrieved, which can occur before databaseStorageModule is created. The fix was to call initObservers after the module was created.

Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-06-03 13:24:34 +02:00
Marcel Hibbe
baaf45e7f6
Merge pull request #3942 from nextcloud/issue-3935-fixing-mediahandler
Fixed MediaPlayerHandler crashing on lifecycle change
2024-06-03 13:15:05 +02:00
Nextcloud bot
7b1fd57394
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-03 02:42:43 +00:00
Marcel Hibbe
6ca2ba7994
avoid "Please check your internet connection"
avoid "Please check your internet connection" error when connected via ethernet or vpn

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-05-31 12:43:44 +02:00
renovate[bot]
ac2656f946
fix(deps): update lifecycleversion to v2.8.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-29 19:19:40 +00:00