Joas Schilling
e41d5a6dc1
Fix typos
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
6a1a4ac9ac
chore(release): Add changelog for 17.0.0-beta.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
a7493323bb
fix(capabilities): Convert TranslationTuples to arrays so they work in XML
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
6d4189348a
feat(initial-state): Add own user groups to initial state
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Vitor Mattos
c92f66c01d
Cover with integration tests the room avatar with emoji
Signed-off-by: Vitor Mattos <vitor@php.rio>
3 years ago
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>
3 years ago
Vitor Mattos
ee52c47523
Return isCustomAvatar=false when the name of room start with an avatar
Didn't make sense to return true because this property is only used to
display the trash icon to remove the customized avatar.
Signed-off-by: Vitor Mattos <vitor@php.rio>
3 years ago
Vitor Mattos
0ce23663e3
Return isCustomAvatar=true when the name of room start with an emoji
Signed-off-by: Vitor Mattos <vitor@php.rio>
3 years ago
Vitor Mattos
bd40421b1c
Prevent future problems with empty return
Signed-off-by: Vitor Mattos <vitor@php.rio>
3 years ago
Vitor Mattos
d102271134
Simplify code after refactor
Signed-off-by: Vitor Mattos <vitor@php.rio>
3 years ago
Vitor Mattos
7a0ac60c92
Replace the header X-NC-IsCustomAvatar by conversation property isCustomAvatar
With the header isn't possible to check if `isCustomAvatar` without
retrieve the avatar to verify the header. Because this, isCUstomAvatar
was moved to a conversation property.
Signed-off-by: Vitor Mattos <vitor@php.rio>
3 years ago
Vitor Mattos
7f50f59e0c
Reduce IO
When we retrieve the room avatar sometimes is necessary to check if the file
exists and in other places we only need to get the avatar file name.
With this refactor I separated the logic to get the path of file in a
different method.
Signed-off-by: Vitor Mattos <vitor@php.rio>
3 years ago
Vitor Mattos
cb3fa784d4
Fixes to be able identify if have a custom avatar
* Added the header X-NC-IsCustomAvatar
* Return every time a non empty string as avatarVersion
Signed-off-by: Vitor Mattos <vitor@php.rio>
3 years ago
Joas Schilling
7dc8e40229
fix(participants): Migrate self-joined users when assigning permissions
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
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>
3 years ago
Joas Schilling
f0d4af60ea
fix(avatar): Simplify the code and reduce the emoji size so more emojis fit in the circle
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
10b4e6ba23
fix(permissions): Reset custom permissions on promotion
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
3d28d93e17
feat(avatar): Use the first emoji of room names as avatar emoji
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
5c2471866a
chore(api): Use nullsafe operator
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
2445eb9868
fix(user-status): Fix type and missing docs of user status clearAt
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Elmer Miroslav Mosher Golovin
585f1aba26
Avoid out-of-memory errors by using a resource instead of loading entire files into memory
Signed-off-by: Elmer Miroslav Mosher Golovin <miroslav@mishamosher.com>
3 years ago
Joas Schilling
5ac5d00e2d
feat(controllers): Migrate server annotations to attributes
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Vitor Mattos
81fb1b7298
Change text after code review
https://github.com/nextcloud/spreed/pull/9375/files#r1176408612
Signed-off-by: Vitor Mattos <vitor@php.rio>
3 years ago
Vitor Mattos
cb537d68eb
Add integration test to cover json output
Verified only if the output contain a common json simbols: list of
objects: [{
Signed-off-by: Vitor Mattos <vitor@php.rio>
3 years ago
Vitor Mattos
bf1ca6be14
Fix json output
https://github.com/nextcloud/spreed/issues/8404
Signed-off-by: Vitor Mattos <vitor@php.rio>
3 years ago
Vitor Mattos
cd221eab51
Fix command description
Signed-off-by: Vitor Mattos <vitor@php.rio>
3 years ago
Joas Schilling
f39a4299ab
techdebt(controllers): Migrate Talk annotations to attributes
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
b2b0bdfba9
feat(middleware): Move RequireCallEnabled annotation to attribute
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
2bef32969f
fix(controllers): Migrate to proper "multiple bruteforce protections" support
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
e5693a7903
fix(controllers): Always specify the bruteforced action
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
a51ebee5a2
fix(controllers): Migrate to BruteForceProtection attribute
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
5625c65c9e
fix(controllers): Migrate to UseSession attribute
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
46251c9042
fix(notifications): Remove duplicate call to markProcessed() with recordings and transcripts
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
577aed4fa0
fix(CI): Fix Psalm
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
b0e5a566ff
fix(CS): Automatic fix of coding style
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
e5eaa04728
fix(recording): Add context support to only generate notifications for talk transcripts
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
760f6b657e
feat(recording): Add an integration test to proof notifications are deleted on sharing
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
832ca68b00
feat(recording): Automatically generate transcripts of call recordings when possible
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
2942b62abb
feat(call-reactions): Document the list of supported emojis as capability so it's the same on all clients
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
1e4ce5e7a7
feat(virtual-background): Add capabilities for predefined virtual backgrounds and whether users can upload custom ones
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
788fd58bed
fix(recording): Type strictness
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
799bcbf03a
fix(recording): Don't create confusing system message about recording if actor ended the call
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
0683a8c34d
feat(chat): Add capabilities for translation options
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
ce4f0496da
fix(CS): Fix coding style
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
b91c81b9c5
fix(search): Remove unneeded icon-class handling (avatar endpoint does everything now)
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
d5fccbb762
fix(activity): Don't replace the activity icon for now as that is color inverted
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Vitor Mattos
85a41dd9ea
Return with avatar URL capability
Revert https://github.com/nextcloud/spreed/pull/8805
Signed-off-by: Vitor Mattos <vitor@php.rio>
3 years ago
Joas Schilling
c1970caef4
chore(CS): Unify construct() calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Joas Schilling
f3ff4a8820
automated: Apply CS fix
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Vitor Mattos
dfac4030a2
Fix method to get avatarURL and validate the URL
https://github.com/nextcloud/spreed/pull/9072/files#r1142350857
Signed-off-by: Vitor Mattos <vitor@php.rio>
3 years ago