Commit graph

1201 commits

Author SHA1 Message Date
Marcel Hibbe
d7bc01e954
resolve some lint warnings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-02-10 14:35:25 +01:00
Marcel Hibbe
b50501a38f
bump google-webrtc to 1.0.32006
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-02-10 10:59:16 +01:00
Marcel Hibbe
ded0cef839
add ability to delete messages
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-02-01 19:30:40 +01:00
Marcel Hibbe
0b35971ee5
add ability to upload one or multiple files from local storage #254
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-01-30 23:30:34 +01:00
Marcel Hibbe
bd3bbdd755 change email address for feedback
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-01-20 09:35:27 +01:00
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
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
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
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
f115b83607
Fix #716
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-02-03 11:05:40 +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
0451131fa4
Fix #692
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-15 10:42:52 +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
5262d08e3c
Fix avatars
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-13 12:41:38 +01:00
Mario Danic
d166276b80
Improvements to replies
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-13 12:36:52 +01:00
Mario Danic
d21d5f51b4
Implemented most of message replies
# Conflicts:
#	app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt
#	app/src/main/res/layout/view_message_input.xml
#	app/src/main/res/values/strings.xml
2020-01-13 12:07:32 +01:00
Mario Danic
2613c1f074
Some progress on replies
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-13 11:15:20 +01:00
Mario Danic
fcdcb12e48 Update version
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-10-31 12:32:22 +01:00
Mario Danic
dd8d2cb00d Tag v7.0.7
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-10-28 12:29:46 +01:00
Mario Danic
345035e93a Fixed issues with sending messages
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-30 14:53:35 +02:00
Mario Danic
f308a5093d Various fix for crashes
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-30 14:15:01 +02:00
Mario Danic
7f3e93edd4 Fix issues with messages processing
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-30 12:33:28 +02:00
Mario Danic
a56319d3a9 Fix message title
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-30 12:33:28 +02:00
Mario Danic
8a60fad0c4 Fix unread message notices
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-30 12:33:28 +02:00
Mario Danic
e1d9a24130 Fix issues with chat title crash
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-30 10:35:30 +02:00
Mario Danic
b95bb003df Fix notifications crash
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-27 13:53:02 +02:00
Mario Danic
5334a0fd15 Update version
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-27 13:06:25 +02:00
Mario Danic
041b77da21 Kotlin & hardening
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-27 12:48:22 +02:00
Mario Danic
a316739c9e Few more fixes
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-27 11:55:43 +02:00
Mario Danic
7eeefa3ae6 Fix issues with setting the title
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-27 11:42:02 +02:00
Mario Danic
d1074257be Clean up imports
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-26 14:14:54 +02:00
Mario Danic
2bbfdda400 Fix moderation issues with add participants
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-26 14:14:41 +02:00
Mario Danic
48c1505cb5 Fix participants management UI
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-26 13:59:55 +02:00
Mario Danic
c1f9dd2ac5 Bug fixes related to guest account
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-26 13:29:00 +02:00
Mario Danic
139c1f1724 Fix some lobby crashes
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-26 10:39:07 +02:00
Mario Danic
ecfe91f36f Significant improvements to the dark theme
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-26 10:39:07 +02:00
Mario Danic
df7f50ba01 Remove logs
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-26 10:39:07 +02:00
Mario Danic
0fa1ae28fb Clean up
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-16 14:06:32 +02:00
Mario Danic
cba3f3317c Fix the final bugs with user management
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-16 14:05:22 +02:00
Mario Danic
85b75b7da5 Fix up magical stuff
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-16 12:49:12 +02:00
Mario Danic
0b7ce8295c First draft of participants management
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-16 11:10:35 +02:00
Mario Danic
3f374ca232 Fix messages stuff
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-13 15:48:19 +02:00
Mario Danic
0648ceb44c New notice logic
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-13 12:39:50 +02:00
Mario Danic
0a0aece7d0 Partly fix messages loading
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-13 12:13:27 +02:00
Mario Danic
82170b77d7 Fix automated app starting due to room invite
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-13 10:39:26 +02:00
Mario Danic
362042e27e Better scroll on new messages & Kotlin
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-09 21:59:40 +02:00
Mario Danic
4d9781fbe2 First scroll to new messages
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-09 18:11:09 +02:00
Mario Danic
f686bf9057 Change timeout for first future pull
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-09 14:00:37 +02:00
Mario Danic
8ed3d1404e Change messages fetch limit
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-09 13:58:08 +02:00
Mario Danic
a8ee4a355b Add some whitespace to bottom of the chat
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-09 13:54:47 +02:00
Mario Danic
6504a3b6e7 Improve things a bit
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-09 13:46:49 +02:00
Mario Danic
ec44092676 Fix endless loading of messages
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-09 13:40:26 +02:00
Mario Danic
31ce180c6d Remove avatars from last message
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-09 11:41:52 +02:00
Mario Danic
175f64b8c3 Remove duplicate clicks on conversation info
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-09 11:17:05 +02:00
Mario Danic
b100095f69 Update small items size
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-06 10:26:50 +02:00
Mario Danic
67e9405040 Add support for last read message & fix pinned magic
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-05 15:52:41 +02:00
Mario Danic
8ad09d3395 Update chatkit
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-05 13:21:48 +02:00
Mario Danic
69c4435b1e Fix #579
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-05 12:03:21 +02:00
Mario Danic
4697e4f340 Fix up guest mentions and autocomplete callback
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-05 11:17:20 +02:00
Mario Danic
3ac3a3b965 Fix #352
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-05 11:17:19 +02:00
Mario Danic
c831b90a09 Fix #615
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-05 11:17:19 +02:00
Mario Danic
29fa1c7deb Fix some more emoji compatibilities
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-03 16:00:51 +02:00
Mario Danic
49fe0a691b Fix #613, Fix #614
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-03 14:38:21 +02:00
Mario Danic
98e1168b25 Fix #612 (again? :D)
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-03 13:45:24 +02:00
Mario Danic
ccb554e1f5 Fix conversation creation process
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-03 10:52:10 +02:00
Mario Danic
4e76a5e83e Fix #612
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-03 10:52:09 +02:00
Mario Danic
6bd36e408c Fix #611
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-03 10:52:08 +02:00
Mario Danic
1ebb2e079d Fix #249
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-02 16:22:37 +02:00
Mario Danic
8d592a996d Fix #601 and mentions
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-02 14:12:31 +02:00
Mario Danic
8cbc0c7bc9 Fix #402
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-02 13:47:24 +02:00
Mario Danic
7d838bd72b Fix #570
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-02 13:30:28 +02:00