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
2019-10-10Remove dead method (the code was merged into addParticipantToRoom already)Joas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-10Move GuestController to EnviromentAwareJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-10Remove unwanted, undocumented and unused methods from Commands controllerJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-10Update the Webinar(y) controller to the latestJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-01Make sure the controller also works for guestsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-01More IShare::TYPE_* fixesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-01Merge the two controllersJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-27Prepend the conversation mention only if it start with the matchJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-26Override the current user when getting the room for a public share pageDaniel Calviño Sánchez
The public share page uses the incognito mode, so "OC.getCurrentUser()" never returns a user, even if the user is actually logged in. However, Talk API requests honour the actual current user, so the Talk UI needs to honour it as well. Moreover, when the external signaling server is used, the Talk UI needs to honour the current user not only to show the right user name and avatar, but to be able to even connect with the external signaling server. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-26Correctly check if the share has a password and if it was entered correctly.Joas Schilling
This prevents joining the room for a file shared by link and protected by password if the password has not been entered yet. Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-26Add support for public shares to file roomsDaniel Calviño Sánchez
Until now file rooms were available only to users with direct access to the file. Now file rooms are available to any user or guest too if the link is publicly shared (with a link share, for example). Public shares are identified by a share token instead of a file id, so a new endpoint, which is a counterpart of FilesController but for share tokens, was added. The file room, however, is still associated to the file id like before. When checking if a participant can join a room if the current user is a user without direct access to the file or a guest it is not even possible to know if the file id belongs to a publicly shared file. Due to this when the room is got for a share token the share token is stored in the session and then used in following requests when checking whether the participant can join a room or not. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-19Move the "can start call" functionality into a methodJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-19Also prevent starting a call on API levelJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-19Populate the canStartCall value and add a capabilityJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-18Merge pull request #2190 from ↵Joas Schilling
nextcloud/feature/noid/allow-to-mention-the-room-by-name Allow to mention "all" by autocompleting the room name
2019-09-18Make room display name comparison case-insensitive.Ivan Sein
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2019-09-15Allow to mention "all" by autocompleting the room nameJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-14Free FilesControllerJoas 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-08-29Allow to include the last known message as wellJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-28Set the automatic read marker before the waiting request, not afterwardsJoas Schilling
This false set the read marker on new messages although you navigated away to a different chat already. So we removed this and instead update the read marker before your next waiting. So when you are still there, it will just have a wrong read marker for the time until your next request starts, while it will not update the value, when you actually left the chat already. Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-28Merge pull request #1926 from nextcloud/feature/382/lobbyJoas Schilling
⏳ Lobby
2019-08-28Merge pull request #2102 from ↵Joas Schilling
nextcloud/bugfix/2088/support-file-calls-in-groupfolders Support file calls in groupfolders
2019-08-28Rename lobby constantsDaniel Calviño Sánchez
The lobby constants were named from the point of view of the webinary (open to all participants, open to moderators only), but from the point of view of the lobby it is the opposite (no lobby, lobby for non moderators). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28Make the API work with timestampsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-28Transform time to UTC before storing in the databaseJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-28Remove outdated commentJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-28Allow a timer as wellJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-28No participants and chat messages for users in the lobbyJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-28Allow users to load the room data when joining itJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-28Prevent access to some APIs for non-moderators if lobby is enabledJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-28Add an API endpoint to set the lobby stateJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-28Merge pull request #2121 from ↵Joas Schilling
nextcloud/get-password-from-session-if-not-given-when-joining-room Get password from session if not given when joining room
2019-08-28Get password from session if not given when joining roomJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-27Only update read marker when receiving new messages.Ivan Sein
Signed-off-by: Ivan Sein <ivan@nextcloud.com>
2019-08-23Support file calls in groupfoldersJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-08-16Add user to file room when joining it instead of when getting its tokenDaniel Calviño Sánchez
This fixes the code so it behaves as stated in the documentation. In practice currently this should make no difference, as in the Files app the user joins the room immediately after getting its token; however, this makes possible to get the token without joining the room, which will be needed in the future to improve the UX of the Files app. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-07-30Expose the message type as wellJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-30Make sure we don't change the comments object as that will update the databaseJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-30Prevent replying to commands and system messagesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-30Allow to reply to messages and return the parent on the message endpointsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-25Merge pull request #1214 from nextcloud/feature/noid/unread-message-markerJoas Schilling
🆕 Read marker handling based on ID and settable via API
2019-07-24Make the read-marker update optionalJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-24Change read marker to work on the comment id isntead of datetimeJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-19Show "Wrong password" info when the conversation password was wrongJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-07-08Sort mentions with the searched start firstJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-05-10Add document about invisible messages not returned by ChatControllerDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-05-06Receive post requests with the password tooJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-04-10Do not allow JavaScript "eval"Daniel Calviño Sánchez
Talk no longer uses JavaScript "eval", so the Content Security Policy can now be configured to prevent its use. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-04-01Do not cleanup Changelog roomsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>