Skip to content
Snippets Groups Projects
  1. Sep 22, 2014
  2. Sep 21, 2014
  3. Sep 20, 2014
  4. Sep 19, 2014
    • Lukas Reschke's avatar
      Throw error in showPreview instead the constructor · 6869d2e8
      Lukas Reschke authored
      This function is also used in a way such as:
      
      ```
      	$preview = new \OC\Preview(\OC_User::getUser(), 'files');
      	$info = \OC\Files\Filesystem::getFileInfo($file);
      	if (!$always and !$preview->isAvailable($info)) {
      		\OC_Response::setStatus(404);
      	} else {
      		$preview->setFile($file);
      		$preview->setMaxX($maxX);
      		$preview->setMaxY($maxY);
      		$preview->setScalingUp($scalingUp);
      		$preview->setKeepAspect($keepAspect);
      	}
      ```
      
      Which won't work anymore since `setFile` is used instead of passing the file in the constructor. Fixes a regression in master.
      6869d2e8
    • Jenkins for ownCloud's avatar
      [tx-robot] updated from transifex · 786312d0
      Jenkins for ownCloud authored
      786312d0
  5. Sep 18, 2014
  6. Sep 17, 2014
  7. Sep 16, 2014
  8. Sep 15, 2014
  9. Sep 13, 2014
  10. Sep 12, 2014
  11. Sep 11, 2014
Loading