Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-08-03Fix Internet Explorer 11 not loading because Element.append() does not existJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-02Only show browser warning when interacting with talkJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-01Trigger a vue event when SessionStorage "joined_conversation" changesJoas Schilling
Otherwise there is no update of the computed and the call screen will not show up. Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-01Don't show call state when asking to kill the other sessionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-01Redirect to a plain page to avoid reconnectionsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-27Move X-Nextcloud-Talk-Hash handling to a mixinJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-18Remove unused propMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-05-18Fix callview in sidebarsMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-04-07Move the logic to a method to avoid multiple executionsMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-01-15Fix "The operation is insecure" when accessing cssRulesDaniel Calviño Sánchez
In Firefox accessing "cssRules" may throw a "SecurityError" if the style sheet was loaded from a different domain. The style sheets loaded by Nextcloud all come from the same domain, but some Firefox extensions inject their own stylesheets from a different domain. Due to this, when the style sheet from the vue-at component was being looked for those style sheets from a different domain could be iterated over, which caused the exception to be thrown and stopped the load of Talk, which ended causing a blank page. In a similar way this caused an exception to be thrown when starting a call in the Files app sidebar, which ended causing the call view to not be shown in the sidebar. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-01-14Prevent unload from the files app tooJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-01-10Force restoring the sidebar header contents on file changesDaniel Calviño Sánchez
If the sidebar is opened in a different file during a call the sidebar header contents may not be properly restored due to the order in which the updates are handled, so it needs to be executed again when the FileInfo has been set and it does not match the current conversation. Otherwise the call view could be a child of the header instead of the header actions, so if a call is started again "hidden-by-call" will be set to the call view too, hiding it during the call. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-01-10Fix frozen video after closing and opening the sidebar during a callDaniel Calviño Sánchez
When a video element is removed from the DOM and then added again it will be frozen in its last frame until its "srcObject" is set again (even overwriting itself with "videoElement.srcObject = videoElement.srcObject" would be enough). Closing and opening the sidebar removes it from and adds it back to the DOM, but as "srcObject" is only set when the stream changes the video element was frozen after opening the sidebar again. Instead of notifying the child views that they were shown again (as it does not seem to be possible to detect it from the child views themselves) so they can refresh the "srcObjects", for simplicity now the CallView is fully rendered again when the sidebar is opened after being closed. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-01-10Add a "constrained layout" for call view to be used in the sidebarDaniel Calviño Sánchez
Currently this mimics the layout used in Talk 7 when the call view was shown in the Files app sidebar (smaller avatars, videos and paddings, no screensharing button...), but even once the call view is moved to the new layout a special handling will be needed when the space is limited. Ideally the call view should automatically change between layouts based on its size (probably using something like ResizeObserver/MutationObserver), but for the time being it is explicitly enabled when the call view is shown in the Files app sidebar. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-01-10Replace placeholder with actual call viewDaniel Calviño Sánchez
As the call view has a black background the close button of the sidebar is forced to white during calls to make it visible. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-01-10Replace sidebar header contents with call view during callsDaniel Calviño Sánchez
During calls the call view is now moved from the header actions to the header itself, and all the other elements in the header (except the close button) are hidden. This is done by setting a special CSS class, "hidden-by-call", which is defined in a style sheet added dynamically. When the file is changed the sidebar is cleared until the new file is loaded. However, "setFileInfo" is called once the new file has loaded, so the call view can not be hidden based on when a new fileInfo is set, as that would keep the call view shown while the sidebar only shows the loading spinner. However, "OCA.Talk.fileInfo" is cleared by "FilesSidebarTab" when the tab is destroyed, which happens when the rest of the sidebar is cleared, so that fileInfo is the one used to show and hide the call view. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-01-09Add dummy call view to the Files sidebarDaniel Calviño Sánchez
Currently the dummy call view is simply shown when the user is in the call and hidden otherwise. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>