Joas Schilling
a22a546401
Adjust coding style
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-01 10:53:38 +02:00
Joas Schilling
82a0613c27
Fix event name
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-01 15:42:39 +02:00
Vitor Mattos
af34125e66
Rename text
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-07-01 10:25:43 -03:00
Vitor Mattos
bd9913e1ea
Rename message expire to expire date
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-06-30 15:01:31 -03:00
Vitor Mattos
3145bac343
Rename time to live to message expire
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-06-30 15:01:28 -03:00
Vitor Mattos
751d18f2b1
Rename ttl to message expire
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-06-30 15:01:26 -03:00
Vitor Mattos
5bdaa16823
Implement logic in controller to change the ttl
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-06-30 15:01:24 -03:00
Vitor Mattos
465bbf0cc8
Add field to room table
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-06-30 15:01:23 -03:00
Joas Schilling
52cc89975c
Implement password policy checker
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-29 10:36:07 +02:00
Joas Schilling
6097eb20aa
Move setDescription to room service
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-24 08:26:30 +02:00
Joas Schilling
22e900da53
Move setAssignedSignalingServer to room service
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-20 08:57:42 +02:00
Joas Schilling
a540b631ea
Move setType to room service
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-17 11:30:31 +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
545d3ab5cb
Use \OCP\Server::get() instead of private API
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-11 08:46:37 +02:00
Joas Schilling
90a61467be
Move setReadOnly to room service
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-10 16:46:18 +02:00
Joas Schilling
b1b26bda8c
Move setLobby() to room service
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-10 11:09:48 +02:00
Joas Schilling
41c388b21f
Move setListable() to RoomService
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-09 22:24:36 +02:00
Joas Schilling
9accf68da4
Move setSIPEnabled to room service
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-06 17:23:22 +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
Joas Schilling
3e98f22568
Allow to enable SIP without individual pin requirement
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-03 09:38:35 +02:00
Joas Schilling
e8cf467168
Move Room::verifyPassword() to the RoomService
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-30 13:09:32 +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
2e26a232da
Do not load the session in getParticipantByActor() as no caller needs it
...
Also fixes a problem with MariaDB ONLY_FULL_GROUP_BY and Oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-21 17:33:09 +01:00
Joas Schilling
c27a6b3ef0
Do not load the session in getParticipantByAttendeeId() as no caller needs it
...
Also fixes a problem with MariaDB ONLY_FULL_GROUP_BY and Oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-21 17:32:59 +01:00
Joas Schilling
dcc6291e09
Combine last_activity and last_message update where possible
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-08 12:11:06 +01:00
Joas Schilling
55121e4617
Change database structure
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-17 16:31:00 +01:00
Joas Schilling
ab0c61a143
Make it explicit when the participant list changed
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-12-15 14:19:22 +01: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
Vitor Mattos
dc518c46a7
replace execute by executeQuery of QueryBuilder
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-10-19 08:54:14 -03:00
Joas Schilling
9e8d94d58f
Replace old type constants with new ones
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-18 16:17:11 +02:00
Joas Schilling
916906c3d5
Improve validation
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-07 18:18:32 +02:00
Joas Schilling
984c8bd0f1
Unify the endpoints and permissions update handling
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-07 18:18:31 +02:00
Joas Schilling
e115e96d7d
Remove moderator option and clear custom permissions when setting the conversation permissions
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-07 18:18:31 +02:00
Joas Schilling
1c641f8c64
Add integration tests for default and call permissions
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-07 18:18:31 +02:00
Joas Schilling
3b4f96031e
Fix permission handling in unit tests
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-07 18:18:30 +02:00
Joas Schilling
f18aa001c7
Reset call permissions when the call ended
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-07 18:18:30 +02: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
1b13f80cc1
Allow to remove all permissions without falling back to the next level
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-07 18:18:30 +02:00
Joas Schilling
390ae657a1
Introduce different layers for permissions
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-07 18:18:30 +02:00
Gary Kim
a35b98f8c1
Implement CloudFederationProvider for Talk
...
Signed-off-by: Gary Kim <gary@garykim.dev>
2021-07-15 13:54:35 -04:00
Joas Schilling
d66923c6cd
Fix constant names
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-09 11:14:30 +02:00
Daniel Calviño Sánchez
189b994eb5
Add endpoint to set publishing permissions of attendees
...
Only moderators of group and public conversations can set the value.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-06-11 09:07:29 +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
e8c5923111
Allow changing the room type away from one-to-one
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-18 17:38:10 +02:00
Joas Schilling
56dd22a26b
Fix CS
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-14 13:25:49 +02:00
Joas Schilling
eb77791c0a
Log conversation deletions in the audit.log
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-12 11:03:00 +02:00
Joas Schilling
928e047de2
Handle all getParticipants with multi sessions
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:21 +01:00
Joas Schilling
6ad31df01b
Fix selecting the session when there could be multiple
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:18 +01:00
Joas Schilling
4031c182df
Prepare selecting the correct session in case there are multiple
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-03-08 11:56:17 +01:00
Joas Schilling
77fb711052
Drop guest moderators when changing a conversation to group conversation
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-02-19 14:02:56 +01:00