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

3236 Коммитов

Автор SHA1 Сообщение Дата
Joas Schilling f828ab9c9e
New coding guideline
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:17:37 +01:00
Joas Schilling 747b92558a
Ignore compiled JS from eslint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:17:37 +01:00
Joas Schilling 9c9dac5ff5
Adjust tests to the new executor
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:17:37 +01:00
Joas Schilling 360db9ecfb
Adjust UI to the new structure
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:17:37 +01:00
Joas Schilling 9f4cfb54f9
Document the alias
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:17:37 +01:00
Joas Schilling 214143ceb2
Support aliases for commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:17:36 +01:00
Joas Schilling 513062e508
Check enable flag for participant level
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:17:36 +01:00
Joas Schilling 9a1980dff2
Add validation for name, cmd and script
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:17:36 +01:00
Joas Schilling 105eda53bc
Add docs about commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:17:36 +01:00
Joas Schilling 55844ab922
Do not group bot responses
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:17:36 +01:00
Joas Schilling 7b3589ed65
Help command
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:17:35 +01:00
Joas Schilling 098a8b61df
Escape arguments correctly
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:17:35 +01:00
Joas Schilling 835e6bdc77
Add console commands to manage commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:17:35 +01:00
Joas Schilling 18aa82dabf
Do not allow changing/adding scripts via the Web
It's just too dangerous for now.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:17:35 +01:00
Joas Schilling dda4b0d4eb
Cleanup execution and trigger an event for apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:17:35 +01:00
Joas Schilling 8ad3535ba9
Add a help command
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:17:35 +01:00
Joas Schilling b6e5120060
Add a service
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:17:34 +01:00
Joas Schilling d7feb1d31a
Fix actor type and displaying
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:17:34 +01:00
Joas Schilling ed0050215f
Execute commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:17:34 +01:00
Joas Schilling c460128531
No patterns for now
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:17:34 +01:00
John Molakvoæ (skjnldsv) e53ce0430b
Multiselect option and value propagation
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-02-20 12:17:34 +01:00
Joas Schilling 46e51bd63b
Add routes and controller
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:17:33 +01:00
Joas Schilling c0e34c8729
Start with commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-20 12:17:33 +01:00
Nextcloud bot bea75cf698
[tx-robot] updated from transifex 2019-02-20 01:37:14 +00:00
Joas Schilling 480bba7d53
Merge pull request #1508 from anstue/master
Own video is too big, setting it to 22%
2019-02-19 14:22:07 +01:00
Joas Schilling d5de485a5a
Merge pull request #1549 from nextcloud/bugfix/noid/socket-is-null
Delay message sending when socket is null
2019-02-18 17:35:28 +01:00
Joas Schilling 4e9d7f16a2
Merge pull request #1548 from nextcloud/fix-last-local-media-state-not-remembered-when-the-ui-is-reloaded
Fix last local media state not remembered when the UI is reloaded
2019-02-18 17:01:20 +01:00
Joas Schilling c0bd85dd9d
Merge pull request #1513 from nextcloud/extract-view-for-a-participant-in-a-call
Extract view for a participant in a call
2019-02-18 16:43:18 +01:00
Joas Schilling e648626388
Delay message sending when socket is null
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-18 14:39:32 +01:00
Daniel Calviño Sánchez 3cb2e7bae6 Fix last local audio state not remembered when the UI is reloaded
When the local audio is enabled or disabled its state is written to the
local storage in order to restore it in the next call. However, the
previous value was not properly set again when the Talk UI was reloaded;
when the MediaControlsView is created the audio is not available yet, so
calling "disableAudio()" did nothing. Moreover, as "audioDisabled" was
not set to "false" once the audio was available the audio was always
enabled in "initAudioVideoSettings".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-18 13:08:13 +01:00
Daniel Calviño Sánchez 234cfdbd4f Fix last local video state not remembered when the UI is reloaded
When the local video is enabled or disabled its state is written to the
local storage in order to restore it in the next call. However, due to a
typo, the previous value was not properly set again when the Talk UI was
reloaded.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-18 13:01:51 +01:00
Daniel Calviño Sánchez 0485503f6a Replace legacy "getContainerId" with direct access to VideoViews array
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-18 02:28:59 +01:00
Daniel Calviño Sánchez 1e657127c9 Extract click handler to its own method
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-18 02:28:59 +01:00
Daniel Calviño Sánchez 108491260f Move creation of the dummy container for promoted videos to VideoView
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-18 02:28:59 +01:00
Daniel Calviño Sánchez 88f30ddacd Remove "clone()" call with no effect
There is no ".speakingIndicator" element, so cloning and appending it
has no effect.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-18 02:28:59 +01:00
Daniel Calviño Sánchez 47eeb7a980 Move handling of promoted status to VideoView
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-18 02:28:59 +01:00
Daniel Calviño Sánchez dd059ffc0a Move handling of screen sharing indicator to VideoView
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-18 02:28:59 +01:00
Daniel Calviño Sánchez 6020077470 Move handling of speaking status to VideoView
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-18 02:28:59 +01:00
Daniel Calviño Sánchez 12b98213d1 Embed and remove method
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-18 02:28:59 +01:00
Daniel Calviño Sánchez 0e46ff5ffa Move handling of audio availability to VideoView
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-18 02:28:59 +01:00
Daniel Calviño Sánchez eb8c72c2f8 Move handling of video element to VideoView
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-18 02:28:59 +01:00
Daniel Calviño Sánchez 0e51825086 Do not use "latestSpeakerId" outside of "OCA.SpreedMe.speakers"
This was not enforced by creating a closure for "speakers" with
"latestSpeakerId" as a local variable just to keep the code style of
"speakers" consistent with "videos" or "sharedScreens".

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-18 02:28:59 +01:00
Daniel Calviño Sánchez ea08e8c35b Use "VideoView.setParticipant" to set the name and avatar
If the user is a guest and no name is given "Guest" is set by default,
except when the connection has not been established yet, in which case
no name is shown for consistency with regular users.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-18 02:28:12 +01:00
Daniel Calviño Sánchez 103bf36792 Move handling of connection status to VideoView
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-17 13:08:33 +01:00
Daniel Calviño Sánchez d571023a54 Create new videos based on VideoView instead of container element
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-17 13:08:33 +01:00
Daniel Calviño Sánchez c918c0b3cf Extract initial state of view for a participant in a call
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-17 13:08:28 +01:00
Joas Schilling 74e3427cf6
Merge pull request #1545 from nextcloud/techdebt/noid/unload-application-class
Do not load unnecessary classes in Application
2019-02-14 11:06:45 +01:00
Joas Schilling 6bee0cd4d7
Merge pull request #1547 from nextcloud/allow-null-sessions-when-getting-participant-by-session
Allow null sessions when getting participant by session
2019-02-14 11:05:49 +01:00
Daniel Calviño Sánchez 6bb70b3d66 Adjust param type in documentation
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-14 10:23:10 +01:00
Daniel Calviño Sánchez 0f6cd9eb97 Allow null sessions when getting participant by session
Otherwise, due to the strict types, a type error is thrown instead of a
ParticipantNotFoundException.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-02-14 08:56:15 +01:00