summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | Add acceptance test for renaming a file with the details view openDaniel Calviño Sánchez2018-01-112-0/+57
|/ | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* 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>
* never translate login names when requiring with a user idArthur Schiwon2018-01-031-12/+28
| | | | | | where appropriate, the preLoginNameUsedAsUserName hook should be thrown. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* extend tests for status quoArthur Schiwon2018-01-032-0/+19
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #7487 from nextcloud/no-password-confirm-with-ssoblizzz2018-01-032-4/+133
|\ | | | | disable password confirmation with SSO
| * Move passwordconfirmation to its own midlewareRoeland Jago Douma2018-01-022-10/+130
| | | | | | | | | | | | Add tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * disable password confirmation with SSOBjoern Schiessle2018-01-021-1/+10
| | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Merge pull request #7526 from ↵Morris Jobke2018-01-031-1/+1
|\ \ | |/ |/| | | | | nextcloud/make-possible-for-apps-to-disable-the-navigation-bar-slide-gesture Make possible for apps to disable the navigation bar slide gesture
| * Add unit tests for the navigation bar slide gestureDaniel Calviño Sánchez2017-12-141-1/+1
| | | | | | | | | | | | | | | | The slide gesture is enabled or disabled depending on the width of the browser window. In order to easily control that width the karma-viewport plugin is now used in the unit tests. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Merge pull request #7631 from nextcloud/fix-scss-webroot-and-url-rewriteMorris Jobke2018-01-023-13/+72
|\ \ | | | | | | Fix scss webroot and url rewrite
| * | Fixed testsJohn Molakvoæ (skjnldsv)2017-12-303-13/+32
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Correctly remove temp test directory treeJohn Molakvoæ (skjnldsv)2017-12-301-1/+13
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Added tests for various installations typesJohn Molakvoæ (skjnldsv)2017-12-301-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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>