Vitor Mattos
7d9aa7712e
Reduce RedundantCast
Signed-off-by: Vitor Mattos <vitor@php.rio>
4 years ago
Vitor Mattos
dc518c46a7
replace execute by executeQuery of QueryBuilder
Signed-off-by: Vitor Mattos <vitor@php.rio>
4 years ago
Joas Schilling
9e8d94d58f
Replace old type constants with new ones
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling
0c379ce846
Add API to opt out of call notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling
390ae657a1
Introduce different layers for permissions
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling
d2967ce0cf
Rename and extend constants and methods for the new permissions
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Vitor Mattos
a2e57ab980
Changes after run --alter
psalm --alter --issues=MissingClosureReturnType,MismatchingDocblockReturnType,MissingReturnType,InvalidReturnType,MissingParamType
Signed-off-by: Vitor Mattos <vitor@php.rio>
4 years ago
Joas Schilling
bf6150be95
Add a counter for the direct mentions
This allows the UI can show the user bubble depending on user vs. all mentions
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling
7be5d64cec
Make migration repeatable
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Gary Kim
cf85ac6c9f
Add remoteId
Signed-off-by: Gary Kim <gary@garykim.dev>
4 years ago
Gary Kim
c49a1c2754
Review fixes
Signed-off-by: Gary Kim <gary@garykim.dev>
4 years ago
Gary Kim
a35b98f8c1
Implement CloudFederationProvider for Talk
Signed-off-by: Gary Kim <gary@garykim.dev>
4 years ago
Daniel Calviño Sánchez
d2c291a1b5
Add publishing permissions field to attendees
Guests are not able to fetch the participant list. Due to this the value
is also returned in the room information so clients can know their own
publishing permissions.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
5 years ago
Joas Schilling
45a72aa347
Notnull Boolean fields break oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
3667c655b0
Fix migration checking for unique constraint violation
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
6d9c838071
Replace the former unique attendee key with a normal index
This allows an attendee to have multiple sessions in the same conversation.
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
466067ae3c
Try to catch the unique constraint violation on migrating the data
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
3d9694125f
Cleanup migration
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
e4e07da94a
Drop the old guestnames table
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
7dc814ffa9
Add a repair step that updates the display name for existing users
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
bf5f69cded
Provide information for incoming call screens
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
f0220343e4
Update code to work with doctrine/dbal 3.0
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
138221f0a8
Fix help command handling on Oracle
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
6673b33fdc
Use a unique index name
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Vincent Petry
f04e3b53f3
Make listable column smallint
Smallint should be enough for everyone.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
5 years ago
Vincent Petry
549e9ecbd0
Small adjustments to listable feature after reviews
Co-authored-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
5 years ago
Vincent Petry
0aa0dcfd3e
Apply suggestions from code review of listable rooms feature
Always join as USER when joining group or public room
Allow nulls for Oracle
Changes after review
Removed populateBaseRoomData and reused the existing code by adding an
extra condition for when querying listable rooms with null participant.
Co-authored-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
5 years ago
Vincent Petry
65238d1b8f
Adjustments for listable rooms after review
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
5 years ago
Vincent Petry
17971cd34a
Add listable flags attribute for conversations
Added ability to set a conversation as listable for regular users and/or
guest users from the guest app.
This only implements the flag, endpoint and UI to manage it but not yet
making it appear in search results.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
5 years ago
Joas Schilling
6eefd9c3fa
Save the read privacy on the attendee model too, so we can select-query it easier later on
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
fbf72c1af5
Create a new table for internal signaling and guest names with a PK
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Daniel Calviño Sánchez
b64f891f96
Add description field to conversations
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
5 years ago
Joas Schilling
59133fe982
Increase the length of the session id column
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
459858a695
Introduce constants for the actor types
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
05e7cac904
Add an empty display_name column as preparation to merge the oc_talk_guests table in
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
3c1cb1d919
Remove updating-methods from Participant object
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
3b8299faae
Split table of participants into attendees and sessions
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
94cea96d62
Fix PHP CS
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
89bdbe0c51
Add an endpoint to enable the SIP per conversation
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
6ad483c0e5
Add SIP status column to rooms table
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
b76d5ddbc3
Psalm auto fixes
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
dddb7ef31d
Start fixing some psalm issues
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
93063c353f
Fix update query
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
2b0db36f5a
Fix migration
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
b94ae2cb92
Simplify migration
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Julien Veyssier
6cd3fdd720
get 'enabled' and 'pid' bridge values out of json_values
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
5 years ago
Joas Schilling
8fc0e83106
Add a default on NotNull column
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Joas Schilling
be31ca697f
Fix migration
Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years ago
Julien Veyssier
efb28a4f8e
improve insert/update in bridge table
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
5 years ago
Julien Veyssier
298f0d9ecd
review fixes
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
5 years ago