aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/tests/ajax_rename.php
Commit message (Collapse)AuthorAgeFilesLines
* Make files app use Webdav for most operationsVincent Petry2015-11-221-232/+0
|
* Update license headersLukas Reschke2015-10-261-1/+0
|
* Do not calculate non essential infoRoeland Jago Douma2015-10-131-6/+0
| | | | | | | | | | | | | There is no need to calculate a human readable date on the server side. We supply the mtime and a client can easily convert that himself if needed. This is already done most of the time since the date is often not in the exact right format. There is also no need to attach icon info. We have that available in javascript. And else the client should get the right icon based on the mimetype for its platform. * Updated tests
* update licence headers via scriptMorris Jobke2015-10-051-0/+1
|
* fix unit test for folder renaming (icon)tbartenstein2015-08-211-1/+1
| | | fix unit test to go with #17501 and check for the new icon
* Check target name on rename with web UIVincent Petry2015-05-291-24/+5
| | | | | | | | When renaming over the web UI, check early that the target name is valid. This prevents nonsensical error messages when renaming to a name with a trailing backslash.
* Replace originalStorage in tests with a proper teardownVincent Petry2015-04-081-9/+2
| | | | | | | | | | The purpose of $originalStorage in unit tests was to remount the old root. However that storage itself is already wrapped by storage wrapper, so remounting it would rewrap the storage several times. This fix makes use of "loginAsUser()" and "logout()" from the TestCase class to properly initialize and cleanup the FS as expected.
* Update license headersJenkins for ownCloud2015-03-261-13/+17
|
* Revert "Updating license headers"Morris Jobke2015-02-261-17/+14
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-14/+17
|
* Return path attribute for ajax rename operationsVincent Petry2015-01-121-0/+2
| | | | | | | This fixes an issue when renaming files from a flat list view like "Favorites" or "Shared with you", in which case the path needs to be present in the response to make sure the data-path attribute is properly set in the JS side.
* Return tags after renameVincent Petry2015-01-121-0/+69
| | | | | | To make it possible for the web UI to correctly display the tag/favorite information after a rename, this information is now returned in the rename response
* Add getMountPoint to FileInfoRobin Appelman2014-12-171-1/+1
|
* Make apps/ extend the \Test\TestCase and fix overwritten methodsJoas Schilling2014-11-191-2/+1
|
* Correctly restore previous root mount point after testingJoas Schilling2014-11-171-2/+12
|
* new unit test addedBjoern Schiessle2014-08-111-4/+42
|
* Fix unit testRobin Appelman2014-06-061-1/+1
|
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-1/+1
| | | | * test case added to avoid adding them later
* fix broken unit testThomas Müller2014-05-021-1/+11
|
* we no longer need to handle the Shared folder different from any other folderBjoern Schiessle2014-04-231-82/+0
|
* Files, trashbin, public apps use ajax/JSON for the file listVincent Petry2014-04-021-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Make unit tests expect the svg iconsRobin Appelman2014-02-201-2/+6
|
* Added error message for when target folder was removedVincent Petry2014-01-291-2/+47
| | | | | | | | | | Whent trying to upload/rename/create files in a folder that was removed or rename, the correct error message is now shown. In the case of upload of multiple files, the upload is cancelled. This situation can happen if the target folder was renamed or removed from another browser window or client.
* Fixed unit tests for ajax renameVincent Petry2013-11-271-19/+44
|
* Quota storage wrapper is now used for all users in sharing modeVincent Petry2013-11-211-0/+15
| | | | | | | | | When accessing a shared folder, the folder's owner appears as mountpoint but wasn't wrapped by a quota storage wrapper. This fix makes sure that all home storages are wrapped by a quota storage wrapper, if applicable, to make sure quotas are respected when uploading into shared folders.
* avoid usage of brand name 'ownCloud'Thomas Müller2013-10-281-1/+1
|
* Add _many_ newlines at the end of fileskondou2013-08-181-1/+1
|
* if rename of file fails, the rename is undone in the view - #fix 2820Morris Jobke2013-06-151-1/+1
| | | | | | | | Changes: * OC.dialog -> OC.Notification * Added test * Fixed OC.Notification.show() issue for queued items * Highlight failed item and show notification
* [files] fix mock creation and remove hardcoded 'require' statementMorris Jobke2013-05-121-5/+2
|
* [files] rename lib to "App"Morris Jobke2013-05-121-4/+4
|
* [files] rename test class and add rename testMorris Jobke2013-05-121-1/+22
|
* [files] remove realpath in testMorris Jobke2013-05-121-1/+1
|
* [files] rename testsMorris Jobke2013-05-121-0/+99