1. 27 Nov, 2014 1 commit
  2. 25 Nov, 2014 1 commit
  3. 23 Nov, 2014 1 commit
  4. 30 Oct, 2014 1 commit
  5. 24 Oct, 2014 2 commits
  6. 16 Oct, 2014 2 commits
    • 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
  7. 04 Oct, 2014 1 commit
  8. 30 Sep, 2014 1 commit
    • 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
  9. 24 Sep, 2014 1 commit
  10. 22 Sep, 2014 1 commit
  11. 21 Sep, 2014 1 commit
  12. 19 Sep, 2014 1 commit
    • 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
  13. 16 Sep, 2014 1 commit
  14. 15 Sep, 2014 2 commits
  15. 02 Sep, 2014 1 commit
  16. 04 Aug, 2014 1 commit
  17. 30 Jul, 2014 2 commits
  18. 09 Jul, 2014 1 commit
  19. 19 May, 2014 1 commit
  20. 13 May, 2014 3 commits
  21. 05 May, 2014 1 commit
  22. 02 May, 2014 1 commit
    • 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
  23. 21 Apr, 2014 1 commit
  24. 04 Apr, 2014 3 commits
  25. 03 Apr, 2014 1 commit
  26. 02 Apr, 2014 4 commits
  27. 14 Mar, 2014 1 commit
  28. 13 Mar, 2014 2 commits