aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Request->getHeader() should always return a stringMorris Jobke2018-01-1710-16/+38
| | | | | | | | PHPDoc (of the public API) says that this method returns string but it also returns null, which is not allowed in some method calls. This fixes that behaviour and returns an empty string and fixes all code paths that explicitly checked for null to be still compliant. Found while enabling the strict_typing for lib/private for the PHP7+ migration. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #7897 from nextcloud/strict_lockingprovidersMorris Jobke2018-01-177-39/+45
|\ | | | | Made locking providers strict
| * Made locking providers strictRoeland Jago Douma2018-01-167-39/+45
| | | | | | | | | | | | | | | | * Added typehints * Added return types * Made strict Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #7900 from nextcloud/strict_securityMorris Jobke2018-01-176-20/+21
|\ \ | | | | | | Make OCP\Security stricter
| * | Make OCP\Security stricterRoeland Jago Douma2018-01-166-20/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add typehints * Add return types * Opcode opts from phpstorm * Made strict * Fixed tests: No need to test bogus values anymore strict typing fixes this Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #7901 from nextcloud/strict_cache_factoryRoeland Jago Douma2018-01-173-28/+33
|\ \ \ | | | | | | | | Made the cache factory strict
| * | | Made the cache factory strictRoeland Jago Douma2018-01-163-28/+33
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | * Return types * Typehints * made strict * fix tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #7884 from nextcloud/cleanup-oc_userMorris Jobke2018-01-1713-171/+42
|\ \ \ | | | | | | | | Cleanup OC_User and OCP\User
| * | | Cleanup OC_User and OCP\UserMorris Jobke2018-01-1613-171/+42
| | | | | | | | | | | | | | | | | | | | | | | | * mainly removes deprecated methods and old static code Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | [tx-robot] updated from transifexNextcloud bot2018-01-1722-0/+34
| | | |
* | | | Merge pull request #7894 from nextcloud/strict_http_clientMorris Jobke2018-01-166-30/+38
|\ \ \ \ | | | | | | | | | | Make OCP\Http strict
| * | | | Make OCP\Http strictRoeland Jago Douma2018-01-166-30/+38
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Handle private files * Add return types * Add scalar typehints * Made strict * Fixed requiring proper guzzle message interface that is passed around Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #7892 from nextcloud/cloudid_strictJulius Härtl2018-01-165-17/+39
|\ \ \ \ | | | | | | | | | | Make OCP\Federation strict
| * | | | Fix federatedshareprovidertestRoeland Jago Douma2018-01-161-0/+18
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | | Make OCP\Federation strictRoeland Jago Douma2018-01-164-17/+21
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Also internal classes * Added scalar typehints * Added return type * Made strict Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #7895 from nextcloud/proper-codcov-configRoeland Jago Douma2018-01-161-0/+3
|\ \ \ \ | |_|_|/ |/| | | Improve codecov config to recognize drone
| * | | Improve codecov config to recognize droneMorris Jobke2018-01-161-0/+3
| |/ / | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #7882 from nextcloud/search-andRoeland Jago Douma2018-01-162-3/+18
|\ \ \ | |/ / |/| | Support arbitrary number of arguments for d:or and d:and in search queries
| * | Support arbitrary number of arguments for d:or and d:and in search queriesRobin Appelman2018-01-162-3/+18
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #7891 from nextcloud/fix-systemtags-listMorris Jobke2018-01-161-1/+17
|\ \ \ | |_|/ |/| | Fix systemtags/list to be compliant
| * | Fix systemtags/list to be compliantMorris Jobke2018-01-161-1/+17
|/ / | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #7885 from nextcloud/ocp-user-app-code-checkJoas Schilling2018-01-161-0/+4
|\ \ | | | | | | Add OCP\User deprecations to app code checker
| * | Add OCP\User deprecations to app code checkerMorris Jobke2018-01-161-0/+4
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #7848 from nextcloud/fix_7701Morris Jobke2018-01-163-5/+36
|\ \ \ | | | | | | | | Show message when connection is throttled
| * | | Fix wordingRoeland Jago Douma2018-01-151-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | Fix testsRoeland Jago Douma2018-01-151-1/+18
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | | Display message when connection is throttled on logi pageRoeland Jago Douma2018-01-152-4/+18
| | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #7879 from ↵Morris Jobke2018-01-161-2/+2
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | nextcloud/bugfix/7865/dont-disable-shipped-apps-on-errors Keep all shipped apps enabled because they should be okay
| * | | Keep all shipped apps enabled because they should be okayJoas Schilling2018-01-161-2/+2
| | |/ | |/| | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #7877 from nextcloud/deprecated-ocp-userMorris Jobke2018-01-161-0/+4
|\ \ \ | |/ / |/| | Deprecated checkLoggedIn and other old ways to access control
| * | Deprecated checkLoggedIn and other old ways to access controlMorris Jobke2018-01-161-0/+4
|/ / | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / [tx-robot] updated from transifexNextcloud bot2018-01-1666-126/+134
|/
* Merge pull request #7870 from nextcloud/remove-core-apiMorris Jobke2018-01-157-338/+3
|\ | | | | Remove deprecated core API
| * Remove deprecated core APIJoas Schilling2018-01-157-338/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #7835 from nextcloud/fix-empty-overwrite-url-in-setupMorris Jobke2018-01-152-1/+4
|\ \ | |/ |/| Fix case when overwrite URL is empty during setup
| * Fix case when overwrite URL is empty during setupMorris Jobke2018-01-152-1/+4
| | | | | | | | | | | | Found while testing strict typing for PHP 7+. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #7854 from nextcloud/comradekingu-patch-1Morris Jobke2018-01-152-3/+3
|\ \ | | | | | | Spelling: FreeType
| * | Spelling: FreeTypeAllan Nordhøy2018-01-141-2/+2
| | |
| * | Spelling: FreeTypeAllan Nordhøy2018-01-141-1/+1
| | |
* | | Merge pull request #7859 from nextcloud/master-7806Joas Schilling2018-01-152-1/+135
|\ \ \ | | | | | | | | Fix bug with proxies
| * | | Add unit testJoas Schilling2018-01-151-0/+123
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Fix bug with proxiesMario Danic2018-01-151-1/+12
| | | | | | | | | | | | | | | | Signed-off-by: Mario Danic <mario@lovelyhq.com>
* | | | Merge pull request #7853 from nextcloud/strict_urlgeneratorRoeland Jago Douma2018-01-153-34/+27
|\ \ \ \ | | | | | | | | | | Make the URLGenerator strict
| * | | | Make the URLGenerator strictRoeland Jago Douma2018-01-143-34/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add scalar argument types * Add return types * Make strict * General phpstorm cleanup Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | Merge pull request #7838 from nextcloud/timefactory_strictRoeland Jago Douma2018-01-152-4/+4
|\ \ \ \ \ | | | | | | | | | | | | Make the ITimeFactory strict + return types
| * | | | | Make the ITimeFactory strict + return typesRoeland Jago Douma2018-01-142-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | | [tx-robot] updated from transifexNextcloud bot2018-01-1520-10/+78
| |_|/ / / |/| | | |
* | | | | Merge pull request #7857 from nextcloud/dep_templateMorris Jobke2018-01-152-114/+1
|\ \ \ \ \ | | | | | | | | | | | | Remove deprecated template functions from OCP directly
| * | | | | Remove deprecated template functions from OCP directlyRoeland Jago Douma2018-01-142-114/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | | Merge pull request #7856 from nextcloud/fix-strict-typeMorris Jobke2018-01-141-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Move strict type declare statement below PHP tag