aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | Unify the code a bitJoas Schilling2020-03-101-16/+36
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Use contacts name on federated activitiesJoas Schilling2020-03-101-11/+35
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Combine move activities as wellJoas Schilling2020-03-101-1/+5
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Do not allow transfer ownership when the user isn't the ownerChristoph Wurst2020-03-031-0/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Make sure that the transfer entry is present in the databaseJulius Härtl2020-02-241-5/+13
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #19412 from nextcloud/fix/19404/make-favorite-publicChristoph Wurst2020-02-211-3/+2
|\ | | | | Make TAG_FAVORITE public
| * Make TAG_FAVORITE publicDaniel Kesselberg2020-02-121-3/+2
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Fix event typeJoas Schilling2020-02-061-1/+1
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Allow specifying this is the first loginRoeland Jago Douma2020-02-031-2/+9
| | | | | | | On firstlogin we allow non empty target folders. So that for guest transfers the user sees the same UI. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Catch \Error in Transfer::restoreSharesTobia De Koninck2020-02-031-1/+1
| | | | | | | | | This makes the command more fault tolerant. An \Error can happen when e.g. the owner of a share is null. If we don't catch this, the restore process will stop in an unknown state. Signed-off-by: Tobia De Koninck <LEDfan@users.noreply.github.com>
* Prevent transferring data to user which never loggedinTobia De Koninck2020-02-031-1/+1
| | | | Signed-off-by: Tobia De Koninck <LEDfan@users.noreply.github.com>
* Add option to transfer-ownership to move dataTobia De Koninck2020-02-032-5/+24
| | | | | | | | This will move the home folder of own user to another user. Only allowed if that other user's home folder is empty. Can be used as workaround to rename users. Signed-off-by: Tobia De Koninck <LEDfan@users.noreply.github.com>
* Fix Sidebar legacy FileInfoModel requirementJohn Molakvoæ (skjnldsv)2020-01-161-0/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix webdav urlJohn Molakvoæ (skjnldsv)2020-01-101-0/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #18478 from nextcloud/fix/direct-editing-invalid-editor-idRoeland Jago Douma2019-12-221-3/+3
|\ | | | | Do not generate tokens for editor IDs that do not exist
| * Expose exception message in the responseJulius Härtl2019-12-201-3/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Update license headers for 18Christoph Wurst2019-12-2010-0/+12
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* added line breaks to incoming transfer notificationSascha Wiswedel2019-12-171-2/+2
| | | | | | wrapped notifications into double quotes to make line breaks possible Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
* added patience note for shareeSascha Wiswedel2019-12-171-2/+2
| | | | | | | | note about incoming transfer taken out by background job resolves #18272 Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
* transfer ownership dialog word choiceSascha Wiswedel2019-12-171-1/+1
| | | | | | | Use Reject instead of Decline Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
* notification polishingSascha Wiswedel2019-12-171-18/+18
| | | | Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
* Transfer ownership function polishingSascha Wiswedel2019-12-171-6/+6
| | | | Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
* Merge pull request #18359 from ↵blizzz2019-12-131-2/+49
|\ | | | | | | | | nextcloud/fix/18271/dismiss_transfer_ownership_notification Dismiss transferownership notification cancels transfer
| * Dismiss transferownership notification cancels transferRoeland Jago Douma2019-12-111-2/+49
| | | | | | | | | | | | Fixes #18271 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Add typed events for the filesystem/scannerChristoph Wurst2019-12-133-22/+17
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #18224 from nextcloud/bugfix/noid/direct-editing-pathRoeland Jago Douma2019-12-111-2/+2
|\ | | | | Use file path for direct editing
| * 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