summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #20135 from owncloud/check-if-null-subadminThomas Müller2015-10-292-191/+362
|\ | | | | Drop OC_SubAdmin and replace usages
| * Drop OC_SubAdmin and replace usagesLukas Reschke2015-10-292-191/+362
| |
* | Merge pull request #20134 from owncloud/pass-with-skippingThomas Müller2015-10-292-17/+18
|\ \ | | | | | | Make Travis CI pass when DAV was not touched
| * | Make Travis CI pass when DAV was not touchedJoas Schilling2015-10-292-17/+18
| |/
* | Merge pull request #19869 from owncloud/cache-adjustcurrentmtimeonrenameThomas Müller2015-10-292-2/+51
|\ \ | | | | | | On rename, also refresh storage_mtime of the target file
| * | Fix locking unit tests due to filemtime additionVincent Petry2015-10-261-2/+10
| | |
| * | Also adjust storage_mtime of target after renameVincent Petry2015-10-261-0/+41
| | | | | | | | | | | | Some storages like Dropbox change their mtime on rename...
* | | Use the methodJoas Schilling2015-10-291-7/+1
| | |
* | | Add a repair step that checks for group membership on sharesJoas Schilling2015-10-291-0/+138
| | |
* | | Remove shares where the parent does not exist anymoreJoas Schilling2015-10-291-0/+78
| |/ |/|
* | run litmus scripts only if code in the dav app did change changedThomas Müller2015-10-281-0/+17
| |
* | Enable DAV app testing on travisThomas Müller2015-10-273-0/+224
| |
* | Use speaking idsJoas Schilling2015-10-261-9/+17
| |
* | Stay on the same category when refreshing the page on the apps listJoas Schilling2015-10-261-1/+20
|/
* Throw exception on `getPath` if file does not existLukas Reschke2015-10-251-0/+16
| | | | | | | | | | 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.
* Remove dependency on ICrypto + use XORLukas Reschke2015-10-2112-106/+7
|
* Fix unit testRoeland Jago Douma2015-10-211-15/+93
| | | | | | | | 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
* New \OC\SubAdmin classRoeland Jago Douma2015-10-211-0/+264
| | | | | | | * DI * Tests * moved OC_SubAdmin to legacy * Added to private OC\GroupManager
* Merge pull request #18184 from owncloud/ocs-merge-headersThomas Müller2015-10-211-29/+33
|\ | | | | Merge headers of ocs results
| * Merge headers of ocs resultsThomas Müller2015-09-211-29/+33
| |
* | Merge pull request #17641 from owncloud/fix_objectstore_renameJörn Friedrich Dreyer2015-10-193-11/+35
|\ \ | | | | | | don't move files in cache twice, fixes renaming for objectstores
| * | Fix error in stop scriptThomas Müller2015-10-161-11/+13
| | |
| * | Add tests for double cache renameRobin Appelman2015-10-161-0/+18
| | |
| * | Skip checkupdate test for swiftRobin Appelman2015-10-161-0/+4
| | |
* | | Merge pull request #19864 from owncloud/fix-objectstore-btrfs-hostJörn Friedrich Dreyer2015-10-191-10/+13
|\ \ \ | | | | | | | | skip btrfs hack for objectstore docker container on btrfs host
| * | | skip btrfs hack for objectstore docker container on btrfs hostMorris Jobke2015-10-191-10/+13
| |/ /
* | | Merge pull request #19833 from owncloud/fix_view_rmdirRobin Appelman2015-10-191-0/+49
|\ \ \ | |/ / |/| | Removemount expects absolutePath
| * | Added test for rmdir on moveablemountRoeland Jago Douma2015-10-161-0/+49
| | |
* | | 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