summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #8078 from nextcloud/theming-validate-scssMorris Jobke2018-01-291-4/+14
|\ | | | | SCSS hardening
| * Add tests for URL rewritingJulius Härtl2018-01-261-4/+14
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Update testsRoeland Jago Douma2018-01-291-8/+20
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #7916 from nextcloud/2fa_logMorris Jobke2018-01-253-4/+13
|\ | | | | Add 2FA to logfile
| * Add testsRoeland Jago Douma2018-01-252-0/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Fix testsRoeland Jago Douma2018-01-251-4/+11
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #8036 from nextcloud/phpunit6Roeland Jago Douma2018-01-2539-131/+115
|\ \ | |/ |/| Require PHPUnit 6.5 or higher
| * Class "ProgressBar" is declared "final" and cannot be mocked.Joas Schilling2018-01-251-2/+5
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Fix risky tests without assertionsJoas Schilling2018-01-2524-30/+59
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Fix "Undefined method setExpectedException()"Joas Schilling2018-01-2413-42/+37
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Require PHPUnit 6.5 or higherJoas Schilling2018-01-244-57/+14
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #8002 from nextcloud/dont_polutelog_dav_emailloginMorris Jobke2018-01-241-45/+50
|\ \ | | | | | | Dont polute the log on DAV emaillogin
| * | Fix testsRoeland Jago Douma2018-01-231-45/+50
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Properly catch InvalidTokenException for better error responseMorris Jobke2018-01-241-0/+40
| |/ |/| | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #7918 from nextcloud/properly-log-exceptionsRoeland Jago Douma2018-01-232-5/+3
|\ \ | |/ |/| Properly log the full exception instead of only the message
| * Properly log the full exception instead of only the messageMorris Jobke2018-01-232-5/+3
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Remove old repair steps that aren't executed anymoreMorris Jobke2018-01-224-701/+0
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Remove not needed 3rdparty app disabling during upgrade for PHP 5.xMorris Jobke2018-01-192-8/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #7911 from nextcloud/improve-oc_imageJulius Härtl2018-01-182-48/+91
|\ | | | | Improve OC_Image code to not guess the type of input
| * Improve OC_Image code to not guess the type of input, but actually request ↵Morris Jobke2018-01-182-48/+91
| | | | | | | | | | | | | | | | the specific methods to be called Followup to #7836 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Remove IAppConfig::setValueRoeland Jago Douma2018-01-171-2/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Remove IAppConfig::getValueRoeland Jago Douma2018-01-174-12/+13
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #7914 from nextcloud/fix-7254Roeland Jago Douma2018-01-172-2/+54
|\ \ | | | | | | format self-mentions, but don't offer them
| * | do not offer the handle of the current user for auto completionArthur Schiwon2018-01-171-0/+47
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | comments should compile mentions also if done by authorArthur Schiwon2018-01-171-2/+7
| |/ | | | | | | | | | | | | | | it is used by clients for formatting reasons, there is no reason not format the author if her handle is included in the comment body. It is unrelated to sending out notifications. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #7909 from nextcloud/fix-migration-type-hintsMorris Jobke2018-01-171-2/+0
|\ \ | | | | | | Fix the type hints of migrations and correctly inject the wrapped sch…
| * | Fix the type hints of migrations and correctly inject the wrapped schema ↵Joas Schilling2018-01-171-2/+0
| | | | | | | | | | | | | | | | | | into migrations Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #7847 from nextcloud/avatarmanager_strictRoeland Jago Douma2018-01-171-2/+3
|\ \ \ | |_|/ |/| | Fixes for avatarmanager
| * | Use \OC\User\Manager internally in the avatarmanagerRoeland Jago Douma2018-01-141-2/+3
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Request->getHeader() should always return a stringMorris Jobke2018-01-172-4/+24
| |/ |/| | | | | | | | | | | | | 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 #7900 from nextcloud/strict_securityMorris Jobke2018-01-171-4/+0
|\ \ | | | | | | Make OCP\Security stricter
| * | Make OCP\Security stricterRoeland Jago Douma2018-01-161-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-171-4/+5
|\ \ \ | | | | | | | | Made the cache factory strict
| * | | Made the cache factory strictRoeland Jago Douma2018-01-161-4/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | * 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-173-57/+2
|\ \ \ | |/ / |/| | Cleanup OC_User and OCP\User
| * | Cleanup OC_User and OCP\UserMorris Jobke2018-01-163-57/+2
| | | | | | | | | | | | | | | | | | * mainly removes deprecated methods and old static code Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #7882 from nextcloud/search-andRoeland Jago Douma2018-01-161-1/+6
|\ \ \ | |/ / |/| | 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-161-1/+6
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Fix testsRoeland Jago Douma2018-01-151-1/+18
|/ / | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Remove deprecated core APIJoas Schilling2018-01-152-24/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #7859 from nextcloud/master-7806Joas Schilling2018-01-151-0/+123
|\ \ | | | | | | Fix bug with proxies
| * | Add unit testJoas Schilling2018-01-151-0/+123
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #7853 from nextcloud/strict_urlgeneratorRoeland Jago Douma2018-01-151-0/+2
|\ \ \ | |/ / |/| | Make the URLGenerator strict
| * | Make the URLGenerator strictRoeland Jago Douma2018-01-141-0/+2
| |/ | | | | | | | | | | | | | | | | * Add scalar argument types * Add return types * Make strict * General phpstorm cleanup Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #7840 from nextcloud/dep_configRoeland Jago Douma2018-01-142-40/+2
|\ \ | |/ |/| Remove deprecated \OCP\Config
| * Remove deprecated \OCP\ConfigRoeland Jago Douma2018-01-132-40/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Make OC\Security\RateLimiting strictRoeland Jago Douma2018-01-141-2/+2
| | | | | | | | | | | | | | | | | | * Add return types * Add scalar argument types * Made strict * Cleaned up phpstorm inspections Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Fix testsRoeland Jago Douma2018-01-131-2/+2
|/ | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #7650 from rpirritano/masterMorris Jobke2018-01-111-1/+1
|\ | | | | made small changes to login screen
| * made small changes to login screenRobert Pirritano2018-01-111-1/+1
| | | | | | | | | | | | added height back 70px back to footer and removed .htaccess file Signed-off-by: Robert R Pirritano <rpirritano@gmail.com>