summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Check whether ownCloud is installedLukas Reschke2016-01-273-77/+195
| | | | | | ownCloud might not yet be setup. This causes an issue as the user config requires a setup ownCloud. Thus this needs a block whether ownCloud is installed or not. Fixes https://github.com/owncloud/core/issues/21955
* Merge pull request #21940 from ↵Thomas Müller2016-01-271-7/+7
|\ | | | | | | | | owncloud/share2_do_not_returned_removed_group_shares [Share 2.0] Properly handle user deleted group shares
| * [Share 2.0] Properly handle user deleted group sharesRoeland Jago Douma2016-01-271-7/+7
| | | | | | | | | | | | If a user deletes a group share we create a special share entry. To the API this is just a normal group share for that user with permissions 0. But we should not return this.
* | Merge pull request #21741 from owncloud/l10n-improvementsThomas Müller2016-01-274-48/+527
|\ \ | | | | | | Move methods to the factory that are not related to translating, but to guessing/finding the language
| * | Add tests for findAvailableLanguagesJoas Schilling2016-01-261-0/+22
| | |
| * | Add tests for findLanguage()Joas Schilling2016-01-262-6/+133
| | |
| * | Remove tests for wrapperJoas Schilling2016-01-261-43/+0
| | |
| * | Add tests for the factoryJoas Schilling2016-01-261-0/+201
| | |
| * | Add tests for the new l10n classJoas Schilling2016-01-261-0/+162
| | |
| * | Move legacy test file to new locationJoas Schilling2016-01-261-5/+11
| | |
| * | Fix the testsJoas Schilling2016-01-261-0/+4
| | |
| * | Move findLanguage() and setLanguageFromRequest() to factoryJoas Schilling2016-01-261-1/+1
| | |
* | | Merge pull request #21887 from owncloud/share2_updateShareThomas Müller2016-01-272-70/+660
|\ \ \ | | | | | | | | [Sharing 2.0] update share
| * | | Fix comments from ThomasRoeland Jago Douma2016-01-262-21/+22
| | | |
| * | | [share 2.0] manager unit testsRoeland Jago Douma2016-01-261-1/+245
| | | |
| * | | [Share 2.0] Fix unit testsRoeland Jago Douma2016-01-261-46/+52
| | | |
| * | | [Share 2.0] Add unit test for the default share providerRoeland Jago Douma2016-01-261-7/+346
| |/ /
* | | Merge pull request #21906 from owncloud/querybuilder-clob-comparisonThomas Müller2016-01-271-4/+86
|\ \ \ | |_|/ |/| | Querybuilder clob comparison
| * | Fix Oracle comparisonsJoas Schilling2016-01-261-17/+39
| | |
| * | Add tests for clob comparisonsJoas Schilling2016-01-261-4/+64
| |/
* / We must resolve to the proper usergroup shareRoeland Jago Douma2016-01-261-0/+21
|/
* Merge pull request #21845 from owncloud/sync-system-addressbook-on-avatar-changeThomas Müller2016-01-262-2/+10
|\ | | | | Changing the avatar of the user emits the changeUser event which trig…
| * Trigger change on avatar deleteThomas Müller2016-01-251-1/+2
| |
| * Assert that User::triggerChange is called upon avatar changeThomas Müller2016-01-251-3/+7
| |
| * Changing the avatar of the user emits the changeUser event which triggers ↵Thomas Müller2016-01-252-2/+5
| | | | | | | | update of the system addressbook
* | Merge pull request #21894 from owncloud/refactor-csrfThomas Müller2016-01-266-9/+414
|\ \ | |/ |/| Add new CSRF manager for unit testing purposes
| * Add new CSRF manager for unit testing purposesLukas Reschke2016-01-256-9/+414
| | | | | | | | This adds a new CSRF manager for unit testing purposes, it's interface is based upon https://github.com/symfony/security-csrf. Due to some of our required custom changes it is however not possible to use the Symfony component directly.
* | Adding support of -1 as size to be passed into get and getFileThomas Müller2016-01-251-4/+17
| |
* | Merge pull request #18444 from owncloud/occ-config-typesThomas Müller2016-01-253-52/+222
|\ \ | |/ |/| occ config:system:set can now set other value types
| * Allow array recursion in getJoas Schilling2016-01-141-3/+15
| |
| * Allow deleting a nested system config valueJoas Schilling2016-01-141-6/+104
| |
| * Retain backwards compatibilityJoas Schilling2016-01-141-25/+15
| |
| * occ config:system:set can now set other value typesRobin McCorkell2016-01-141-43/+113
| | | | | | | | | | | | | | Integers, doubles, booleans and even arrays can now be set, with the --type=... option. Array setting can be specified by passing multiple name arguments, e.g. `./occ config:system:set redis port --value=123 --type=integer`
* | Merge pull request #21841 from owncloud/share2_deletefromselfThomas Müller2016-01-221-2/+300
|\ \ | | | | | | [Share 2.0] Add deleteFromSelf method
| * | [Share 2.0] Add deleteFromSelf methodRoeland Jago Douma2016-01-221-2/+300
| | | | | | | | | | | | | | | | | | | | | This allows recipient to delete a share. For user shares this is the same as deleting (at least for now). But for group shares this means creating a new share with type 2. With permissions set to 0.
* | | Merge pull request #21719 from owncloud/move-notification-api-to-ocpThomas Müller2016-01-224-65/+65
|\ \ \ | |/ / |/| | Move the notification API to public namespace
| * | Move the notification API to public namespaceJoas Schilling2016-01-224-65/+65
| | |
* | | Merge pull request #18531 from owncloud/ext-user-credentialsThomas Müller2016-01-223-26/+196
|\ \ \ | | | | | | | | External storage 'Login credentials' auth mechanism
| * | | fix testRobin Appelman2016-01-182-5/+21
| | | |
| * | | Introduce CredentialsManager for storage of credentials in DBRobin McCorkell2016-01-181-0/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CredentialsManager performs a simple role, of storing and retrieving encrypted credentials from the database. Credentials are stored by user ID (which may be null) and credentials identifier. Credentials themselves may be of any type that can be JSON encoded. The rationale behind this is to avoid further (mis)use of oc_preferences, which was being used for all manner of data not related to user preferences.
| * | | Introduce IDBConnection::setValues()Robin McCorkell2016-01-182-26/+90
| | | | | | | | | | | | | | | | | | | | setValues() attempts to insert a new row, or failing that, update an existing row. The ability to set preconditions is also available.
* | | | Merge pull request #21849 from owncloud/add-custom-marker-into-htaccessThomas Müller2016-01-226-0/+107
|\ \ \ \ | | | | | | | | | | Add custom marker into htaccess and execute integrity check after installation
| * | | | Exclude .htaccess modifications from code checkerLukas Reschke2016-01-226-0/+107
| | | | | | | | | | | | | | | | | | | | After the initial installation ownCloud will write some content into the .htaccess file such as the 404 or 403 directives. This adds a magic marker into the .htaccess file and only the content above this marker will be compared in the integrity checker.
* | | | | Merge pull request #21816 from ↵Thomas Müller2016-01-222-20/+21
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | owncloud/require-a-specific-path-instead-of-autoguessing Use path instead of app id for occ app signing
| * | | | Use path instead of app idLukas Reschke2016-01-202-20/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change requires the usage of a path instead of the App ID when signing code. This has the advantage that developers can also sign code under a different location to make it easier. (e.g. remove `.git`, …) Also it adds an example command usage as well as a link to the documentation
* | | | | Merge pull request #20768 from owncloud/mount-cacheThomas Müller2016-01-221-0/+257
|\ \ \ \ \ | |_|_|/ / |/| | | | cache mountpoints in the db
| * | | | multiple minor fiesRobin Appelman2016-01-201-11/+1
| | | | |
| * | | | sort in testsRobin Appelman2016-01-201-1/+18
| | | | |
| * | | | log duplicatesRobin Appelman2016-01-201-1/+2
| | | | |
| * | | | cache mountpoints in the dbRobin Appelman2016-01-201-0/+249
| |/ / /