summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* use Composer autoloader not OC for non-Composer 3rdparty (#9643)Adam Williamson2014-10-281-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | Composer's autoloader is rather better than the OwnCloud autoloader's handling of non-OC classes. Plus we can rely on upstream Composer to maintain it and not worry about it ourselves. With this change, we drop the bits of OwnCloud's autoloader that handled non-OC classes, and register the classes that were being handled by that code with Composer's autoloader instead. As these dependencies are converted to actually being managed by Composer, the explicit registrations can be dropped as they won't be needed any more. Since OwnCloud's autoloader isn't going to handle non-OC classes any more, we no longer need to test to make sure it does it right. drop unneeded registerPrefix() and registerClass() from autoloader Now we're not handling anything but OC's own classes, these are unnecessary. error out if composer autoloader is not found (thanks bantu) We're never going to be able to work without the autoloader, if it's not there we should just throw our hands up and surrender.
* Merge pull request #11799 from owncloud/no-stable-etags-on-windowsLukas Reschke2014-10-271-0/+8
|\ | | | | On Windows platform we have no stable etag generation - yet
| * On Windows platform we have no stable etag generation - yetThomas Müller2014-10-271-0/+8
| |
* | Merge pull request #11786 from owncloud/MakeSupportedDBsConfigurableLukas Reschke2014-10-271-0/+103
|\ \ | |/ |/| Make supported DBs configurable within config.php
| * 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".
* | Merge pull request #11763 from owncloud/stable-etagsRobin Appelman2014-10-271-21/+38
|\ \ | | | | | | Generate stable etags for local files
| * | Generate stable etags for local filesRobin Appelman2014-10-241-21/+38
| | |
* | | Merge pull request #11709 from owncloud/temp-handlingThomas Müller2014-10-241-0/+143
|\ \ \ | |_|/ |/| | Cleanup handling of temporary files
| * | Add \OC\TempManager to handle creating and cleaning temporary filesRobin Appelman2014-10-241-0/+143
| |/
* | Merge pull request #11735 from owncloud/mssql-migrations-masterClark Tomlinson2014-10-243-8/+27
|\ \ | |/ |/| disable database migration unit tests for MSSQL
| * disable database migration unit tests for MSSQLThomas Müller2014-10-233-8/+27
| |
* | Merge pull request #11549 from owncloud/add-more-localizations-masterThomas Müller2014-10-232-8/+58
|\ \ | |/ |/| implement localizations based on punic
| * fixing expected values for formatDate() unit testsThomas Müller2014-10-211-3/+3
| |
| * adding unit tests for en_GB and en-GB - just to verifyThomas Müller2014-10-201-0/+8
| |
| * implement localizations based on punicThomas Müller2014-10-201-5/+47
| |
* | Merge pull request #11259 from owncloud/fix-windows-max-depth-testThomas Müller2014-10-231-6/+19
|\ \ | | | | | | fixing windows max depth test
| * | fixing windows max depth testClark Tomlinson2014-09-301-6/+19
| | |
* | | Merge pull request #10985 from owncloud/db-cleanupThomas Müller2014-10-231-1/+1
|\ \ \ | | | | | | | | Cleanup database handling
| * | | Fix tags unit testRobin Appelman2014-10-221-1/+1
| | | |
* | | | introduce SessionMiddleWare to control session handling via an annotationThomas Müller2014-10-221-0/+89
|/ / /
* | | 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
| |/ |/|
* | adjust group manager testsArthur Schiwon2014-10-171-15/+9
| |
* | Merge pull request #9104 from macjohnny/macjohnny-drastic-ldap-speedupblizzz2014-10-171-10/+10
|\ \ | | | | | | drastic ldap speedup (update)
| * | adapted tests for a groupId indexed group arraymacjohnny2014-06-241-10/+10
| | |
* | | Fix unit testLukas Reschke2014-10-161-3/+3
| | | | | | | | | Regression introduced with https://github.com/owncloud/core/pull/11615
* | | Merge pull request #11383 from ockham/share-tags2Lukas Reschke2014-10-162-5/+62
|\ \ \ | | | | | | | | Share tags
| * | | In Tags::rename($from, $to), check if there already is a tag named $to.Bernhard Reiter2014-10-141-2/+2
| | | |
| * | | Add option to include tags for shared items.Bernhard Reiter2014-10-142-1/+26
| | | |
| * | | Implement Tag and TagMapper classes.Bernhard Reiter2014-10-141-1/+2
| | | | | | | | | | | | | | | | | | | | Subclassed from \OCP\AppFramework\Db\Entity and Mapper, respectively. This will allow us to also deal with shared tags.
| * | | Test addMultiple() with $sync=true.Bernhard Reiter2014-10-141-1/+30
| | | |
| * | | Test Tags::getFavorites().Bernhard Reiter2014-10-141-0/+2
| | | |
* | | | Merge pull request #11595 from owncloud/make_get_display_name_more_robustblizzz2014-10-161-0/+46
|\ \ \ \ | | | | | | | | | | strip whitespace from the beginning and end of the display name
| * | | | strip whitespace from the beginning and end of the display name to avoid ↵Bjoern Schiessle2014-10-151-0/+46
| | | | | | | | | | | | | | | | | | | | empty display names
* | | | | Merge pull request #11570 from owncloud/backport-11408-masterLukas Reschke2014-10-152-0/+197
|\ \ \ \ \ | | | | | | | | | | | | Backport 11408 master
| * | | | | Refactor MailSettings controllerLukas Reschke2014-10-142-0/+197
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Do not store the password (fixes https://github.com/owncloud/core/issues/11385) - Refactor to AppFramework - Add unit tests Conflicts: settings/admin/controller.php
* | | | | Merge pull request #11528 from owncloud/use-raw-urlLukas Reschke2014-10-152-2/+6
|\ \ \ \ \ | |_|/ / / |/| | | | Use `rawurlencode` since this seems to be expected by cURL
| * | | | Use `rawurlencode` since this seems to be expected by cURLLukas Reschke2014-10-142-2/+6
| |/ / / | | | | | | | | | | | | Fixes https://github.com/owncloud/core/pull/11501#issuecomment-58794405
* / / / Add unit testRobin Appelman2014-10-131-33/+63
|/ / /
* | | make some storage tests explain what went wrongJörn Friedrich Dreyer2014-10-081-6/+6
| | |
* | | Add flock to configLukas Reschke2014-09-301-40/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a file lock to the config in hope that this prevents race conditions as reported in https://github.com/owncloud/core/issues/11070 Testplan: - [ ] Delete config.php and make it read-only => Error is thrown that it is not writeable - [ ] Installation still works - [ ] Changing config settings works (i.e. using the SMTP config switches in the administration menu) - [ ] Your PC didn't blow up - [ ] Installing the news app and the "Disable AppCode checker" app did not destroy your installation Only skip the main config Otherwise read only additional configs might not be processed Test on tmpdir
* | | Merge pull request #10107 from owncloud/sharing_group_sharesLukas Reschke2014-09-292-17/+102
|\ \ \ | | | | | | | | [sharing] group shares
| * | | fix unit testsBjoern Schiessle2014-09-242-5/+22
| | | |
| * | | unit tests for grouping of shares pointing to the same sourceBjoern Schiessle2014-09-221-12/+80
| | | |
* | | | Adding test helper to test private methodsClark Tomlinson2014-09-261-0/+28
| | | |
* | | | Merge pull request #11285 from owncloud/dav-permissions-createThomas Müller2014-09-261-0/+55
|\ \ \ \ | | | | | | | | | | Fix dav permissions for folders
| * | | | Fix dav permissions for folders without create permissionsRobin Appelman2014-09-251-0/+55
| | |_|/ | |/| |
* | | | Merge pull request #10934 from owncloud/datadir-write-setupVincent Petry2014-09-251-19/+72
|\ \ \ \ | |/ / / |/| | | Don't complain about non-writable datadirs before we're installed
| * | | Don't complain about non-writable datadirs before we're installedRobin Appelman2014-09-181-0/+37
| | | |