Commit graph

9499 commits

Author SHA1 Message Date
sowjanyakch
a33c90f628 Add Change Password dialogue
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-26 11:17:05 +00:00
Marcel Hibbe
bd65cad681
Merge pull request #4269 from nextcloud/backport/4265/stable-20.0
[stable-20.0] Fix crash when externalSignalingServer is empty
2024-09-25 11:26:09 +02:00
Marcel Hibbe
baae1c431e 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-25 07:49:01 +00:00
Nextcloud bot
66f97567e0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-25 02:54:09 +00:00
Marcel Hibbe
b4d8a7ee20
Merge pull request #4258 from nextcloud/backport/4250/stable-20.0
[stable-20.0] Conversation creation modification
2024-09-23 16:45:24 +02:00
sowjanyakch
31966441f4 rename variable selectedImageUri
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-23 14:45:05 +00:00
sowjanyakch
6b32cb7e0b ktlint format
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-23 14:45:05 +00:00
sowjanyakch
54b5fd5045 Get selectedImageUri from ViewModel
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-23 14:45:05 +00:00
sowjanyakch
c78fc9ab6e Make Conversation name text limit to single line
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-23 14:45:05 +00:00
sowjanyakch
5f6eda12c2 Only display delete icon when user avatar is selected
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-23 14:45:05 +00:00
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