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

639 Коммитов

Автор SHA1 Сообщение Дата
Joas Schilling 4aee4e9969
Move other participant handling to API v4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:20 +01:00
Joas Schilling 0aedba5503
Move room modifications to API v4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:20 +01:00
Joas Schilling db7c09ec4e
Move deleting and getting a room to v4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:20 +01:00
Joas Schilling 3a680dc3fb
Move removing paricipants to v4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:19 +01:00
Joas Schilling 6c0246bc37
Make leaving a room API v4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:19 +01:00
Joas Schilling e331d29bed
Make joining a room API v4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:19 +01:00
Joas Schilling 5ba0871fd3
Add API version to files/share integration tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:19 +01:00
Joas Schilling 8eae2e8895
Move get participants to API v4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:19 +01:00
Joas Schilling 174789f9bb
Check users on correct endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:19 +01:00
Joas Schilling 1b4b1c6a72
Move get rooms to API v4
Added FIXMEs for participant parameters that should check the participant endpoint instead

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:19 +01:00
Joas Schilling 7673f4f931
Move conversation creation to v4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:19 +01:00
Joas Schilling 79d52e6791
Move lobby and SIP to v4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:19 +01:00
Joas Schilling 5bff56f2ca
Move listed rooms to API v4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:19 +01:00
Joas Schilling 4031c182df
Prepare selecting the correct session in case there are multiple
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:17 +01:00
Joas Schilling b1a123d5d1
Merge pull request #5298 from nextcloud/bugfix/noid/fix-listed-room-test
Fix listed room test
2021-03-05 09:52:01 +01:00
Jakob Röhrl 2c3f80bb08
Don't allow to delete other persons chats in 1-1 chats
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
2021-03-04 10:22:54 +01:00
Joas Schilling 0b5f122f63
Check the correct endpoint for listed conversations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-03 12:10:07 +01:00
Joas Schilling 35ec8361b7
Add docs and capability for callFlag of conversations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-16 09:43:16 +01:00
Joas Schilling e4e07da94a
Drop the old guestnames table
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-15 12:36:44 +01:00
Joas Schilling 77fe613447
Replace "getNamesBySessionHashes" usages with Attendee access
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-15 12:36:44 +01:00
Joas Schilling 9787728694
Replace getNameBySessionHash() with attendee access
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-15 12:36:44 +01:00
Joas Schilling 6f5bd24b06
Merge pull request #5145 from nextcloud/bugfix/noid/ci-add-guests-app
Add guests app in CI runs that need it
2021-02-12 12:10:24 +01:00
Vincent Petry f97d7ab84f
Retrigger full CI when drone.yml was changed
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-02-12 11:30:41 +01:00
Joas Schilling c39f2c7ce9
Don't recalculate the actorId of guest attendees
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-12 10:46:35 +01:00
Joas Schilling 383ca5fd4c
Populate the display name when adding logged in users
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-12 07:34:35 +01:00
Joas Schilling bf5f69cded
Provide information for incoming call screens
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-11 19:00:17 +01:00
Joas Schilling dd0e81c274
Merge pull request #5122 from nextcloud/bugfix/5120/fix-sharing-tests-attachments-folder
Fix sharing tests to work with attachment folders fix
2021-02-11 14:02:44 +01:00
Vincent Petry b6278d5534
Fix sharing tests to work with attachment folders fix
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-02-11 09:37:50 +01:00
Joas Schilling 345950641a
Run all tests on info.xml modifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-11 09:07:05 +01:00
Daniel Calviño Sánchez 20f2c3186b Add support for "turns:" scheme
Until now no scheme could be configured to connect to the TURN server
and "turn:" was used by default. The "turns:" scheme defines a
connection over TLS, which in some cases is needed by clients behind a
very restrictive firewall that only allows TLS connections. However,
encrypted TURN connections also require a certificate to be set in the
TURN server, which may not be always available. Moreover, encrypted TURN
connections also require a domain. Due to all this now it is possible to
set the TURN server scheme to "turn:", "turns:" or both, so the
administrator can set the best suiting one.

Already configured TURN servers that have no scheme configured yet
defaults to "turn:" to keep the same behaviour as before. New configured
TURN servers also default to "turn:", as "turns:" has some additional
requirements as explained above.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-02-05 18:44:02 +01:00
Joas Schilling f6008b9e4d
Merge pull request #5034 from nextcloud/feature/noid/allow-sharing-rich-objects-to-chats
Allow to share RichObjects to chats
2021-02-03 16:17:16 +01:00
Joas Schilling f054229651
Update version on master
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-03 13:38:59 +01:00
Joas Schilling aebc61cde0
Add integration test for rich object shares
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-02 16:25:31 +01:00
Joas Schilling 2cc89b3ba3
Add documentation and capability
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-02 16:24:26 +01:00
Joas Schilling 2e100b2c18
Add a unit test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-02 16:22:17 +01:00
Joas Schilling 54fa5b2ad9
Merge pull request #5048 from nextcloud/bugfix/3462/allow-adding-self-joined
Allow converting self-joined users participants to regular participants
2021-02-02 14:46:44 +01:00
Joas Schilling 79ff094265
Add integration tests for deleted messages
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-02 13:52:25 +01:00
Joas Schilling 5db677377a
Add a capability
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-02 13:52:25 +01:00
Joas Schilling 77f6a4ead3
Allow to know when deleting might not be sufficient
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-02 13:52:25 +01:00
Joas Schilling 01359dfbe0
Render deleted chat messages differently
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-02 13:52:25 +01:00
Vincent Petry cd2e307e3d
Only trigger event once when adding group users
When adding multiple users at once, the users to add are now batched
before being sent to the ParticipantService, which will result in the
event only being called once with the whole list.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-01-29 13:26:18 +01:00
Vincent Petry 8f4214c365
Integration tests for self-joined-user to user conversion
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-01-29 13:12:37 +01:00
Vincent Petry 56fd7956b1
API now allows adding a self-joined participant
Adding a self-joined participant either directly or through a group or
circle will then convert said participant to a regular user participant.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-01-29 12:23:58 +01:00
Daniel Calviño Sánchez e65fa8d289
Add unit tests for subname mentions
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-01-29 11:15:15 +01:00
Joas Schilling b699ff66b1
Add an integration test for sub and subname mentions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-01-29 11:15:14 +01:00
Joas Schilling 91cad65d0e
Initial state service is deprecated
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-01-21 11:47:31 +01:00
Joas Schilling ede363b85e
Merge pull request #4771 from nextcloud/enh/noid/listable-wording
Updated wording for conversation visibility
2021-01-18 10:15:38 +01:00
Joas Schilling 1be3cba424
Merge pull request #4952 from nextcloud/add-mapping-between-nextcloud-session-id-and-signaling-server-session-id
Add mapping between Nextcloud session id and signaling server session id
2021-01-14 14:37:54 +01:00
Daniel Calviño Sánchez deb2494193 Send Nextcloud session id too when a participant joins a call
When the internal signaling server is used the Nextcloud session id and
the signaling session id are the same. However, if the external
signaling server is used they are different.

Signaling messages for participants in calls (like joining the call,
muting and so on) are identified only by their signaling session id, so
when the external signaling server is used it was not possible to
associate participants in calls with the participant information
provided by the Nextcloud server.

However, when a participant joins a call her client notifies the
Nextcloud server (either directly or, in the case of SIP clients,
through the signaling server). The Nextcloud server then notifies the
signaling server which, in turn, notifies all the clients. When
Nextcloud notifies the signaling server the participant is identified
with the Nextcloud session id, and the signaling server then replaces
that with the signaling session id before relaying the message to the
clients.

Due to this when a participant joins (or leaves) a call now the
Nextcloud session id is sent too in an extra property. This property is
not adjusted by the external signaling server, so the clients receive
both the signaling session id and the Nextcloud session id and thus are
able to map them.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-01-14 13:47:40 +01:00
Joas Schilling bd27c5adf1
Update wording to open and limited conversation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-01-14 10:58:54 +01:00