Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2015-10-28Enable DAV app testing on travisThomas Müller
2015-10-26Use speaking idsJoas Schilling
2015-10-26Stay on the same category when refreshing the page on the apps listJoas Schilling
2015-10-25Throw exception on `getPath` if file does not existLukas Reschke
Currently the `getPath` methods returned `NULL` in case when a file with the specified ID does not exist. This however mandates that developers are checking for the `NULL` case and if they do not the door for bugs with all kind of impact is widely opened. This is especially harmful if used in context with Views where the final result is limited based on the result of `getPath`, if `getPath` returns `NULL` PHP type juggles this to an empty string resulting in all possible kind of bugs. While one could argue that this is a misusage of the API the fact is that it is very often misused and an exception will trigger an immediate stop of execution as well as log this behaviour and show a pretty error page. I also adjusted some usages where I believe that we need to catch these errors, in most cases this is though simply an error that should hard-fail.
2015-10-21Remove dependency on ICrypto + use XORLukas Reschke
2015-10-21Fix unit testRoeland Jago Douma
Now that OC_SubAdmin is just a wrapper around OC\SubAdmin some unit tests had to be fixed because they expected different behaviour. Eventually they should move to properly mocked instances of OC\SubAdmin of course
2015-10-21New \OC\SubAdmin classRoeland Jago Douma
* DI * Tests * moved OC_SubAdmin to legacy * Added to private OC\GroupManager
2015-10-21Merge pull request #18184 from owncloud/ocs-merge-headersThomas Müller
Merge headers of ocs results
2015-10-19Merge pull request #17641 from owncloud/fix_objectstore_renameJörn Friedrich Dreyer
don't move files in cache twice, fixes renaming for objectstores
2015-10-19Merge pull request #19864 from owncloud/fix-objectstore-btrfs-hostJörn Friedrich Dreyer
skip btrfs hack for objectstore docker container on btrfs host
2015-10-19Merge pull request #19833 from owncloud/fix_view_rmdirRobin Appelman
Removemount expects absolutePath
2015-10-19skip btrfs hack for objectstore docker container on btrfs hostMorris Jobke
2015-10-16Fix error in stop scriptThomas Müller
2015-10-16Add tests for double cache renameRobin Appelman
2015-10-16Skip checkupdate test for swiftRobin Appelman
2015-10-16Check for error when resharingRoeland Jago Douma
2015-10-16When sharing with the owner show the pathRoeland Jago Douma
The error message should contain the path that is being shared not the numeric id.
2015-10-16Added test for rmdir on moveablemountRoeland Jago Douma
2015-10-16Fix uni testsThomas Müller
2015-10-16Consolidate webdav code - move all to one appThomas Müller
2015-10-16Run test only when idn is availableLukas Reschke
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.
2015-10-14The constant is now deprecatedJoas Schilling
2015-10-14Merge pull request #19738 from owncloud/proppatch-lastmodifiedThomas Müller
Fix mtime PROPPATCH to be "lastmodified" instead of "getlastmodified"
2015-10-14Merge pull request #19730 from owncloud/fix_17560Thomas Müller
Squash collection shares
2015-10-13Reference v2 in the provider listLukas Reschke
2015-10-13Do not print exception messageLukas Reschke
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.
2015-10-13Fix mtime PROPPATCH to be "lastmodified" instead of "getlastmodified"Vincent Petry
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.
2015-10-13Merge pull request #19677 from ↵Thomas Müller
owncloud/silently-fail-app-upgrade-exceptions-master Silently fail app upgrade exceptions
2015-10-13Squash collection sharesRoeland Jago Douma
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
2015-10-13Strip directory from scriptNameLukas Reschke
`\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.
2015-10-12Merge pull request #19683 from owncloud/repair-donotrepairfoldermimetypesThomas Müller
Do not update mime types for folders with extension
2015-10-12also detect files in a .part folder as part fileBjoern Schiessle
2015-10-12Merge pull request #19657 from owncloud/setup-transportThomas Müller
Setup sendmail transport
2015-10-09Do not update mime types for folders with extensionVincent Petry
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.
2015-10-09Always pass in ILoggerThomas Müller
2015-10-09adjust filesystem tests to objectstoreJörn Friedrich Dreyer
2015-10-08Merge pull request #19034 from owncloud/http-request-warningThomas Müller
Prevent warning decoding content
2015-10-08Don't perform checks for outdated TLS libs when no internet connectionLukas Reschke
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
2015-10-08Setup sendmail transportLukas Reschke
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
2015-10-08Merge pull request #19414 from owncloud/swift_primary_storage_testsThomas Müller
Swift primary storage tests
2015-10-08Merge pull request #19546 from owncloud/fix-search-for-node-apiThomas Müller
Fix search operations for the Node API
2015-10-07[WEBDAV] check if delete of source is allowed on moveRoeland Jago Douma
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.
2015-10-06test objectstore with ceph dockerJörn Friedrich Dreyer
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
2015-10-06Add unit test for searching in storage rootRobin Appelman
2015-10-06Add \OCP\IRequest::getHttpProtocolLukas Reschke
Only allow valid HTTP protocols. Ref https://github.com/owncloud/core/pull/19537#discussion_r41252333 + https://github.com/owncloud/security-tracker/issues/119
2015-10-06Merge pull request #19577 from ↵Thomas Müller
owncloud/share-donotreturnentrieswhenusernotingroup Remove invalid share items from result when missing group membership
2015-10-06Merge pull request #19535 from owncloud/check-memcache-moduleThomas Müller
[admin] check for correct PHP memcached module
2015-10-06[admin] check for correct PHP memcached moduleMorris Jobke
2015-10-05Remove invalid share items from result when missing group membershipVincent Petry
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.
2015-10-05Add a unit test for "share a file inside a folder that is already shared"Joas Schilling