Commit graph

1859 commits

Author SHA1 Message Date
tobiasKaminsky
ba314c96ee
Do not use -1 as lastCommonRead parameter, but do not set it at all, if undefined
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-01-04 16:26:59 +01:00
tobiasKaminsky
e563230fb2
Hide read status setting if old talk version used
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-12-18 15:04:08 +01:00
tobiasKaminsky
98e2117bdf
Missing imports after rebase
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-12-18 14:33:10 +01:00
tobiasKaminsky
1496b902bb
Show phonebook setting only for Talk11 (verified via capability)
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-12-14 15:18:14 +01:00
tobiasKaminsky
ad97abaee4
Add phone book integration
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-12-14 12:05:43 +01:00
tobiasKaminsky
cb0c9a2ea5
Bump to 8.1.0 release
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-11-16 16:20:56 +01:00
tobiasKaminsky
eb9a6d8746
Bump to 8.10.0 RC1
revert wrong color

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-11-10 10:18:33 +01:00
Tobias Kaminsky
05a21590da
Merge pull request #907 from nextcloud/fix-data-channel-support-with-newer-janus-versions
[v8.0.x] Fix data channel suport with newer Janus versions
2020-10-27 10:51:38 +01:00
tobiasKaminsky
fe4bf8afca
change logo dim so that it fits for other images
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-27 10:37:26 +01:00
tobiasKaminsky
0b7e4c09f4
streamline colors
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-27 10:37:02 +01:00
tobiasKaminsky
d7400c3f76
Add branding support for
- hide provider
- hide auth
- multi account support
- enforce domain

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-27 10:36:49 +01:00
tobiasKaminsky
f7d9290871
Chat during call
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-09 12:08:21 +02:00
Biswajit Das
518d1ea62e
Merge pull request #905 from nextcloud/fix-frozen-video-when-screen-is-shared
[v8.0.x] Fix frozen video when screen is shared
2020-10-03 00:00:47 +01:00
Daniel Calviño Sánchez
fcb45e94f3 Fix data channel suport with newer Janus versions
When Janus is used even if it is possible to open several data channels
with different labels and send data on them all the messages are
received in the first data channel opened.

In Talk the "status" data channel is used to send the data channel
messages, and before Janus 0.7.0 it was the first data channel opened,
so the messages were received on it.

However, since Janus 0.7.0 the data channel messages are received
instead on a data channel opened by Janus, which is named
"JanusDataChannel". It is not possible to change that behaviour on Janus
except by patching it, so for broader compatibility the messages
received in "JanusDataChannel" are treated like messages received in the
"status" data channel

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-02 20:15:03 +02:00
Daniel Calviño Sánchez
1321cb21a0 Fix frozen video when screen is shared
When another participant shared the screen a new offer was requested.
However, the offer was requested for the video instead of for the
screen, which caused the HPB to stop the previous video connection and
replace it with a new one. As receiving new offers for an existing
connection is not properly handled the offer was applied to the existing
peer connection, which caused the new offer to be ignored and the old
peer connection to be kept (but frozen due to the HPB not sending more
data for that connection).

Requesting offers are not needed when the peer connection is a screen,
as the HPB will automatically send the offers itself. Therefore, now
offers are requested only when the connection is of "video" type.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-02 10:10:49 +02:00
Daniel Calviño Sánchez
ed8ac14d94 Show avatar for guests in call view
The avatar of guests is based on their display name/nick.

When the HPB is not used the nick is provided in the offer/answer
signaling messages, and later updated through data channel messages when
it changes. When the HPB is used the nick is periodically sent through
data channel messages. Therefore the avatar is based on the nick set in
the peer connection and reloaded when the nick changes (although it is
currently a bit hacky and brittle, as it is based on whether the nick
shown in the text view changed rather than whether the nick itself
changed, but it works nevertheless).

Note that currently it is required that the guest has a peer connection
to know its nick and, therefore, its avatar; some changes would be
needed in the clients to also send the nick when there is no peer
connection.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-02 09:11:16 +02:00
Daniel Calviño Sánchez
783f09316f Remove no longer used method
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-01 20:34:48 +02:00
Daniel Calviño Sánchez
8f748caeaa Remove no longer needed parameter
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-01 19:18:20 +02:00
Daniel Calviño Sánchez
6b2720653a Always pass the session id in "NICK_CHANGE" PeerConnectionEvents
Before the NICK_CHANGE event include either the session id or the user
id, depending on whether the participant was a guest or a user. However,
as the session id is also known for users the event can be unified to
always include the session id only.

This also fixes an exception when handling the "NICK_CHANGE" event, as
the session id was got from the user id given in the event, but if the
event already included the session id the look up failed and the session
id was replaced with an empty value. This in turn caused an exception
when trying to use the view for the now invalid session id. Now the
session id provided in the event is always directly used.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-01 19:07:25 +02:00
Daniel Calviño Sánchez
5b9f02e99c Fix setting guest nicks
The "nick" attribute was set with itself instead of with the
"internalNick" variable that holds the value received in the
"nickChanged" event.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-01 19:00:07 +02:00
Daniel Calviño Sánchez
6846eb950b Fix websocket reconnection when a guest joins the conversation
When the standalone signaling server is used and a participant joins a
conversation a "join" signaling message is received. The code assumed
that the event always contains a "user" attribute, but that attribute is
empty for guests. As the "user" attribute was used unconditionally this
caused an exception, and as the exception happened when handling a
websocket message it propagated until it caused a reconnection of the
websocket.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-01 18:45:16 +02:00
tobiasKaminsky
93c12a89de
change version number for 8.0.10
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-29 10:07:13 +02:00
tobiasKaminsky
f004c23526
Bump to 8.0.10
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-29 09:44:31 +02:00
tobiasKaminsky
6d7cf8305a
Fix join call directly after first start
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-29 09:40:46 +02:00
Mario Danic
ac1bb0ecf7
Fix spamming participants
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-04-15 12:02:56 +02:00
Mario Danic
b14f9990b4
Fix #761
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-23 14:16:26 +01:00
Mario Danic
4b12ede79e
Fix duplicate
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-22 19:43:55 +01:00
Mario Danic
84cb7cc45a
Fix timeout stuff
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-22 19:26:16 +01:00
Mario Danic
68c1cd6d4d
Fix #684
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-22 11:19:54 +01:00
Mario Danic
53cc5d28c4
Fix vibration again
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-21 18:28:25 +01:00
Mario Danic
06b4d09dc3
Update version
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-21 16:27:34 +01:00
Mario Danic
408da749fe
Fix vibration and fix #745
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-21 16:26:03 +01:00
Stephan Ritscher
5a1e050928 Fix NullPointerException on (first) account creation with client certificates (#195)
Signed-off-by: Stephan Ritscher <no3pam@gmail.com>
2020-03-08 20:42:54 +01:00
Mario Danic
39c2dced64
Fix #713, Fix #720
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-02-12 10:57:35 +01:00
Mario Danic
9e2fbc076c
First step towards working calls on Q
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-02-10 00:33:41 +01:00
Mario Danic
6e7637af43
Fix #713
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-02-05 15:57:41 +01:00
Mario Danic
f115b83607
Fix #716
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-02-03 11:05:40 +01:00
Mario Danic
8dde1bcdae
Update version
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-24 09:12:10 +01:00
Mario Danic
7656f30eb4
Fix #713
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-24 09:11:37 +01:00
Mario Danic
c4eaf319a1
Update version
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-16 10:12:40 +01:00
Mario Danic
4b9f47c6b5
Improve contacts
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-16 10:11:16 +01:00
Mario Danic
74fb018a8e
Fix #706
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-16 03:20:00 +01:00
Mario Danic
fbbcb92ec8
Fix #707
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-15 15:17:29 +01:00
Mario Danic
1e2ae2c8b0
Fix #704
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-15 13:48:04 +01:00
Mario Danic
85b98e2b15
Update version
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-15 10:46:12 +01:00
Mario Danic
0451131fa4
Fix #692
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-15 10:42:52 +01:00
Mario Danic
a2209e3d6a
Fix #701
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-15 10:37:18 +01:00
Mario Danic
652b72ebde
Fix #702
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-15 10:25:15 +01:00
Mario Danic
0ac50073fa
Update version code for real
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-13 14:36:27 +01:00
Mario Danic
46bc77bc2e
Update version code
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-13 14:30:29 +01:00