Skip to content
Snippets Groups Projects
  1. Feb 11, 2021
  2. Jan 22, 2021
  3. Jan 20, 2021
  4. Jan 19, 2021
  5. Jan 11, 2021
  6. Dec 30, 2020
  7. Oct 05, 2020
  8. Sep 17, 2020
  9. Aug 24, 2020
  10. Aug 13, 2020
    • Scott Dutton's avatar
      Always try and show pre rendered preview · b12a3902
      Scott Dutton authored
      
      Currently if the following situation happens
      
      Server generates preview
      Server has command removed which allows a preview to be shown
      Client asks for preview, gets a 404 error when preview exists
      (Mime checked before preview)
      
      This happens more often with documents, or video as the commands are not
      native PHP, they require a binary on the server.
      
      After the fix the following would happen
      
      Server generates preview
      Server has command removed which allows a preview to be shown
      Client asks for preview, gets preview which has been generated
      (Mime checked after preview)
      
      This would also allow offline generation (for example a docker image
      containing the extra binaries), allowing a reduction in attack surface
      of the instance serving the preview data.
      
      Signed-off-by: default avatarScott Dutton <scott@exussum.co.uk>
      b12a3902
  11. Aug 07, 2020
  12. Aug 06, 2020
  13. Aug 05, 2020
  14. Jul 27, 2020
  15. Apr 29, 2020
  16. Apr 19, 2020
  17. Apr 10, 2020
  18. Apr 09, 2020
  19. Apr 08, 2020
  20. Mar 31, 2020
  21. Mar 25, 2020
  22. Mar 06, 2020
  23. Jan 14, 2020
  24. Jan 13, 2020
  25. Dec 22, 2019
  26. Dec 21, 2019
  27. Dec 18, 2019
  28. Dec 05, 2019
  29. Nov 22, 2019
  30. Oct 30, 2019
Loading