Skip to content
Snippets Groups Projects
  1. Nov 23, 2014
  2. Oct 30, 2014
  3. Oct 24, 2014
  4. Oct 16, 2014
    • Lukas Reschke's avatar
      Remove insane comment · 4deb57bf
      Lukas Reschke authored
      4deb57bf
    • Lukas Reschke's avatar
      Fix SVG icons · 9cfbf7ed
      Lukas Reschke authored
      FIXME: Ugly hack to prevent SVG of being returned if the SVG
      provider is not enabled.
      This is required because the preview system is designed in a
      bad way and relies on opt-in with asterisks (i.e. image/*)
      which will lead to the fact that a SVG will also match the image
      provider.
      
      Conflicts:
      	lib/private/preview.php
      9cfbf7ed
  5. Oct 04, 2014
  6. Sep 30, 2014
    • Lukas Reschke's avatar
      Remove uneeded slicing of element · 96d9e0eb
      Lukas Reschke authored
      The "*/*" provider has been removed. This is therefore not needed anymore and leads to unexpected bugs.
      
      Please notice that this is only relevant for master.
      96d9e0eb
  7. Sep 24, 2014
  8. Sep 22, 2014
  9. Sep 21, 2014
  10. 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
  11. Sep 16, 2014
  12. Sep 15, 2014
  13. Sep 02, 2014
  14. Aug 04, 2014
  15. Jul 30, 2014
  16. Jul 09, 2014
  17. May 19, 2014
  18. May 13, 2014
  19. May 05, 2014
  20. May 02, 2014
    • Thomas Müller's avatar
      Images on public sharing get downscaled to increase use experience - this will... · 20893cc3
      Thomas Müller authored
      Images on public sharing get downscaled to increase use experience - this will speed up loading time
      
      - adding keep aspect to core/ajax/preview.php
      - remove duplicate method Preview::show()
      - no more hard coded mimetype of preview
      - remove .png from the preview urls
      - keep old route preview.png for backwards compatibility
      - aspect preserving previews are now cached
      20893cc3
  21. Apr 21, 2014
  22. Apr 04, 2014
  23. Apr 03, 2014
  24. Apr 02, 2014
  25. Mar 14, 2014
  26. Mar 13, 2014
  27. Mar 05, 2014
Loading