summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #7849 from nextcloud/strict_securerandomMorris Jobke2018-01-142-5/+7
|\ | | | | Strict ISecure random
| * Fix testsRoeland Jago Douma2018-01-142-4/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Strict ISecure randomRoeland Jago Douma2018-01-132-5/+9
| | | | | | | | | | | | | | | | | | * Declare strict * Scalar arguments * Return type * Use fully qualified name for strlen Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #7845 from nextcloud/capabilties_manager_strictMorris Jobke2018-01-141-3/+5
|\ \ | | | | | | Make the capabilities manager strict
| * | Make the capabilities manager strictRoeland Jago Douma2018-01-131-3/+5
| |/ | | | | | | | | | | | | | | * Add return types * Add scalar type hints * Use [] instead of array_push (PHPStromg inspection recommendation) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #7839 from nextcloud/dep_dicontainerMorris Jobke2018-01-142-32/+2
|\ \ | | | | | | Remove deprecated functions from DI Container
| * | Remove deprecated functions from DI ContainerRoeland Jago Douma2018-01-132-32/+2
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #7844 from nextcloud/dep_constantsMorris Jobke2018-01-141-21/+0
|\ \ \ | | | | | | | | Remove deprecated constants
| * | | Remove deprecated constantsRoeland Jago Douma2018-01-131-21/+0
| | |/ | |/| | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #7834 from nextcloud/database-schema-checker-castsChristoph Wurst2018-01-141-15/+15
|\ \ \ | | | | | | | | Add casts to XML parser in DatabaseSchemaChecker
| * | | Add casts to XML parser in DatabaseSchemaCheckerMorris Jobke2018-01-121-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | Preparation for strict_typing for PHP7+. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Merge pull request #7843 from nextcloud/dep_utilMorris Jobke2018-01-141-26/+0
|\ \ \ \ | | | | | | | | | | Remove deprecated functions for OCP\Util
| * | | | Remove deprecated functions for OCP\UtilRoeland Jago Douma2018-01-131-26/+0
| | |_|/ | |/| | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #7842 from nextcloud/dep_isearchMorris Jobke2018-01-142-21/+0
|\ \ \ \ | |_|_|/ |/| | | Removed deprecated search function from ISearch
| * | | Removed deprecated search function from ISearchRoeland Jago Douma2018-01-132-21/+0
| |/ / | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #7825 from nextcloud/add-type-hinting-for-ICrypto-decryptRoeland Jago Douma2018-01-132-2/+2
|\ \ \ | |/ / |/| | Adds type hinting for scalar types in ICrypto->decrypt
| * | Adds type hinting for scalar types in ICrypto->decryptMorris Jobke2018-01-132-2/+2
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #7832 from nextcloud/update-composerMorris Jobke2018-01-132-10/+17
|\ \ \ | |/ / |/| | Update composer
| * | Update composerMorris Jobke2018-01-122-10/+17
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #7824 from nextcloud/fix-type-in-CryptoSessionDataMorris Jobke2018-01-131-1/+1
|\ \ | |/ |/| Fix type in CryptoSessionData
| * Fix type in CryptoSessionDataMorris Jobke2018-01-121-1/+1
| | | | | | | | | | | | Found while adding strict typing for PHP7+. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Check if realpath() returns falseMorris Jobke2018-01-121-1/+1
|/ | | | | | realpath() returns false in case the directory does not exist. Found it while preparing strict_typing for PHP7+. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #7819 from nextcloud/fix-explode-in-legacy-helper.phpMorris Jobke2018-01-121-2/+2
|\ | | | | Fix explode() call in legacy/helper.php to have correct types
| * Fix explode() call in legacy/helper.php to have correct typesMorris Jobke2018-01-121-2/+2
| | | | | | | | | | | | Found while enabling strict_typing for PHP7+. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #7815 from nextcloud/php7-and-higherMorris Jobke2018-01-121-4/+4
|\ \ | | | | | | Raise PHP version number to PHP 7.0
| * | Raise PHP version number to PHP 7.0Morris Jobke2018-01-121-4/+4
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #7816 from nextcloud/fix-strpos-for-current-appRoeland Jago Douma2018-01-121-1/+1
|\ \ | | | | | | Fix strpos if needle is not found
| * | Fix strpos if needle is not foundMorris Jobke2018-01-121-1/+1
| |/ | | | | | | | | | | Found while testing strict_typing for PHP 7+. If `$script` does not contain a `/` then it should extract a string of the length 0. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #7814 from nextcloud/base.php-strict-typingRoeland Jago Douma2018-01-121-6/+6
|\ \ | | | | | | Fix strict typing issues in lib/base.php
| * | Fix strict typing issues in lib/base.phpMorris Jobke2018-01-121-6/+6
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / Fix call to clearstatcache to actually use the file pathMorris Jobke2018-01-121-1/+1
|/ | | | | | | | * found while adding the strict_typing for PHP 7+ migration * first argument is a boolean - second one is the path * see http://php.net/manual/en/function.clearstatcache.php Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* [tx-robot] updated from transifexNextcloud bot2018-01-112-4/+4
|
* Merge pull request #7635 from Abijeet/bug-7106Roeland Jago Douma2018-01-101-0/+1
|\ | | | | Fixes password input being prompted every time.
| * Fixes password input being prompted every time.Abijeet2018-01-081-0/+1
| | | | | | | | | | | | | | | | | | Fixes #7106 - Echoing the current server time via a JS variable and storing the current time on page load in JS. - Calculating the diff and taking it into account when deciding whether to show the password confirmation. Signed-off-by: Abijeet <abijeetpatro@gmail.com>
* | Merge pull request #7763 from nextcloud/pos_fix_7751Morris Jobke2018-01-101-3/+3
|\ \ | | | | | | Do not instantiate node when not needed
| * | Do not instantiate node when not neededRoeland Jago Douma2018-01-091-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Use the lazy functions is possible. This avoids getting the node if not required. Possible fix for #7751 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Log a missing setting as INFO not as WARNINGRoeland Jago Douma2018-01-101-1/+2
|/ / | | | | | | | | | | | | | | It can happen for all kinds of reasons that a setting is not available. (A user removes a folder, a setting got deleted). So don't polute the log on default settings. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #7731 from nextcloud/preview_size_incJan-Christoph Borchardt2018-01-091-2/+2
|\ \ | | | | | | Max preview size to 4096x4096
| * | Max preview size to 4096x4096Roeland Jago Douma2018-01-081-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | With HiDPI screens. And even normal HD screens you want more detail from your pictures. Or the ability to somewhat zoom on you previews. For this we need somewhat larger previews. Moving the default to 4096x4096 is a step up. Users that want the old behavior can still set the values in config.php Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Only return 1 typeRoeland Jago Douma2018-01-072-7/+20
| | | | | | | | | | | | | | Throw proper exception if we can't get the mimetype for a preview. Catch it later on so we can just return a not found for the preview. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Don't lie about the preview mimetypeRoeland Jago Douma2018-01-073-7/+53
|/ | | | | | | | | | | | | | For legacy reasons we stored all the previews with a png extention. However we did not put png data in them all the time. This caused the preview endpoints to always report that a preview is a png file. Which was a lie. Since we abstract away from the storage etc in the previewmanager. There is no need anymore to store them as .png files and instead we can use the actual file extention. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* [tx-robot] updated from transifexNextcloud bot2018-01-064-12/+12
|
* Merge pull request #7712 from nextcloud/jsconfig_l10nMorris Jobke2018-01-051-1/+1
|\ | | | | Use correct L10N files for jsconfig
| * Use correct L10N files for jsconfigRoeland Jago Douma2018-01-051-1/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | [tx-robot] updated from transifexNextcloud bot2018-01-052-8/+72
| |
* | Merge pull request #7702 from nextcloud/composer_updMorris Jobke2018-01-043-19/+14
|\| | | | | Composer updated
| * Composer updatedRoeland Jago Douma2018-01-043-19/+14
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #7699 from ↵Morris Jobke2018-01-041-3/+36
|\ \ | |/ |/| | | | | nextcloud/bugfix/7528/drop-owncloud-migrations-table-and-recreate-it Drop the ownCloud migration table instead of reusing it
| * Drop the ownCloud migration table instead of reusing itJoas Schilling2018-01-041-3/+36
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #7570 from nextcloud/s3-legacy-authMorris Jobke2018-01-042-1/+220
|\ \ | | | | | | add option to use legacy v2 auth with s3