Skip to content
Snippets Groups Projects
  1. Dec 23, 2016
  2. Dec 22, 2016
  3. Dec 19, 2016
  4. Dec 06, 2016
  5. Nov 02, 2016
  6. Oct 25, 2016
  7. Oct 24, 2016
  8. Sep 26, 2016
  9. Sep 14, 2016
    • Morris Jobke's avatar
      Fix folder drag glitch in Firefox · 8d4e5747
      Morris Jobke authored
      issue:
      * drag'n'drop a folder into the files app in Firefox
      * the highlight stays there because Firefox doesn't trigger the drop event for folders
      
      solution:
      * behave like the drop event if the dragover event isn't fired for 100ms (only applied in Firefox)
      8d4e5747
  10. Jul 20, 2016
  11. Jun 23, 2016
  12. Jun 15, 2016
  13. Jun 14, 2016
  14. Jun 13, 2016
  15. Apr 19, 2016
  16. Mar 22, 2016
    • Lukas Reschke's avatar
      Disable pastezone for jquery.fileupload · f8ae1bb3
      Lukas Reschke authored
      jquery.fileupload offers the [`pastezone`](https://github.com/blueimp/jQuery-File-Upload/wiki/Options#pastezone) functionality. This functionality is enabled by default and if somebody copy-pastes something into Chrome it will automatically trigger an upload of the content to any configured jquery.fileupload element embedded in the JS.
      
      This implementation triggers some problems:
      
      1. The pastezone is defined globally by default (:see_no_evil:). So if there are multiple fileupload's on a page (such as in the personal settings) then stuff is going to be uploaded to all embedded uploads.
      2. Our server code is not able to parse the data. For example for uploads in the files app we expect a file name which is not specified => Just an error is thrown. You can reproduce this by taking a file into your clipboard and in Chrome then pressing <kbd>CTRL + V</kbd>.
      3. When copy-pasting some string from MS Office on the personal page a temporary avatar with said content is created.
      
      Considering that this is anyways was never working at all and causes bugs I've set the `pastezone` to `null`. This mens that upload via copy and paste will be disabled.
      
      Lesson learned: Third-party JS libraries can have some weird details.
      f8ae1bb3
  17. Feb 22, 2016
  18. Feb 17, 2016
    • Vincent Petry's avatar
      Defer quota check in web UI when overwriting shared file · ceaefc2c
      Vincent Petry authored
      When receiving a shared file, the quota for that file counts in the
      owner's storage, not the current user's storage.
      
      To make it possible to overwrite the file even when the current user
      doesn't have enough space, the quota check is deferred for such files.
      ceaefc2c
  19. Oct 21, 2015
    • Vincent Petry's avatar
      Fix file upload, conflict dialog, also in public link · abd0ba1f
      Vincent Petry authored
      - Use "FileList" instead of "OCA.Files.App.fileList" that doesn't exist in public
      link page.
      - Fix public link upload by properly adding the form data using a new
        utility function "addFormData". That one is needed because IE8 upload
        and regular upload use a different format...
      abd0ba1f
  20. Oct 12, 2015
  21. Oct 07, 2015
  22. Oct 02, 2015
  23. Sep 28, 2015
    • Vincent Petry's avatar
      Show conflict dialog before upload when possible · cc8efaa0
      Vincent Petry authored
      When uploading files, first check if the files exist in the current file
      list. For the ones that do, show a conflict dialog.
      For the rest, upload directly.
      
      If the upload operation detects a conflict on the server side, it will
      also continue populating the conflict dialog.
      
      From now on, server side conflict can only occur if someone concurrently
      uploaded a file into the same folder but the current user hasn't
      refreshed the list yet.
      cc8efaa0
  24. Aug 28, 2015
  25. Apr 27, 2015
  26. Mar 26, 2015
  27. Mar 02, 2015
  28. Feb 06, 2015
    • Morris Jobke's avatar
      Show message if upload of folder isn't allowed · 4e18b525
      Morris Jobke authored
      * current firefox doesn't throw an exception anymore
      	* it just reads 0 bytes -> folder or empty file
      * upload of folder or empty file isn't supported in every
        browser except Chrome
      * fixes #13940
      4e18b525
  29. Jan 12, 2015
  30. Dec 18, 2014
Loading