Commit graph

9389 commits

Author SHA1 Message Date
Marcel Hibbe
4dbc8181f9
Merge pull request #4255 from nextcloud/backport/4239/stable-20.0
[stable-20.0] fix to not remove call buttons for federated conversations after 30 seconds
2024-09-20 13:47:31 +02:00
Marcel Hibbe
2c08aa093b 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 11:46:51 +00:00
Marcel Hibbe
6b0f6d0399
Merge pull request #4252 from nextcloud/backport/4240/stable-20.0
[stable-20.0] fix to hide messageInputFragment when user has no restriction to write
2024-09-20 13:45:43 +02:00
Marcel Hibbe
de6cfabdef 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-19 16:48:31 +00:00
Nextcloud bot
4eefebe21b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-19 02:51:58 +00:00
Nextcloud bot
fe31225411
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-18 02:54:25 +00:00
Marcel Hibbe
d212817904
bump version to 20.0.1
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-17 12:28:34 +02:00
Marcel Hibbe
6498cfd646
Merge pull request #4234 from nextcloud/backport/4233/stable-20.0
[stable-20.0] dont show error when fetching pending invitations failed
2024-09-17 12:06:36 +02:00
Marcel Hibbe
a675ecf74c dont show error when fetching pending invitations failed
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-17 10:06:17 +00:00
Marcel Hibbe
845db1e1aa
Merge pull request #4232 from nextcloud/backport/4231/stable-20.0
[stable-20.0] fix to show accounts from older servers in switch account dialog
2024-09-17 11:44:09 +02:00
Marcel Hibbe
853134176a 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 09:43:44 +00:00
Marcel Hibbe
0fe3e849bb
Merge pull request #4230 from nextcloud/backport/4221/stable-20.0
[stable-20.0] fix to show user status in conversation list
2024-09-17 11:05:48 +02:00
Marcel Hibbe
c7e8ef205f fix to show user status in conversation list
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-17 09:05:22 +00:00
Marcel Hibbe
1e5df503cd
Merge pull request #4229 from nextcloud/backport/4223/stable-20.0
[stable-20.0] fix to load chat for old server version
2024-09-17 11:02:35 +02:00
Marcel Hibbe
5692212dad 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-17 09:00:27 +00:00
Nextcloud bot
05c6dc3137
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-17 02:56:23 +00:00
Nextcloud bot
e8d065f2b3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-16 02:46:32 +00:00
Nextcloud bot
71ca84c024
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-15 03:36:24 +00:00
Nextcloud bot
ec0fc67971
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-14 02:57:12 +00:00
Marcel Hibbe
d75fe681cd
Merge pull request #4211 from nextcloud/backport/4210/stable-20.0
[stable-20.0] fix to show connection lost hint when internet is gone
2024-09-13 18:43:20 +02:00
Marcel Hibbe
abbc6f827f 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 16:42:58 +00:00
Marcel Hibbe
5643978555
bump version to 20.0.0
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-13 17:47:24 +02:00
Nextcloud bot
fca6eb4ac5
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-13 15:19:13 +00:00
Nextcloud bot
473bac48d3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-13 15:07:20 +00:00
Marcel Hibbe
32ed934c12
Merge pull request #4207 from nextcloud/backport/4120/stable-20.0
[stable-20.0] Add support for federated calls
2024-09-13 17:02:10 +02:00
Marcel Hibbe
9fb8add8e9 reformat code
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-13 15:01:39 +00:00
Daniel Calviño Sánchez
c7544b308e 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:01:39 +00:00
Daniel Calviño Sánchez
50aa42832e 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:01:39 +00:00
Daniel Calviño Sánchez
55c91f3c1a fixup! Store federation properties in signaling settings
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-13 15:01:39 +00:00
Daniel Calviño Sánchez
2663ecabed 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:01:39 +00:00
Daniel Calviño Sánchez
3cdcd22dd3 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:01:39 +00:00
Daniel Calviño Sánchez
21839e77cd Show proper avatar for federated users in calls
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-13 15:01:39 +00:00
Daniel Calviño Sánchez
ae7ed62844 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:01:39 +00:00
Daniel Calviño Sánchez
96da1b8e3f 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:01:39 +00:00
Daniel Calviño Sánchez
c485d2f970 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:01:39 +00:00
Daniel Calviño Sánchez
7cd9a3ffb7 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:01:38 +00:00
Marcel Hibbe
01d7a38770
Merge pull request #4205 from nextcloud/backport/4183/stable-20.0
[stable-20.0] Queuing offline messages to be sent online
2024-09-13 15:32:17 +02:00
Marcel Hibbe
6c20cdc2a4 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 13:30:01 +00:00
rapterjet2004
731d1bf7ca Implement queued messages for offline support
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-09-13 13:30:00 +00:00
Marcel Hibbe
d3b9bd3c7a
Merge pull request #4201 from nextcloud/backport/4196/stable-20.0
[stable-20.0] User avatar selection
2024-09-12 17:31:17 +02:00
sowjanyakch
516d02fbbc Make avatar circular
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-12 15:30:59 +00:00
sowjanyakch
9712c8d445 Avoid conflicting overloads
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-12 15:30:59 +00:00
sowjanyakch
a7051fe1b4 Add verification metadata
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-12 15:30:58 +00:00
sowjanyakch
b3bd53b558 upload conversation avatar
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-12 15:30:58 +00:00
sowjanyakch
c7a9b00f43 Make pickImage work
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-12 15:30:58 +00:00
sowjanyakch
d422bb870f Add endpoints upload and delete Conversation Avatar
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-12 15:30:58 +00:00
Marcel Hibbe
02520efa7c
Merge pull request #4200 from nextcloud/backport/4193/stable-20.0
[stable-20.0] do not try to pull chat messages when offline or paused
2024-09-12 17:24:43 +02:00
Marcel Hibbe
ad71cf98e4 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-12 15:24:26 +00:00
Marcel Hibbe
c00eadefb4
Merge pull request #4197 from nextcloud/backport/4194/stable-20.0
[stable-20.0] sleep one second before websocket reconnect
2024-09-12 12:03:10 +02:00
Marcel Hibbe
2fa51552b2 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-12 10:02:52 +00:00