summaryrefslogtreecommitdiffstats
path: root/lib/Controller/FilesIntegrationController.php
AgeCommit message (Collapse)Author
2023-04-26feat(controllers): Migrate server annotations to attributesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24fix(controllers): Always specify the bruteforced actionJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24fix(controllers): Migrate to BruteForceProtection attributeJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24fix(controllers): Migrate to UseSession attributeJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-13chore(CS): Unify construct() callsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-13automated: Apply CS fixJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-04Throttle more endpointsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-06Use PHP7.4 property typehinting where possibleVitor Mattos
Signed-off-by: Vitor Mattos <vitor@php.rio>
2021-10-18Replace old type constants with new onesJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-13Check if the file is accessible by someone else before allowing to chat about itJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-13Also allow accessing file conversations when access is possible via external ↵Joas Schilling
storage or groupfolder Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-29Move the validation and preparation of the name to the RoomServiceJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-29Introduce a RoomService to handle creation of RoomsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-05-12Run cs:fixJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-21Add a setting to disable files and public sharing integrationJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-01Make sure the controller also works for guestsJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-10-01Merge the two controllersJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-09-26Add support for public shares to file roomsDaniel Calviño Sánchez
Until now file rooms were available only to users with direct access to the file. Now file rooms are available to any user or guest too if the link is publicly shared (with a link share, for example). Public shares are identified by a share token instead of a file id, so a new endpoint, which is a counterpart of FilesController but for share tokens, was added. The file room, however, is still associated to the file id like before. When checking if a participant can join a room if the current user is a user without direct access to the file or a guest it is not even possible to know if the file id belongs to a publicly shared file. Due to this when the room is got for a share token the share token is stored in the session and then used in following requests when checking whether the participant can join a room or not. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-09-13Free FilesControllerJoas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>