summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix chunked query for tags + unit testVincent Petry2015-01-191-3/+29
|
* Merge pull request #13423 from ↵Thomas Müller2015-01-191-0/+35
|\ | | | | | | | | owncloud/share-fixfindshareforuserwithmultiplegroups Fix getItemSharedWithUser for groups
| * Fix getItemSharedWithUser for groupsVincent Petry2015-01-161-0/+35
| | | | | | | | | | | | 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.
* | Fix filtering for users when $gid is emptyLukas Reschke2015-01-181-0/+127
| | | | | | | | | | | | Previously when $gid was empty the users were not filtered at all. Rendering the search function in the user management pretty useless. Fixes itself
* | Merge pull request #13319 from owncloud/replace-line-breaks-in-app-descriptionLukas Reschke2015-01-171-0/+29
|\ \ | |/ |/| replace line breaks in the app description by spaces - fixes #13315
| * OC_App::parseAppInfoMorris Jobke2015-01-141-0/+29
| | | | | | | | | | | | * replace line breaks (on non empty lines) in the app description by spaces * fixes #13315 * includes unit tests
* | Merge pull request #13389 from owncloud/issue/13372-failing-oracle-tests-jenkinsThomas Müller2015-01-151-40/+81
|\ \ | | | | | | Mask table and column names with backticks and add lastInsertID() workar...
| * | Mask table and column names with backticks and add lastInsertID() workaroundJoas Schilling2015-01-151-40/+81
| | |
* | | Additional unit test for recursive removeRobin Appelman2015-01-151-0/+19
| | |
* | | always set url parameters when they are available in the app dispatchBernhard Posselt2015-01-151-0/+17
|/ / | | | | | | | | | | prefer url parameters passed into the main method. If they are not present, use the containers urlParameters add space
* | Merge pull request #13354 from owncloud/hhvm-redisMorris Jobke2015-01-151-0/+10
|\ \ | | | | | | HHVM: Prevent E_WARNING messages by Redis test in console output.
| * | HHVM: Prevent E_WARNING messages by Redis test in console output.Andreas Fischer2015-01-141-0/+10
| |/
* | Merge pull request #13317 from owncloud/partfile-fileinfoThomas Müller2015-01-141-0/+14
|\ \ | | | | | | Return valid fileinfo objects for part files
| * | Return valid fileinfo objects for part filesRobin Appelman2015-01-131-0/+14
| | |
* | | Merge pull request #13344 from owncloud/issue/13334-cleanup-tags-repairstepMorris Jobke2015-01-141-0/+143
|\ \ \ | | | | | | | | Add a repair step to clean up orphan tags and tag entries
| * | | Add a repair step to clean up orphan tags and tag entriesJoas Schilling2015-01-141-0/+143
| | |/ | |/|
* / | Check new and old ways of required oC version for app compatibilityJoas Schilling2015-01-141-2/+51
|/ /
* / Fix searchCommon to properly match path nameVincent Petry2015-01-121-0/+39
|/ | | | | | | The internal path was matched without the last "/" which caused "files_trashbin" to also match when the internal path was "files". This adds the missing slash for the comparison.
* 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
| | | | |