summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #282 from nextcloud/fix-testsBjörn Schießle2016-07-016-3/+17
|\ | | | | Fix unit test compatibility issues with phpunit 5.2+
| * Fix Single execution of preview testsJoas Schilling2016-07-012-0/+10
| |
| * Fix Share Manager tests with phpunit 5.2+Joas Schilling2016-07-011-1/+1
| |
| * Fix Notification tests with phpunit 5.2+Joas Schilling2016-07-011-0/+2
| |
| * Fix Appframework tests with phpunit 5.2+Joas Schilling2016-07-011-1/+3
| |
| * Fix AvatarControllerTest with phpunit 5.2+Joas Schilling2016-07-011-1/+1
| |
* | Clear the storage wrappers after clearing the hooksJoas Schilling2016-07-011-0/+2
|/
* Merge pull request #240 from nextcloud/password_policy_events_stable9Lukas Reschke2016-06-302-27/+75
|\ | | | | [stable9] add events to check passwords with the password policy app
| * add events to check passwords with the password policy appBjoern Schiessle2016-06-282-27/+75
| |
* | [stable9] Set content-type to "application/octet-stream"Lukas Reschke2016-06-301-1/+5
|/ | | | | | Some browsers such as Firefox on Microsoft Windows otherwise do offer to open the file directly which is kinda silly. Backport of https://github.com/nextcloud/server/pull/258
* fixed codeMorris Jobke2016-06-201-1/+1
|
* Soften the cookie check if no cookies are sentLukas Reschke2016-06-151-12/+41
| | | | | | | | | | | | When no cookies are sent it is not required to perform any check for the strict or lax cookie, it does not provide any significant security advantage. It does however interfer with the Android client which requests thumbnails from the unofficial API at `/index.php/apps/files/api/v1/thumbnail/256/256/{filename}`. This endpoint expects the strict cookie to be existent to not leak the existence of files. The Android client authenticates against this endpoint using Basic Auth and without cookies in some cases at least. This will make these endpoints work again with such cases. To test this issue the following cURL command once without the patch and once with: > curl http://localhost/index.php/apps/files/api/v1/thumbnail/256/256/welcome.txt -u admin -v Without the patch the request is redirected (which the client does not obey) and with the patch the preview is returned.
* Merge branch 'stable9' of https://github.com/owncloud/core into ↵Arthur Schiwon2016-06-131-0/+189
|\ | | | | | | downstream-160613
| * 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
* | Merge pull request #54 from nextcloud/backport-upload-only-sharesLukas Reschke2016-06-131-1/+0
|\ \ | | | | | | [stable9] Backport files drop feature
| * | [stable9] Backport files drop featureLukas Reschke2016-06-111-1/+0
| | |
* | | [stable9] Use custom updater URLLukas Reschke2016-06-121-12/+12
|/ /
* | Add Same Site Cookie protectionLukas Reschke2016-06-102-30/+343
| |
* | skip failing testsMorris Jobke2016-06-073-0/+4
|/
* 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
|
* Block group sharing in API and in share managerRoeland Jago Douma2016-03-221-0/+30
| | | | * Fix tests
* Merge pull request #23293 from owncloud/backport-23108Thomas Müller2016-03-211-0/+42
|\ | | | | [stable9] Ensure that stored version is at least 1 for cross-storage copy