- Jan 27, 2015
-
-
Vincent Petry authored
Can happen when trying to instantiate external storages that have incomplete config, where the constructor throws an exception (the exception is caught in createStorage())
-
- Jan 26, 2015
-
-
Bernhard Posselt authored
-
- Jan 19, 2015
-
-
Thomas Müller authored
-
- Jan 15, 2015
-
-
Robin Appelman authored
-
- Jan 13, 2015
-
-
Morris Jobke authored
-
Lukas Reschke authored
-
Robin Appelman authored
-
Morris Jobke authored
-
Lukas Reschke authored
It's better to encode the string to prevent possible (yet unknown) bugs in combination with PHP's type juggling. Previously the boolean statements evaluated to either an empty string (false) or a not empty one (true, then it was 1). Not it always evaluates to false or true. This also removes a stray - that was not intended there but shouldn't have produced any bugs. Just to increase readability. Thanks @nickvergessen for spotting. Addresses https://github.com/owncloud/core/pull/13235/files#r22852319
-
Morris Jobke authored
-
- Jan 12, 2015
-
-
Vincent Petry authored
The internal path was matched without the last "/" which caused "files_trashbin" to also match when the internal path was "files". This adds the missing slash for the comparison.
-
- Jan 10, 2015
-
-
Lukas Reschke authored
Isset is a native language construct and thus A LOT faster than using strlen() On my local machine this leads to a 1s performance gain for about 1 million paths. Considering that this function will be called a lot for every file operation this makes a noticable difference.
-
Lukas Reschke authored
`normalizePath` is a rather expensive operation and called multiple times for a single path for every file related operation. In my development installation with about 9GB of data and 60k files this leads to a performance boost of 24% - in seconds that are 1.86s (!) - for simple searches. With more files the impact will be even more noticeable. Obviously this affects every operation that has in any regard something to do with using OC\Files\Filesystem. Part of https://github.com/owncloud/core/issues/13221
-
- Jan 09, 2015
-
-
Lukas Reschke authored
The check for invalid paths is actually over-complicated and performed twice resulting in a performance penalty. Additionally, I decided to add unit-tests to that function. Part of https://github.com/owncloud/core/issues/13221
-
Vincent Petry authored
-
- Jan 08, 2015
-
-
Vincent Petry authored
-
- Jan 06, 2015
-
-
Chris Wilson authored
I was getting a lot of these in my logs for no apparent reason, and file uploads were failing: {"app":"webdav","message":"Sabre\\DAV\\Exception\\ServiceUnavailable: ","level":4,"time":"2015-01-06T15:33:39+00:00"} In order to debug it, I had to add unique messages to all the places where this exception was thrown, to identify which one it was, and that made the logs much more useful: {"app":"webdav","message":"Sabre\\DAV\\Exception\\ServiceUnavailable: Encryption is disabled","level":4,"time":"2015-01-06T15:36:47+00:00"}
-
- Jan 02, 2015
-
-
Jörn Friedrich Dreyer authored
-
- Dec 28, 2014
-
-
Thomas Müller authored
-
Thomas Müller authored
-
- Dec 21, 2014
-
-
Bernhard Posselt authored
fix comments and newline add newline
-
- Dec 17, 2014
-
-
Robin Appelman authored
-
Robin Appelman authored
-
Robin Appelman authored
-
- Dec 15, 2014
-
-
Vincent Petry authored
-
- Dec 12, 2014
-
-
Robin McCorkell authored
Tooltip contains 'Unable to determine date'. Fixes #6395
-
Vincent Petry authored
-
Vincent Petry authored
$userId is now a mandatory parameter for searchByTags. Also fixed some places in the code where the argument was missing (Node API and View)
-
- Dec 11, 2014
-
-
Vincent Petry authored
-
- Dec 10, 2014
-
-
Vincent Petry authored
-
Jörn Friedrich Dreyer authored
-
- Dec 08, 2014
-
-
Jörn Friedrich Dreyer authored
-
- Dec 04, 2014
-
-
Robin Appelman authored
-
Jörn Friedrich Dreyer authored
-
Robin Appelman authored
-
- Dec 03, 2014
-
-
Vincent Petry authored
In some cases a "NotFound" might be expected, so just return false as before. But for other exceptions, the exception is now logged.
-
- Dec 02, 2014
-
-
Robin Appelman authored
-
Robin Appelman authored
-
- Nov 27, 2014
-
-
Robin Appelman authored
-
Robin Appelman authored
-