summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Removed deprecated search function from ISearchRoeland Jago Douma2018-01-132-21/+0
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* 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
| * | add option to use legacy v2 auth with s3Robin Appelman2017-12-192-1/+220
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | [tx-robot] updated from transifexNextcloud bot2018-01-0494-110/+640
| | |
* | | Merge pull request #7611 from nextcloud/fix-7445Morris Jobke2018-01-031-10/+0
|\ \ \ | | | | | | | | Don't attempt to translate login names to uids when uids are provided
| * | | never translate login names when requiring with a user idArthur Schiwon2018-01-031-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | where appropriate, the preLoginNameUsedAsUserName hook should be thrown. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | Invert app icons on IE11 as wellJulius Härtl2018-01-031-0/+9
|/ / / | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Move passwordconfirmation to its own midlewareRoeland Jago Douma2018-01-025-31/+98
| | | | | | | | | | | | | | | | | | Add tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | disable password confirmation with SSOBjoern Schiessle2018-01-023-3/+21
| | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | Merge pull request #7660 from nextcloud/fix-7646Morris Jobke2018-01-021-1/+2
|\ \ \ | | | | | | | | Also log exception for failed appstore request
| * | | Also log exception for failed appstore requestMorris Jobke2018-01-021-1/+2
| | |/ | |/| | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #7631 from nextcloud/fix-scss-webroot-and-url-rewriteMorris Jobke2018-01-022-11/+24
|\ \ \ | |/ / |/| | Fix scss webroot and url rewrite
| * | Fixed testsJohn Molakvoæ (skjnldsv)2017-12-301-1/+1
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Added tests for various installations typesJohn Molakvoæ (skjnldsv)2017-12-301-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - With root installation - Core css - App inside server root - Secondary apps directory outside server root - With an installation in a sub directory - Core css - App inside server root - Secondary apps directory outside server root Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Fixup! getWebdir returnJohn Molakvoæ (skjnldsv)2017-12-301-6/+2
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Use OC_Util function for app web pathJohn Molakvoæ (skjnldsv)2017-12-301-11/+14
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | getWebDir functionJohn Molakvoæ (skjnldsv)2017-12-301-15/+19
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Fixed webroot for scss filesJohn Molakvoæ (skjnldsv)2017-12-302-9/+11
| | | | | | | | | | | | | | | | | | Fixed tests Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>