| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Allow uploading empty files (#26113)
|
| |
| |
| |
| |
| |
| | |
Downstreaming of https://github.com/owncloud/core/pull/26113
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
|
|/
|
|
|
|
|
|
|
| |
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)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| | |
https://github.com/luckydonald/core into luckydonald-Superduper-Progressbar-branch-thingie
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
buffer size to 20 to be less jittery.
|
| | |
|
| |
| |
| |
| |
| | |
Tooltips still frustrate me-
And the updated code with tabs nicely. yay.
|
| |
| |
| |
| | |
unneeded speed div
|
| | |
|
| | |
|
| |
| |
| |
| | |
3MB) and the current speed.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
This makes it possible to display multiple notifications.
If the options.type is set to "error", it will also add a close button.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| | |
- 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...
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
Refactored the new menu to be encapsulated in the NewFileMenu JS class
|
| | |
|
| |
| |
| |
| | |
This reverts commit 18b5966f3a7639c6190f58b0d94e05e67200d57a.
|
|\ \
| | |
| | | |
Show message if upload of folder isn't allowed
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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
|
|/ /
| |
| |
| | |
Fixes https://github.com/owncloud/core/issues/13326
|
| | |
|
|\ \
| | |
| | | |
Wave accessibility compliance
|
| | | |
|
| | | |
|
| | | |
|
|/ / |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Added namespaces so that JSDoc can find them.
Fixed a few warnings.
Improved some comments.
|
| |
| |
| |
| |
| | |
When creating a new file from the menu, the list now scrolls to that
file.
|
| | |
|
|/
|
|
|
| |
When uploading multiple files from the web interface, compare the PHP
upload limit against the largest file, not against the sum of all files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rewrote the breadcrumb calculation to be more readable.
Breadcrumb now has a setMaxWidth() method to set the maximum allowed
width which is used to fit the breadcrumbs.
The breadcrumb width is now based on the container width, passed through
setMaxWidth() by the FileList class.
Now using fixed widths for the test crumbs to simulate consistent
widths across browsers which rendering engines might usually yield
different results.
|
| |
|