summaryrefslogtreecommitdiffstats
path: root/lib/private/DirectEditing/Manager.php
Commit message (Collapse)AuthorAgeFilesLines
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-3/+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 the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unused importsChristoph Wurst2020-03-251-2/+0
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* use `nodeExists` instead of catching exceptionsRobin Appelman2020-01-141-3/+2
| | | | | | makes the intent of the code more clear imo Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #18805 from nextcloud/bugfix/direct-edit-createRoeland Jago Douma2020-01-141-7/+13
|\ | | | | Check if file already exists during file creation
| * CHeck if file already exists during file creationJulius Härtl2020-01-131-7/+13
| | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Fix license headersChristoph Wurst2020-01-131-0/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Do not generate tokens for editor IDs that do not existChristoph Wurst2019-12-191-0/+5
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Return empty template for default creatorsJulius Härtl2019-12-161-3/+25
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #18224 from nextcloud/bugfix/noid/direct-editing-pathRoeland Jago Douma2019-12-111-11/+23
|\ | | | | Use file path for direct editing
| * Use file path for direct editingJulius Härtl2019-12-051-11/+23
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Update license headersChristoph Wurst2019-12-051-1/+2
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Code style fixes and cleanupJulius Härtl2019-11-271-4/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move editor list to capabilitiesJulius Härtl2019-11-271-2/+7
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* encapsulate templatestobiasKaminsky2019-11-271-1/+3
| | | | Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
* Direct editing API to allow file editing using a one-time token forJulius Härtl2019-11-271-0/+232
mobile apps Signed-off-by: Julius Härtl <jus@bitgrid.net>