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

3449 Коммитов

Автор SHA1 Сообщение Дата
Joas Schilling f6aba7057a
Automatically close the sidebar when opening changelog conversation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-04-01 16:00:14 +02:00
Joas Schilling 1ed7363602
Set read-only state for changelog rooms
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-04-01 16:00:13 +02:00
Joas Schilling 9503f423d6
Use a decent start message
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-04-01 16:00:13 +02:00
Joas Schilling 1b9f739873
Do not cleanup Changelog rooms
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-04-01 16:00:13 +02:00
Joas Schilling 79246e1d59
Start changelog implementation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-04-01 16:00:13 +02:00
Nextcloud bot 1eea0212e7
[tx-robot] updated from transifex 2019-04-01 00:39:56 +00:00
Nextcloud bot f8cff16d28
[tx-robot] updated from transifex 2019-03-31 01:38:56 +00:00
Nextcloud bot d9503e3b7f
[tx-robot] updated from transifex 2019-03-30 01:39:12 +00:00
Ivan Sein 360a9ee1f5
Merge pull request #1655 from nextcloud/bugfix/noid/nick-is-not-send-in-offers-answers-anymore
Readd the nick to the payloads of offer/answer
2019-03-29 11:35:44 +01:00
Joas Schilling da2abd7948
Merge pull request #1611 from nextcloud/feature/noid/linked-collaboration-resources
Add a provider for linked collaboration resources
2019-03-29 10:20:08 +01:00
Joas Schilling c02c8c089e
Readd the nick to the payloads of offer/answer
The RTCSessionDescription removes custom payload attributes in it's toJSON
method. The one value we set is the nick, so we need to toJSON and toObject
the description and add the nick to the payload again.
{@see https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/toJSON}

Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-29 10:04:10 +01:00
Nextcloud bot 030dce73d9
[tx-robot] updated from transifex 2019-03-29 01:38:54 +00:00
Joas Schilling 1c3f4d3190
Update the lib to the latest
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-28 16:20:21 +01:00
Joas Schilling 3243de83f1
Fix missing room name of one-to-one rooms
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-28 09:07:21 +01:00
Nextcloud bot 4cc44ed9cf
[tx-robot] updated from transifex 2019-03-28 01:39:09 +00:00
Joas Schilling 7ba4a58a7a
Fix highlight when room is selected and exclude file/password rooms
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-27 16:55:22 +01:00
Joas Schilling baa0cdc094
Remove unused global
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-27 10:50:57 +01:00
Joas Schilling 2b660fbe29
Catch a missing resource, so the tests work again
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-27 10:44:24 +01:00
Joas Schilling c83f0c3ea7
'Handlebars' is defined but never used no-unused-vars
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-27 10:44:24 +01:00
Joas Schilling bc1614a673
Fix eslint warning
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-27 10:44:24 +01:00
Joas Schilling 95c1148149
Add a link for rooms
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-27 10:44:23 +01:00
Julius Härtl b906238518
Fix scrollbar and hide current room
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-27 10:44:23 +01:00
Joas Schilling e0134712b0
Make the image-path absolute and fix non-public-rooms
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-27 10:44:23 +01:00
Joas Schilling 4e8deb44dd
Adjust ignore files
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-27 10:44:23 +01:00
Julius Härtl 59699e7382
Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-27 10:44:23 +01:00
Julius Härtl 0b4e6045c0
Adapt new library version
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-27 10:44:21 +01:00
Julius Härtl 536c649ee2
Fix eslint
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-27 10:43:51 +01:00
Julius Härtl 35c5adf977
Move views to proper folder
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-27 10:43:51 +01:00
Julius Härtl c0bc066805
Add icon to resource objects
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-27 10:43:51 +01:00
Julius Härtl a85b533883
Add sidebar tab
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-27 10:43:50 +01:00
Julius Härtl 5dd9930706
WIP: Add collections frontend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-03-27 10:43:20 +01:00
Julius Härtl 22137e0be3
Update lib/Collaboration/Resources/ConversationProvider.php
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-27 10:43:20 +01:00
Joas Schilling 18b75cf997
Add a provider for linked collaboration resources
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-27 10:43:19 +01:00
Joas Schilling cd90f8a43a
Merge pull request #1524 from nextcloud/add-support-for-calls-in-other-browsers
Add support for calls in other browsers
2019-03-27 10:42:37 +01:00
Joas Schilling 807ae4732a
Ignore compiled assets
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-27 10:41:53 +01:00
Joas Schilling 3680a79f9f
Make getUserMedia global again so it's defined in the second export
Regression from af8e16b8aade7da8b649864763e080db9e0ae200

Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-03-27 10:36:32 +01:00
Daniel Calviño Sánchez 31cc6de8e8
Update "getStats" to its promise based version
The old callback based version is deprecated, and it seems to be no
longer supported by WebRTC Adapter nor some browsers, like Firefox 67
or Chromium 71. Therefore now the promise based version is used instead.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-03-27 10:36:32 +01:00
Daniel Calviño Sánchez 9f1212ab10
Replace RTCPeerConnection wrapper with standard RTCPeerConnection
Most features of the RTCPeerConnection wrapper are not used, so the
wrapper can be replaced by the standard RTCPeerConnection plus some code
to handle offers and answers.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-03-27 10:36:32 +01:00
Daniel Calviño Sánchez b90942d15a
Add support for screen sharing in Edge
Edge supports screen sharing through the standard
"MediaDevices.getDisplayMedia".

The browser detection had to be changed, as the user agent of Edge
matches with "Chrome"; the code used to detect Chromium/Chrome and Edge
is based on the code of "detectBrowser" in webrtc-adapter "utils.js".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-03-27 10:36:32 +01:00
Daniel Calviño Sánchez 71576a02ff
Replace old SimpleWebRTC bundle with new custom SimpleWebRTC bundle
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-03-27 10:36:31 +01:00
Daniel Calviño Sánchez 06c160e494
Add make step to bundle the custom SimpleWebRTC
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-03-27 10:36:31 +01:00
Daniel Calviño Sánchez 783e790e99
Remove "scaleX(1)" transform on videos
Latest "attachMediaStream" release sets "scaleX(1)" transform on the
video if it is not mirrored, but that causes the video to be moved to a
wrong position in some browsers. As "scaleX(1)" should have no effect
the transform is simply removed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-03-27 10:36:31 +01:00
Daniel Calviño Sánchez 224b1210c1
Handle bogus behaviour of "getUserMedia" in Edge
"getUserMedia" should resolve the promise only if all the constraints
are satisfied, but Edge resolves it also if both are requested (audio
and video) but only one of them is satisfied. The callbacks are used to
set the local audio and video as available or not available, so the Edge
behaviour is now handled to return the right information to the
callbacks.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-03-27 10:36:31 +01:00
Daniel Calviño Sánchez ad07e13ccb
Copy unsharing screen related code from old SimpleWebRTC bundle
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-03-27 10:36:31 +01:00
Daniel Calviño Sánchez 69c9f7ebec
Restore legacy "localScreen" property
This property was removed in localmedia 3.x, but it is used in several
places in SimpleWebRTC 2.3.3, so for now it is restored.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-03-27 10:36:30 +01:00
Daniel Calviño Sánchez 4cc9a7d983
Replace "getUserMedia" with custom wrapper
The normalization of errors by the "getUserMedia" module should be
covered by current webrtc-adapter releases, so it should not be needed.
Besides that, the NPM package contains a "node_modules" directory with
the code of an old "webrtc-adapter" release, and the bundling tool gets
confused when this directory is present and bundles that old code
instead of the most recent one.

Due to all this, the module is replaced by a custom wrapper that just
calls the given callbacks as needed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-03-27 10:36:30 +01:00
Daniel Calviño Sánchez 8fcfba942e
Copy "getScreenMedia" from old SimpleWebRTC bundle
"getScreenMedia" was heavily customized in the old bundle, so the
default implementation in the new bundle is fully replaced by it.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-03-27 10:36:30 +01:00
Daniel Calviño Sánchez f70f3ca84c
Copy resending data channel messages from old SimpleWebRTC bundle
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-03-27 10:36:30 +01:00
Daniel Calviño Sánchez 4cdcdd30d4
Remove SimpleWebRTC sandbox URL
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-03-27 10:36:30 +01:00
Daniel Calviño Sánchez c2b5e259d0
Remove Google STUN server
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-03-27 10:36:30 +01:00