summaryrefslogtreecommitdiffstats
path: root/tests/lib
Commit message (Collapse)AuthorAgeFilesLines
* add ci for swift primary storageRobin Appelman2018-02-081-0/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #8033 from nextcloud/s3-uploaderMorris Jobke2018-02-081-5/+12
|\ | | | | Use S3Client::upload instead of splitting single/multipart upload ourselves
| * Use S3Client::upload instead of splitting single/multipart upload ourselvesRobin Appelman2018-01-241-5/+12
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix testsRoeland Jago Douma2018-02-031-0/+4
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Move depsCache clearing to SCSSCacher/JSCombinerJulius Härtl2018-02-033-16/+42
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add tests and class mappingJulius Härtl2018-02-031-0/+94
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add all parameters to returnValueMapJulius Härtl2018-01-311-2/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #8096 from ↵Roeland Jago Douma2018-01-312-240/+5
|\ \ | | | | | | | | | | | | nextcloud/feature/6382/do-not-cache-settings-in-db-anymore Do not cache the settings/sections in the database anymore
| * | Do not cache the settings/sections in the database anymoreJoas Schilling2018-01-292-240/+5
| | | | | | | | | | | | | | | | | | | | | This caused more troubles then it had benefits, especially when an app got disabled or was removed without being disabled. Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | 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-251-4/+11
|\ \ | | | | | | Add 2FA to logfile
| * | 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-2536-96/+104
|\ \ \ | |/ / |/| | 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-2412-41/+36
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Require PHPUnit 6.5 or higherJoas Schilling2018-01-242-23/+4
| |/ | | | | | | 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>
* | 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-171-4/+11
| |/ |/| | | | | | | | | | | | | 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>
* | | 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>
* | Remove deprecated core APIJoas Schilling2018-01-152-24/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | 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>
* Don't lie about the preview mimetypeRoeland Jago Douma2018-01-071-0/+8
| | | | | | | | | | | | | | 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>
* removes invalid tests, adapts another oneArthur Schiwon2018-01-031-33/+0
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>