summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #16581 from owncloud/stable7-cors-no-cookie-authLukas Reschke2015-06-231-5/+68
|\ | | | | Disallow cookie auth for cors requests stable7
| * backport #16532 to stable7Bernhard Posselt2015-05-271-5/+68
| |
* | AppFramework annotation whitespace unit testRobin McCorkell2015-06-221-0/+14
|/
* fix filesystem and encryption testsJörn Friedrich Dreyer2015-04-221-7/+2
|
* Add a test for the post_shared hook shareTypeJoas Schilling2015-02-091-0/+10
| | | | | Conflicts: tests/lib/share/share.php
* Normalize before processingLukas Reschke2015-02-062-1/+37
|
* detect root of mountpoint also if the trailing slash is missedBjoern Schiessle2015-02-041-0/+22
|
* Merge pull request #13470 from ↵Morris Jobke2015-01-231-0/+90
|\ | | | | | | | | owncloud/stable7-share-fixfindshareforuserwithmultiplegroups [stable7] Fix getItemSharedWithUser for groups
| * Fix getItemSharedWithUser for groupsVincent Petry2015-01-201-0/+90
| | | | | | | | | | | | | | | | Fixed SQL query for whenever a user has more than one group. Added missing $owner where clause for group lookup. Added unit tests for the group cases. Backport of 40931a8b0d5d10c0f711756a4e8a423ff055621e from master
* | Fix undefined offset 1 for wrong user mail addressMorris Jobke2015-01-221-10/+24
| | | | | | | | * fixes Undefined offset: 1 at lib/private/mail.php#143
* | Add unit testRobin Appelman2015-01-221-0/+1
|/
* Fix testRobin Appelman2015-01-151-0/+1
|
* Return valid fileinfo objects for part filesRobin Appelman2015-01-151-0/+14
|
* Add \OC\TempManager to handle creating and cleaning temporary filesRobin Appelman2015-01-081-0/+143
| | | | | | Conflicts: lib/private/server.php lib/public/iservercontainer.php
* Add test for IPv6 without portLukas Reschke2014-12-051-1/+2
|
* Trim port from domainLukas Reschke2014-12-051-0/+16
| | | | | | Depending on the used environment the port might be appended to the host header resulting in an inaccessible instance when initially setting up on a system with a different HTTP or HTTPS port. (for example test:500) To test this setup ownCloud under a different port with and without this patch. (heads-up: localhost is always white-listed, so use a different domain)
* Merge pull request #11747 from owncloud/storeCredentialsOnlyInSessionIfRequiredVincent Petry2014-12-012-0/+108
|\ | | | | Store credentials only in session if required
| * Backport \OC\Security\Crypto to ownCloud 7Lukas Reschke2014-11-202-0/+108
| | | | | | | | | | Conflicts: lib/repair/repairconfig.php
* | Consolidate if statement, and update unit testMiguel Prokop2014-11-261-4/+2
|/
* fixing cache routesClark Tomlinson2014-11-192-6/+6
| | | | | | Conflicts: tests/lib/cache/file.php tests/lib/cache/usercache.php
* use the new base class for share/share.php testsBjoern Schiessle2014-11-191-10/+12
|
* Simple fix for the wrong Mapper resetJoas Schilling2014-11-191-0/+6
|
* Back to OC_Util::generateRandomBytes()Joas Schilling2014-11-191-4/+1
|
* Correctly restore previous root mount point after testingJoas Schilling2014-11-1914-53/+190
| | | | | | Conflicts: tests/lib/cache/file.php tests/lib/cache/usercache.php
* Correctly refresh the apps list after removing the mockJoas Schilling2014-11-191-0/+3
|
* Fix Files\Storage\Home::testRoot()Joas Schilling2014-11-191-1/+6
|
* Skip some more tests on Windows which just can not work at allJoas Schilling2014-11-194-8/+29
| | | | | | | Conflicts: tests/lib/archive/tar.php tests/lib/files/storage/local.php tests/lib/files/view.php
* Windows does not support CHMOD, therefor we can not test not writable foldersJoas Schilling2014-11-191-0/+4
| | | | | Conflicts: tests/lib/tempmanager.php
* Test LargeFileHelperGetFileSize also with ascii only charactersJoas Schilling2014-11-191-18/+37
| | | | And skip the UTF8 names on Windows as they are not supported
* Do not use uniqid in Group and User tests as it is not unique on windowsJoas Schilling2014-11-197-67/+62
|
* Testcase base classJoas Schilling2014-11-191-0/+33
|
* make sure that we don't find the wrong shares if a user and a group have the ↵Bjoern Schiessle2014-11-181-0/+41
| | | | same ID
* Merge pull request #12154 from owncloud/ignore-port-for-trusted-domainMorris Jobke2014-11-181-2/+6
|\ | | | | Ignore port for trusted domains
| * Ignore port for trusted domainsLukas Reschke2014-11-131-2/+6
| | | | | | | | | | | | This lead to a lot of confusion in the past and did not really offer any value. Let's remove the port check therefore. (it's anyways not really a part of the domain) Fixes https://github.com/owncloud/core/issues/12150 and https://github.com/owncloud/core/issues/12123 and also a problem reported by @DeepDiver1975.
* | Backport #12181Lukas Reschke2014-11-171-1/+6
| | | | | | This should fix the stable7 unit tests again since the last CI update.
* | Check if app is enabled for userLukas Reschke2014-11-151-2/+2
|/ | | | Fixes https://github.com/owncloud/core/issues/12188 for AppFramework apps
* fix typo in content typeBernhard Posselt2014-11-051-1/+1
|
* Merge pull request #11802 from owncloud/backport-10958Lukas Reschke2014-10-281-0/+55
|\ | | | | Backport #10958
| * Introduce cross-db ILIKERobin Appelman2014-10-271-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | adding ILIKE to AdapterSQLSrv add test case for ILIKE with wildcard Make sqlite LIKE case sensitive on default Implement ILIKE for sqlite Use ILIKE in cache search Fix ILIKE without wildcards for oracle
* | Make supported DBs configurable within config.phpLukas Reschke2014-10-271-0/+103
|/ | | | | | | | | This commit will make the supported DBs for installation configurable within config.php. By default the following databases are tested: "sqlite", "mysql", "pgsql". The reason behind this is that there might be instances where we want to prevent SQLite to be used by mistake. To test this play around with the new configuration parameter "supportedDatabases". Conflicts: lib/private/util.php
* Add proper setup and teardownVincent Petry2014-10-201-0/+17
| | | | Properly restore REQUEST_URI and SCRIPT_NAME after test runs
* Add "$_SERVER['REQUEST_URI']" to fix the unit testsLukas Reschke2014-10-201-1/+8
| | | | Let's hope that works
* Add unit tests for convertToRelativePathLukas Reschke2014-10-201-0/+44
|
* backport of #11494Arthur Schiwon2014-10-181-15/+9
| | | | | | | | | | | | | | fix retrievel of group members and cache group members fix changed variable name with several backends, more than limit can be returned make performance less bad. Still far from good, but at least it works add one simple cache test adjust group manager tests
* backport of #9104macjohnny2014-10-171-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update manager.php add caching to getUserGroupIds Update manager.php added description and blank lines in getUserGroupIds Update manager.php defined $uid in getUserGroupIds Update manager.php Update manager.php Update manager.php clean up function getUserGroupIds clean up of function getUserGroupIds and improved caching mechanism of cachedUserGroupIds modified caching mechanism in getUserGroupIds removed cachedUserGroupIds, instead changed indexing in getUserGroups to groupId adapted tests for a groupId indexed group array
* strip whitespace from the beginning and end of the display name to avoid ↵Bjoern Schiessle2014-10-161-0/+46
| | | | empty display names
* Use `rawurlencode` since this seems to be expected by cURLLukas Reschke2014-10-152-2/+7
| | | | | | | Fixes https://github.com/owncloud/core/pull/11501#issuecomment-58794405 Conflicts: tests/lib/largefilehelpergetfilesize.php
* Merge pull request #11567 from owncloud/cache-updater-refactor-stable7Robin Appelman2014-10-154-290/+420
|\ | | | | [stable7] Refactor cache updater to work outside of the users home
| * remove unstable testRobin Appelman2014-10-141-1/+0
| |
| * Fix unit testRobin Appelman2014-10-143-9/+6
| |