nextcloud/core/Controller
Roeland Jago Douma a2a53848b0
Update PreviewController
The constructor is called with the userId. However if a user is not
logged in this is null. Which means that we get an exception instead of
this being handled gracefully in the middleware.

There are cleaner solutions. But this is the solution that is the
easiest to apply without lots of work and risk of breaking things
(handling the logged in middleware before initializing the controller
etc).

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-07-26 17:37:11 +02:00
..
AppPasswordController.php Allow clients to delete their own apptoken 2019-05-17 09:52:06 +02:00
AutoCompleteController.php Add an event to the Autocomplete Controller to allow to filter the results 2019-02-26 15:32:14 +01:00
AvatarController.php Implement guest avatar endpoint 2019-02-07 14:23:16 +01:00
CSRFTokenController.php Add CSRF token controller to retrieve the current CSRF token 2018-03-08 16:48:50 +01:00
ClientFlowLoginController.php Emit event if app password created 2019-02-18 17:47:43 +01:00
ClientFlowLoginV2Controller.php Login flow V2 2019-02-25 07:24:50 +01:00
CollaborationResourcesController.php Make the endpoint more robust against faulty resource providers 2019-03-28 09:26:38 +01:00
ContactsMenuController.php Change @georgehrke's email 2017-11-06 20:38:59 +01:00
CssController.php Don't require Same Site Cookies on assets 2018-10-17 09:24:21 +02:00
GuestAvatarController.php Implement guest avatar endpoint 2019-02-07 14:23:16 +01:00
JsController.php Don't require Same Site Cookies on assets 2018-10-17 09:24:21 +02:00
LoginController.php Don't send executionContexts for Clear-Site-Data 2019-07-09 15:08:25 +02:00
LostController.php Return first value from $users 2019-07-09 19:29:14 +02:00
NavigationController.php Fix app navigation controller to return an array 2018-07-25 13:50:46 +02:00
OCJSController.php expose capabilities in js 2018-02-27 12:29:25 +01:00
OCSController.php Add extendedSupport to Subscription 2019-06-17 16:36:23 +02:00
PreviewController.php Update PreviewController 2019-07-26 17:37:11 +02:00
SearchController.php Move search to proper Controller 2018-03-09 14:36:48 +01:00
SetupController.php Block install without CAN_INSTALL file 2019-04-11 09:32:33 +02:00
SvgController.php Fall back to black for non-color values 2019-06-20 15:23:06 +02:00
TwoFactorChallengeController.php Allow 2FA to be setup on first login 2019-05-17 10:11:53 +02:00
UserController.php Update license headers 2017-11-06 16:56:19 +01:00
WalledGardenController.php Add 204 endpoint 2017-11-02 10:30:16 +01:00
WhatsNewController.php wire the frontend 2018-07-05 20:29:00 +02:00
WipeController.php Remote wipe support 2019-05-20 20:50:27 +02:00