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