summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add tests for double cache renameRobin Appelman2015-10-161-0/+18
|
* Skip checkupdate test for swiftRobin Appelman2015-10-161-0/+4
|
* Check for error when resharingRoeland Jago Douma2015-10-161-6/+23
|
* When sharing with the owner show the pathRoeland Jago Douma2015-10-161-0/+24
| | | | | The error message should contain the path that is being shared not the numeric id.
* Fix uni testsThomas Müller2015-10-162-77/+0
|
* Consolidate webdav code - move all to one appThomas Müller2015-10-1620-3485/+0
|
* Run test only when idn is availableLukas Reschke2015-10-161-0/+4
| | | | IDN is not installed on all machines making the unit test execution fail on those without. Let's make IDN thus a pre-requirement for the text execution.
* The constant is now deprecatedJoas Schilling2015-10-142-2/+2
|
* Merge pull request #19738 from owncloud/proppatch-lastmodifiedThomas Müller2015-10-141-3/+3
|\ | | | | Fix mtime PROPPATCH to be "lastmodified" instead of "getlastmodified"
| * Fix mtime PROPPATCH to be "lastmodified" instead of "getlastmodified"Vincent Petry2015-10-131-3/+3
| | | | | | | | | | | | | | Fix regression that makes PROPPATCH of mtime work like it did in OC <= 8.0. The PROPPATCH must be done on the "lastmodified" property. The "getlastmodified" now return 403 again.
* | Merge pull request #19730 from owncloud/fix_17560Thomas Müller2015-10-141-0/+56
|\ \ | | | | | | Squash collection shares
| * | Squash collection sharesRoeland Jago Douma2015-10-131-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If folder1 is shared to user2 and user3. And folder1/folder2 is shared to user4 and user5 then getting all the users with access to folder1/folder2 should only list user2 and user 3 once. Previously this was done twice since we request the info two times. This fix makes sure that we only append unique results to the array. * Added test
* | | Reference v2 in the provider listLukas Reschke2015-10-131-17/+17
| | |
* | | Do not print exception messageLukas Reschke2015-10-131-2/+44
| |/ |/| | | | | | | | | In case of an error the error message often contains sensitive data such as the full path which potentially leads to a full path disclosure. Thus the error message should not directly get displayed to the user and instead be logged.
* | Merge pull request #19677 from ↵Thomas Müller2015-10-131-1/+1
|\ \ | |/ |/| | | | | owncloud/silently-fail-app-upgrade-exceptions-master Silently fail app upgrade exceptions
| * Always pass in ILoggerThomas Müller2015-10-091-1/+1
| |
* | Strip directory from scriptNameLukas Reschke2015-10-121-0/+44
| | | | | | | | `\OCP\IRequest::getScriptName` will also return the directory, so if ownCloud is installed in a subfolder such as `owncloud/` it will resolve to `/owncloud/ocs/v2.php`. This made this check fail and also made it return invalid status codes.
* | Merge pull request #19683 from owncloud/repair-donotrepairfoldermimetypesThomas Müller2015-10-121-0/+17
|\ \ | | | | | | Do not update mime types for folders with extension
| * | Do not update mime types for folders with extensionVincent Petry2015-10-091-0/+17
| |/ | | | | | | | | | | Some folders might have an extension like "test.conf". This fix prevents to overwrite the folder's mime type with another mime type while running the mimetype repair step.
* | also detect files in a .part folder as part fileBjoern Schiessle2015-10-121-0/+23
| |
* | Merge pull request #19657 from owncloud/setup-transportThomas Müller2015-10-121-1/+1
|\ \ | | | | | | Setup sendmail transport
| * | Setup sendmail transportLukas Reschke2015-10-081-1/+1
| | | | | | | | | | | | Replaces https://github.com/owncloud/core/pull/19047 and fixes https://github.com/owncloud/enterprise/issues/854 and https://github.com/owncloud/core/issues/19110
* | | adjust filesystem tests to objectstoreJörn Friedrich Dreyer2015-10-091-3/+12
| |/ |/|
* | Merge pull request #19034 from owncloud/http-request-warningThomas Müller2015-10-081-0/+21
|\ \ | | | | | | Prevent warning decoding content
| * | Unit test for preventing warning decoding contentRobin McCorkell2015-09-231-0/+21
| | |
* | | Don't perform checks for outdated TLS libs when no internet connectionLukas Reschke2015-10-081-13/+105
| |/ |/| | | | | | | | | | | | | This change makes the check return a positive result when: - The instance has been configured to not use the internet AND/OR - S2S AND the appstore is disabled
* | Merge pull request #19414 from owncloud/swift_primary_storage_testsThomas Müller2015-10-085-21/+433
|\ \ | | | | | | Swift primary storage tests
| * | test objectstore with ceph dockerJörn Friedrich Dreyer2015-10-065-21/+433
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use default config for swift primary storage test config allow testsuite to complete fix timeout, script cleanup, enable debug for now use btrfs loopback device, requires privileged container and absolute path throw exception when storage has problems debug by echo ... sleep more, more debug
* | | Merge pull request #19546 from owncloud/fix-search-for-node-apiThomas Müller2015-10-081-0/+39
|\ \ \ | | | | | | | | Fix search operations for the Node API
| * | | Add unit test for searching in storage rootRobin Appelman2015-10-061-0/+39
| |/ /
* / / [WEBDAV] check if delete of source is allowed on moveRoeland Jago Douma2015-10-071-3/+58
|/ / | | | | | | | | | | | | | | | | | | | | Fixes #5251 If we perform a move we need to make sure first that the source can be deleted. Else the dest might be cleared but the move will fail later. * Added unit tests Eventually we need more and better checking here.
* | 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 …