summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* fix credentialsManager documentation and ensure userId to be used as stringArthur Schiwon2020-04-152-9/+9
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #19540 from jlutran/fixKeystoneV3AuthMorris Jobke2020-04-151-0/+4
|\ | | | | Fix issues with Keystone auth v3 in files_external app
| * Fix issues with Keystone auth v3 in files_external appJulien Lutran2020-04-151-0/+4
| | | | | | | | Signed-off-by: Julien Lutran <julien.lutran@corp.ovh.com>
* | Merge pull request #20050 from nextcloud/bugfix/noid/mysql-equal-trims-shockMorris Jobke2020-04-152-1/+9
|\ \ | | | | | | Make sure MySQL is not saying 'this' = 'this ' is true
| * | Make sure MySQL is not saying 'this' = 'this ' is trueJoas Schilling2020-04-152-1/+9
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #20138 from ↵Joas Schilling2020-04-156-10/+98
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/make-remote-checking-more-generic Make remote checking more generic
| * | | Check all remotes for local accessJoas Schilling2020-04-146-10/+98
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #20361 from nextcloud/write-stream-close-on-exceptionChristoph Wurst2020-04-151-3/+6
|\ \ \ \ | |_|_|/ |/| | | Close the streams in `writeStream` even when there is an exception
| * | | Close the streams in `writeStream` even when there is an exceptionRobin Appelman2020-04-081-3/+6
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #19351 from nextcloud/dav-upload-hashRoeland Jago Douma2020-04-153-0/+74
|\ \ \ \ | |_|_|/ |/| | | Return hashes of uploaded content for dav uploads
| * | | Return hashes of uploaded content for dav uploadsRobin Appelman2020-04-133-0/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hashes are set in "X-Hash-MD5", "X-Hash-SHA1" and "X-Hash-SHA256" headers. these headers are set for file uploads and the MOVE request at the end of a multipart upload. Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #19936 from ↵Joas Schilling2020-04-141-2/+6
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/bugfix/noid/handle-unset-owner-in-sharing Handle unset owner in sharing
| * | | | Handle unset owner in sharingJoas Schilling2020-03-131-2/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Merge pull request #20181 from nextcloud/bugfix/noid/dont-break-on-path-nullJoas Schilling2020-04-141-1/+1
|\ \ \ \ \ | |_|_|_|/ |/| | | | Also bail out when the path is actually null
| * | | | Also bail out when the path is actually nullJoas Schilling2020-03-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apparently this can happen when a external mount was shared that is later not available anymore Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | [tx-robot] updated from transifexNextcloud bot2020-04-142-0/+2
| |_|/ / |/| | |
* | | | [tx-robot] updated from transifexNextcloud bot2020-04-132-6/+6
| | | |
* | | | Merge pull request #20426 from nextcloud/techdebt/psr2John Molakvoæ2020-04-11134-541/+550
|\ \ \ \ | | | | | | | | | | It is done
| * | | | Format code according to PSR2Christoph Wurst2020-04-108-5/+15
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | | Add visibility to all constantsChristoph Wurst2020-04-10101-411/+411
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | | Add visibility to all methods and position of static keywordChristoph Wurst2020-04-1028-109/+109
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | | Add visibility to all properties and move static keywordChristoph Wurst2020-04-107-16/+15
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | [tx-robot] updated from transifexNextcloud bot2020-04-118-4/+22
|/ / / /
* | | | Merge pull request #20422 from ↵Christoph Wurst2020-04-10585-1662/+1005
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/techdebt/format-control-structs-classes-methods Format control structures, classes, methods and function
| * | | | Format control structures, classes, methods and functionChristoph Wurst2020-04-10585-1662/+1005
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | Merge pull request #19495 from nextcloud/preview-generate-batchRoeland Jago Douma2020-04-105-62/+248
|\ \ \ \ \ | |/ / / / |/| | | | optimize batch generation of previews
| * | | | fix preview generation testsRobin Appelman2020-04-101-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | optimize batch generation of previewsRobin Appelman2020-04-093-15/+144
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | by allowing the generation of multiple previews at once we save on having to find, open and decode the max-preview for every preview of the same file the main use case for this is the preview generator app (pr for that comming next) in my local testing this saves about 25% of time when using the preview generator app Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | | allow generating multiple preview sizes for a single file at onceRobin Appelman2020-04-093-47/+104
| | |_|/ | |/| | | | | | | | | | | | | | | | | | this saves having to do some of the overhead multiple times Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Use elseif instead of else ifChristoph Wurst2020-04-1082-217/+217
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Merge pull request #20385 from nextcloud/skeeable-http-hardenRoeland Jago Douma2020-04-101-3/+13
|\ \ \ \ | | | | | | | | | | harden seekable http stream a bit against failures
| * | | | harden seekable http stream a bit against failuresRobin Appelman2020-04-091-3/+13
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | [tx-robot] updated from transifexNextcloud bot2020-04-102-0/+4
| | | | |
* | | | | Merge pull request #20391 from nextcloud/refactor/spaces-cleanupChristoph Wurst2020-04-0951-149/+149
|\ \ \ \ \ | | | | | | | | | | | | Remove all extra whitespace PSR2 does not like
| * | | | | Remove space between switch case and colonChristoph Wurst2020-04-092-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | | | Make sure there is exactly one newline after importsChristoph Wurst2020-04-091-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | | | Make sure every file ends with an empty newlineChristoph Wurst2020-04-091-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | | | Remove trailing whitespaces from commentsChristoph Wurst2020-04-0912-24/+24
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | | | Remove trailing and in between spacesChristoph Wurst2020-04-0933-111/+111
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | | | Remove spaces after method or function callChristoph Wurst2020-04-095-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | | Merge pull request #20384 from nextcloud/techdebt/lowercase-keywordsChristoph Wurst2020-04-097-7/+7
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Use php keywords in lowercase
| * | | | | Use php keywords in lowercaseChristoph Wurst2020-04-097-7/+7
| |/ / / / | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / / / / Unify function spacing to PSR2 recommendationChristoph Wurst2020-04-0982-220/+220
|/ / / / | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Use a blank line after the opening tagChristoph Wurst2020-04-098-0/+8
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Use exactly one empty line after the namespace declarationChristoph Wurst2020-04-09131-104/+27
| | | | | | | | | | | | | | | | | | | | | | | | For PSR2 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | Fix (array) indent style to always use one tabChristoph Wurst2020-04-0928-164/+164
| | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | [tx-robot] updated from transifexNextcloud bot2020-04-092-0/+4
| | | |
* | | | Merge pull request #16035 from nextcloud/share-search-hide-on-matchblizzz2020-04-092-8/+28
|\ \ \ \ | | | | | | | | | | dont show remote and email options if we have an exact match for local user email
| * | | | dont show remote and email options if we have an exact match for local user ↵Robin Appelman2020-04-082-8/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | email Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | Fix multiline commentsChristoph Wurst2020-04-0828-339/+331
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>