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
2021-01-21Initial state service is deprecatedJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-12-16Remove request password button when verif disabledVincent Petry
Whenever the video verification has not been set for a share, do not display the button "Request password" in the public link page. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-11-27No participants means everything is okayJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-11-24Fix owner being able to add more users to a password request roomDaniel Calviño Sánchez
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-24Fix additional participants being able to join a password request roomDaniel Calviño Sánchez
This fixes a regression introduced in 4afa2d7946. The active guests are only those who are currently in a call, and not those who are currently in the conversation. Therefore other guests or users were not prevented from joining a password request conversation if a guest was in the conversation but not in the call. Fortunately in practice this was not a problem, as the Web UI starts a call immediately after joining the conversation, which made the guest immediately active and thus prevented others from joining. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-30Move Room::getParticipantUserIds() to participant serviceJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-16Use new BeforeTemplateRenderedEvent for share template loadingJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-12Run cs:fixJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-12Require a distributed MemCacheJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-27Create the initialState in a single locationJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-04-06Fix missing element for Chromium screensharing extensionDaniel Calviño Sánchez
In Chromium < 72 an extension is needed to share the screen (https://github.com/nextcloud/spreed-screensharing-chrome-extension). Once installed, the extension enables itself only in those pages that contain an element with id "app" and class "nc-enable-screensharing-extension" when the document is loaded. As the element can not be added after the document has loaded and the screen sharing should work also when Talk is enabled in other apps a (hacky and very likely not compliant) meta element is added in the header element to be found by the extension whenever Talk is used. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-01-14Add dummy Talk sidebar to public share auth pageDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-12-04Add constants for event names and use patternJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-04Typed events for TalkJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-05Bye Spreed, hello Talk!Joas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-14Do not load unnecessary classes in ApplicationJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-12Make all classes strictJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-29Reduce the number of loaded scriptsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-12-11Add full Handlebars libraryDaniel Calviño Sánchez
In Nextcloud 16 the Handlebars library shipped in the server is no longer the full Handlebars library, but a trimmed down version that does not support compiling Handlebars templates at runtime. Currently Talk still needs to compile Handlebars templates at runtime, so for the time being the full Handlebars library that was included before in the server is now included in Talk. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-06Extract view for media controlsDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-05Extract CSS styles for videosDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-12-05Extract view for the main empty content messageDaniel Calviño Sánchez
The main empty content message is kept in the templates generated by the server to be able to show something to the user while the rest of the UI is loading. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-28Move "comments.scss" to "chatview.scss"Daniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-28Extract view for call buttonDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-28Move RichObjectStringParser into the views folderDaniel Calviño Sánchez
Although the RichObjectStringParser is not a view as such its functionality is closedly tied to views, so the views folder is a better place to live in. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-28Move ChatView to precompiled Handlebars templatesDaniel Calviño Sánchez
In Nextcloud 15 the default Content Security Policy disallows unsafe eval expressions, so Handlebars templates can no longer be compiled at runtime. For the time being that default Content Security Policy was lifted for Talk so "Handlebars.compile" could still be used. However, this only applies to Talk itself; when using Talk components in other apps they must abide to the Content Security Policy of those apps. As ChatView is going to be used in the Files app it has been moved to precompiled Handlebars templates (which are still compatible with the regular Talk UI). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-20Merge pull request #1271 from ↵Joas Schilling
nextcloud/improve-performance-of-the-list-of-chat-messages Improve performance of the list of chat messages
2018-11-20Use VirtualList for the message list in the chat viewDaniel Calviño Sánchez
The virtual list requires that its internal wrappers use an absolute position. Due to that absolute position the padding of the container does not affect the wrappers, so the desired padding must be applied through its left and right position. As the virtual list keeps only a subset of its elements in the DOM the ":first-child" pseudo-selector no longer refers to the actual first child element, but to the first one currently in the DOM; it would be necessary to apply the CSS rules using a specific CSS class set only in the desired element. However, as the first comment always includes the date separator, which already has a top margin, the top padding is not really needed in the first comment, so it was simply removed. Moving the message list between the main view and the sidebar changes its size, and thus it is necessary to reload the virtual list; when the virtual list is reloaded it is ensured that the last visible element will still be visible after the reload, so the chat view no longer needs to explicitly handle that. In a similar way, the message list also needs to be reloaded when the window is resized, or when the chat view is in the main view and the sidebar is opened or closed, as those actions change the size of the main view. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-11-20Merge pull request #1286 from nextcloud/add-session-to-participantIvan Sein
Add session & participantFlags to participant
2018-11-12Do not create the participant when we don't need themJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-11-05Fix initializing the app twiceDaniel Calviño Sánchez
When Talk is embedded in the public share authentication page the app is explicitly initialized in "publicshareauth.js" (as some special setup for the settings will be needed in that case); "init.js" should be used only for the regular Talk app. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-08-08Use short class namesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-08-08Rename the Listener and register it like we register new listenersJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-08-08Load additional scripts in public share auth page when neededDaniel Calviño Sánchez
Before the public share auth page is rendered an event is dispatched that can be used by apps to load additional scripts. This event is now used to load the scripts that, when run on the browser, will inject the Talk UI as needed in the page generated by the server. The scripts will be loaded only when the share has the "send password by Talk" option enabled; they add a button to the page that, when pressed, creates a new public share auth room with the sharer and shows, in a sidebar, the Talk UI for that room. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-08-08Prevent extra participants from joining a "share:password" roomDaniel Calviño Sánchez
The rooms to request the password for a share are public rooms, so anyone could join them provided she knows its token. Thus, now it is enforced that only a single participant besides the owner can join the room. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2018-08-08Destroy "share:password" rooms as soon as one of the participants leavesDaniel Calviño Sánchez
Due to their nature there is no point in keeping a room to request the password of a share once any of the participants has left, so they are automatically destroyed in that case. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>