summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Simplify isValidPath and add unit testsLukas Reschke2015-01-101-0/+33
| | | | | | The check for invalid paths is actually over-complicated and performed twice resulting in a performance penalty. Additionally, I decided to add unit-tests to that function. Part of https://github.com/owncloud/core/issues/13221
* Merge pull request #13208 from owncloud/hhvm-streamwrapper-exceptionThomas Müller2015-01-091-12/+5
|\ | | | | HHVM Workaround: Do not use Exception from Stream.
| * HHVM Workaround: Do not use Exception from Stream.Andreas Fischer2015-01-091-12/+5
| | | | | | | | Works around https://github.com/facebook/hhvm/issues/2436#issuecomment-69351373
* | Merge pull request #13181 from owncloud/filecache-preventleadingslashRobin McCorkell2015-01-091-0/+36
|\ \ | | | | | | Trim leading or trailing slashes in file cache paths
| * | Trim leading or trailing slashes in file cache pathsVincent Petry2015-01-081-0/+36
| | |
* | | Merge pull request #12995 from owncloud/tbelau666-masterThomas Müller2015-01-091-1/+1
|\ \ \ | | | | | | | | Use Doctrines filter by table name
| * | | add proper prefix for migration testsMorris Jobke2014-12-231-1/+1
| | | |
* | | | Merge pull request #12988 from owncloud/logfile_downloadMorris Jobke2015-01-091-0/+79
|\ \ \ \ | | | | | | | | | | Logfile download
| * | | | add Download logfile button to admin settingsGeorg Ehrke2015-01-071-0/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add logSettingsController add download logfile button move getEntries to LogSettingsController move set log level to logsettingscontroller.php add warning if logfile is bigger than 100MB add unit test for set log level fix typecasting, add new line at EoF show log and logfile download only if log_type is set to owncloud add unit test for getFilenameForDownload
* | | | | Add version to .htaccessLukas Reschke2015-01-081-1/+14
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently if a user does not replace the .htaccess file with the new update this can lead to serious problems in case Apache is used as webserver. This commit adds the version to the .htaccess file and the update routine fails in case not the newest version is specified in there. This obviously means that every release has to update the version specified in .htaccess as well. But I see no better solution for it. Conflicts: lib/private/updater.php
* | | | Use proper test nameLukas Reschke2015-01-051-4/+3
| | | |
* | | | Use proper namespaceLukas Reschke2015-01-051-1/+2
| | | |
* | | | Use namespaceLukas Reschke2015-01-051-3/+5
| | | |
* | | | Write unit-tests and use DILukas Reschke2015-01-051-0/+247
| | | |
* | | | Add provisioning_api appTom Needham2014-12-243-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | enable unit tests for provisioning api fix admin docu key
* | | | Merge pull request #12830 from owncloud/intelligent-containerThomas Müller2014-12-232-0/+212
|\ \ \ \ | | | | | | | | | | Intelligent container
| * | | | Intelligent containerBernhard Posselt2014-12-232-0/+212
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * resolves dependencies by type hint or variable name * simpler route.php * implementation of https://github.com/owncloud/core/issues/12829 Generates and injects parameters automatically. You can now build full classes like $c->query('MyClassName') without having to register it as a service. The resolved object's instance will be saved by using registerService. If a constructor parameter is not type hinted, the parameter name will be taken. Therefore the following two implementations are identical: class Class1 { function __construct(MyClassName $class) class Class1 { function __construct($MyClassName) This makes it possible to also inject primitive values such as strings, arrays etc. In addition if the query could not be resolved, a `QueryException` is now thrown Routes can now be returned as an array from `routes.php` and an `appinfo/application.php` is optional Old commit messages: make it possible to return the routes instead of having to intialize the application try to get the controller by convention add first implementation of automatic resolve add another test just to be sure store the resolved object more tests add phpdoc to public app.php method use the same variable for the public app.php method deprecate old methods and add services for public interfaces deprecated getServer method disallow private api injection for apps other than core or settings (settings should be an app goddamnit :D) register userid because its such an often used variable fix indention and leading slash use test namespace add deprecation reasons, remove private api usage checks and remove deprecation from getServer() add additional public interfaces add public interface for rootfolder fix syntax error remove deprecation from methods where no alternative is there yet remove deprecated from method which has no alternative add timezone public service for #12881 add another deprecation hint move deprecation into separate branch remove dead comment first try to get the namespace from the info.xml, if it does not exist, just uppercase the first letter also trim the namespace name add an interface for timefactory move timefactory to public and add icontrollermethodreflector keep core interface fix copyright date in headers
* / | | Clean up test table in Connection Test to prevent unnecessary failures.Andreas Fischer2014-12-231-0/+19
|/ / /
* | | Merge pull request #11810 from owncloud/hhvm-autotestThomas Müller2014-12-221-1/+2
|\ \ \ | |_|/ |/| | Adding autotest-hhvm.sh [WIP]
| * | HHVM sets stream meta datum wrapper_type to 'File' instead of 'user-space'.Andreas Fischer2014-12-191-1/+2
| | |
* | | Properly call parent::tearDown() in MDB2SchemaManager::tearDown().Andreas Fischer2014-12-201-3/+2
| |/ |/| | | | | | | The early return introduced by 04c982a96e19f2254739c24ee8c6b568edcb4190 prevents parent::tearDown() being called on Oracle.
* | Next step in server-to-server sharing next generation, see #12285Bjoern Schiessle2014-12-195-16/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Beside some small improvements and bug fixes this will probably the final state for OC8. To test this you need to set up two ownCloud instances. Let's say: URL: myPC/firstOwnCloud user: user1 URL: myPC/secondOwnCloud user: user2 Now user1 can share a file with user2 by entering the username and the URL to the second ownCloud to the share-drop-down, in this case "user2@myPC/secondOwnCloud". The next time user2 login he will get a notification that he received a server-to-server share with the option to accept/decline it. If he accept it the share will be mounted. In both cases a event will be send back to user1 and add a notification to the activity stream that the share was accepted/declined. If user1 decides to unshare the file again from user2 the share will automatically be removed from the second ownCloud server and user2 will see a notification in his activity stream that user1@myPC/firstOwnCloud has unshared the file/folder from him.
* | Merge pull request #12956 from owncloud/jenkins-user-backend-namesThomas Müller2014-12-192-2/+12
|\ \ | | | | | | [jenkins only] introduce names for user backends - IUserBackend
| * | introduce names for user backends - IUserBackendMorris Jobke2014-12-192-2/+12
| |/ | | | | | | * LDAP with multiple servers also proved backendName
* | Merge pull request #12921 from owncloud/user-mail-user-managementThomas Müller2014-12-191-14/+36
|\ \ | | | | | | Mail address of users is now changable in the user management
| * | Mail address of users is now changable in the user managementMorris Jobke2014-12-181-14/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * introduced new route settings/users/{id}/mailAddress * kept old responses * better error messages * dropped lostpassword.php from settings/ajax * cleaned up the UserList.add() and hand in user object instead of each attribute as another parameter * check for change permission of mail address * proper response messages
* | | Merge pull request #12865 from owncloud/files-tags-webdavMorris Jobke2014-12-192-0/+368
|\ \ \ | | | | | | | | Returns tags through WebDAV
| * | | Returns and update tags through WebDAV PROPFIND and PROPPATCHVincent Petry2014-12-172-0/+368
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Added oc:tags and oc:favorites in PROPFIND response. It is possible to update them with PROPPATCH. These properties are optional which means they need to be requested explicitly
* | | | Merge pull request #12748 from owncloud/redis_cacheMorris Jobke2014-12-191-0/+29
|\ \ \ \ | | | | | | | | | | Add Redis cache implementation, prefer over memcached, tests & config sample doc
| * | | | Add Redis cache implementation, prefer over memcached, tests & config sampleJörn Friedrich Dreyer2014-12-101-0/+29
| | | | |
* | | | | Merge pull request #12879 from owncloud/mountconfigMorris Jobke2014-12-186-13/+13
|\ \ \ \ \ | |_|_|/ / |/| | | | Add mount specific options
| * | | | Add getMountPoint to FileInfoRobin Appelman2014-12-176-13/+13
| | | | |
* | | | | Merge pull request #12870 from owncloud/send-mail-new-userThomas Müller2014-12-181-0/+70
|\ \ \ \ \ | |_|_|_|/ |/| | | | Send mail for new users
| * | | | add unit tests for new user create mailMorris Jobke2014-12-161-0/+70
| | |_|/ | |/| |
* | | | Merge pull request #12168 from owncloud/docker-webdavThomas Müller2014-12-171-0/+36
|\ \ \ \ | | | | | | | | | | Setup a docker container that holds a webdav instance to test files_exte...
| * | | | Setup a docker container that holds a webdav instance to test files_externalMorris Jobke2014-12-171-0/+36
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | document docker parameter and use random host port fix typo copy autotest.sh to autotest-external.sh adds ability to add start* and stop* scripts in env in external tests run files_external WebDAV tests against ownCloud instance introduce executor number to be able to shut down the correct docker container fetch docker images in advance - this also fetches latest versions of the docker images add second argument to autotest-external.sh which can specify a single test to run print out the explicit test run change naming schema of files_external setup scripts
* | | | add isAdmin and isInGroup methods for the group managerBernhard Posselt2014-12-171-0/+72
| | | |
* | | | fix testsBernhard Posselt2014-12-171-4/+2
| | | |
* | | | use two tests instead of oneBernhard Posselt2014-12-171-4/+18
| | | |
* | | | add a isLoggedIn method to the usersession and deprecate the isLoggedIn ↵Bernhard Posselt2014-12-171-0/+28
|/ / / | | | | | | | | | method on the api
* / / Move timezone logic out of server.phpJoas Schilling2014-12-161-1/+1
|/ /
* | Merge pull request #12846 from owncloud/fix-searchbytags-testMorris Jobke2014-12-151-2/+6
|\ \ | | | | | | Sort results to make sure assert work on consistent order
| * | Sort results to make sure assert work on consistent orderVincent Petry2014-12-151-2/+6
| | |
* | | Merge pull request #12625 from owncloud/app-dependencies-libs-and-commandsBernhard Posselt2014-12-154-14/+246
|\ \ \ | |/ / |/| | adding dependencies for command line tools and php libraries
| * | adding unit tests for PlatformRepository::normalizeVersion()Thomas Müller2014-12-121-0/+65
| | |
| * | rework api of DependencyAnalyzerThomas Müller2014-12-121-18/+13
| | |
| * | fix unit testsThomas Müller2014-12-111-1/+1
| | |
| * | single dependencies will not be represented as an array + fix unit testsThomas Müller2014-12-111-3/+5
| | |
| * | adding dependency to owncloud version - with fallback to requiremin and ↵Thomas Müller2014-12-113-1/+40
| | | | | | | | | | | | requiremax
| * | adding dependencies for supported platformsThomas Müller2014-12-113-1/+31
| | |