Граф коммитов

695 Коммитов

Автор SHA1 Сообщение Дата
Gary Kim a35b98f8c1 Implement CloudFederationProvider for Talk
Signed-off-by: Gary Kim <gary@garykim.dev>
2021-07-15 13:54:35 -04:00
Joas Schilling 15289845cb
Add capability
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-15 15:58:50 +02:00
Joas Schilling b138414888
Change system message string
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-07 17:02:04 +02:00
Joas Schilling 31a32b6780
Add unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-07 16:39:36 +02:00
Joas Schilling bbed7ef202
Add integration test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-07 16:01:25 +02:00
Joas Schilling ca8a3516b3
Use memcache to save the query for unread message count
For a given message id $lastReadMessage we cache the number of messages
that exist past that message, which happen to also be the number of
unread messages, because this is expensive to query per room and user repeatedly

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-02 15:54:47 +02:00
Joas Schilling a0b33bc690
Fix spreedcheat version
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-25 10:30:32 +02:00
Joas Schilling b8a12bc952
Fix unit tests and psalm
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-17 15:32:37 +02:00
Joas Schilling dd7aedd973
Add debug logs to allow finding out what kind of requests are sent
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-16 08:05:20 +02:00
Joas Schilling c3728e7ba1
Fix integration tests too
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-14 11:42:17 +02:00
Joas Schilling e71e816ac8
Add unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-14 09:51:28 +02:00
Daniel Calviño Sánchez 1588b64171
Add capability for "publishing-permissions"
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-06-11 09:08:06 +02:00
Daniel Calviño Sánchez 4009de75a2
Include "publishingPermissions" in participant messages of signaling
This will allow the clients to react to "publishingPermissions" changes
directly from the signaling messages, without needing to fetch again the
participants (although they may need to fetch them again nevertheless
for UI updates).

The internal signaling server also needs to listen to changes on the
property to be able to know when to send the message (the external
signaling server already listened to the changes to be able to update
the permission flags internally).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-06-11 09:07:30 +02:00
Daniel Calviño Sánchez 7631251c99
Grant permissions in the HPB based on publishing permissions
When a participant does not have publishing permissions the HPB will
block signaling messages related to establishing a connection, like
sending the candidates. This would prevent participants using clients
not supporting yet the publishing permissions (and thus still trying to
publish even if they are not allowed to) from sending media in a call.

Unfortunately the lack of permissions only prevents the connection from
being established. If a participant is already sending media revoking
the publishing permissions will not cause the connection to be stopped
by the HPB.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-06-11 09:07:29 +02:00
Daniel Calviño Sánchez c5d616ad25
Add integration tests for getting and setting publishing permissions
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-06-11 09:07:29 +02:00
Joas Schilling f747769836
Add voice message capability
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-10 16:09:43 +02:00
Daniel Calviño Sánchez 7ea382176c Add endpoint to update the call flags
The call flags are updated when joining and leaving a call. However,
during a call the audio and video devices can be disabled without
needing a reconnection, so an endpoint to just update the call flags is
also needed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-06-07 14:19:10 +02:00
Joas Schilling 6e995e6a2b
Merge pull request #5616 from nextcloud/feature/1576/allow-to-specify-meta-data-on-a-share
Allow to specify meta-data for sharing
2021-05-31 16:44:09 +02:00
Joas Schilling 61aa4e33b5
Update baseline
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-27 13:05:58 +02:00
Joas Schilling be033e9f5c
Check that configs and capabilities are documented
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-25 11:07:35 +02:00
Daniel Calviño Sánchez 3c8418e69e
Unify STUN and TURN server URLs
The "stunservers" parameter was a list of several elements each one with
a "url" parameter, which was a string. Now the "stunservers" parameter
is a list of several elements (although in practice there will be just
one) each one with a "urls" parameter, which is a list of strings.

The "turnservers" parameter was a list of several elements each one with
a "url" parameter and a "urls" parameter, which were both a list of a
single string. Now the "turnservers" parameter is a list of several
elements each one with a "urls" parameter, which is a list of strings.
Each element of "turnservers" contain too "username" and "credential"
parameters that apply to all the elements in the "urls" parameter.

The format resembles the RTCIceServer format, so the returned values can
be directly used by the WebUI like done until now. Mobile clients will
need to be adjusted, though.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-05-19 15:24:40 +02:00
Joas Schilling 3e88db0678
Fix name and type of left one-to-one conversations so reused user ids can't join again
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-18 17:38:10 +02:00
Joas Schilling b6a31c26e5
Fix expected HTTP status code for OCS 403
Ref https://github.com/nextcloud/server/pull/26679

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-18 16:44:00 +02:00
Daniel Calviño Sánchez d1b6143b6b
Merge pull request #5491 from brknkfr/multiple_turnservers
Provide multiple TURN servers to webrtc client
2021-05-10 21:49:17 +02:00
Daniel Calviño Sánchez 6168e9fe29
Merge pull request #5503 from brknkfr/multiple_stunservers
Provide multiple STUN servers to webrtc client
2021-05-10 20:13:54 +02:00
Joas Schilling 5548a5ebc7
Add geo-location-sharing capability
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-10 10:25:23 +02:00
Sebastian L 74baa14c5c Provide multiple TURN servers to webrtc client
- Provides all in the backend specified turnservers to webrtc clients

Signed-off-by: Sebastian L <sl@momou.ch>
2021-05-10 09:42:47 +02:00
Joas Schilling 06da3fdf19
Remove the description from the system message
Looked a bit too weird in some clients with multiline descriptions and the quotes

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 12:43:25 +02:00
Sebastian L 37fba2795b Provide multiple STUN servers to webrtc client
- Provide multiple STUN servers to webrtc client when specified in
  nextcloud backend instead of just 1 random one

Signed-off-by: Sebastian L <sl@momou.ch>
2021-05-07 11:54:28 +02:00
Joas Schilling 8da8d35341
Make sure the user we are testing with exists
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-30 13:51:07 +02:00
Joas Schilling 2468a8142b
Merge pull request #5459 from nextcloud/feature/noid/log-conversation-deletions-in-audit-log
Log conversation deletions in the audit.log
2021-04-14 13:51:48 +02:00
Joas Schilling 56dd22a26b
Fix CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-14 13:25:49 +02:00
Joas Schilling f212cb2244
Adjust integration tests to the new expectations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-13 10:16:49 +02:00
Joas Schilling 850ccf29fb
Fix integration tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-13 10:16:49 +02:00
Joas Schilling 6f071f6d89
Remove unused methods
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-13 10:16:48 +02:00
Joas Schilling 73be7bece9
Allow to mention groupfolder users in file chats
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-13 10:16:48 +02:00
Joas Schilling eb77791c0a
Log conversation deletions in the audit.log
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-12 11:03:00 +02:00
Joas Schilling 4b268d0eca
Rename test file
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-08 09:52:22 +02:00
Joas Schilling 269ac90abc
Add integration tests for multi group scenarios
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-08 09:51:18 +02:00
Joas Schilling 44a7308254
Only remove users and not moderators when a group (membership) is removed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-31 13:19:05 +02:00
Joas Schilling 5730ef0a78
Add integration tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-26 14:27:10 +01:00
Joas Schilling 9edff03d3e
Add expected group to output
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-26 14:27:10 +01:00
Joas Schilling b532b28bba
Fix command integration tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-26 14:27:10 +01:00
Joas Schilling 2bfec2cde2
Also split sharing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-25 15:29:09 +01:00
Joas Schilling 23214303c4
Split conversation integration tests into 2 folders
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-25 15:18:59 +01:00
Joas Schilling f42426668d
Update baseline
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-23 08:59:51 +01:00
Joas Schilling 5adb061838
Temporary OCS API for user avatar upload and delete
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-23 08:58:20 +01:00
Joas Schilling 1e9c21e0c9
Fix removing yourself and promoting a stranger
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-09 08:28:08 +01:00
Joas Schilling 1dd9297864
Fix integration tests by saving the attendee id or loading it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:21 +01:00
Joas Schilling 5f29407dee
Check the participants on the correct endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:21 +01:00