Joas Schilling
8287aa0666
fix(events): Remove stray imports
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
7b5bf5f8f6
feat(events): Add typed event for sending the email invite to guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
24f1eec73a
feat(events): Migrate attendee and participant events to typed ones
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
9924b72c96
feat(events): Migrate participant modifications to typed events
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
1744ed2f16
feat(events): Migrate session join and leave to typed events
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
e31ec75d26
fix(docs): More specific event doc changing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
6ce5765e1f
fix(events): Migrate "already shared" to typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
b26147c097
fix(events): Fix event name when getting turn servers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
0c3b162cbd
fix(events): Fix call notification event name to match the pattern
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
fd3c9e83f2
feat(events): Migrate signaling events to typed events
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
831e859cbc
feat(events): Migrate chat related events to typed events
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
cd90a40b78
fix(docs): Update documentation with latest event changes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
9960b445b5
feat(events): Migrate password verification to typed-event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
c4fc290ec9
feat(events): Add type events for remaining room events
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
9a75ba089f
feat(events): Emitted typed events for room modifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
1896344795
refactor(events): Deprecate old untyped room events
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
1755fd51ce
feat(consent): Save recording consent to DB and allow retrieving with OCC
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
ef03ac4d87
Try to load a room by accessToken
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
4d292fe959
feat(recording): Recording consent API - Version 2
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
6ee75add04
feat(note-to-self): Create note-to-self conversation for users
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
7907877593
feat(bots): Add an even to uninstall bots when an app is removed/updated
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
ae1fe40ac0
feat(bots): Add commands and events to install bots
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Joas Schilling
98244210f0
feat(webhooks): Start with implementing webhooks for chat messages
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
52148735fd
Fix already shared event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Hamid Dehnavi
aaa8847d60
Use PHP8's constructor property promotion
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2 years ago
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
a22a546401
Adjust coding style
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Daniel Calviño Sánchez
85f73b06b6
Fix not leaving previous session when joining the same room again
When the same room is joined again from the same PHP session the room is
left with the previous Nextcloud session before joining with the new
one. However, "disinvite" messages were not sent to the external signaling
server for regular users, so their UI was not updated to show that the
previous Nextcloud session was kicked out from the conversation.
Note, however, that as a "disinvite" message is now sent the UI will
show a "conversation not found" message rather than a "duplicated
session" state.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years ago
Vitor Mattos
af34125e66
Rename text
Signed-off-by: Vitor Mattos <vitor@php.rio>
3 years ago
Vitor Mattos
bd9913e1ea
Rename message expire to expire date
Signed-off-by: Vitor Mattos <vitor@php.rio>
3 years ago
Vitor Mattos
751d18f2b1
Rename ttl to message expire
Signed-off-by: Vitor Mattos <vitor@php.rio>
4 years ago
Vitor Mattos
5bdaa16823
Implement logic in controller to change the ttl
Signed-off-by: Vitor Mattos <vitor@php.rio>
4 years ago
Vitor Mattos
10c5c13040
Option to make possible start a call without notify participants
Signed-off-by: Vitor Mattos <vitor@php.rio>
4 years ago
Joas Schilling
c15f9d8318
Allow to "Send call notifications"
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling
866201678f
Add an option for "Silent send" to the API
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Vitor Mattos
f182d2079f
Change property type
Signed-off-by: Vitor Mattos <vitor@php.rio>
4 years ago
Joas Schilling
22131b89b6
Make sure output is always a string
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling
44104b9ab6
Fix type handling
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Vitor Mattos
94c29af7fe
Fix psalm issues
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
Joas Schilling
4348f61fde
Only update the last_message and last_activity once
Especially when adding multiple system messages we updated the room
data way too often.
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling
f004976eff
Handle all user status changes in case of "End meeting for all" in 1 execution
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling
3ba29c0478
Only send 1 HPB request for the "end call for everyone" case
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Vitor Mattos
2673e53cfd
Reduce MissingReturnType
Signed-off-by: Vitor Mattos <vitor@php.rio>
4 years ago
Joas Schilling
9d924ad014
Don't log single "call_left" system messages when call ended for everyone
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling
56d4660295
Log dedicated call summary when ending for everyone
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joachim Bauch
9765879e31
Introduce event so other apps can override the list of TURN servers.
Signed-off-by: Joachim Bauch <bauch@struktur.de>
4 years ago
Joas Schilling
b9e5fe2bcc
Add system messages for group attendees
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling
928e047de2
Handle all getParticipants with multi sessions
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago