summaryrefslogtreecommitdiffstats
path: root/apps/files/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix transfering ownership of a share to user with same id as receiverDaniel Calviño Sánchez2018-08-071-1/+2
| | | | | | | | | When the ownership of a user share is transfered to the receiver the share is removed, as the receiver now owns the original file. However, due to a missing condition, any share with a group, link or remote with the same id as the user was removed, not only the user shares. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Catch exception when the parent is deleted as wellJoas Schilling2018-03-061-2/+27
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Do a recursion instead of an endless loopJoas Schilling2018-03-061-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix problem with deleted filesJoas Schilling2018-03-061-5/+14
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix path handling for activitiesJoas Schilling2018-03-061-7/+20
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add special handling for e2e encryptionJoas Schilling2018-03-061-1/+108
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Extract duplicated logic into a methodJoas Schilling2018-03-061-80/+24
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add events for favoritesJoas Schilling2018-01-102-3/+18
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update quota on file upload and deletionJohn Molakvoæ (skjnldsv)2017-12-211-0/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #7056 from ↵blizzz2017-11-101-0/+10
|\ | | | | | | | | nextcloud/oc-28415-enable-chunking-in-authenticated-web-upload [oc] Enable chunking for bigger files in authenticated web upload
| * Enable chunking for bigger files in authenticated web uploadVincent Petry2017-11-031-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds chunked uploads in the Web UI (for authenticated users, but not for public uploads). To do that the server endpoint used by the uploader is changed from WebDAV v1 to WebDAV v2. The chunking itself is done automatically by the jQuery-File-Upload plugin when the "maxChunkSize" parameter is set; in "fileuploadchunksend" the request is adjusted to adapt the behaviour of the plugin to the one expected by "uploads/" in WebDAV v2. The chunk size to be used by the Web UI can be set in the "max_chunk_size" parameter of the Files app configuration. By default it is set to 10MiB. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Merge pull request #7075 from nextcloud/remove-unused-variablesRoeland Jago Douma2017-11-072-2/+2
|\ \ | | | | | | Remove unused variables
| * | Remove unused variablesMorris Jobke2017-11-062-2/+2
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / Update license headersMorris Jobke2017-11-0619-5/+55
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Correctly format OCS response with favoritesRoeland Jago Douma2017-08-291-17/+17
| | | | | | | | | | The helper funtion did not handle the response correctly and basically only returned the last share with tags. This is a simple rewrite. That is still understandable. Loops maybe more than strictly required. But preformance is not the issue here. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix comparisons in the files appJoas Schilling2017-08-012-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix copy and paste error on activity descriptionsJoas Schilling2017-07-202-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use PNG version of the icons for shipped activitiesJoas Schilling2017-06-202-22/+102
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add an event so apps can add hidden fields to the files pageJoas Schilling2017-06-131-1/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add quota to the files viewJoas Schilling2017-06-131-0/+11
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix username and avatar for external usersJoas Schilling2017-05-191-0/+26
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* allow apps to set custom mount typesRobin Appelman2017-04-281-6/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove unused use statementsMorris Jobke2017-04-223-5/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add PHPDoc and handle exception in ScanAppData as wellMorris Jobke2017-04-191-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* show error when trying to scan non existing pathRobin Appelman2017-04-191-7/+12
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* share api expanded by tags (#26583)Michael Jobst2017-04-111-4/+25
| | | | | | | | | | | | | | | | | | | | | | | | * share api expanded by tags * Modified files_sharing JS Unit tests * modified tests. renamed request parameter. refactoring * Update Share20OCS.php Added missing function description * Update Helper.php Added missing function description * Update Helper.php implicit boolean conversion to !empty() * Update Share20OCSTest.php Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow multiple navigation links from info.xmlJoas Schilling2017-03-261-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Manage the right side menu via the navigation manager as wellJoas Schilling2017-03-261-1/+9
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge file view JS filesLukas Reschke2017-03-241-30/+1
| | | | | | Removes 26 requests on the file list loading Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Merge pull request #4013 from nextcloud/bundle_vendor_jsLukas Reschke2017-03-241-2/+0
|\ | | | | Bundle vendor js
| * Handlebars is already loaded by core.jsRoeland Jago Douma2017-03-231-2/+0
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #3965 from nextcloud/downstream-27343Morris Jobke2017-03-231-4/+33
|\ \ | |/ |/| Providing --path option to transfer-ownership
| * improve file transfer codeMorris Jobke2017-03-221-26/+15
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Providing --path option to transfer-ownershipSujith H2017-03-201-4/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will help user to selectively move the folders specified using --path option, instead of moving entire folder under files directory. Signed-off-by: Sujith H <sharidasan@owncloud.com> Update the integration test for transfer-ownership Update the integration test for transfer-ownership as the new option --path is introduced in the command. Signed-off-by: Sujith H <sharidasan@owncloud.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Use proper name and code styleMorris Jobke2017-03-221-2/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Add files:scanAppData commandRoeland Jago Douma2017-03-221-0/+284
| | | | | | | | | | | | | | | | Fixes https://github.com/nextcloud/server/issues/3041 Add a dedicated command to scan the special appdata dir Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Revert "Bundle vendor js"Roeland Jago Douma2017-03-221-0/+2
| |
* | Merge pull request #3795 from nextcloud/bundle_vendor_jsRoeland Jago Douma2017-03-221-2/+0
|\ \ | | | | | | Bundle vendor js
| * | Handlebars is already loaded by core.jsRoeland Jago Douma2017-03-221-2/+0
| |/ | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / Merge some CSS files using our SCSS compilerLukas Reschke2017-03-211-4/+1
|/ | | | | | This saves around 4 requests on the average page load. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Log files:scan exception, add InterruptedExceptionVincent Petry2017-03-201-8/+10
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use a proper date format for transfer ownershipMorris Jobke2017-03-021-1/+1
| | | | | | | * on Windows : is not allowed as filename and doesn't get synced then * uses 2017-03-02 22-00-00 instead of 2017-03-02T22:00:00+00:00 as format Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix app name of files appMorris Jobke2017-02-142-7/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #3181 from nextcloud/fix-favorite-activity-mailBjörn Schießle2017-02-102-12/+28
|\ | | | | Make sure the file information is available when sending the email
| * Make sure the file information is available when sending the emailJoas Schilling2017-01-202-12/+28
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix files sharing legacy as wellJoas Schilling2017-02-081-1/+5
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add tests for getFile()Joas Schilling2017-02-071-11/+12
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Make sure ownCloud 8.2 activities also can get displayedJoas Schilling2017-02-071-12/+30
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove leading slash from sharing activityJoas Schilling2016-12-152-4/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add some generic testsJoas Schilling2016-12-041-0/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>