Commit graph

96 commits

Author SHA1 Message Date
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
7412cf4c67
feat(federation): Add appconfig options to restrict federation
- Incoming federation
- Outgoing federation
- Group list
- Limit federation to trusted servers

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-02-12 16:54:15 +01:00
Joas Schilling
592916c735
fix(CS): Migrate more strpos() calls to str_* functions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-11 13:01:51 +01:00
Joas Schilling
d47ab76a29
fix(events)!: Remove deprecated events
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-23 08:37:39 +01:00
Joas Schilling
c172fd57ee
fix(sip-dialout): Add an admin config for SIP dial-out
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-23 15:47:58 +02:00
Joas Schilling
b26147c097
fix(events): Fix event name when getting turn servers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-20 15:14:17 +02:00
Joas Schilling
0474b4c523
feat(settings): Add initial state for the admin setting
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 14:37:25 +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
b9f16f3ef7
feat(user_status): Increase participant limit to 1k users
Currently limiting to 1k users because the user_status API would yield
an error on Oracle otherwise. Clients should use a virtual scrolling
mechanism so the data should not be a problem nowadays

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-26 13:07:32 +02:00
Hamid Dehnavi
8a850b6192 Use PHP8's constructor property promotion
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-07-11 11:37:47 +03:30
Joas Schilling
9a5e08897f
fix(CI): Make psalm happy
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-04 11:36:17 +02:00
Vitor Mattos
3c62e4a8e3 Add unit tests and implement pending methods
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-05-05 05:18:58 -03:00
Vitor Mattos
d91ce32524 Add user setting for toggle typing privacy
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-05-05 05:18:58 -03:00
Faraz Samapoor
0d716b6407
Updates lib/Config.php PHPDoc comments.
Updates PHPDoc comments in order to make the parameters match their declared types.

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-05-03 14:54:58 +03:30
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
959141786b
Don't claim recording is enabled when no secret or servers are configured
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-27 15:02:07 +01:00
Vitor Mattos
c37d2d9834 Remove isSignalingDev method
Replaced by a mock/fake server

Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-02-23 20:11:47 -03:00
Daniel Calviño Sánchez
f1a6ab45ad Add setting to configure recording servers
Currently the recording server does not support clustering, so the UI is
limited to add a single recording server, even if internally the
configuration allows more than one.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2023-02-14 10:37:18 +01:00
Joas Schilling
9cb74afbc4
Merge pull request #8465 from nextcloud/add-app-config-for-default-attachment-location
Add app config to specify default attachment folder location
2023-01-05 02:44:57 +01:00
Vitor Mattos
5484a27cf2
Remove the possibility to change the allowed mime types by setting
https://github.com/nextcloud/spreed/pull/8492#discussion_r1058561108

Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-01-03 12:08:39 -03:00
Vitor Mattos
6f3a8e6b8d
Don't force the recordings to be inside the attachments folder, just default to it.
https://github.com/nextcloud/spreed/pull/8492#pullrequestreview-1231923657

Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-28 17:20:09 -03:00
Vitor Mattos
01537ee7d0
Cover method with unit test
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-28 16:45:45 -03:00
Vitor Mattos
9774c782c1
Move default mimes to config
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-28 15:54:31 -03:00
Vitor Mattos
7cabc6aafd
Method moved to stay near by other methods related with recording
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-28 14:11:58 -03:00
Vitor Mattos
d2d0f13993
Rename vars to make more readdable and create method to return default recording directory
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-27 17:22:16 -03:00
Joas Schilling
da1376b02c
Merge pull request #8446 from nextcloud/feature/toggle-call-recording-status 2022-12-16 12:00:12 +01:00
Joas Schilling
3ba5891f51
Merge pull request #8460 from nextcloud/bugfix/8448/enforce-length-of-private-key 2022-12-15 11:41:02 +01:00
Thomas Citharel
8f46ca1706
Add app config to specify default attachment folder location
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-12-13 17:39:52 +01:00
Vitor Mattos
bf0d81fd88
Fix var name from capability to config
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-12 14:46:38 -03:00
Joas Schilling
5822f5e505
Enfore length of private keys
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-12 10:59:58 +01:00
Joas Schilling
9a12cb255e
Allow to define default permissions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-12 10:36:38 +01:00
Vitor Mattos
1ace3ba938
Move logic to a single place
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-09 18:53:26 -03:00
Vitor Mattos
26bba30275
Add system message and tests
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-09 17:02:58 -03:00
Joas Schilling
630924f162
Minor things
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-09 09:15:40 +01:00
Vitor Mattos
ae2bbc28b9
Set call_recording enabled by default
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-08 11:05:34 -03:00
Vitor Mattos
474bc3538b
Split recording capability
Now we have a hard capability called recording-v1 and a switable capability
by config called recording

Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-08 11:04:05 -03:00
Vitor Mattos
2642ca857b
Add capability to toggle recording
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-08 11:04:04 -03:00
Joas Schilling
f121cccdab
Add a config to disable breakout rooms
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-07 20:20:04 +01:00
Joas Schilling
1cdd96a113
Add Mozart to avoid conflict with other JWT apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-01 10:53:37 +02:00
Joachim Bauch
39715df9b0
Add support for algorithm "EdDSA" and add tests.
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2022-07-07 14:53:41 +02:00
Joachim Bauch
79c1920a23
Implement JWT auth for signaling connection.
Signed-off-by: Joachim Bauch <bauch@struktur.de>
2022-07-07 12:00:29 +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
Vitor Mattos
2673e53cfd
Reduce MissingReturnType
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-12-06 14:03:06 -03:00
Joas Schilling
f4208eff93
Start with integration tests for invites
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-11-03 14:40:38 +01:00
Joas Schilling
82e20cc783
Enable limitation by default as it increases performance
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-27 15:14:09 +02:00
Daniel Calviño Sánchez
5d5d87f0e0
Add config setting to make grid videos limit a hard limit
The hard limit can be enabled with OCC with "occ config:app:set spreed
--value=yes grid_videos_limit_enforced". The changes will take effect
once the user reloads the page

The grid videos limit by default is a fuzzy limit, as the number of
videos shown could be larger due to the available space and aspect ratio
to distribute the videos on. When the limit is made a hard limit the
distributed slots will be the same as before, but only as many videos as
allowed by the limit will be filled in each page.

However, note that with the hard limit the grid may look "broken", as
there is still space to be filled with videos yet they are in the next
page.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-10-27 14:33:46 +02:00
Daniel Calviño Sánchez
24ccb1d052
Add config setting to limit the number of videos in the grid
The limit can be set with OCC like "occ config:app:set spreed
--value=XXX grid_videos_limit". The changes will take effect once the
user reloads the page.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-10-27 14:33:30 +02:00
Joas Schilling
07cd106d3f
Use typed event
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-22 10:11:25 +02:00