summaryrefslogtreecommitdiffstats
path: root/lib/Listener
AgeCommit message (Collapse)Author
2023-06-22fix(participants): Update cached displayname when a group is renamedJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-13chore(CS): Unify construct() callsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-13automated: Apply CS fixJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-12Specify template event classJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-04Move getParticipant()Joas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-04Move getParticipant*() methods to participant serviceJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-14Reset the poll and vote author information to be GDPR compliantJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-13Cache the display name for polls and votesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-11Use \OCP\Server::get() instead of private APIJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-25Move sharing listeners to staticVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-04-06Use PHP7.4 property typehinting where possibleVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-12-07Merge pull request #6661 from nextcloud/feature/remove-deprecated-methodJoas Schilling
Replace deprecated method
2021-12-06Replace deprecated methodVitor Mattos
deprecated 20.0.0 use \Psr\Container\ContainerInterface::get Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-12-02Add command to remove users from all roomsVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-10-27Always allow guests to start a call in video verificationJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-18Replace old type constants with new onesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-25Update API usage to new API levelJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-24Fix CSJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-24Fix tracking of circles/groups memberships when removing of eitherJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-24Fix the author of the system messagesJoas Schilling
Circles triggers its events async via web requests, so the session doesn't have the user info of the actor Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-24Only single events it isJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-24Check nested circlesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-24Handle the AddingCircleMemberEvent and add new members to the roomsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-24Start circle tracking supportJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-12Fix blocked audio recording preview when Talk is embedded in the sidebarDaniel Calviño Sánchez
Audio recording previews use a blob, so the Content Security Policy must allow media from blobs to be able to play it. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-07-01Use extended mediarecorderMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2021-05-27Remove groups as participants when deletedJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-18Fix name and type of left one-to-one conversations so reused user ids can't ↵Joas Schilling
join again Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-10Display map in the MessageListMarco Ambrosini
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2021-04-15Fix copyright yearJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-14Fix php CSJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-14Delete groups from settings when they are deletedJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-08Ignore the read status of groups and store the displayname on adding membersJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-31Only remove users and not moderators when a group (membership) is removedJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-26Don't error when a user is already a memberJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-26Fix constant value to pluralJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-26Add and remove users from conversations when their group membership changesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08Handle all getParticipants with multi sessionsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-11Store the displayname upon change in the attendees table to save some user ↵Joas Schilling
manager calls Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-01-21Replace blur with average color in video backgroundDaniel Calviño Sánchez
For simplicity, as discussed, instead of using a workaround to still show blurred backgrounds in Chromium despite its performance bug in some systems now the average color is used instead. Moreover, as the CSS blur filter only works reliably in Firefox any other browser (which now also includes Chromium-based browsers, like the new Edge) uses the average color for the backgrounds. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-12-06Offload generation of blurred backgrounds to a workerDaniel Calviño Sánchez
Until now the generation of the blurred backgrounds was done in a normal canvas, so it happened in the main thread and made the UI unresponsive while the image was being generated. Now, to solve that, the blurred background is generated in an OffscreenCanvas in a worker (if supported by the browser). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-30Simplify query methods and inject the config on the methodJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-30Remove last participant modifying functions from Room objectJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-30Move changeInCall to particiant serviceJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-30Move counting functions to participant serviceJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-30Fix function usageJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-02Fix logout failure if active session was removed from roomDaniel Calviño Sánchez
If the user tries to immediately log out after being removed from a conversation in which she was active an exception could be thrown during the logout cleanup if no conversation is found for the session. If the exception is not caught then the logout will fail. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-06-19Fix PHP CSJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-19Also move the logout hook to the new eventsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-19Move user delete to event listenerJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>