summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix preview namespaces from backportVincent Petry2016-09-071-15/+14
|
* Fix failing preview unit tests (#26039)Thomas Müller2016-09-071-28/+21
|
* Merge pull request #25832 from owncloud/stable9-dont-decrypt-shared-filesVincent Petry2016-08-181-3/+7
|\ | | | | [stable9] Don't decrypt shared files
| * Fix unit testsThomas Müller2016-08-171-3/+7
| |
* | Improve regexp to detect duplicate folders when repairing unmerged sharesVincent Petry2016-08-171-34/+68
|/
* Fix unmerged shares repair with mixed group and direct sharesVincent Petry2016-08-131-1/+44
| | | | | | | Whenever a group share is created after a direct share, the stime order needs to be properly considered in the repair routine, considering that the direct user share is appended to the $subShares array and breaking its order.
* Improve file_target finding logic when repairing unmerged sharesVincent Petry2016-08-131-9/+57
| | | | | | | Pick the most recent subshare that has no parenthesis from duplication which should match whichever name the user picked last. If all subshares have duplicate parenthesis names, use the least recent group share's target instead.
* Fix RepairUnmergedShares to not skip valid repair casesVincent Petry2016-08-131-2/+42
| | | | | | The repair step was a bit overeager to skip repairing so it missed the case where a group share exists without subshares but with an additional direct user share.
* Add repair step for unmerged sharesVincent Petry2016-08-131-0/+409
|
* [stable9] getJailedPath expects $path to have a trailing / (#25703) (#25738)Thomas Müller2016-08-121-2/+11
| | | | | * getJailedPath expects $path to have a trailing / - fixes #25464 * Adding test case for getPathById including a jailed cache where root is just empty
* [Stable9] fix unit test on new jenkins setup and adjust Jenkinsfile (#25772) ↵Thomas Müller2016-08-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | (#25775) * Next step jenkinsfile (#25622) * Adding timestamper and evaluation of test results even in case of failure * Adding build timeout * use fixed value 120 minutes as timeout for each test executing for now * Terminate the build as soon as test execution fails * Adjust external testing as well * Finalize use of executeAndReport * Fix discoverymanager tests (#25769) * Allow testing of the DiscoveryManager * Array sort order is of no relevance
* [stable9] Especially with coverage enabled execution times are pretty high ↵Thomas Müller2016-07-251-0/+3
| | | | (#25517) (#25596)
* [stable9] Test jenkins pipeline (#25401) (#25502)Thomas Müller2016-07-241-1/+3
|
* [stable9] Adding certificate revocation list and validate if the app ↵Vincent Petry2016-07-131-8/+64
| | | | | | | | certificate is revoked (#25469) * Adding certificate revocation list and validate if the app certificate is revoked * Check integrity of a signed app in any case on installation
* [stable9] Set content type when downloading log file to force download in ↵Thomas Müller2016-07-071-0/+3
| | | | some browsers (#25382) (#25398)
* fix swift primary object store test (#25281) (#25391)Thomas Müller2016-07-072-1/+55
| | | | | | | | | | | | * Wait for socket to be open * Fix call on null * Allow DB access for MountProviderTest Makes unit tests pass when using object store, since their FS access is actually oc_filecache DB access. It is currently not possible to mock or bypass the logic from "SharedMount::verifyMountPoint()" triggered by this test.
* occ web executor (#24957)VicDeo2016-07-011-0/+143
| | | | | | | | | | | | * Initial web executor * Fix PHPDoc Fix broken integration test OccControllerTests do not require database access - moch them all! Kill unused sprintf
* [stable9] Fix decrypt message stable9 (#25188)Thomas Müller2016-07-011-15/+27
| | | | | | | | | | | | | | | | | * Fix Decrypt message via occ * Comments fixed * Fixed reviews * Originally: commit 2304e4bda027e61ff1302c55c2f70f8e4c8f47d0 Author: Joas Schilling <nickvergessen@owncloud.com> Date: Tue Jun 7 09:13:11 2016 +0200 Allow to decrypt user '0' files only * Fix uid comparison
* Revert "[stable9] Remove shares of the root folder" (#25157)Vincent Petry2016-06-171-194/+0
|
* Remove shares of the root folder (#25138)Vincent Petry2016-06-171-0/+194
|
* Repair job to fix permissions for avatars (#25068)Roeland Douma2016-06-131-0/+189
| | | | | | | | | | Backport of #24898 Cherry-picked: 1b66db72d916a763b1c22613b9df5c42e93593a8 60225284f3b8ef947f67bbe168b12dca867d6f3d 28d9ad2817b744bcef35a9259f65eb56b0b2ae78 But manually since we renamed stuff and the repair procedures changed
* Backport of share id as string fixVincent Petry2016-06-011-1/+5
|
* Remove the password from the validateUserPass() method as wellJoas Schilling2016-05-191-0/+15
|
* Merge pull request #24441 from ↵Vincent Petry2016-05-171-0/+9
|\ | | | | | | | | owncloud/backport-24432-never-save-app-language-into-request-lang [9.0] Do not save the language as request lang for apps when we didn't find…
| * Do not save the language as request lang for apps when we didn't find anyJoas Schilling2016-05-041-0/+9
| |
* | Make update server URL configurableLukas Reschke2016-05-111-59/+31
|/ | | | Currently testing the updates is a big problem and not really super easy possible. Since we now have a new updater server we should also make this configurable so that people can properly test updates.
* Merge branch 'stable9' into local-invalid-9C. Montero Luque2016-04-261-0/+24
|\
| * triger the propagator from the command line scannerRobin Appelman2016-04-251-0/+24
| |
* | add testsRobin Appelman2016-04-261-0/+14
|/
* Merge pull request #24196 from ↵Thomas Müller2016-04-221-4/+13
|\ | | | | | | | | owncloud/backport-24183-change-background-job-sort-order [9.0] Change the sort order of background jobs to be DESC instead of ASC
| * Change the sort order of background jobs to be DESC instead of ASCJoas Schilling2016-04-221-4/+13
| | | | | | | | | | | | | | | | | | | | In theory, if your instance ever creates more jobs then your system cron can handle, the default background jobs get never executed anymore. Because everytime when the joblist returns the next job it looks for the next ID, however there is always a new next ID, so it will never wrap back to execute the low IDs. But when we change the sort order to be DESC, we make sure that these low IDs are always executed, before the system jumps back up to execute the new IDs.
* | Throw NoUserException when attempting to init mount point for null userVincent Petry2016-04-221-0/+22
|/ | | | | | | In some scenarios initMountPoints is called with an empty user, and also there is no user in the session. In such cases, it is unsafe to let the code move on with an empty user.
* Merge pull request #24131 from ↵Thomas Müller2016-04-222-5/+6
|\ | | | | | | | | owncloud/dont-transfer-files-to-not-ready-user-stable9 [9.0] Introduce isReadyForUser and verify in file transfer ownership
| * Introduce isReadyForUser and verify in file transfer ownership - fixes #23786Thomas Müller2016-04-202-5/+6
| |
* | [stable9] Ignore certificate file if it starts with file://Lukas Reschke2016-04-211-0/+8
| |
* | When the scanner detects a file is changed clear checksumRoeland Jago Douma2016-04-201-0/+20
|/ | | | | | | | | Fixes #23782 and #23783 If the file scanner detects a changed file we clear the checksum while we update the cache. * Unit test added
* Remove duplicated messageJoas Schilling2016-04-061-30/+14
|
* Show hint in CLIVictor Dubiniuk2016-04-062-129/+119
|
* Show cli notice for big installationsVictor Dubiniuk2016-04-051-19/+34
|
* Add releasenotes classVictor Dubiniuk2016-04-051-0/+114
|
* [stable9] Read available l10n files also from theme folderMorris Jobke2016-04-044-4/+28
| | | | | | | | | | | | | | * Read available l10n files also from theme folder The old behaviour was that only languages could be used for an app that are already present in the apps/$app/l10n folder. If there is a themed l10n that is not present in the apps default l10n folder the language could not be used and the texts are not translated. With this change this is possible and also the l10n files are loaded even if the default l10n doesn't contain the l10n file. * Inject server root - allows proper testing and separation of concerns
* Merge pull request #23709 from ↵Thomas Müller2016-04-011-5/+19
|\ | | | | | | | | owncloud/stable9-make-sure-that-encrypted-version-is-set [stable9] Make sure that the encrypted version is set
| * Make sure that the encrypted version is setLukas Reschke2016-03-311-5/+19
| | | | | | | | | | | | | | | | The code path called when using external storage with WebDAV is using `\OC\Files\Storage\Wrapper\Encryption::getMetaData` which did not contain the actual encrypted version inside the cache entry version. This lead to the following: 1. User uploaded a file 2. File is created and `\OC\Files\Storage\Wrapper\Encryption::getMetaData` is called. It has an empty `encryptedVersion` but sets `encrypted` to either `true` or `false`. 3. The call when updating the file cache will use the old version.
* | fix creation of versions of encrypted files on external storagesBjoern Schiessle2016-03-316-68/+151
|/ | | | | | in order to create a 1:1 copy of a file if a version gets created we need to store this information on copyBetweenStorage(). This allows us to by-pass the encryption wrapper if we read the source file.
* Merge pull request #23652 from owncloud/stable9_23651Thomas Müller2016-03-301-0/+11
|\ | | | | [Stable 9] Non moveable mount points should always be UPDATE+DELETE shareable
| * Non moveable mount points should always be UPDATE+DELETE shareableRoeland Jago Douma2016-03-301-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #23536 The new sharing code is much stricter in checking permissions. However for non moveable mounts the permissions UPDATE+DELETE are not reported on the mount point. This is just a quick fix. * Updated unit tests
* | only remove avatars from the folder we store them inRobin Appelman2016-03-301-2/+1
|/
* dont die when we cant save the resized avatar, log insteadRobin Appelman2016-03-251-1/+1
|
* properly use fileinfo objectsRobin Appelman2016-03-231-18/+63
|
* pass the fileinfo to the node if availableRobin Appelman2016-03-232-15/+8
|