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

6020 Коммитов

Автор SHA1 Сообщение Дата
Daniel Calviño Sánchez 174bffd845 Fix participant type change with external signaling server
The external signaling server expects to receive a "participants"
message from the backend notifier when the participants in a room
change. This message is in turn sent as a participants update signaling
message to the clients, and the WebUI updates the list of participants
whenever that message is received.

However, when the type of a participant changes the backend notifier
sent an "update" message instead, which is in turn sent as a room list
update signaling message to the clients, but it does not trigger any
update in the participants list of the WebUI.

Now a "participants" message is sent too by the backend notifier when
the participants in a room change, so the WebUI updates the list of
participants when handling the participants update signaling message;
the WebUI could have been modified to rely on the room list update
signaling message instead, but using the other message seemed more
appropriate.

Note that the already existing "update" message sent by the backend
notifier is kept for now, as removing it may break the clients in
unexpected ways (although it should go away in the future).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-03-06 12:29:08 +01:00
Joas Schilling d62401dc48
Allow page reload on /not-found page
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-06 11:19:06 +01:00
Joas Schilling 20c25e8e24
Fix more tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-06 11:10:46 +01:00
Joas Schilling 70663a7a08
Sort the shares so they are always in the same order
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-06 11:10:46 +01:00
Joas Schilling 0bb476d729
Update the integration tests with the new location
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-06 11:10:46 +01:00
Joas Schilling 03989f3c97
Use the attachment_folder setting
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-06 11:10:45 +01:00
Joas Schilling dd1fd3bbe5
Receive shares in Talk/ folder
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-06 11:10:45 +01:00
Joas Schilling 3cee014d1d
Merge pull request #3051 from nextcloud/bugfix/3048/problem-with-conversation-renaming
Don't interrupt the renaming process when conversations are refreshed
2020-03-06 09:41:50 +01:00
Marco Ambrosini d14d03128f Use the current conversation name as a placeholder title for the renaming operation
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-03-06 08:47:36 +01:00
Nextcloud bot 864b2aa946
[tx-robot] updated from transifex 2020-03-06 03:03:24 +00:00
Joas Schilling e14f4deb82
Merge pull request #3052 from nextcloud/bugfix/3047/using-conversations-actions-while-searching-is-broken
Don't interrupt search operation when clicking on a conversation
2020-03-05 17:41:02 +01:00
Marco Ambrosini b8a860443d Don't interrupt search operation when clicking on a conversation
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-03-05 11:25:50 +01:00
Marco Ambrosini f711149815 Don't interrupt the renaming process when conversations are refreshed
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-03-05 11:16:02 +01:00
Marco Ambrosini ee9b1b862a Don't allow uploads if the conversation is read-only
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-03-05 09:13:32 +01:00
Marco Ambrosini 3c62a1c7e7 Increase drophint text and icon sizes
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-03-05 09:13:32 +01:00
Marco Ambrosini d6ca8bcb4e Stop the execution of the upload and share method if the user is a guest
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-03-04 13:20:59 +01:00
Marco Ambrosini 6b240f0941 Display proper drop hint for guests
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-03-04 13:17:43 +01:00
Marco Ambrosini c2a3d5a4ae Deduplicate upload and share logic
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-03-04 12:45:09 +01:00
Joas Schilling 5974d13bc3
Merge pull request #2526 from nextcloud/techdebt/noid/bump-testing-utilities
Bump testing utilities in integration tests
2020-03-04 12:43:30 +01:00
Joas Schilling 645bfc7dd4
Update some more request handling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-04 11:42:03 +01:00
Marco Ambrosini ac8c9e3461 Add transitions
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-03-04 09:32:50 +01:00
Marco Ambrosini de681064eb Add ability to upload files by dropping them in the chat
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-03-03 17:27:58 +01:00
Joas Schilling 1cf56fa5a8
Merge pull request #3043 from nextcloud/fix-duplicated-audio-elements
Fix duplicated audio elements
2020-03-03 17:19:47 +01:00
Joas Schilling d9ebc3da8e
Fix login request
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-03 17:03:52 +01:00
Daniel Calviño Sánchez 19faf7dc6b
Merge pull request #3042 from nextcloud/techdebt/noid/cleanup-exclude-list
Cleanup the exclude list
2020-03-03 13:51:26 +01:00
Joas Schilling e654a7c3ba
Merge pull request #3000 from nextcloud/feature/2987/handle-same-name-file-uploads
Rename duplicate files when uploading
2020-03-03 13:04:24 +01:00
Marco Ambrosini 3c6b7f3b02 Clear input after getting the files
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-03-03 13:01:03 +01:00
Joas Schilling 3b5f2c31fa
Fix adding users to groups
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-03 12:29:46 +01:00
Joas Schilling ccd244a3d9
Also update SharingContext
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-03 11:58:06 +01:00
Joas Schilling 2f78215d0b
Cleanup the exclude list
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-03 11:56:48 +01:00
Daniel Calviño Sánchez 57eb82f775 Do not create audio and video elements without container in SimpleWebRTC
SimpleWebRTC automatically created an audio and video elements when a
peer stream was added. Those elements were ignored by the Talk code
(which creates its own elements as needed), so they were not needed but
active nevertheless.

In the case of the audio element this caused its audio to always be
played, which would keep the audio from the other participant active
even if the audio element handled by Talk was removed or muted.

For consistency with the rest of its code now SimpleWebRTC creates the
audio and video elements for a peer only if a container for them is
provided.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-03-03 10:39:23 +01:00
Joas Schilling 95dcc39d44
Fix wrong body on post requests
Passing in the "body" request option as an array to send
a POST request has been deprecated. Please use the "form_params"
request option to send a application/x-www-form-urlencoded
request, or the "multipart" request option to send a
multipart/form-data request. (InvalidArgumentException)

Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-03 10:36:51 +01:00
Joas Schilling 1056895300
Make request handling compatible to guzzle 6.3
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-03 10:36:51 +01:00
Joas Schilling 7d7a356023
Make sure the config is valid
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-03 10:36:51 +01:00
Joas Schilling 0ad084d2f2
Bump testing tools to the same version as server
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-03 10:36:51 +01:00
Daniel Calviño Sánchez 03de63175e Move audio element from view to model
If a Video view is removed its audio element no longer plays the audio.
This can happen, for example, when closing the sidebar in the Files app,
which removes the call view and with it its Video views. But in that
case, even if there is no call view, the call is still active. To ensure
that the audio for another participant is played even if there is no
view for it the audio element must be part of the model instead.

Note that when closing the sidebar the audio was still heard, but that
is caused by a duplicated audio element created in the SimpleWebRTC
code (which will be fixed in a following commit).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-03-03 10:28:29 +01:00
Nextcloud bot 1a53b12c2e
[tx-robot] updated from transifex 2020-03-03 03:02:47 +00:00
Joas Schilling 0474605134
Merge pull request #3039 from nextcloud/changelog/8.0.5
Add changelog for v8.0.5
2020-03-02 16:51:19 +01:00
Joas Schilling fe9fa99822
Add changelog for v8.0.5
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-02 16:45:32 +01:00
Joas Schilling 94c3b4484e
Merge pull request #2260 from nextcloud/signaling-room-properties
Get room properties for the signaling server from separate function.
2020-03-02 16:20:00 +01:00
dependabot-preview[bot] ecc9890fdb
Merge pull request #3032 from nextcloud/dependabot/npm_and_yarn/babel/preset-env-7.8.6 2020-03-02 13:59:23 +00:00
Joas Schilling c5ba7b5673
Update backend tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-02 13:03:45 +01:00
Joas Schilling 4a413106e2
Make sure "Left call" system message is done for the session that left
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-02 12:47:38 +01:00
Joas Schilling 1d5cf96356
Reset the in-call flags when the lobby kicks in
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-02 12:47:38 +01:00
Joas Schilling 91e866b33d
Immediate refresh the conversation on signaling command to do so
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-02 12:47:37 +01:00
Joas Schilling 4440aa6ab0
Pass on all necessary options
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-02 12:47:37 +01:00
Joachim Bauch fdf5dcd483
Get room properties for the signaling server from separate function.
Also dispatch an event so other apps can extend the properties to return.

Signed-off-by: Joachim Bauch <bauch@struktur.de>
2020-03-02 12:47:37 +01:00
dependabot-preview[bot] 6a23a8baaa
Bump @babel/preset-env from 7.8.4 to 7.8.6
Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.8.4 to 7.8.6.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.4...v7.8.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 11:47:24 +00:00
Joas Schilling 4e7012102b
Merge pull request #2893 from nextcloud/feature/noid/add-button-to-end-conversation-search
Add ✕ button to end search
2020-03-02 12:46:24 +01:00
dependabot-preview[bot] de7bb127d6
Merge pull request #3031 from nextcloud/dependabot/npm_and_yarn/babel-eslint-10.1.0 2020-03-02 11:45:52 +00:00