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

202 Коммитов

Автор SHA1 Сообщение Дата
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 11a861c2cb
Prevent deleting system messages and shares
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-02 13:52:26 +01:00
Joas Schilling 47c76fa9eb
Add docs and restrict deleting to non-lobby and read-write chats
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 9608867be3
Post a system message when deleting a message
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-02 13:52:24 +01:00
Vincent Petry d497e2a183
Adjust invitation resending after reviews
Remove userId legacy argument, only use attendeeId for resending.
Remove "email" from wordings.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-authored-by: Joas Schilling <coding@schilljs.com>
2021-02-01 11:43:59 +01:00
Vincent Petry 0d70608041
Add participant action to resend email invitation
Allow moderators to resend email invitations to individual participants
in the participant list's actions menu.

Adjusted endpoints to work with attendeeId as it was needed.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-01-29 16:53:41 +01:00
Vincent Petry 5f08c96ff6
Reword resendEmail to resendInvitation in APIs
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-01-29 16:23:50 +01:00
Vincent Petry 76543aadc7
Allow specifying participant on email resend API
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-01-29 15:54:57 +01:00
Vincent Petry bf2b8cfbda
Allow resending invitation emails
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-01-29 15:13:40 +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
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
Vincent Petry 7b3760356d
Updated wording and interaction for conversation accessibility
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-01-14 10:42:53 +01:00
Daniel Calviño Sánchez 0e6cd873f3
Add capability for room descriptions
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-01-04 15:09:36 +01:00
Vincent Petry 356b218f37
Add conversation-v3 capability for API v3
Added capability to signal the existence of the v3 API.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-12-23 11:03:56 +01:00
Vincent Petry b8f09f076e
Raise hand call action
Added hand and hand-off icons (need better fitting ones later).
Added "raise-hand" capability.
Broadcast "raisedHand" message through signaling and update the icons
accordingly.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-12-16 09:43:17 +01:00
Vincent Petry 897c992137
Merge pull request #4762 from nextcloud/bugfix/noid/allow-to-respond-with-modified-common-read-value
Allow to respond with modified common read value on "not modified" messages
2020-12-15 16:07:30 +01:00
Joas Schilling e982ad0bae
Allow to respond with modified common read value on "not modified" messages
We need to set the status code to 200 when the header is modified,
because as per "section 10.3.5 of RFC 2616" entity headers shall be
stripped out on 304: https://stackoverflow.com/a/17822709
This means the header would not be sent to the clients at all, so
they wouldn't update the read marker when idling in the chat.
For the web interface this is not needed, as we update the info
every 30 seconds with the conversation list refresh and can therefor
save the query

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-15 11:44:53 +01:00
Joas Schilling af4e0e3608
Add a capability for the phonebook search
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-14 16:47:09 +01:00
Vincent Petry af69e3b784
Merge pull request #4706 from nextcloud/enh/1763/listable-rooms
Add listable scope attribute for conversations
2020-12-14 13:02:34 +01:00
Joas Schilling 0e9e02b48d
Document read-status privacy setting
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-14 12:43:27 +01:00
Vincent Petry 71fa517686
Adjusted listable docs + increased version
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-12-14 11:32:37 +01:00
Vincent Petry 777c7b66a4
Changed wording to say visible instead of listable
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-12-11 18:15:53 +01:00
Vincent Petry 52b88a9c16
Cleanup listed room code after review
Remove EVENT_BEFORE_LISTED_ROOMS_GET.
Added some comments.
Removed 503 check in JS search call.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-12-11 18:15:51 +01:00
Vincent Petry 0aa0dcfd3e
Apply suggestions from code review of listable rooms feature
Always join as USER when joining group or public room
Allow nulls for Oracle
Changes after review
Removed populateBaseRoomData and reused the existing code by adding an
extra condition for when querying listable rooms with null participant.

Co-authored-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-12-11 18:15:50 +01:00
Vincent Petry 65238d1b8f
Adjustments for listable rooms after review
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-12-11 18:15:48 +01:00
Vincent Petry 353206e1e6
Adjust approach for search results for listable rooms
Added "/listable-room" endpoint for listing listable rooms with a similar
result format like the "/room" endpoint.
Switched left sidebar to use Conversation components for displaying
results.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-12-11 18:15:48 +01:00
Vincent Petry 17971cd34a
Add listable flags attribute for conversations
Added ability to set a conversation as listable for regular users and/or
guest users from the guest app.

This only implements the flag, endpoint and UI to manage it but not yet
making it appear in search results.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-12-11 18:15:47 +01:00
Joas Schilling 50da7dac82
Add a capability for the chat-read-status and the user setting
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-10 11:47:05 +01:00
Joas Schilling bc716c7199
Add the last common read message id as header on chat requests and to the conversation list
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-10 11:47:04 +01:00
Joas Schilling 11e8e28b87
Interact with integers so we can match it better in queries
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-10 11:47:04 +01:00
Daniel Calviño Sánchez 0c1a7bdb41
Return raw description also when getting the conversation list
As the description length is limited and the response for the
conversation list endpoint is gzip compressed the hash does not provide
too much of a reduction, but introduces a more complex logic in the
clients. Due to all this, for simplicity now the raw description is also
returned when getting the conversation list.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-12-08 13:00:12 +01:00
Daniel Calviño Sánchez 6b9cca2ef3
Add documentation for the description endpoint
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-12-08 13:00:12 +01:00
Joas Schilling ae9226c636
Expose the dial-in information to clients
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-30 16:13:27 +01:00
Joas Schilling 671ded5486
Add docs and capability
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-30 16:13:26 +01:00
Daniel Calviño Sánchez 630e2f4acb Fix owner being able to add more users to a password request room
Only the owner and another participant will be allowed to join a
password request room, so there is no point in being able to add more
participants to those rooms.

Although throwing the exception in the listener is enough to prevent
adding the participants unhandled exceptions in the endpoint are
returned as error 404, but the expected error would be 400. To minimize
conflicts with other pull requests and backports it is explicitly
checked if the room is a password request room instead of refactoring
the code to handle the exception.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-11-24 18:59:54 +01:00
Joas Schilling e703520180
Update the docs a bit
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-30 10:38:53 +01:00
Joas Schilling d907221b60
Add an endpoint to validate a PIN for a given conversation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-30 10:38:52 +01:00
Vincent Petry 591cacd519
Make max GIF size configurable
Added app setting and capability "max-gif-size".
Added new import for @nextcloud/capabilities.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2020-10-28 16:59:36 +01:00
Gary Kim 0a90bf479b
Small fixes for Matterbridge documentation
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-09-25 13:34:02 -04:00
Joas Schilling aad8d87dbc
Improve documentation a bit
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-07 16:49:46 +02:00
Julien Veyssier 8a5aa7ba27
put doc in integrated rtd
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2020-09-07 14:59:36 +02:00
Daniel Calviño Sánchez 8fbd2f8361 Add differences between Firefox and Chromium when testing TURN
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-03 13:21:34 +02:00
Daniel Calviño Sánchez 01db29962b Add note about "total-quota" parameter
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-03 13:21:34 +02:00
Daniel Calviño Sánchez 03886913bf Add coTURN version recommendation
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-03 13:21:34 +02:00
Joas Schilling ab2d01235e
Add docs about status
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-05 19:27:35 +02:00
Joachim Bauch d694192795
Pass base URL of Nextcloud to signaling server in backend requests.
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2020-07-31 16:59:57 +02:00
Joas Schilling 7eafbe6958
Add documentation about call experience
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-09 17:52:31 +02:00
Joas Schilling 16372529a4
Document system requirements
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-07 09:49:03 +02:00