aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/js
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Merge branch 'master' into fix-7307Thomas Müller2014-03-063-27/+27
|\| | | | | | | | | | | Conflicts: core/js/router.js settings/js/admin.js
| * Merge pull request #7575 from owncloud/issue/7571Vincent Petry2014-03-051-2/+2
| |\ | | | | | | Do not set #dir when on public.php
| | * Do not set #dir when on public.phpJoas Schilling2014-03-051-2/+2
| | | | | | | | | | | | Fix #7571
| * | don't allow to create a file or folder named 'Shared' in the root folder, ↵Bjoern Schiessle2014-03-053-25/+25
| |/ | | | | | | also exclude all combinations of lower and upper case letters
* | fixing download url in files appThomas Müller2014-03-021-1/+1
| |
* | Replace OC.Router.generate() with OC.generateUrl()Thomas Müller2014-03-022-3/+5
|/
* coding style fixes, cut long lines, comments not on same lines, curly bracesJan-Christoph Borchardt2014-02-261-8/+11
|
* Merge pull request #7285 from owncloud/mimeicons-svgMorris Jobke2014-02-242-7/+13
|\ | | | | Show svg mime icons when no preview is available
| * rename url parameterRobin Appelman2014-02-241-1/+1
| |
| * Add url parameter to control whether previews should return 404 when the ↵Robin Appelman2014-02-211-0/+1
| | | | | | | | mimetype is unsupported
| * Merge branch 'master' into mimeicons-svgRobin Appelman2014-02-202-29/+68
| |\
| * | Show svg mime icons when no preview is availableRobin Appelman2014-02-192-7/+12
| | |
* | | code style: else on same lineJan-Christoph Borchardt2014-02-211-2/+1
| | |
* | | fix intendationMorris Jobke2014-02-201-3/+3
| | |
* | | Fixed trashbin titleVincent Petry2014-02-201-21/+15
| | |
* | | Fixed title formatVincent Petry2014-02-201-1/+8
| | |
* | | Merge branch 'patch-1' of github.com:GuillaumeAmat/core into ↵Vincent Petry2014-02-201-3/+31
|\ \ \ | |_|/ |/| | | | | GuillaumeAmat-patch-1
| * | Uses OC.basename instead of custom codeGuillaume AMAT2014-02-191-2/+2
| | |
| * | Gets the page title from oc_defaults in Files appGuillaume AMAT2014-02-131-1/+1
| | |
| * | Update page title when navigating through directoriesGuillaume AMAT2014-02-121-3/+31
| |/
* / Do not send file list for select all on Download/deleteVincent Petry2014-02-132-29/+68
|/ | | | | | | | - When all files are selected, do not send the whole file list - Download will trigger download for the parent folder, also works with root - Delete will send "allfiles" to the server that will find the file list or the passed directory by itself
* Merge pull request #7126 from nickvergessen/issue/6683Vincent Petry2014-02-101-2/+2
|\ | | | | Only add files to file list when uploading to current directory
| * Only add files to file list when uploading to current directoryJoas Schilling2014-02-071-2/+2
| | | | | | | | Fix Issue #6683
* | Fix implied evals and doubled definition of variableMorris Jobke2014-02-072-7/+5
|/ | | | | | | fixes #7119 fixes #7120 fixes #7121 fixes #7122
* Merge pull request #7064 from owncloud/files-scrolltopafterupdateJan-Christoph Borchardt2014-02-051-4/+5
|\ | | | | Scroll to the top after switching dir
| * Scroll to the top after switching dirVincent Petry2014-02-041-5/+6
| | | | | | | | Fixes #7061
* | Merge pull request #7011 from owncloud/jshintThomas Müller2014-02-047-20/+113
|\ \ | | | | | | Added .jshintrc
| * | Fixed file name validation unit test + added newlineVincent Petry2014-01-301-7/+15
| | | | | | | | | | | | | | | - fixed file name validation unit test - added "\n" as forbidden character in isFileNameValid()
| * | Added .jshintrcVincent Petry2014-01-307-13/+98
| | | | | | | | | | | | | | | | | | - Also fixes a few JSHint warnings in files app - Added "global" comment on top of files app to suppress warning and also inform devs about what globals are use
* | | Merge pull request #6235 from NCTU-NBA/pr-exceed_upload_limit_msgJan-Christoph Borchardt2014-02-042-3/+16
|\ \ \ | |_|/ |/| | Change misleading message when file size exceeds upload limit
| * | Merge branch 'master' into pr-exceed_upload_limit_msgPellaeon Lin2014-01-304-39/+127
| |\| | | | | | | | | | | | | | | | Conflicts: apps/files/templates/index.php apps/files_sharing/templates/public.php
| * | Fix variable namePellaeon Lin2014-01-241-2/+2
| | |
| * | Use t() 's native methodPellaeon Lin2014-01-161-2/+8
| | |
| * | Contextual upload error messagePellaeon Lin2013-12-111-2/+2
| | |
| * | Update #free_space on getstoragestats AJAX callPellaeon Lin2013-12-111-0/+1
| | |