aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js/file-upload.js
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #1520 from nextcloud/upload-allow-zeroMorris Jobke2016-09-261-4/+0
|\ | | | | Allow uploading empty files (#26113)
| * Allow uploading empty files (#26113)Vincent Petry2016-09-261-4/+0
| | | | | | | | | | | | Downstreaming of https://github.com/owncloud/core/pull/26113 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Fix folder drag glitch in FirefoxMorris Jobke2016-09-141-6/+16
|/ | | | | | | | | 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)
* Fix the HTML encoding when uploading a folder in FF when using french l10nJoas Schilling2016-07-201-2/+2
|
* changes emptycontent icon to drag-accept on file-dragVincent Chan2016-06-231-1/+2
|
* store icons in classVincent Chan2016-06-151-2/+5
|
* dragging over folder will highlight folder onlyVincent Chan2016-06-151-0/+3
|
* restrict dropZone to app-content divVincent Chan2016-06-151-1/+1
|
* change folder icon when dragging over a directoryVincent Chan2016-06-151-2/+13
|
* adds visual indication for file drag and dropVincent Chan2016-06-131-2/+7
|
* Merge branch 'Superduper-Progressbar-branch-thingie' of ↵Vincent Petry2016-05-121-2/+75
|\ | | | | | | https://github.com/luckydonald/core into luckydonald-Superduper-Progressbar-branch-thingie
| * Optimized time formatting, optimized time smoothing.luckydonald2014-08-141-11/+8
| |
| * Changes for scrutinizer. Yay!luckydonald2014-08-131-15/+29
| |
| * fixed browser showing the tipsy tooltip as default tooltip twice.luckydonald2014-08-131-1/+1
| |
| * Fixed "Any minute now" staying because of undefined buffer. Also increased ↵luckydonald2014-08-131-3/+6
| | | | | | | | buffer size to 20 to be less jittery.
| * Updated String formatting. Label font-weight was already normal.luckydonald2014-08-131-10/+10
| |
| * Fixed Positioning, fixed formatting for both mobile and desktop.luckydonald2014-08-131-6/+37
| | | | | | | | | | Tooltips still frustrate me- And the updated code with tabs nicely. yay.
| * Added remaining time displaying, moved Information to tooltip, removed now ↵luckydonald2014-08-121-4/+26
| | | | | | | | unneeded speed div
| * Updated and optimized Mobile Layout as well.luckydonald2014-08-111-2/+3
| |
| * Fixed translations, indentation and renamed the .percents class to .speed class.luckydonald2014-08-101-5/+5
| |
| * Upload progress bar now displays informations about uploades size (12kB of ↵luckydonald2014-08-101-1/+6
| | | | | | | | 3MB) and the current speed.
* | replace $.parseJSON() by JSON.parse()Christoph Wurst2016-04-191-1/+1
| |
* | Disable pastezone for jquery.fileuploadLukas Reschke2016-03-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Accumulate notifications instead of blinkingVincent Petry2016-02-221-1/+5
| | | | | | | | | | This makes it possible to display multiple notifications. If the options.type is set to "error", it will also add a close button.
* | Defer quota check in web UI when overwriting shared fileVincent Petry2016-02-171-7/+36
| | | | | | | | | | | | | | | | 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.
* | Fix file upload, conflict dialog, also in public linkVincent Petry2015-10-211-11/+33
| | | | | | | | | | | | | | | | - 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...
* | Debounce cancel upload messageVincent Petry2015-10-121-6/+5
| |
* | Revert "Debounce cancel upload message"Thomas Müller2015-10-121-5/+6
| |
* | Debounce cancel upload messageVincent Petry2015-10-071-6/+5
| |
* | Make sure the conflict dialog is loaded before adding conflictsVincent Petry2015-10-021-2/+5
| |
* | Show conflict dialog before upload when possibleVincent Petry2015-09-281-19/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Combine upload action into the "New" menuVincent Petry2015-08-281-149/+0
| | | | | | | | Refactored the new menu to be encapsulated in the NewFileMenu JS class
* | Fix file name validation in New menuVincent Petry2015-04-271-9/+3
| |
* | Revert "add https:// placeholder for From Link feature. closes #13255"Robin McCorkell2015-03-261-1/+1
| | | | | | | | This reverts commit 18b5966f3a7639c6190f58b0d94e05e67200d57a.
* | Merge pull request #13941 from owncloud/fix-folder-upload-on-firefoxLukas Reschke2015-03-231-0/+9
|\ \ | | | | | | Show message if upload of folder isn't allowed
| * | Show message if upload of folder isn't allowedMorris Jobke2015-02-061-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | Remove "Download from URL" featureLukas Reschke2015-03-021-53/+1
|/ / | | | | | | Fixes https://github.com/owncloud/core/issues/13326
* | add https:// placeholder for From Link feature. closes #13255Volkan Gezer2015-01-121-1/+1
| |
* | Merge pull request #12941 from owncloud/wave-accessibility-complianceMorris Jobke2014-12-191-4/+9
|\ \ | | | | | | Wave accessibility compliance
| * | properly escape variableJan-Christoph Borchardt2014-12-181-1/+1
| | |
| * | fix accessibility for 'New' file inputsJan-Christoph Borchardt2014-12-181-1/+6
| | |
| * | fix accessibility of file uploadJan-Christoph Borchardt2014-12-181-3/+3
| | |
* | | show spinner on file upload in IE8, 9Morris Jobke2014-12-181-0/+15
|/ /
* | show readonly message in file conflict dialog, make it always selectedJörn Friedrich Dreyer2014-12-111-2/+13
| |
* | Improved Javascript docs for JSDocVincent Petry2014-10-311-1/+1
| | | | | | | | | | | | Added namespaces so that JSDoc can find them. Fixed a few warnings. Improved some comments.
* | Scroll to new file/folder after addingVincent Petry2014-09-041-2/+2
| | | | | | | | | | When creating a new file from the menu, the list now scrolls to that file.
* | Highlight every uploaded files and scroll down to the last onepdessauw2014-09-031-0/+8
| |
* | Compare upload limit against biggest fileOliver Gasser2014-08-121-4/+7
|/ | | | | When uploading multiple files from the web interface, compare the PHP upload limit against the largest file, not against the sum of all files.
* Breadcrumb width calculation fixVincent Petry2014-06-271-9/+18
| | | | | | | | | | | | | | 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.
* Fixed uploading by drag and drop into folderVincent Petry2014-06-191-1/+1
|