Commit graph

94 commits

Author SHA1 Message Date
Joas Schilling
ece1decade
feat(calls): Support "Send call notification" for and with federated users
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-26 16:07:28 +02:00
Joas Schilling
956a1ab00f
chore(php): Auto-fixes of coding standards
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-23 16:36:50 +02:00
Joas Schilling
81e7968000
fix(conversations): Remove call-permissions
The permission only existed on API level and it's too complicated
to figure out a good UX for it. So the functionality to change it
are removed here. It's still kept in the database and response to
avoid breakage of existing clients

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-22 17:16:41 +02:00
Joas Schilling
4d73f9bdb6
fix(call): Fix race condition of "End call for everyone" and a parallel "Leave call"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-15 14:09:05 +02:00
Daniel Calviño Sánchez
6202e059a6
fix: Get call peers from federated servers
The call peer data is used by the iOS app to get information about the
peers in the call before the connection with the signaling server is
established, so the data can not be got from signaling messages and the
peer data endpoint should be available also in federated conversations.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-08-15 09:17:39 +02:00
Joas Schilling
2a38a527d2
fix(calls): Explicitly end the call so we can notify the remote
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-31 23:07:28 +02:00
Joas Schilling
1c673cd896
fix(calls): Make starting a call an explicit event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-31 23:06:55 +02:00
Joas Schilling
413641ddc9
fix(calls): Also track the participant in_call locally to be able to handle notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-31 13:37:39 +02:00
Daniel Calviño Sánchez
9b526a0365 feat: Update call flags by federated participants
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-07-26 11:50:52 +02:00
Daniel Calviño Sánchez
e3f3146fbb feat: Join and leave calls from federated conversations
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-07-25 23:32:39 +02:00
Daniel Calviño Sánchez
37da3b7df3 refactor: Extract method to validate recording consent
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-07-25 22:20:46 +02:00
Joas Schilling
2a38ba10f7
fix: Fix Psalm, OpenAPI and unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-05-16 19:05:14 +02:00
skalidindi53
377a2f91d5 fix: throw error when target has DND on 2
Signed-off-by: skalidindi53 <s.teja2004@gmail.com>
2024-05-13 11:06:39 -05:00
Joas Schilling
1ccbf67da2
chore: Run SPDX convertor
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-26 13:02:15 +02:00
Joas Schilling
1f71244d82
fix(openapi): Remove long int-lists now that OpenAPI understands int<min,max>
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-03-25 15:15:48 +01:00
Joas Schilling
407fd1d4ce
Merge pull request #10920 from nextcloud/bugfix/noid/handle-DoesNotExistException
fix(call): Handle DoesNotExistException when ringing an attendee
2023-11-17 12:35:59 +01:00
Joas Schilling
46e51fab3d
fix(call): Handle DoesNotExistException when ringing an attendee
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-17 12:17:30 +01:00
Joas Schilling
4c5128dc22
fix(API): Add more specific int-types
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-17 11:11:09 +01:00
Joas Schilling
5e06dce59c
Handle dial-out exceptions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-30 14:23:03 +01:00
Joas Schilling
5116d663bb
Fix sipbridge returning a license error
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-30 14:23:03 +01:00
Joas Schilling
0ca97658d0
Avoid circular dependency
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-23 15:48:00 +02:00
Joas Schilling
fb363778aa
feat(call): Add endpoint to send the dial-out request to the HPB
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-23 15:47:59 +02:00
Joas Schilling
1755fd51ce
feat(consent): Save recording consent to DB and allow retrieving with OCC
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-18 10:31:20 +02:00
Joas Schilling
4d292fe959
feat(recording): Recording consent API - Version 2
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 14:37:24 +02:00
Joas Schilling
5f194659e9
feat(recording): Add API for recording consent MVP level
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 13:16:47 +02:00
Joas Schilling
25e50e1a12
Adjust namespace and dictionary to match Talk
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 12:41:11 +02:00
jld3103
ec43778964
Add annotations for CallController
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-10-06 12:39:25 +02:00
Joas Schilling
5fed3e658e
fix(note-to-self): Restrict certain actions in note-to-self conversations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-27 08:55:11 +02:00
Hamid Dehnavi
e116b345ab Use PHP8's constructor property promotion
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-07-06 17:19:27 +03:30
Joas Schilling
5ac5d00e2d
feat(controllers): Migrate server annotations to attributes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-26 09:15:49 +02:00
Joas Schilling
f39a4299ab
techdebt(controllers): Migrate Talk annotations to attributes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-25 12:12:19 +02:00
Joas Schilling
b2b0bdfba9
feat(middleware): Move RequireCallEnabled annotation to attribute
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-25 12:12:18 +02:00
Joas Schilling
c1970caef4
chore(CS): Unify construct() calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-13 14:28:41 +02:00
Joas Schilling
f3ff4a8820
automated: Apply CS fix
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-13 13:17:49 +02:00
Joas Schilling
62f47af2b6
Fix CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-22 17:27:41 +02:00
Joas Schilling
1e04bb0396
Use user displayname cache when rendering lists of participants and peers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-19 12:06:22 +02:00
Vitor Mattos
10c5c13040
Option to make possible start a call without notify participants
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-06-02 10:57:40 -03:00
Joas Schilling
c15f9d8318
Allow to "Send call notifications"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-17 10:13:40 +02:00
Joas Schilling
0fc503a8ac
Allow to disable calling functionality
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-11 13:43:50 +02:00
Joas Schilling
84377efff7
Move permissions logic to room service
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-05 11:43:50 +02:00
Vitor Mattos
c07251f0c6
Use PHP7.4 property typehinting where possible
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-04-06 12:43:03 -03:00
Joas Schilling
56d4660295
Log dedicated call summary when ending for everyone
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-03 13:10:34 +01:00
Vincent Petry
cb2f6e2c18
Add button to end meeting for all
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-11-03 13:10:33 +01:00
Joas Schilling
6a1b510916
Allow to explicitly set the default and call permissions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-07 18:18:30 +02:00
Joas Schilling
abbc510f6b
Ignore sessions older than 30 seconds on notifications again
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-09-30 11:48:46 +02:00
Daniel Calviño Sánchez
7ea382176c Add endpoint to update the call flags
The call flags are updated when joining and leaving a call. However,
during a call the audio and video devices can be disabled without
needing a reconnection, so an endpoint to just update the call flags is
also needed.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-06-07 14:19:10 +02:00
Joas Schilling
84fa5678e2
Remove old API version handlings
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:21 +01:00
Joas Schilling
0aa212c35a
Limit the session list on the database instead of selecting all attendees
Should save some load as we don't create objects and select items we then throw away

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-17 10:12:50 +01:00
Joas Schilling
77fe613447
Replace "getNamesBySessionHashes" usages with Attendee access
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-15 12:36:44 +01:00
Joas Schilling
86d18ae835
Show "Guest" instead of session hash for guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-11 19:54:43 +01:00