Граф коммитов

829 Коммитов

Автор SHA1 Сообщение Дата
Joas Schilling 4a2f85131f
Add new capability
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-24 21:50:32 +01:00
Joas Schilling 625439702e
Allow to delete files and object shares on the API
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-24 21:50:31 +01:00
Joas Schilling 95f811062d
Merge pull request #7022 from nextcloud/api/1577/media-tab-endpoint
Add an endpoint for a media tab
2022-03-23 12:32:04 +01:00
Joas Schilling acdbdb7838
Instead of the offset based use lastKnownMessageId as for message
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-23 08:40:28 +01:00
Joas Schilling 287cc49f04
Merge pull request #7023 from nextcloud/bugfix/noid/set-share-with-link-url-only-when-accessible
Only add the share_with_link url when the link is accessible
2022-03-23 08:32:06 +01:00
Joas Schilling 56e4f85bad
Only check the share_with_link for talk shares
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-21 18:00:51 +01:00
Joas Schilling 6c6c7d7b8a
Also check the share_with_link attribute
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-21 18:00:50 +01:00
Joas Schilling 5035644bb9
Add an integration test for the shared media
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-21 15:19:59 +01:00
Joas Schilling a07c0611f7
Add docs and capabilities
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-21 15:19:59 +01:00
Joas Schilling 3af97fc68e
Add a unit test for getParticipantsByNotificationLevel
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-21 11:08:52 +01:00
Vitor Mattos b4ac82b00e
Reduce integration tests queries
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-03-16 12:57:55 -03:00
Joas Schilling c92c703588
Inject the attendee as well when loaded already
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-15 09:40:30 +01:00
Joas Schilling f185186c08
Add a note
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-14 14:40:38 +01:00
Joas Schilling f4f97f850d
Add chat case of company call
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-14 14:38:50 +01:00
Joas Schilling e6f86e5587
Add an integration test for the company call case
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-14 14:38:50 +01:00
Joas Schilling fa592359fe
Merge pull request #6992 from nextcloud/fix-permissions-not-honoured-if-updated-right-before-joining-a-call
Fix permissions not honoured if updated right before joining a call
2022-03-14 13:02:32 +01:00
Daniel Calviño Sánchez f95553c1c0 Fix permissions not honoured if updated right before joining a call
When the local participant joins a call the sent media is based on the
last fetched permissions. However, once the call is joined the sent
media is based on the participant permissions updates notified by the
signaling messages.

When the HPB is used the "participantPermissions" property of the
"participants->update" signaling messages is used. Those messages are
sent when the permissions are modified and also when a participant joins
a call, but in this last case it did not include the expected property.

Due to this, if the permissions of the local participant were updated
right before the participant joined the call and the participant data
was not fetched again yet the previous permissions would be used. If the
message sent when the permissions were updated was received before
actually joining the call then it would be ignored, and although the
message sent due to joining the call would be processed the WebUI would
not notice the permission change, as the message did not provide them.

To solve that now the "participants->update" message sent when joining a
call also includes the permissions. This way, even if the previous
permissions are initially used when joining the call as soon as the
signaling message sent due to joining the call is received the WebUI
will adjust the sent media to the new permissions.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-03-14 03:11:34 +01:00
Joas Schilling 4a6f5bd20a
Add a test for the system messages of reactions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-11 15:16:27 +01:00
Vitor Mattos 23270be26a
Fix tests
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-03-10 10:20:45 -03:00
Daniel Calviño Sánchez ac5d991f99 Add integration tests for setting less specific permissions
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-03-09 12:09:39 +01:00
Daniel Calviño Sánchez 7ced794c13 Fix mapping of default permissions in integration tests
The numeric value of the default permission is 0, so it needs to be
explicitly set as it never matches in the boolean and.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-03-09 12:09:39 +01:00
Vitor Mattos 285e7396ca
Return empty array when comment haven't reactions
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-03-03 09:11:22 -03:00
Joas Schilling f10ba8e867
Merge pull request #6912 from nextcloud/feature/remove-unused-app-config
Remove unused app config
2022-02-22 10:01:43 +01:00
Vitor Mattos cff8f018bc
Remove unused app config
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-18 11:28:34 -03:00
Joas Schilling c9422acf50
Return the remote token and server so we can compare in tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-17 16:35:22 +01:00
Joas Schilling 5ad8790df6
Fix reseting the talk data after tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-17 16:35:22 +01:00
Joas Schilling 7a3a78b296
Allow local remote servers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-17 16:35:22 +01:00
Joas Schilling 5da5ac9d48
Add a federation context which starts the second server
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-17 16:35:20 +01:00
Joas Schilling 831fb9c0d3
Add integration test to check for invites
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-17 16:31:00 +01:00
Joas Schilling 4eb1f73ca1
Add an API endpoint to get all invites
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-17 16:31:00 +01:00
Vitor Mattos c028352454
Change return format
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-15 12:49:54 -03:00
Vitor Mattos 61f3e53fe5
Make possible define attributes of room attendees
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-15 12:49:54 -03:00
Vitor Mattos ea189f49d1
Implement tests to validate notify reacted message
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-15 12:49:52 -03:00
Vitor Mattos 8f70d2d4e9
Notify
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-15 12:49:51 -03:00
Vitor Mattos b2f31f2c8e
Add capabilities
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-15 12:45:44 -03:00
Vitor Mattos 897fede5fe
Method moved to reactionManager and small fixes
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-15 12:45:43 -03:00
Vitor Mattos 1a302f52a6
Api changes to react to a message: reactions retrieve
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-15 12:45:41 -03:00
Vitor Mattos 15662ed4fa
Api changes to react to a message: reactions delete
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-15 12:45:41 -03:00
Vitor Mattos 3b30c900cb
Api changes to react to a message: reactions add
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-15 12:45:40 -03:00
Joas Schilling b949511003
Merge pull request #6893 from nextcloud/bugfix/6883/check-type-when-verify-if-already-notified
Check type when verify if already notified
2022-02-15 11:16:48 +01:00
Joas Schilling 9100902d4a
Merge pull request #6895 from nextcloud/feature/noid/only-handle-activities-once
Handle generate the end_call_for_all activity intentionally
2022-02-15 10:28:44 +01:00
Daniel Calviño Sánchez c90b6a6839
Add integration test for system messages when ending a call
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-02-15 07:33:50 +01:00
Daniel Calviño Sánchez 4dc468003a Update image in script to run local integration tests in Docker
PHP 7.3 support was dropped for Nextcloud 24. The Docker image is
updated to the same image used for integration tests in CI.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-02-14 19:25:39 +01:00
Vitor Mattos 5a324693aa
Array handling fix
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-11 12:54:15 -03:00
Vitor Mattos 068adbc007
Check type when verify if already notified
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-02-10 11:34:06 -03: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 5bf403c5ec
Add a capability for conversation permissions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-04 10:51:56 +01:00
Joas Schilling bae297e41d
Merge pull request #6812 from nextcloud/bugfix/6811/dont-force-signaling-mode-when-hpb-trial-is-used
Don't force signaling mode when HPB trial is used
2022-01-24 10:44:00 +01:00
Joas Schilling d3d0af7541
Don't force signaling mode when HPB trial is used
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-24 09:04:19 +01:00
Joas Schilling 156f2f6212
Merge pull request #6807 from nextcloud/feature/noid/allow-mark-as-unread
Allow to mark a conversation as unread
2022-01-21 21:52:08 +01:00