Commit graph

532 commits

Author SHA1 Message Date
Joas Schilling
c4fee5eec1
Merge pull request #9412 from nextcloud/bugfix/8787/keep-guest-attendees-with-values
Bugfix/8787/keep guest attendees with values
2023-05-02 22:01:51 +02:00
Joas Schilling
0cf8800f20
fix(guests): Keep guest attendees with display name or non-default permissions
This will allow us to render the display name of guests later on. This was the
idea already since we dropped the talk_guests table in nextcloud/spreed#5146
and we don't delete the attendee anymore on leaving the room since then.
However, the guest clean up when fetching the participant list was still
deleting the guest attendees later on when they didn't have a session.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-02 17:59:32 +02:00
Joas Schilling
5c2471866a
chore(api): Use nullsafe operator
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-02 13:15:24 +02:00
Joas Schilling
2445eb9868
fix(user-status): Fix type and missing docs of user status clearAt
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-05-01 22:08:04 +02:00
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
2bef32969f
fix(controllers): Migrate to proper "multiple bruteforce protections" support
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24 13:10:55 +02:00
Joas Schilling
e5693a7903
fix(controllers): Always specify the bruteforced action
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24 13:00:44 +02:00
Joas Schilling
a51ebee5a2
fix(controllers): Migrate to BruteForceProtection attribute
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24 12:54:48 +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
70e25dc91c
fix(API): Extend list of configs influencing X-Nextcloud-Talk-Hash header
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-21 13:55:15 +01:00
Joas Schilling
47b05ac021
Restrict available APIs for breakout rooms
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-24 10:45:27 +01:00
Vitor Mattos
2cd61fc9d9 Return status of other user on one to one room
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-02-17 15:19:30 -03:00
Joas Schilling
12e24c4b5e
Merge pull request #8726 from nextcloud/perf/8710/modified-since-support-on-roomlist
"Modified since" support on roomlist
2023-02-14 08:52:10 +01:00
Joas Schilling
a2864f2ed3
Support "modified since" on the room list
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-10 09:23:08 +01:00
Joas Schilling
2c7d60dd92
Don't throw when breakout rooms are not started
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-10 09:10:13 +01:00
Joas Schilling
d01c24c2f6
Always log the token and reset again when joining successfully
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-06 18:47:16 +01:00
Joas Schilling
6150cb402e
Add an endpoint to return all participants of a room with its breakout rooms
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-02-01 09:17:04 +01:00
Joas Schilling
8225b4443b
Extract the formatter into a separate class
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-30 14:47:12 +01:00
Joas Schilling
cf72ae74df
Introduce a "former one-to-one" conversation type
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-25 16:17:58 +01:00
Joas Schilling
7521157060
Only kick the session we want to remove, not any
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-24 12:42:05 +01:00
Joas Schilling
cbfa72d9f4
Only do previous participant work when we actually have a session
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-24 12:42:05 +01:00
Joas Schilling
d277add2c0
Don't load any session when we don't have one
Previously this loaded a random/parallel session, which meant we would kick
that session (parallel mobile client) etc. while joining. If you had timing
luck, the session would be reused and then when you leave the conversation
on either device the other device would loose it's session as well.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-24 12:42:04 +01:00
Joas Schilling
95f22e96de
Prevent toggling guests or the lobby directly
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-04 17:35:24 +01:00
Joas Schilling
249a34da96
Restrict the object rooms that can be created
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-04 17:35:22 +01:00
Joas Schilling
ffd0f2525e
Add user to parent room when added to a breakout room
Also makes that a "move" function, so the user is removed from their previous breakout room

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-04 17:35:22 +01:00
Joas Schilling
c87813021c
Allow creating individual breakout rooms via the normal API
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-04 17:35:21 +01:00
Joas Schilling
ff782dbfde
Merge pull request #8492 from nextcloud/feature/store-recording 2023-01-04 17:09:57 +01:00
Joas Schilling
da768a715d
Also check the expiration on all other renderings
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-01-04 15:23:17 +01:00
Vitor Mattos
5968f9fcec
Expose avatar version
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-29 16:14:18 -03:00
Vitor Mattos
8fa66c0bc6
Move SIPBridge validator to service
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-23 18:32:14 -03:00
Vitor Mattos
c999fb9e26
Changes after code review
* Text improvements https://github.com/nextcloud/spreed/pull/8471#discussion_r1052558815
* Use constant instead of hardcoded value https://github.com/nextcloud/spreed/pull/8471#discussion_r1052559391

Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-21 12:44:38 -03:00
Vitor Mattos
9d42bbc068
Update documentation and expose room property
https://github.com/nextcloud/spreed/issues/8326?notification_referrer_id=NT_kwDOABB3Z7I0Nzk0MjUzNDM1OjEwNzkxNDM#issuecomment-1354568378

Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-16 11:59:41 -03:00
Joas Schilling
527ad87a78
formatRoom does not throw anymore
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-12 12:08:26 +01:00
Joas Schilling
a0ab39389f
Add an API that allows students and teachers so list the breakout rooms
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-12 12:08:24 +01:00
Joas Schilling
cc4f9ad0cf
Fix invalid argument types
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-12 09:45:55 +01:00
Joas Schilling
896ed51ec1
Also integration test the status and mode fields
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-07 20:20:36 +01:00
Joas Schilling
0cb2c96942
Rename attribute
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-12-07 15:02:55 +01:00
Vitor Mattos
8db4ddf47c
Documentation of room avatar property
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-07 15:02:47 +01:00
Vitor Mattos
b34192e937
Return room URL in activities and references
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-07 15:01:54 +01:00
Vitor Mattos
e91fd23442
Return avatar in place of conversaion icon when the convesration have an avatar
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-12-07 15:00:31 +01:00
Joas Schilling
3d49db3b71
Merge pull request #8265 from nextcloud/bugfix/4670/fix-session-issues
Don't keep the session open when joining/leaving a room to reduce the…
2022-11-25 09:52:05 +01:00
Joas Schilling
7c7cfedf83
Add callStartTime to room API
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-18 12:32:57 +01:00
Joas Schilling
b16aadbc0f
Don't keep the session open when joining/leaving a room to reduce the chance of dirty reads
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-02 16:23:34 +01:00
Joas Schilling
5f060687c8
Move getParticipant()
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-04 16:02:08 +02:00
Joas Schilling
bc1d0eff0f
Move more methods away from the room model
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-04 13:10:33 +02:00
Joas Schilling
ff51959102
Move getParticipant*() methods to participant service
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-04 12:10:04 +02:00
Joas Schilling
29dd86885a
Improve resen invitations performance
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-03 21:24:15 +02:00
Joas Schilling
2200896573
Move deleteRoom() to RoomService
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-02 11:58:54 +02:00