Joas Schilling
92383fa115
Merge pull request #7924 from nextcloud/fix-room-length
...
Fix room length to make compatible with database length
2022-09-22 08:48:42 +02:00
Vitor Mattos
dd989313ca
Use mb_strlen instead of strlen
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-09-20 13:09:39 -03:00
Joas Schilling
8a4bd00621
Fix chat endpoints with empty reactions in XML format
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-20 15:20:03 +02:00
Vitor Mattos
f91f983f9f
Fix room length to make compatible with database length
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-09-14 21:09:09 -03:00
Joas Schilling
a22a546401
Adjust coding style
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-01 10:53:38 +02:00
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>
2022-08-26 12:20:06 +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
Joas Schilling
b1b01f849a
Use public throttler
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-08-03 15:10:57 +02:00
Vitor Mattos
2cf69ce86a
Move send system message to listener
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-07-15 08:44:23 -03:00
Joas Schilling
6ec9552b0f
Merge pull request #7504 from nextcloud/bugfix/noid/add-brute-force-protection-to-conversation-passwords
...
Add brute force protection to conversation passwords
2022-07-07 09:54:11 +02:00
Joas Schilling
2fc6ed59d3
Explicitly log SIP attempts as such
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-05 10:06:55 +02:00
Joas Schilling
ba7394b51e
Throttle more endpoints
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-04 12:58:44 +02:00
Vitor Mattos
9bd7b56bee
Remove unecessary method
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-07-01 11:21:46 -03: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
05b0808478
Method moved and change argument
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-06-30 15:01:25 -03:00
Vitor Mattos
d0cc2579ae
Delete messages when ttl expire and send system message
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-06-30 15:01:25 -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
Vitor Mattos
1df40aec0b
Add mocked endpoints
...
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-06-30 15:01:23 -03:00
Joas Schilling
15f8e48169
Reset the password attempts on succcessful answer
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-30 17:01:04 +02:00
Joas Schilling
99846f58ce
Add brute-force protection to conversation passwords
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-06-30 16:26:42 +02: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
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
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
ec82ac391a
Add endpoint for the HPB to create guests
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-05-03 09:38:35 +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
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
96074f7c95
Update coding standard
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-09 11:53:50 +01: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
351c3090c0
Merge pull request #6338 from nextcloud/feature/noid/allow-to-opt-out-of-call-notifications
...
Allow to opt out of call notifications
2021-10-25 12:22:08 +02:00
Joas Schilling
5964df44a6
Return the user status of one-to-one when we render a single conversation
...
Otherwise when a user joins a conversation the status is wiped from the topbar
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-22 19:01:36 +02:00
Joas Schilling
40caf33109
Compare the correct permissions for the icons
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-22 09:47:40 +02: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
0c379ce846
Add API to opt out of call notifications
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-11 16:26:08 +02:00
Joas Schilling
76852c427d
Remove unused import
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-07 18:44:00 +02:00
Joas Schilling
d53c3d892c
Fix integration tests
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-10-07 18:18:32 +02:00
Joas Schilling
0985260164
Move PERMISSIONS_MOFIDY_* constants to Attendee class
...
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