summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | |
| * | adding supported libraries - including min and max versionThomas Müller2014-12-113-1/+63
| | |
| * | adding dependencies for command line toolsThomas Müller2014-12-111-2/+41
| | |
* | | Merge pull request #12726 from owncloud/add-filter-for-backend-to-rest-indexMorris Jobke2014-12-132-3/+97
|\ \ \ | | | | | | | | Add filter for backend to rest index
| * | | Use array key instead of valueLukas Reschke2014-12-121-3/+14
| | | |
| * | | Add test for user without backendLukas Reschke2014-12-121-0/+16
| | | |
| * | | Add filter for 'backend' to user REST routeLukas Reschke2014-12-102-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a "backend" type filter to the index REST route which is a pre-requisite for https://github.com/owncloud/core/issues/12620 For example when calling `index.php/settings/users/users?offset=0&limit=10&gid=&pattern=&backend=OC_User_Database` only users within the backend `OC_User_Database` would be shown. (requires sending a CSRF token as well) Depends upon https://github.com/owncloud/core/pull/12711
* | | | Merge pull request #12806 from owncloud/display-backend-in-usermgntVincent Petry2014-12-121-2/+12
|\ \ \ \ | | | | | | | | | | Show user backend in user management
| * | | | Show user backend in user managementMorris Jobke2014-12-121-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * add switch to settings to show user backend * user classes for headers and rows to unify the show/hide statement * add user backend to response of user create request * proper markup in settings area
* | | | | Merge pull request #12778 from owncloud/searchbytags2Vincent Petry2014-12-124-24/+155
|\ \ \ \ \ | |/ / / / |/| | | | Added searchByTags to view, storage and cache
| * | | | Make $userId mandatory for searchByTagsVincent Petry2014-12-121-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $userId is now a mandatory parameter for searchByTags. Also fixed some places in the code where the argument was missing (Node API and View)