summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #12488 from owncloud/activity_group_multiple_conditionsLukas Reschke2014-11-281-2/+5
|\ | | | | activitymanager: concatenate queries with 'or'
| * concatenate queries with 'or'Bjoern Schiessle2014-11-281-2/+5
| |
* | Skip lostcontroller sending email test on windowsJoas Schilling2014-11-281-0/+5
|/
* Merge pull request #12472 from owncloud/modifyCookiesMorris Jobke2014-11-283-9/+95
|\ | | | | Add functions to modify cookies to response class
| * Add functions to modify cookies to response classLukas Reschke2014-11-273-9/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently there is no AppFramework way to modify cookies, which makes it unusable for quite some use-cases or results in untestable code. This PR adds some basic functionalities to add and invalidate cookies. Usage: ```php $response = new TemplateResponse(...); $response->addCookie('foo', 'bar'); $response->invalidateCookie('foo'); $response->addCookie('bar', 'foo', new \DateTime('2015-01-01 00:00')); ``` Existing cookies can be accessed with the AppFramework using `$this->request->getCookie($name)`.
* | Merge pull request #12443 from owncloud/issue/6101-all-classes-autoloadableMorris Jobke2014-11-281-2/+0
|\ \ | | | | | | Issue/6101 Make all interfaces/classes autoloadable
| * | Move share interfaces to own files so they can be autoloadedJoas Schilling2014-11-271-2/+0
| |/
* | Add storage and cache wrappers to apply a permissions mask to a storageRobin Appelman2014-11-272-0/+199
| |
* | Add storage and cache wrappers to jail a storage to a subfolderRobin Appelman2014-11-273-4/+126
| |
* | Correctly namespace and autoload DatabaseExceptionJoas Schilling2014-11-271-2/+2
|/
* Merge pull request #12350 from mprokop/link_expirationMorris Jobke2014-11-261-4/+2
|\ | | | | fix calculation of expiration date if there is a default expiration date...
| * Consolidate if statement, and update unit testMiguel Prokop2014-11-211-4/+2
| |
* | Merge pull request #12421 from ↵Morris Jobke2014-11-267-111/+111
|\ \ | | | | | | | | | | | | owncloud/issue/6101-remove-namespace-permission-constants Issue/6101 remove namespace permission constants
| * | Replace deprecated constant with new class constantJoas Schilling2014-11-257-111/+111
| | |
* | | Merge pull request #12420 from owncloud/sqlite-wal-2Morris Jobke2014-11-262-19/+18
|\ \ \ | | | | | | | | adding new config parameter for sqlite to specify the journal mode
| * | | fix failing unit test for the temp manager - concurrently executed unit ↵Thomas Müller2014-11-251-2/+2
| | | | | | | | | | | | | | | | tests influence each other
| * | | adding new config parameter for sqlite to specify the journal modeThomas Müller2014-11-251-17/+16
| |/ /
* | | handle invalid xml fileThomas Müller2014-11-252-0/+27
| | |
* | | simplify xml parser codeThomas Müller2014-11-252-17/+27
| | |
* | | Introduce app info xml parser including basic unit test - necessary for #10777Thomas Müller2014-11-252-0/+79
|/ /
* | Merge pull request #12380 from owncloud/remove-oc-migrateLukas Reschke2014-11-251-98/+0
|\ \ | | | | | | Remove OC_Migrate
| * | Remove OC_MigrateLukas Reschke2014-11-241-98/+0
| | | | | | | | | | | | | | | | | | This is unused legacy code. Let it die with ~~~honor~~ fire. Fixes https://github.com/owncloud/core/issues/12346
* | | Merge pull request #12294 from owncloud/route-postfixThomas Müller2014-11-241-1/+14
|\ \ \ | | | | | | | | Add route postfix to allow url versioning when only the http method changed
| * | | add postfixBernhard Posselt2014-11-191-1/+14
| | | | | | | | | | | | | | | | add postfix
* | | | Merge pull request #12084 from owncloud/sharing_fix_shared_with_infoMorris Jobke2014-11-241-0/+44
|\ \ \ \ | |_|/ / |/| | | sharing: make sure that we only find the shares from a given owner
| * | | also check for the correct owner if it was submittedBjoern Schiessle2014-11-211-0/+44
| | | |
* | | | Merge pull request #12348 from owncloud/rename-to-avoid-complaining-ciMorris Jobke2014-11-222-4/+4
|\ \ \ \ | | | | | | | | | | Rename providers to not begin with test
| * | | | Rename providers to not begin with testLukas Reschke2014-11-212-4/+4
| | |_|/ | |/| | | | | | | | | | Fixes https://github.com/owncloud/core/issues/12347
* | | | Merge pull request #12328 from owncloud/remove-testcleanuplistenerMorris Jobke2014-11-223-186/+111
|\ \ \ \ | |_|/ / |/| | | Remove testcleanuplistener
| * | | Remove testcleanuplistener.phpJoas Schilling2014-11-202-181/+0
| | | |
| * | | Clean up the test data in tearDownAfterClass()Joas Schilling2014-11-201-5/+111
| | | | | | | | | | | | | | | | The result of the listener should then be empty and can be removed
* | | | fix unit tests of mdb2scheamreaderMorris Jobke2014-11-201-2/+2
| |/ / |/| |
* | | Revert "drop OC_Preferences::getUsers and getApps"Morris Jobke2014-11-201-0/+28
| | | | | | | | | | | | This reverts commit 09fd34eed908203674721af86ce889bfd0a0ef8d.
* | | drop OC_Preferences::getUsers and getAppsMorris Jobke2014-11-201-28/+0
|/ /
* | Merge pull request #12297 from owncloud/issue/10991-all-testcaseMorris Jobke2014-11-20146-257/+468
|\ \ | | | | | | Issue/10991 all testcase
| * | Make remaining files extend the test baseJoas Schilling2014-11-1970-117/+191
| | |
| * | Make root tests extend the \Test\TestCaseJoas Schilling2014-11-1946-83/+160
| | |
| * | Make apps/ extend the \Test\TestCase and fix overwritten methodsJoas Schilling2014-11-191-1/+1
| | |
| * | Use base class to reset the file mapperJoas Schilling2014-11-1930-56/+116
| | |
* | | Merge pull request #12253 from owncloud/port-12154Vincent Petry2014-11-201-2/+6
|\ \ \ | |/ / |/| | Port 12154
| * | Ignore port for trusted domainsLukas Reschke2014-11-181-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. Conflicts: lib/private/request.php
* | | Merge pull request #11696 from owncloud/addWarningToEncryptionLostPasswordLukas Reschke2014-11-194-1/+199
|\ \ \ | | | | | | | | Warn for password reset when files_encryption is enabled
| * | | Use correct route insteadLukas Reschke2014-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | THX @schiesbn (I should setup a mail server on my local system...)
| * | | Fix scrutinizer issuesLukas Reschke2014-11-171-1/+1
| | | |
| * | | Warn for password reset when files_encryption is enabledLukas Reschke2014-11-174-1/+199
| | |/ | |/| | | | | | | | | | | | | | | | | | | This patch wil warn the user of the consequences when resetting the password and requires checking a checkbox (as we had in the past) to reset a password. Furthermore I updated the code to use our new classes and added some unit tests for it :dancers: Fixes https://github.com/owncloud/core/issues/11438
* | | use the new base class for unit testsBjoern Schiessle2014-11-181-10/+12
| | |
* | | 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 #12234 from owncloud/normalizepath-absolute-testsLukas Reschke2014-11-181-61/+102
|\ \ | |/ |/| Add tests for normalizePath() with absolute paths on windows
| * Add tests for absolute paths on windowsJoas Schilling2014-11-171-2/+32
| |
| * Refactor tests to use a dataProvider methodJoas Schilling2014-11-171-62/+73
| |