summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add \OCP\IRequest::getHttpProtocolLukas Reschke2015-10-061-0/+51
| | | | | | Only allow valid HTTP protocols. Ref https://github.com/owncloud/core/pull/19537#discussion_r41252333 + https://github.com/owncloud/security-tracker/issues/119
* Merge pull request #19577 from ↵Thomas Müller2015-10-061-0/+37
|\ | | | | | | | | owncloud/share-donotreturnentrieswhenusernotingroup Remove invalid share items from result when missing group membership
| * Remove invalid share items from result when missing group membershipVincent Petry2015-10-051-0/+37
| | | | | | | | | | | | | | | | | | Group shares usually have subshare entries for every user. In some situations it can happen that the user was removed from the group but the subshare entries still exist. This fix makes sure that such subshare entries are not returned any more as the user isn't in the group any more.
* | Merge pull request #19535 from owncloud/check-memcache-moduleThomas Müller2015-10-061-0/+1
|\ \ | | | | | | [admin] check for correct PHP memcached module
| * | [admin] check for correct PHP memcached moduleMorris Jobke2015-10-061-0/+1
| |/
* / Add a unit test for "share a file inside a folder that is already shared"Joas Schilling2015-10-051-0/+33
|/
* Merge pull request #19574 from ↵Thomas Müller2015-10-051-12/+23
|\ | | | | | | | | owncloud/fix-sharing-tests-assuming-empty-share-table Clear the shares after the test like storages and files
| * Clear the shares after the test like storages and filesJoas Schilling2015-10-051-12/+23
| |
* | Merge pull request #19416 from owncloud/node-hook-connectorThomas Müller2015-10-051-0/+176
|\ \ | |/ |/| pass view hooks trough to the node hooks
| * remove unused useRobin Appelman2015-09-281-1/+0
| |
| * Add hook connector to connect view and node hooksRobin Appelman2015-09-281-0/+177
| |
* | Merge pull request #19272 from owncloud/mimetypes-enhancedThomas Müller2015-10-021-0/+72
|\ \ | | | | | | Introduce a few new mimetypes for code, fix recursive mimetype aliases
| * | Added mimetype repair stepRoeland Jago Douma2015-10-021-0/+72
| | | | | | | | | | | | * Version number increased
* | | Merge pull request #19525 from ↵Robin Appelman2015-10-021-19/+112
|\ \ \ | |/ / |/| | | | | | | | owncloud/share-preventmovemountpointintosharedfolder Prevent moving mount point into already shared folder (outgoing)
| * | Prevent moving mount point into already shared folder (outgoing)Vincent Petry2015-10-021-19/+112
| | | | | | | | | | | | | | | | | | | | | | | | It is already not allowed to share a folder containing mount points / incoming shares. This fixes an issue that made it possible to bypass the check by moving the incoming share mount point into an existing outgoing share folder.
* | | [l10n] remove unused static methodsMorris Jobke2015-10-021-4/+2
| | |
* | | Merge pull request #19510 from owncloud/json-grouplist-sharing-excludeThomas Müller2015-10-021-1/+1
|\ \ \ | |/ / |/| | save excluded groups in json format
| * | save excluded groups in json format - fixes #10983Thomas Müller2015-10-011-1/+1
| | |
* | | Merge pull request #19463 from owncloud/fix_18132Thomas Müller2015-10-011-0/+23
|\ \ \ | | | | | | | | encryption: versions should always use the keys of the original file, no need to …
| * | | versions should always use the keys of the original file, no need to create ↵Bjoern Schiessle2015-10-011-0/+23
| | | | | | | | | | | | | | | | new one
* | | | Add testsRobin Appelman2015-10-011-18/+56
| |/ / |/| |
* | | Also delete all shares before the test, so the count matchesJoas Schilling2015-10-011-6/+18
| | |
* | | Repair step to remove bogus expiration dates from non-link sharesVincent Petry2015-10-011-0/+111
|/ /
* | Merge pull request #19299 from owncloud/fixgetRawPathInfoThomas Müller2015-09-301-43/+44
|\ \ | | | | | | Fix get raw path info, always return a string
| * | use assertSame, add failing caseJörn Friedrich Dreyer2015-09-231-43/+44
| | |
* | | Merge pull request #19468 from owncloud/fix-36-vs-32-previewsThomas Müller2015-09-301-2/+2
|\ \ \ | | | | | | | | Change small thumbnails to 32 px
| * | | Change small thumbnails to 32 pxMorris Jobke2015-09-301-2/+2
| | | | | | | | | | | | | | | | | | | | * fixes #16913 * fixes issues in IE8 where the thumbnail is too big
* | | | Merge pull request #19373 from owncloud/sidebar-preview-coverThomas Müller2015-09-301-0/+41
|\ \ \ \ | |/ / / |/| | | Cover both width and height for the sidebar preview
| * | | Cover both width and height for the sidebar previewRobin Appelman2015-09-291-0/+41
| | | |
* | | | cache result of \OCP\Util::needUpgrade()Individual IT Services2015-09-291-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reduce calls of \OCP\Util::needUpgrade() where \OCP\Util::needUpgrade() is called we can call as well self::checkUpgrade and use the cached result In line 877 the call way unnecessary anyway because of the first part of the if statement move caching to \OCP\Util::needUpgrade renaming variable fixing testNeedUpgradeCore() cache result of checkUpgrade() in self::$needUpgrade reduce calls of \OCP\Util::needUpgrade() where \OCP\Util::needUpgrade() is called we can call as well self::checkUpgrade and use the cached result In line 877 the call way unnecessary anyway because of the first part of the if statement move caching to \OCP\Util::needUpgrade renaming variable fixing testNeedUpgradeCore() fix typo in variable name deleting tabs
* | | | Add blob: scheme to default CSP policyLukas Reschke2015-09-294-56/+56
|/ / / | | | | | | | | | Fixes https://github.com/owncloud/core/issues/19438
* | | Merge pull request #18548 from owncloud/repair-mimetype-limitversionThomas Müller2015-09-281-1/+10
|\ \ \ | |_|/ |/| | Repair mime types only when upgrading from OC 8.0
| * | Repair mime types only when upgrading from OC 8.0Vincent Petry2015-09-231-1/+10
| | |
* | | rename config test to prevent autoloader issueRobin Appelman2015-09-281-2/+4
| | |
* | | Merge pull request #19346 from owncloud/drop-passwords-from-exception-logThomas Müller2015-09-251-0/+44
|\ \ \ | | | | | | | | Remove passwords from logged exception stack traces
| * | | Remove passwords from logged exception stack tracesMorris Jobke2015-09-241-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | * fixed #16318 * create logException in ILogger * add unit tests
* | | | Merge pull request #19297 from owncloud/fix_19119Thomas Müller2015-09-251-0/+37
|\ \ \ \ | | | | | | | | | | Do not blindy copy expiration date on reshare
| * | | | Do not blindy copy expiration date on reshareRoeland Jago Douma2015-09-251-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a file/folder is reshared we should not blindly copy the expiration date of the parent share. User/Group shares do not have expiration dates currently, and thus this is always set to null. Fixes #19119 * Added testcase
* | | | | Move the filtering of sensitive data to the config classJoas Schilling2015-09-251-9/+16
|/ / / /
* | | | Merge pull request #19306 from owncloud/app-code-check-versionThomas Müller2015-09-2410-0/+127
|\ \ \ \ | |/ / / |/| | | [App Code Check] add check for version and mandatory fields
| * | | [App Code Check] add check for version and mandatory fieldsMorris Jobke2015-09-2410-0/+127
| | |/ | |/| | | | | | | | | | * ref #17598 * including unit tests for mandatory fields/versions
* | | Merge pull request #19335 from owncloud/phil-davis-view-typosThomas Müller2015-09-241-3/+3
|\ \ \ | | | | | | | | Comment typos in tests/lib/files/view.php
| * | | Comment typos in tests/lib/files/view.phpPhil Davis2015-09-241-3/+3
| | | | | | | | | | | | Correct a comment typo just introduced at line 892, plus another and some white space at EOL.
* | | | only check if the user exists if a user was added as parameterBjoern Schiessle2015-09-241-6/+10
| | | |
* | | | Merge pull request #19303 from owncloud/usecorrectvariableThomas Müller2015-09-241-0/+25
|\ \ \ \ | |/ / / |/| | | Use correct variable
| * | | add is* storage testsJörn Friedrich Dreyer2015-09-231-0/+25
| |/ /
* | | Merge pull request #19326 from owncloud/issue-19314-querybuilder-set-nullThomas Müller2015-09-241-0/+4
|\ \ \ | | | | | | | | Allow `set('column', 'null')` to work like in Doctrine's QueryBuilder
| * | | Allow `set('column', 'null')` to work like in DoctrineJoas Schilling2015-09-241-0/+4
| |/ /
* | | Merge pull request #16479 from owncloud/core-fixgetrelativepathwrongmatchesThomas Müller2015-09-241-28/+103
|\ \ \ | |/ / |/| | Prevent wrong matches in getRelativePath
| * | Add more tests for relativePathJoas Schilling2015-09-221-23/+91
| | |