summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #22844 from nextcloud/enh/richdocumentscode-armMorris Jobke2020-09-174-4/+38
|\ | | | | Support architecture limitations for apps and allow richdocumentscode_arm64 though htaccess
| * Allow to specify supported architectures in appinfo.xmlJulius Härtl2020-09-172-0/+28
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Add htaccess exception for richdocumentscode_arm64Julius Härtl2020-09-171-1/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * Install richdocumentscode depending on the architectureJulius Härtl2020-09-171-3/+9
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #22903 from ↵Morris Jobke2020-09-171-1/+1
|\ \ | | | | | | | | | | | | nextcloud/techdebt/16696/no-need-to-get-full-path-again Do not fetch the normalized full path again if it is already available
| * | Do not fetch the normalized full path again if it is already availableMorris Jobke2020-09-171-1/+1
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #22867 from nextcloud/shared-storage-init-lessRoeland Jago Douma2020-09-174-11/+73
|\ \ \ | |/ / |/| | Shared storage optimizations
| * | optimize View::getPath if we already know the storage idRobin Appelman2020-09-162-14/+18
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | disable update checking for shared storagesRobin Appelman2020-09-153-0/+58
| | | | | | | | | | | | | | | | | | update checking is already handled by the share source Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #22890 from ↵Roeland Jago Douma2020-09-171-1/+2
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/techdebt/18680/help-static-code-analysis-understand-code Help static code analysis to understand code
| * | | Help static code analysis to understand code.Daniel Kesselberg2020-09-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | It adds proper type hints to private namespace to allow private namespace methods. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | [tx-robot] updated from transifexNextcloud bot2020-09-172-2/+2
| | | |
* | | | Merge pull request #22888 from nextcloud/techdebt/18680/remove-unused-codeMorris Jobke2020-09-161-1/+0
|\ \ \ \ | | | | | | | | | | Remove not needed semicolon and PHPDoc hint
| * | | | Remove not needed semicolon and PHPDoc hintMorris Jobke2020-09-161-1/+0
| |/ / / | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Merge pull request #22884 from nextcloud/phpdoc/21873/define-deprecated-versionMorris Jobke2020-09-161-91/+92
|\ \ \ \ | |/ / / |/| | | Specific version for @deprecated PHPDoc
| * | | Specific version for @deprecated PHPDocMorris Jobke2020-09-161-91/+92
| | |/ | |/| | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / | Remove @suppress SqlInjectionCheckerMorris Jobke2020-09-1615-30/+0
|/ / | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | [tx-robot] updated from transifexNextcloud bot2020-09-152-2/+4
| |
* | It is very highly recommended to set an object for better filteringJoas Schilling2020-09-151-0/+2
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #22809 from nextcloud/bugfix/noid/remove-unneeded-isset-checkJoas Schilling2020-09-141-2/+2
|\ | | | | Remove unneeded isset check
| * Remove unneeded isset checkJoas Schilling2020-09-111-2/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix serializing indexed unified search array as objectChristoph Wurst2020-09-111-1/+2
|/ | | | | | | | | | We expect an array of results from the search provider. If the search provider returns an array with indexes, php will serialize it as object, not as array (to preserve the keys). The client doesn't need this info, so we should just discard it and take the values only to always render a JSON array. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #22234 from nextcloud/bugfix/noid/reshare-mountMorris Jobke2020-09-101-4/+12
|\ | | | | Use user mount with matching shared storage only
| * Use user mount with matching shared storage onlyJulius Härtl2020-08-131-4/+12
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #22774 from nextcloud/bugfix/noid/no-delay-without-ipMorris Jobke2020-09-101-0/+4
|\ \ | | | | | | Don't break when the IP is empty
| * | Don't break when the IP is emptyJoas Schilling2020-09-101-0/+4
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #22768 from ↵Morris Jobke2020-09-101-1/+1
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/fix/22288/change-0-to-null-for-bmp-encoding Change 0 to null to properly encode image to BMP if the first pixel is black
| * | | Change 0 to null to properly encode image to BMP if the first pixel is blackMorris Jobke2020-09-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Ref #22288 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Merge pull request #22739 from nextcloud/bugfix/16989Morris Jobke2020-09-101-0/+3
|\ \ \ \ | |_|/ / |/| | | Don't fail if copying a file of 0 byte size
| * | | Annotate that writeStream can throw a GenericFileExceptionJulius Härtl2020-09-101-0/+3
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Merge pull request #22552 from nextcloud/bugfix/noid/opendocument-templatesMorris Jobke2020-09-101-0/+15
|\ \ \ \ | | | | | | | | | | Add opendocument templates to mimetype mappings
| * | | | Update repair step apply new opendocument template mimesJulius Härtl2020-09-041-0/+15
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | Don't create a deprecation log in base.phpJoas Schilling2020-09-101-1/+1
| |/ / / |/| | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #22520 from nextcloud/normalize-path-invalid-utf8Roeland Jago Douma2020-09-091-1/+1
|\ \ \ \ | | | | | | | | | | dont use `false` as cache key for non utf8 path in normalizePath
| * | | | dont use `false` as cache key for non utf8 path in normalizePathRobin Appelman2020-08-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | since `json_encode` returns `false` if it's input isn't utf8, all non utf8 paths passed to normalizePath will currently return the same cached result. Fixing this makes working with non utf8 storages a *little* bit more possible for apps Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | Fix reading empty files from objectstorageRoeland Jago Douma2020-09-091-0/+5
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Since we try to do range requests this will fail hard. However since empty files are not that interesting to read anyways we just read from an emptry memory stream. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #22657 from nextcloud/bugfix/noid/quota-trash-creationMorris Jobke2020-09-091-2/+9
|\ \ \ \ | | | | | | | | | | Check if quota should be applied to path when creating directories
| * | | | Check if quota should be applied to path when creating directoriesJulius Härtl2020-09-081-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes an issue where the files_trashbin hierarchy of a user could not been created as the mkdir operations were blocked by the quota storage wrapper. Even with 0 quota, users should be able to have a trashbin for external storages. Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | Merge pull request #22636 from nextcloud/bugfix/noid/initial-stte-cspv3Joas Schilling2020-09-091-14/+15
|\ \ \ \ \ | | | | | | | | | | | | Make sure that getConfig is still called for browsers that do not support CSPv3
| * | | | | Make sure that getConfig is still called for browsers that do not support CSPv3Julius Härtl2020-09-071-14/+15
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | | Merge pull request #22729 from nextcloud/fix/object_storage_permissions_shortcutMorris Jobke2020-09-091-0/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | Run stat less often for objectstorages
| * | | | | | Run stat less often for objectstoragesRoeland Jago Douma2020-09-081-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When we want to get the permissions we now do stat at least 5 times for each entry. Which is a bit much. Especially since the permssions are all just in the database already. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | | | Merge pull request #22646 from nextcloud/bugfix/mimetype-mappingRoeland Jago Douma2020-09-081-1/+7
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fix detecting text/x-php mimetype and secure mimetype mapping
| * | | | | | | Properly add both mimetypes to secure mimetype mappingJulius Härtl2020-09-071-1/+7
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | | | Merge pull request #22641 from ↵Roeland Jago Douma2020-09-081-2/+7
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | nextcloud/fix/credentials-store-upgrade-property-undefined Fix undefined class property access after upgrade from 19 to 20
| * | | | | | Fix undefined class property access after upgrade from 19 to 20Christoph Wurst2020-09-071-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The serialized data in 19 has one property less and this was not considered in the code. Hence adding a fallback. Moreover I'm changing the deserialization into an array instead of object, as that is the safer option. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | | | Merge pull request #22643 from nextcloud/bugfix/noid/fix-installing-on-oracleMorris Jobke2020-09-071-0/+5
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Fix installing on Oracle
| * | | | | | | Warn about adding NotNull columns with nullable defaultJoas Schilling2020-09-071-0/+5
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | | | Merge pull request #22644 from nextcloud/fix/license-headers-20-2Morris Jobke2020-09-0710-1/+11
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | Update license headers for Nextcloud 20 (again)
| * | | | | | Update license headers for Nextcloud 20 (again)Christoph Wurst2020-09-0710-1/+11
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are still lots of outdated headers, so time for another round of updates. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>