aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/Command
Commit message (Collapse)AuthorAgeFilesLines
* feat: remove share status from share:list as it doesn't seem to contain ↵share-list-cmdRobin Appelman2025-03-281-19/+0
| | | | | | usefull info at the moment Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: add command to list sharesRobin Appelman2025-03-281-17/+72
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat: add getParentId to ICacheEntryRobin Appelman2025-03-281-0/+125
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix(files_sharing): skip expiration notify for invalid share recordfix-sharing-expiration-notifyLuka Trovic2025-03-171-1/+4
| | | | Signed-off-by: Luka Trovic <luka@nextcloud.com>
* fix(sharing): add command to fix broken shares after ownership transferringbugfix/error-on-reshare-after-transfer-ownershipLuka Trovic2024-11-181-0/+65
| | | | Signed-off-by: Luka Trovic <luka@nextcloud.com>
* refactor(apps): Use constructor property promotion when possibleprovokateurin2024-10-213-35/+13
| | | | Signed-off-by: provokateurin <kate@provokateurin.de>
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-3/+3
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Add SPDX headerAndy Scherzinger2024-06-063-59/+7
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-232-6/+5
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* fix(tests): Specify all positional parameters again to fix testsJoas Schilling2023-08-231-8/+12
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* add command do delete orphan sharesRobin Appelman2023-07-051-0/+96
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-042-3/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix valid storages removed when cleaning remote storagesDaniel Calviño Sánchez2021-01-281-3/+13
| | | | | | | | | | | | | | | | | | The remote URL of a share is always stored in the database with a trailing slash. However, when a cloud ID is generated trailing slashes are removed. The ID of a remote storage is generated from the cloud ID, but the "cleanup-remote-storage" command directly used the remote URL stored in the database. Due to this, even if the remote storage was valid, its ID did not match the ID of the remote share generated by the command and ended being removed. Now the command generates the ID of remote shares using the cloud ID instead, just like done by the remote storage, so there is no longer a mismatch. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-081-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Also always return in app commandsJoas Schilling2020-06-262-2/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-102-5/+0
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-052-2/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add notification for shares about to expireRoeland Jago Douma2019-11-011-0/+98
| | | | | | | Introduces a new command that will create notifications for users if they have shares that will expire the next day. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use the defined func()->count() instead of manual countingJoas Schilling2018-11-081-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Properly escape column name in "createFunction" callMorris Jobke2018-10-161-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Update license headersMorris Jobke2017-11-061-1/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Some app fixes of phpstorm inspectionsRoeland Jago Douma2017-07-241-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Safer queriesJoas Schilling2017-03-171-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Better outputJoas Schilling2017-03-171-10/+13
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add CleanupRemoteStorages commandJörn Friedrich Dreyer2017-03-171-0/+177
cleanup files, address review Fix CleanupRemoteStoragesTest tests Fix test expectation. Added files count to check filecache deletion. Sort by numeric id for deterministic test results Removed precise order test and added storage check Remove inaccurate removal message check which has a different order on Oracle. Added more checks to confirm that existing storages still exist. Signed-off-by: Morris Jobke <hey@morrisjobke.de>