Commit graph

9382 commits

Author SHA1 Message Date
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
Nextcloud bot
f6c34e65f0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-12 02:51:05 +00:00
Marcel Hibbe
6bfe82527a
Merge pull request #4192 from nextcloud/backport/4191/stable-20.0
[stable-20.0] remove theming of call buttons to remove disabled look for dark mode
2024-09-11 15:15:06 +02:00
Marcel Hibbe
e4c364e1ea 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:09:55 +00:00
Marcel Hibbe
10eb7a55fb
Merge pull request #4188 from nextcloud/backport/4180/stable-20.0
[stable-20.0] set background color for password dialog
2024-09-11 12:48:37 +02:00
Marcel Hibbe
e492d32dd4
Merge pull request #4189 from nextcloud/backport/4177/stable-20.0
[stable-20.0] Bugfix/3993/fix flickering unread mention popup
2024-09-11 12:48:21 +02:00
Marcel Hibbe
660d157061 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 09:43:58 +00:00
Marcel Hibbe
02be0d13c7 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 09:43:58 +00:00