summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)Author
2024-07-18feat: Set signaling server federation feature as mandatoryadd-support-for-external-signaling-federationDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-07-18wip: Join and leave federated participants using their federated sessionDaniel Calviño Sánchez
Unfortunately this prevents to join a room as a local federated user, as in that case the session will be already in use. TODO: "leaveFederatedRoom" in the main controller always expects a session ID, while the proxy may not send it if the participant does not have a session (although right now, due to the code flow, it should be always called with a session); ensure that this is properly handled Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-07-18feat: Append cloud id to Nextcloud session for federated participantsDaniel Calviño Sánchez
This will make possible to join a room in a remote Nextcloud server with the same session used in the local one avoiding the need to keep a map of sessions to convert between them and ensuring that a duplicated session id will not be used. The column length for the session id is 512, while generated session ids are only 255 characters long, so in most cases the cloud id can be added as is. Only if the cloud id is longer than 256 characters (one character needs to be reserved for the separator character) it will need to be trimmed, but that is unlikely to happen; user ids are at most 64 characters, so the "@" plus the domain would need to be longer than 192 characters. Therefore any cloud id longer than 256 characters is just trimmed at the end as a safety measure, but a fancier algorithm, for example to ellipsize it, is not needed. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-07-18fix: Adjust session id length in internal signaling messagesDaniel Calviño Sánchez
The length of the "sender" and "recipient" columns in the "talk_internalsignaling" table was 255 (defined in Version11000Date20201209142525.php), but the maximum session id length is 512 (defined in Version10000Date20201015134000.php). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-07-18feat: Add federation properties to signaling settingsDaniel Calviño Sánchez
TODO: for consistency with other properties when there are no federation setting the key is still included in the settings, but with an empty value. Should the federation entry be totally removed instead if the room is not a federated room? Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-07-17fix: Fix generating session id again if duplicatedDaniel Calviño Sánchez
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-07-17fix(federation): Ignore outdated sessions when checking for active sessions ↵Joas Schilling
on federated notifications Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-16fix(ban): Update displayname when a user was renamedJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-16fix(ban): Add display name to the databaseJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-16fix(ban): Make the function return bans for banned actors not by moderatorJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-16fix(ban): Renamed banned to bannedActorskalidindi53
Signed-off-by: skalidindi53 <s.teja2004@gmail.com>
2024-07-15Merge pull request #12723 from nextcloud/bugfix/noid/ban-performanceJoas Schilling
fix(ban): Limit query for participants when they actually can be a moderator
2024-07-15Merge pull request #12715 from ↵Joas Schilling
nextcloud/followup/12687/fix-mention-translations-with-adjusted-server-protocol fix(federation): Fix message parameters after adjusting https handling
2024-07-15fix(ban): Limit query for participants when they actually can be a moderatorJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-15fix(ban): Allow empty internal note as it's optionalJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-15Merge pull request #12671 from ↵Joas Schilling
nextcloud/skalidindi53/12670/Moderators-banning-others/themselves fix: Moderators no longer able to ban themselves or other moderators
2024-07-15fix(session): Make sure to load the session state from the databaseJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-15fix(federation): Make sure we only accept active sessionsJoas Schilling
No-op change atm as we only load active sessions, but maybe that changes at some point Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-15fix(federation): Fix message parameters after adjusting https handlingJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-12fix: Moderators no longer able to ban themselves or other moderatorsskalidindi53/12670/Moderators-banning-others/themselvesskalidindi53
Signed-off-by: skalidindi53 <s.teja2004@gmail.com>
2024-07-12Merge pull request #12686 from ↵Joas Schilling
nextcloud/bugfix/noid/allow-session-state-in-federation fix(federation): Allow setting the session state in federated convers…
2024-07-12fix(federation): Don't notify users with active sessionsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-12fix(federation): Allow setting the session state in federated conversationsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-12fix(federation): Also fix room::remote_server and pcm::remote_server_urlJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-11perf(sharing): Use getFirstNodeById() which is more performantJoas Schilling
As we don't care which node we get for rendering the message Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-11fix(dashboard): Fix missing dashboard iconJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-11Merge pull request #12633 from nextcloud/fix/7896/css-blurJoas Schilling
fix(settings): drop local setting for background blur filter, use provided by server
2024-07-10fix(ban): Fix oracle handlingJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-10fix(ban): Improve documentation of typesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-10fix(ban): Remove unused methodsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-10fix(ban): Simplify validation and document known errorsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-10fix(ban): Ensure the ban is from the current roomJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-10feat: Integration tests for banning/unbanning usersskalidindi53
Signed-off-by: skalidindi53 <s.teja2004@gmail.com>
2024-07-10fix(ban): Add missing banId to unban URLJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-10fix(ban): Don't ban the moderator but the provided actorJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-10feat: Moderator able to ban users testskalidindi53
Signed-off-by: skalidindi53 <s.teja2004@gmail.com>
2024-07-10feat: Added BanController.phpskalidindi53
Signed-off-by: skalidindi53 <s.teja2004@gmail.com>
2024-07-10feat: Added BanService.php to validate, retrieve, create and delete bansskalidindi53
Signed-off-by: skalidindi53 <s.teja2004@gmail.com>
2024-07-10feat: Added Ban.php and BanMapper.phpskalidindi53
Signed-off-by: skalidindi53 <s.teja2004@gmail.com>
2024-07-10feat: Added database migration for banning usersskalidindi53
Signed-off-by: skalidindi53 <s.teja2004@gmail.com>
2024-07-10fix(chat): Fix missing reference information for federated message linksJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-10fix(federation): Fix federation with Nextcloud 29.0.4 or laterJoas Schilling
Since 29.0.4 ICloudID::getRemote() contains the protocol. Therefore we can no longer find the federation invites by the server URL, as the protocol was missing in the database. To be more aligned with the future expectation of the handling, the protocol is added and now always expected. Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-09fix(settings): drop local setting for background blur filter, use provided ↵Maksim Sukharev
by server Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-07-03fix(deps): Use less 3rdparty dependenciesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-02Merge pull request #12627 from nextcloud/fix/groupfolder-share-object-storageJoas Schilling
Only check path for being accessible when the storage is a object home
2024-07-02fix(sharing): Only check path for being accessible when the storage is a ↵Jonas
object home Forward-ported https://github.com/nextcloud/server/pull/24103 Signed-off-by: Jonas <jonas@freesources.org> Signed-off-by: Jonas <jonas@freesources.org>
2024-06-28feat(bots): Add events for enabling and disabling botsSanskar Soni
Signed-off-by: Sanskar Soni <sanskarsoni300@gmail.com>
2024-06-22Merge pull request #12547 from ↵Joas Schilling
nextcloud/skalidindi53/11578/talkbot-uninstall-throws-instead-of-showing-an-error Shows an error msg when missing args
2024-06-21fix: Shows an error msg when missing argsskalidindi53
Signed-off-by: skalidindi53 <s.teja2004@gmail.com>
2024-06-19Merge pull request #12531 from ↵Joas Schilling
nextcloud/skalidindi53/11852/Duplicate-Stun-and-Turn-Servers fix: duplicate stun and turn servers cannot be added