aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
Commit message (Collapse)AuthorAgeFilesLines
* Fixed drag and drop into folder and onto breadcrumbVincent Petry2014-04-282-72/+111
| | | | | Fixed drag and drop code to use FileList.getSelectedFiles() instead of the visible DOM elements.
* Fixed selection summary calculation issueVincent Petry2014-04-281-3/+1
|
* Cleanup of event handlersVincent Petry2014-04-281-32/+32
| | | | | Now using _.bind() for event handlers so we can use "this" which is more readable than a static access to FileList.
* Cleanup and fix trashbin "clear all files" operationVincent Petry2014-04-281-5/+1
|
* Fixed drag shadow file sortingVincent Petry2014-04-281-0/+1
|
* Fixed selection to be based on FileList.filesVincent Petry2014-04-283-124/+135
| | | | | | | | | | The file selection is now based on the internal model array FileList.files instead of the visible checkboxes. This makes it possible to virtually select files that haven't been rendered yet (select all, then deselect a visible one) Added more unit tests for selection (with shift and ctrl as well)
* Make sure there are always enough elements visible on the pageVincent Petry2014-04-281-0/+10
|
* Fixed insertion of filesVincent Petry2014-04-282-29/+48
| | | | | | | | | Removed "insert" flag, inserting is by default for FileList.add(). Added "animate" flag to FileList.add(). Added logic to correctly detect when to insert/append elements whenever the insertion point is visible or not. Fixed "render next page" logic to work correctly when many pages of files have been added.
* Fixed file sorting to work with scrollingVincent Petry2014-04-281-90/+82
| | | | | | | | | The FileList.files model is now updated with file operations. Adding files to the list will add to the model first, then to the DOM. If the insertion point isn't visible yet, the file won't be added to the DOM until the user scrolls down. Updated unit tests to include checking for the correct insertion point.
* Fix file selection for infinite scrollingVincent Petry2014-04-282-209/+259
| | | | | | | - moved file selection code to FileList - fix selection summary when all files are selected - nextPage now auto-selects files if "select all" checkbox is checked - fixed trashbin to use the same selection logic as FileList
* Fix file summary to use the whole file listVincent Petry2014-04-282-112/+200
| | | | | | - moved the summary code into a new class FileSummary - FileSummary is calculated only once, then updated with add/remove - added new OC.Util namespace for JS utility functions
* Added infinite scrolling (in-memory list)Vincent Petry2014-04-281-5/+60
|
* Merge pull request #8026 from owncloud/remove_shared_folderBjörn Schießle2014-04-244-15/+18
|\ | | | | remove the "Shared" folder
| * always allow to rename the share mount pointBjoern Schiessle2014-04-231-1/+12
| |
| * we no longer need to handle the Shared folder different from any other folderBjoern Schiessle2014-04-234-14/+6
| |
* | Adjust renaming of directories, fixes #8280Robin McCorkell2014-04-231-1/+2
|/ | | | | | | | | | | | | Directories will not be considered to have an extension, even if a dot is found. Stop Scrutinizer being annoyed But the spaced version looked good! Stop jsHint being annoyed These code quality tools are really pestering
* Merge pull request #8169 from owncloud/change-to-showAndreas Fischer2014-04-201-1/+1
|\ | | | | | | | | | | | | Change from showHTML to show * owncloud/change-to-show: Change from showHTML to show
| * Change from showHTML to showLukas Reschke2014-04-111-1/+1
| | | | | | There is no need to use `showHTML` here.
* | Merge pull request #8104 from owncloud/lukepolo-masterThomas Müller2014-04-152-64/+107
|\ \ | |/ |/| Added the ability to Drag and Drop folders [chrome]
| * add link to further discussion about that folder checkThomas Müller2014-04-151-0/+1
| |
| * fix single file upload in firefoxThomas Müller2014-04-101-1/+5
| |
| * In cases folder drag and drop is not supported a proper message is displayedThomas Müller2014-04-091-5/+12
| |
| * use FileList.findFileElThomas Müller2014-04-091-1/+2
| |
| * Merge branch 'master' into lukepolo-masterThomas Müller2014-04-093-23/+10
| |\ | | | | | | | | | | | | Conflicts: apps/files/js/filelist.js
| * | js style fixes according to our jshintrc rulesThomas Müller2014-04-071-58/+56
| | |
| * | fix folder upload in jsThomas Müller2014-04-071-16/+21
| | |
| * | Merge branch 'master' of https://github.com/lukepolo/core-1 into lukepolo-masterThomas Müller2014-04-072-5/+32
| |\ \ | | | | | | | | | | | | | | | | Conflicts: apps/files/js/file-upload.js
| | * | Fixed issue with drag and drop not in the root directory, for folders and filesLuke Policinski2014-02-201-6/+7
| | | |
| | * | Feature Added : Ability to drag and drop in ChromeLuke Policinski2014-02-191-6/+6
| | | |
| | * | Feature Added : Ability to drag and drop in ChromeLuke Policinski2014-02-192-5/+30
| | | |
* | | | Merge pull request #8069 from ↵Björn Schießle2014-04-111-3/+3
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | owncloud/fix-localization-issues-with-file-encrypt-app Fix some localization issues with file encryption/decryption strings
| * | | Fix some localization issues with file encryption/decription stringsVolkan Gezer2014-04-051-3/+3
| |/ /
* | | Merge pull request #8049 from owncloud/filepickersvgMorris Jobke2014-04-093-23/+10
|\ \ \ | |/ / |/| | Fix file picker SVG issues
| * | Moved code to replace svg with png to OC.UtilVincent Petry2014-04-043-23/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Moved code that replaces the "svg" extension for the given file to core as OC.Util.replaceSVGIcon. - Added unit test for OC.Util.replaceSVGIcon - Moved "replaceSVG" to OC.Util.replaceSVG and deprecated the global "replaceSVG" function. - Added alias for SVGSupport() as OC.Util.hasSVGSupport() (for now)
* | | Show higher resolution previews for high dpi screensRobin Appelman2014-04-041-2/+4
|/ /
* | Correctly set svg for crumb dividerVincent Petry2014-04-031-1/+1
| |
* | Files, trashbin, public apps use ajax/JSON for the file listVincent Petry2014-04-025-554/+709
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Files app: - removed file list template, now rendering list from JSON response - FileList.addFile/addDir is now FileList.add() and takes a JS map with all required arguments instead of having a long number of function arguments - added unit tests for many FileList operations - fixed newfile.php, newfolder.php and rename.php to return the file's full JSON on success - removed obsolete/unused undo code - removed download_url / loading options, now using Files.getDownloadUrl() for that - server side now uses Helper::getFileInfo() to prepare file JSON response - previews are now client-side only Breadcrumbs are now JS only: - Added BreadCrumb class to handle breadcrumb rendering and events - Added unit test for BreadCrumb class - Moved all relevant JS functions to the BreadCrumb class Public page now uses ajax to load the file list: - Added Helper class in sharing app to make it easier to authenticate and retrieve the file's real path - Added ajax/list.php to retrieve the file list - Fixed FileActions and FileList to work with the ajax list Core: - Fixed file picker dialog to use the same list format as files app
* | Fixed broken delete file actionVincent Petry2014-04-011-1/+1
| |
* | Merge pull request #7724 from owncloud/mobileThomas Müller2014-03-282-16/+34
|\ \ | | | | | | [WIP] Mobile optimization for base layout and Files app
| * | fixing javascript error where $(Files.breadcrumbs[1]).get(0) returns ↵Thomas Müller2014-03-181-5/+8
| | | | | | | | | | | | undefined - happens on resize to a very small width
| * | additional class is added to the file actions called e.g. 'action-share', ↵Thomas Müller2014-03-171-11/+26
| | | | | | | | | | | | | | | | | | 'action-rename' in order to allow proper translations of the action's display name an additional parameter has been added to the register function
* | | enable SVG->PNG fallback for newly uploaded files and foldersJan-Christoph Borchardt2014-03-271-1/+1
| | |
* | | remove executable flag for file-upload.jsMorris Jobke2014-03-201-0/+0
| | |
* | | Comment moved to prevent 'Line is too long' warning.Oskar Hollmann2014-03-191-1/+2
| | |
* | | Fix: 'Upload button tooltip doesn't disappear'Oskar Hollmann2014-03-191-0/+1
| | | | | | | | | | | | Fixes issue #7461. Tipsy tooltip must be hidden when the upload starts. Otherwise it covers the progress bar and stays in DOM.
* | | drop file cache migration OC5 -> OC6Thomas Müller2014-03-181-28/+0
|/ /
* | only initialise upload dropZone if public upload is allowedIchEben2014-03-071-1/+1
| |
* | Merge pull request #7592 from owncloud/fixstoragefreespaceVincent Petry2014-03-061-499/+506
|\ \ | | | | | | Fixed upload issue when free space is not known (ex: FTP)
| * | Fixed upload issue when free space is not knownVincent Petry2014-03-061-1/+3
| | |
| * | Added unit tests for "add()" method for file uploadVincent Petry2014-03-061-499/+504
| | | | | | | | | | | | | | | | | | - Added OC.Upload.init() to make the code testable - Added unit tests for the add() method of the uploader with some error cases