Joas Schilling
c1970caef4
chore(CS): Unify construct() calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
f3ff4a8820
automated: Apply CS fix
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
63bd1f4673
Specify template event class
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
5f060687c8
Move getParticipant()
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
ff51959102
Move getParticipant*() methods to participant service
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
cf58a31c92
Reset the poll and vote author information to be GDPR compliant
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
30c41a8fff
Cache the display name for polls and votes
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling
545d3ab5cb
Use \OCP\Server::get() instead of private API
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Vitor Mattos
41cbc76ae3
Move sharing listeners to static
Signed-off-by: Vitor Mattos <vitor@php.rio>
4 years ago
Vitor Mattos
c07251f0c6
Use PHP7.4 property typehinting where possible
Signed-off-by: Vitor Mattos <vitor@php.rio>
4 years ago
Vitor Mattos
5ac20349c6
Replace deprecated method
deprecated 20.0.0 use \Psr\Container\ContainerInterface::get
Signed-off-by: Vitor Mattos <vitor@php.rio>
4 years ago
Vitor Mattos
c9cf44e930
Add command to remove users from all rooms
Signed-off-by: Vitor Mattos <vitor@php.rio>
4 years ago
Joas Schilling
014cc4be1c
Always allow guests to start a call in video verification
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling
9e8d94d58f
Replace old type constants with new ones
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling
f813c3f7ff
Update API usage to new API level
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling
7071e7640e
Fix CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling
3d34a71b57
Fix tracking of circles/groups memberships when removing of either
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling
f520e98099
Fix the author of the system messages
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>
5 years ago
Joas Schilling
93a70dfde7
Only single events it is
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
2ea32cfbb5
Check nested circles
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
af402b95c8
Handle the AddingCircleMemberEvent and add new members to the rooms
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
df185fba5f
Start circle tracking support
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Daniel Calviño Sánchez
8d57f0f88b
Fix blocked audio recording preview when Talk is embedded in the sidebar
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>
4 years ago
Marco Ambrosini
63fe1ac0d7
Use extended mediarecorder
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
4 years ago
Joas Schilling
1b6eae491b
Remove groups as participants when deleted
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
3e88db0678
Fix name and type of left one-to-one conversations so reused user ids can't join again
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Marco Ambrosini
eb65680726
Display map in the MessageList
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
5 years ago
Joas Schilling
ddac09958c
Fix copyright year
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
a4cf5a43ff
Fix php CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
a564828c88
Delete groups from settings when they are deleted
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
672f06fed8
Ignore the read status of groups and store the displayname on adding members
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
44a7308254
Only remove users and not moderators when a group (membership) is removed
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
0253a69f87
Don't error when a user is already a member
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
b37dade08f
Fix constant value to plural
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
2db230b404
Add and remove users from conversations when their group membership changes
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
928e047de2
Handle all getParticipants with multi sessions
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
f68e64e5dc
Store the displayname upon change in the attendees table to save some user manager calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Daniel Calviño Sánchez
1bc9656397
Replace blur with average color in video background
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>
5 years ago
Daniel Calviño Sánchez
9708a54b30
Offload generation of blurred backgrounds to a worker
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>
5 years ago
Joas Schilling
5577de7a52
Simplify query methods and inject the config on the method
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
a11b907435
Remove last participant modifying functions from Room object
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
ad6a3ae7cb
Move changeInCall to particiant service
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
cc93851b17
Move counting functions to participant service
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
c19f07ca80
Fix function usage
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Daniel Calviño Sánchez
c8e8b7bd25
Fix logout failure if active session was removed from room
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>
5 years ago
Joas Schilling
1d019f4d4f
Fix PHP CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
11ed3ab275
Also move the logout hook to the new events
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
ba3ea9ff6e
Move user delete to event listener
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Joas Schilling
84d42604e6
Run cs:fix
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Daniel Calviño Sánchez
ca03cff331
Unify new LoadSidebarListener with previous TemplateLoader
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years ago