Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2022-04-07Message types are defaulting to Verbs so lets reuse the constantstechdebt/7078/const-for-verbsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-07Add constants for the verbs in the oc_comments tableJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-07Merge pull request #7102 from ↵Vitor Mattos
nextcloud/bugfix/7099/remove-reactions-from-deleted-messages Remove reactions from deleted messages
2022-04-07Make sure output is always a stringJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-07Fix type handlingJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-07Merge pull request #7108 from ↵Joas Schilling
nextcloud/feature/7079/property-typehinting-where-possible Use PHP7.4 property typehinting where possible
2022-04-07Fix psalm issuesVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-04-06Use PHP7.4 property typehinting where possibleVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-04-06Remove notifications for deleted messagesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-06Remove reactions from deleted messagesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-06Merge pull request #7094 from nextcloud/feature/fix-typingJoas Schilling
fix property typing
2022-04-05fix typingVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-03-31Handle deletingJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-31Fix comparing the roomIdJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-31Cache info during migrationJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-31Use attachment service to store and retrieve shared itemsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-31Add the entity and a service to handle attachmentsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-31Add new database table for attachmentsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-29Merge pull request #7072 from ↵Vitor Mattos
nextcloud/feature/7071/display_name-field-of-attendees-table-is-too-short Change display_name size
2022-03-29Change display_name sizeVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-03-28Allow to react to file and object sharesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-24Add new capabilityJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-24Allow to delete files and object shares on the APIJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-23Merge pull request #7022 from nextcloud/api/1577/media-tab-endpointJoas Schilling
Add an endpoint for a media tab
2022-03-23Instead of the offset based use lastKnownMessageId as for messageJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-23Merge pull request #7023 from ↵Joas Schilling
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-21Only add the share_with_link url when the link is accessibleJoas Schilling
Otherwise the comment from the catch block applies: "Removing the conversation token from the leaked data if not a participant ..." Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-21Do not load the session in getParticipantByActor() as no caller needs itJoas Schilling
Also fixes a problem with MariaDB ONLY_FULL_GROUP_BY and Oracle Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-21Do not load the session in getParticipantByAttendeeId() as no caller needs itJoas Schilling
Also fixes a problem with MariaDB ONLY_FULL_GROUP_BY and Oracle Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-21Add docs and capabilitiesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-21Add an endpoint for a media tabJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-21Group on PHP level as MariaDB can not handle this correctly:Joas Schilling
MySQL docs: Reject queries for which the select list, HAVING condition, or ORDER BY list refer to nonaggregated columns that are neither named in the GROUP BY clause nor are functionally dependent on (uniquely determined by) GROUP BY columns. MariaDB docs: For SELECT ... GROUP BY queries, disallow SELECTing columns which are not referred to in the GROUP BY clause, unless they are passed to an aggregate function like COUNT() or MAX(). Produce a 1055 error. Ref https://jira.mariadb.org/browse/MDEV-11588 Similarly Oracle seems to fail with the query before Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-17Fix participant list not refreshed when general permissions changeDaniel Calviño Sánchez
When the room or call permissions are set the permissions of all participants could be modified. However, without HPB the participant list was not updated in this case, so the participants may not be aware of the change until up to 30 seconds, when the participant list was automatically fetched again. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-03-17Fix permissions not updated in HPB when general permissions changeDaniel Calviño Sánchez
When the room or call permissions are set the permissions of all participants could be modified. However, in this case the signaling permissions were not updated, so the signaling server could allow or reject media from participants that were already in the room when the permissions changed. Now a message to update all the participants currently in the room is sent to the signaling server when the room or call permissions are set. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2022-03-15Inject the attendee as well when loaded alreadyJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-15Inject the room instead of querying it over and over againJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-14Merge pull request #6992 from ↵Joas Schilling
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-14Merge pull request #6985 from ↵Joas Schilling
nextcloud/feature/6971/change-returns-of-reaction-api Feature/6971/change returns of reaction api
2022-03-14Fix permissions not honoured if updated right before joining a callfix-permissions-not-honoured-if-updated-right-before-joining-a-callDaniel Calviño Sánchez
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-11Use 2 different system messages for the deleted reaction and the action of ↵Joas Schilling
deleting Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-10Fix system messages about reaction deletionsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-10Add a system messageJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-10Move validate logic to inside of methodsVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-03-10Change returns of reaction APIVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-03-08Emit a event so the HPB can send the update to the participantsbugfix/noid/combine-multiple-system-messages-updatesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-08Combine last_activity and last_message update where possibleJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-08Only update the last_message and last_activity onceJoas Schilling
Especially when adding multiple system messages we updated the room data way too often. Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-04Deduplicate getting the room and participant in case some annotations are ↵Joas Schilling
combined Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-03Return empty array when comment haven't reactionsVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-03-02Merge pull request #6932 from ↵Joas Schilling
nextcloud/techdebt/noid/use-transaction-for-internal-signaling Use transactions for internal signaling