Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-04-01Get the parent directory before creating a file from a templateJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-09-01Do not expose direct editing if no master key is availableJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-04-10Format control structures, classes, methods and functionChristoph Wurst
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>
2020-04-09Fix (array) indent style to always use one tabChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-26Remove unused importsChristoph Wurst
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-14use `nodeExists` instead of catching exceptionsRobin Appelman
makes the intent of the code more clear imo Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-01-13CHeck if file already exists during file creationJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-16Return empty template for default creatorsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-28Adjust DirectEditing test to PHPUnit8Julius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-27Add mimetype to creatorsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-27Code style fixes and cleanupJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-27Direct editing token testsJulius Härtl
Signed-off-by: Julius Härtl <jus@bitgrid.net>