summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Command
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "[stable26] handle not being able to write file for notify ↵John Molakvoæ2023-04-141-1/+4
| | | | self-test""
* Revert "[stable26] handle not being able to write file for notify self-test"John Molakvoæ2023-04-131-4/+1
|
* handle not being able to write file for notify self-testRobin Appelman2023-04-131-1/+4
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Attempt at reducing psalm errorsCôme Chilliet2023-01-201-4/+7
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Additional type hinting found by psalmCarl Schwan2022-10-181-4/+5
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Add more typing to FilesExternal commandsCarl Schwan2022-10-1711-139/+52
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Specify that userId can be nullCarl Schwan2022-10-161-1/+1
| | | | | | | This fixes a psalm false-positive where the method is called with null, since the method actually handle this correctly already Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Fix return value of updateParentCarl Schwan2022-10-161-8/+3
| | | | | | | Port to executeStatement to guarantee that we will return an int and remove a deprecated method call at the same time Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Port away from removed IDBConnection->isConnected methodCarl Schwan2022-10-161-6/+4
| | | | | | | Instead track if the reconnection was successful with return value of connect method Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* fix some typesRobin Appelman2021-06-162-2/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-0411-12/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* add dry-run option to files_external:notifyRobin Appelman2021-03-241-32/+52
| | | | | | and add some additional logging Signed-off-by: Robin Appelman <robin@icewind.nl>
* Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-182-2/+2
| | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #23021 from nextcloud/notify-saved-login-authblizzz2020-10-131-14/+56
|\ | | | | allow using saved login credentials for notify
| * also give storage backend it's change to manipulate the configRobin Appelman2020-10-071-0/+9
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * allow using saved login credentials for notifyRobin Appelman2020-09-231-14/+47
| | | | | | | | | | | | when only the user is provided, we use to provided user to try and get saved login credentials Signed-off-by: Robin Appelman <robin@icewind.nl>
* | add option to disable notify self checkRobin Appelman2020-09-231-1/+10
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-246-1/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix some MissingDocblockType or InvalidDocblock warnings.Daniel Kesselberg2020-08-141-4/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Move OC_Mount_Config to proper classname and remove OC::$CLASSPATH usage in ↵Morris Jobke2020-07-101-1/+1
| | | | | | files_external Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Also always return in app commandsJoas Schilling2020-06-2610-11/+19
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headers for 19Christoph Wurst2020-04-299-0/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all constantsChristoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add visibility to all methods and position of static keywordChristoph Wurst2020-04-109-9/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+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>
* Use elseif instead of else ifChristoph Wurst2020-04-102-8/+8
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-091-5/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix multiline commentsChristoph Wurst2020-04-081-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-0511-11/+11
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use two queries to mark parent as outdatedAri Selseng2019-03-181-15/+40
| | | | Signed-off-by: Ari Selseng <ari@selseng.net>
* Correct log attributeAri Selseng2019-03-041-1/+1
| | | | Signed-off-by: Ari Selseng <ari@selseng.net>
* Added logging to Notify command.Ari Selseng2019-03-041-2/+9
| | | | Signed-off-by: Ari Selseng <ari@selseng.net>
* Reconnect to DB after timeout for Notify command. Fixes #14479Ari Selseng2019-03-031-10/+48
| | | | Signed-off-by: Ari Selseng <ari@selseng.net>
* Fix a bug with smb notify having leading slash when it should notAri Selseng2019-03-011-1/+1
| | | | Signed-off-by: Ari Selseng <ari@selseng.net>
* Fix cannot set 0 as value on files_external through OCC commandRobin Appelman2018-11-271-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* allow setting notify credentials in environmentRobin Appelman2018-06-071-0/+8
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Make it possible to make external storages read onlyRoeland Jago Douma2018-05-011-1/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-067-0/+7
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix comparisons in the files external appJoas Schilling2017-08-011-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* [files_external] fix commandsRoeland Jago Douma2017-08-016-13/+13
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* reviewedArdinis2017-04-201-0/+7
|
* Remove json handling for files_external:configArdinis2017-04-141-7/+0
| | | #4347
* fix self test for non leading slashRobin Appelman2017-02-101-2/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Make the notify self test for subfolders more reliableRobin Appelman2017-02-101-1/+6
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* add notify self testRobin Appelman2017-01-271-1/+36
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* switch occ files_external:notify to new notify mechanismRobin Appelman2017-01-271-10/+12
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Cleanup files_external command importsRoeland Jago Douma2016-09-063-14/+0
|
* Update with robinJoas Schilling2016-07-2111-11/+11
|
* Fix apps/Joas Schilling2016-07-2111-18/+30
|
* add files_external:notify commandRobin Appelman2016-07-141-0/+173
|