summaryrefslogtreecommitdiffstats
path: root/apps/files/ajax
Commit message (Collapse)AuthorAgeFilesLines
* Check if files are deletable before trying to delete themRobin Appelman2014-11-261-1/+3
|
* Merge pull request #12421 from ↵Morris Jobke2014-11-261-3/+3
|\ | | | | | | | | owncloud/issue/6101-remove-namespace-permission-constants Issue/6101 remove namespace permission constants
| * Replace deprecated constant with new class constantJoas Schilling2014-11-251-3/+3
| |
* | we no longer need to keep the session open for encryptionBjoern Schiessle2014-11-251-6/+2
|/
* Prevent division by zeroLukas Reschke2014-10-241-1/+1
| | | | Potentially fixes https://github.com/owncloud/core/issues/11742
* log exceptions when listing filesJörn Friedrich Dreyer2014-10-081-0/+3
|
* Do only follow HTTP and HTTPS redirectsLukas Reschke2014-09-221-2/+7
| | | | | | | | We do not want to follow redirects to other protocols since they might allow an adversary to bypass network restrictions. (i.e. a redirect to ftp:// might be used to access files of a FTP server which might be in a secure zone and not be reachable from the net but from the ownCloud server) Get final redirect manually using get_headers() Migrate to HTTPHelper class and add unit tests
* Merge pull request #10922 from owncloud/explicit-scan-transactionsLukas Reschke2014-09-091-1/+1
|\ | | | | Use bigger transactions when doing explicit file system scans
| * Use bigger transactions when doing explicit file system scansRobin Appelman2014-09-081-1/+1
| |
* | Merge pull request #10739 from owncloud/eventsource-publicLukas Reschke2014-09-082-4/+4
|\ \ | | | | | | Add EventSource to the public API
| * | Better phpdoc and method namingRobin Appelman2014-09-042-2/+2
| | |
| * | Use the public api to get event sourcesRobin Appelman2014-09-032-4/+4
| |/
* / Catch exceptions when moving filesVincent Petry2014-09-051-4/+10
|/ | | | | | | | When moving files on storages that don't expose permissions, the storage itself might throw an exception when the permission is denied. This fix ensures that exceptions are caught and forwarded to the client instead of just hanging.
* Use public api for getting l10nRobin Appelman2014-08-316-6/+6
|
* kill OC::$sessionJörn Friedrich Dreyer2014-08-2911-11/+11
| | | | | | | | | | | | maintain deprecated \OC::$session when getting or setting the session via the server container or UserSession restore order os OC::$session and OC::$CLI remove unneded initialization of dummy session write back session when $useCustomSession is true log warning when deprecated app is used
* set incognitoMode to true, getUser should always return false during public ↵Bjoern Schiessle2014-08-181-1/+3
| | | | upload
* Merge pull request #10295 from owncloud/file_actions_error_handlingBjörn Schießle2014-08-141-1/+2
|\ | | | | file actions improved error handling
| * no error if we try to delete a file which no longer existsBjoern Schiessle2014-08-111-1/+2
| |
| * no special action for folder named 'Shared' neededBjoern Schiessle2014-08-111-1/+1
| |
* | check quota when trying to download a file via new -> webJörn Friedrich Dreyer2014-08-081-0/+23
|/
* More error catching in list.phpRobin Appelman2014-07-011-7/+22
|
* Handle StorageNotAvailableException in ajax/list.phpRobin Appelman2014-06-301-27/+37
|
* Merge if statementsJoas Schilling2014-06-231-6/+2
|
* Remove warning when deleting all entriesVincent Petry2014-06-231-1/+2
| | | | | When deleting all entries, only "allfiles" is defined but not "file" or "files", which caused a PHP warning to be logged.
* Fixed uploading by drag and drop into folderVincent Petry2014-06-191-19/+21
|
* php upload errors are written to logThomas Müller2014-05-221-1/+3
|
* Add sorting to files list, trashbin and public filesVincent Petry2014-04-281-1/+4
|
* remove unused exit()Thomas Müller2014-04-071-1/+0
|
* Merge branch 'master' of https://github.com/lukepolo/core-1 into lukepolo-masterThomas Müller2014-04-071-8/+18
|\ | | | | | | | | Conflicts: apps/files/js/file-upload.js
| * Feature Added : Ability to drag and drop in ChromeLuke Policinski2014-02-191-2/+2
| |
| * Feature Added : Ability to drag and drop in ChromeLuke Policinski2014-02-191-8/+18
| |
* | Fixed dirInfo check for non existing dir in files ajax callVincent Petry2014-04-031-1/+1
| |
* | Files, trashbin, public apps use ajax/JSON for the file listVincent Petry2014-04-025-113/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge pull request #7107 from owncloud/load-apps-proper-masterThomas Müller2014-03-284-18/+0
|\ \ | | | | | | Load apps proper master
| * \ Merge branch 'master' into load-apps-proper-masterThomas Müller2014-03-2113-97/+85
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: apps/files/ajax/rawlist.php cron.php ocs/v1.php
| * | | remove superfluous $RUNTIME_APPTYPESThomas Müller2014-02-064-18/+0
| | | |
* | | | Fix public upload to not close session when encryption is onVincent Petry2014-03-241-1/+4
| |/ / |/| | | | | | | | | | | The encryption app needs to create keys when uploading files, so the session needs to be kept open in such case.
* | | Merge pull request #7651 from owncloud/close-session-faster-masterThomas Müller2014-03-2012-8/+14
|\ \ \ | | | | | | | | Close session faster
| * \ \ Merge branch 'master' into close-session-faster-masterThomas Müller2014-03-191-44/+0
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: apps/files/ajax/upgrade.php
| * | | | close the session on all file operationsThomas Müller2014-03-1013-9/+15
| | | | |
* | | | | Improve sorting performance of large lists of filesRobin Appelman2014-03-191-3/+2
| |/ / / |/| | |
* | | | drop file cache migration OC5 -> OC6Thomas Müller2014-03-181-44/+0
|/ / /
* | | Fixed log warning when deleting a single fileVincent Petry2014-03-071-1/+1
| | |
* | | don't allow to create a file or folder named 'Shared' in the root folder, ↵Bjoern Schiessle2014-03-051-1/+1
| | | | | | | | | | | | also exclude all combinations of lower and upper case letters
* | | Update rawlist to work with new fileinfo objectRobin Appelman2014-02-271-31/+28
| | |
* | | Merge pull request #6714 from owncloud/files-newfileinvalidcharsfixLukas Reschke2014-02-202-6/+12
|\ \ \ | |_|/ |/| | Added extra checks for invalid file chars in newfile.php and newfolder.php
| * | Added extra checks for invalid file chars in newfile.php and newfolder.phpVincent Petry2014-02-182-6/+12
| | | | | | | | | | | | | | | | | | | | | - added PHP utility function to check for file name validity - fixes issue where a user can create a file called ".." from the files UI - added extra checks to make sure newfile.php and newfolder.php also check for invalid characters
* | | Merge pull request #7195 from owncloud/files-selectallVincent Petry2014-02-191-1/+14
|\ \ \ | | | | | | | | Do not send file list for select all on Download/delete
| * | | Do not send file list for select all on Download/deleteVincent Petry2014-02-131-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | | use a FileInfo object of the directory when generting the filelistRobin Appelman2014-02-181-2/+3
| |/ / |/| |