summaryrefslogtreecommitdiffstats
path: root/apps/files/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * Use file path for direct editingJulius Härtl2019-12-051-2/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Pick a shorter name for the transfer ownership tableJoas Schilling2019-12-102-10/+13
| | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #18256 from nextcloud/files-aditional-scripts-new-eventsRoeland Jago Douma2019-12-091-1/+1
|\ \ | | | | | | Use non-depricated events for loading additional scripts in files app
| * | use OCP\EventDispatcher\GenericEvent for loading additional scripts in the ↵Robin Appelman2019-12-051-1/+1
| |/ | | | | | | | | | | files app Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Decouple resource provider registrationDaniel Kesselberg2019-12-071-4/+4
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #18242 from nextcloud/directEditingEditorWithIdRoeland Jago Douma2019-12-051-0/+1
|\ \ | | | | | | add id to editor of direct editing
| * | add id to editor of direct editingtobiasKaminsky2019-12-051-0/+1
| |/ | | | | | | Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
* / Update license headersChristoph Wurst2019-12-0545-66/+154
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #17913 from ↵Roeland Jago Douma2019-12-041-1/+6
|\ | | | | | | | | nextcloud/fix/transfer-ownership-move-files-error-handling Catch file transfer error and stop transfer ownership command
| * Catch file transfer error and stop transfer ownership commandChristoph Wurst2019-11-271-1/+6
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Fix files app LoadSidebar event (#18213)John Molakvoæ2019-12-042-2/+45
|\ \ | | | | | | Fix files app LoadSidebar event
| * | Fix files app LoadSidebar eventJohn Molakvoæ (skjnldsv)2019-12-042-2/+45
| | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* | | Fix mixed up message and subject on notifications for file transferJoas Schilling2019-12-031-10/+14
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Also allow transfer ownership of filesChristoph Wurst2019-12-021-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Add a transfer ownership background jobRoeland Jago Douma2019-12-028-2/+842
| | | | | | | | | | | | | | | | | | | | | | | | This job can be initiated by a user to transfer a file/folder to a target user. The target user will have to accept the job. Once that is done the transfers is initiated in the background. Both parties get notified when the job is done. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Only expose link to info endpoint in capabiltiesJulius Härtl2019-11-273-42/+113
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Expose editor id for creatorsJulius Härtl2019-11-271-0/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add mimetype to creatorsJulius Härtl2019-11-271-5/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Code style fixes and cleanupJulius Härtl2019-11-273-6/+18
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Move editor list to capabilitiesJulius Härtl2019-11-272-43/+42
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add background job for token cleanupJulius Härtl2019-11-271-0/+31
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Direct editing API to allow file editing using a one-time token forJulius Härtl2019-11-272-0/+228
|/ | | | | | mobile apps Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Extract transfer ownership logic into a reusable serviceChristoph Wurst2019-11-263-220/+329
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #18107 from nextcloud/undefined-index-ownerRoeland Jago Douma2019-11-251-2/+2
|\ | | | | dont throw undefined index errors for storages that have no owner set
| * dont throw undefined index errors for storages that have no owner setRobin Appelman2019-11-251-2/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Some php-cs fixesRoeland Jago Douma2019-11-2214-25/+19
|/ | | | | | | | | | | * Order the imports * No leading slash on imports * Empty line before namespace * One line per import * Empty after imports * Emmpty line at bottom of file Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Check quota before transfer ownershipRoeland Jago Douma2019-11-131-2/+14
| | | | | | Fixes #15664 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* add option to disable background scanning of filesRobin Appelman2019-11-051-0/+4
| | | | | | | when using (only) object store this job doesn't do any scanning anyway, but all the setup can still be expensive on large setups Signed-off-by: Robin Appelman <robin@icewind.nl>
* Add LoadSidebar eventJohn Molakvoæ (skjnldsv)2019-10-292-0/+35
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add new LoadAdditionalScriptsEventRoeland Jago Douma2019-09-234-9/+111
| | | | | | | This adds a new event that is in the new style of event dispatching. This should allow more lazy loading and better sepeartion of concerns Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Lets use DI where we canRoeland Jago Douma2019-08-021-26/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #16200 from nextcloud/revert/16049-wrong-roundMorris Jobke2019-07-031-1/+1
|\ | | | | Revert incorrect rouding
| * Revert parts hide quota bar if unlimitedDaniel Kesselberg2019-07-021-1/+1
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Merge pull request #15741 from mxss/fix/phpdoc-fixesMorris Jobke2019-07-023-2/+12
|\ \ | |/ |/| misc phpdoc fixes
| * misc phpdoc fixesMax Kovalenko2019-05-273-0/+10
| | | | | | | | Signed-off-by: Max Kovalenko <mxss1998@yandex.ru>
| * fixed phpdoc parameter typesMax Kovalenko2019-05-271-2/+2
| | | | | | | | Signed-off-by: Max Kovalenko <mxss1998@yandex.ru>
* | Show used space in mb instead of %Daniel Kesselberg2019-06-241-1/+1
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Properly redirect if accessing invalid file though /f/ entrypointJulius Härtl2019-06-181-1/+6
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Use rich objects instead of name, link and iconJoas Schilling2019-03-191-42/+31
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Replace the icon-class with an absolute link to an imageJoas Schilling2019-03-191-9/+13
| | | | | | Otherwise the icon can not be displayed in mobile apps Signed-off-by: Joas Schilling <coding@schilljs.com>
* Import needed classMorris Jobke2019-03-141-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add correct method for hardcoded `/f/{fileid}`Joas Schilling2019-03-141-2/+14
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove the upload and memory settingJoas Schilling2019-03-042-138/+0
| | | | | | | | | | * Remove unneeded private method phpFileSize() * Bump autoloader * Remove setUploadLimit tests * Remove integrity check hacks for upload limit Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fetch node and filename also if access cache was usedJulius Härtl2019-03-011-0/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Register providers via class namesJoas Schilling2019-03-011-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Invalidate the cache when a share is updatedJoas Schilling2019-03-012-0/+46
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix doc blockJoas Schilling2019-03-011-2/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Further work on the access cacheJoas Schilling2019-03-011-1/+1
| | | | | | Searching for all is still a problem Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add icon for resource type and icons for folder/fileJulius Härtl2019-03-011-1/+12
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add link to resource providerJulius Härtl2019-03-011-1/+17
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>