1. 24 Feb, 2015 1 commit
  2. 23 Feb, 2015 1 commit
  3. 22 Feb, 2015 1 commit
  4. 21 Feb, 2015 1 commit
  5. 20 Feb, 2015 1 commit
  6. 06 Feb, 2015 1 commit
  7. 14 Dec, 2014 3 commits
  8. 13 Dec, 2014 2 commits
  9. 09 Dec, 2014 1 commit
    • eric's avatar
      Do not use file-paths as id values in the database · c0f4b427
      eric authored
      Derby likes to use dot notation for many things, and file paths have dots—
      hence we need to switch to alphanumeric id without dots.
      
      When loading files from disk, we use the same function (from the uuid module)
      as is used by derby.js itself, to generate unique id’s.
      
      In all places where the app needs to search by file path, we now rely on the
      path attribute instead of the _id attribute
      c0f4b427
  10. 08 Dec, 2014 5 commits
  11. 06 Dec, 2014 2 commits
  12. 04 Dec, 2014 2 commits
  13. 28 Nov, 2014 2 commits
  14. 26 Nov, 2014 4 commits
  15. 25 Nov, 2014 4 commits
  16. 24 Nov, 2014 3 commits
  17. 23 Nov, 2014 3 commits
  18. 25 Aug, 2014 2 commits
  19. 22 Aug, 2014 1 commit
    • eric's avatar
      Display preview or download link for binary files · 6ccb4317
      eric authored
      For now there is just a preview for image files. In the future these previews could be handled
      by tailored derby components, and a dedicated function that chooses the right component
      based on mime type. In case no preview is found, a download link is presented.
      
      BTW, in the derby.js template I couldn’t use a regex à la .match(/image\/(jpeg|gif|png)/i)
      6ccb4317