Commit graph

9494 commits

Author SHA1 Message Date
Marcel Hibbe
d357669e26
add v20.0.0 to CHANGELOG.md
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-14 16:36:10 +02: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
580dd584e5
Merge pull request #4120 from nextcloud/add-support-for-federated-calls
Add support for federated calls
2024-09-13 17:01:33 +02: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
github-actions[bot]
327d1f7478
Merge pull request #4206 from nextcloud/renovate/github-codeql-action-3.x
Update github/codeql-action action to v3.26.7
2024-09-13 15:48:38 +02:00
renovate[bot]
016298e7af
Update github/codeql-action action to v3.26.7
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-13 13:30:36 +00:00
Marcel Hibbe
4517ca5893
Merge pull request #4183 from nextcloud/issue-4167-send-messages-offline
Queuing offline messages to be sent online
2024-09-13 15:29:55 +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
github-actions[bot]
3d2df9bb94
Merge pull request #4202 from nextcloud/renovate/com.google.devtools.ksp-2.x
Update plugin com.google.devtools.ksp to v2.0.20-1.0.25
2024-09-12 17:53:10 +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
Marcel Hibbe
946aa60409
Merge pull request #4196 from nextcloud/user_avatar_selection
User avatar selection
2024-09-12 17:30:24 +02: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
Julius Linus
e7d596f402
Merge pull request #4191 from nextcloud/bugfix/4012/fixIconColors
remove theming of call buttons to remove disabled look for dark mode
2024-09-11 08:09:50 -05:00
Marcel Hibbe
796053e271
remove theming of call buttons to remove disabled look for dark mode
In dark mode, the call buttons looked like disabled otherwise.

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

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-11 13:49:20 +02:00
Sowjanya Kota
58474dd97f
Merge pull request #4177 from nextcloud/bugfix/3993/fixFlickeringUnreadMentionPopup
Bugfix/3993/fix flickering unread mention popup
2024-09-11 11:43:51 +02:00
Marcel Hibbe
6ddf06e9fd
improve to align unread conversation after tapping on unread mentions button
...instead to just show it on top

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

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

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

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-11 11:11:56 +02:00
Sowjanya Kota
e7d6dfd060
Merge pull request #4180 from nextcloud/bugfix/4175/setBackgroundColorForPasswordDialog
set background color for password dialog
2024-09-11 11:08:53 +02:00
Marcel Hibbe
5921faa8a8
set background color for password dialog
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-11 10:16:26 +02:00