aboutsummaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #23184 from ↵Morris Jobke2020-10-071-2/+2
|\ | | | | | | | | nextcloud/bugfix/noid/make-sure-getUsersFavoritingObject-can-be-run-without-a-user Make sure getUsersFavoritingObject can be run without a user
| * Make sure getUsersFavoritingObject can be run without a userJoas Schilling2020-10-061-2/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Format code to a single space around binary operatorsChristoph Wurst2020-10-0546-367/+367
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #21821 from nextcloud/enh/bootstrap/initial_stateRoeland Jago Douma2020-10-041-1/+5
|\ | | | | Bootstrap: add initial state registration
| * Move initial state provider to boostrapRoeland Jago Douma2020-10-041-1/+5
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #22937 from ↵Roeland Jago Douma2020-10-041-0/+6
|\ \ | | | | | | | | | | | | nextcloud/enh/allow_configuring_token_auth_activity_interval Allow configuring the activity update interval of token
| * | Allow configuring the activity update interval of tokenRoeland Jago Douma2020-10-041-0/+6
| |/ | | | | | | | | | | | | | | On some systems with a lot of users this creates a lot of extra DB writes. Being able to increase this interval helps there. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #23047 from nextcloud/techdebt/noid/warn-on-database-abuseRoeland Jago Douma2020-10-041-9/+46
|\ \ | |/ |/| Log the number of queries built and executed
| * Fix testsJoas Schilling2020-10-021-9/+46
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Set status is also there nowJoas Schilling2020-10-021-2/+4
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Don't break when the IP is emptyJoas Schilling2020-09-101-2/+22
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #22657 from nextcloud/bugfix/noid/quota-trash-creationMorris Jobke2020-09-091-1/+10
|\ | | | | Check if quota should be applied to path when creating directories
| * Fix code styleMorris Jobke2020-09-091-1/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Make sure tests cover the new mkdir behaviour on 0 quotaJulius Härtl2020-09-081-1/+11
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #22564 from nextcloud/bugfix/noid/show-avatars-againMorris Jobke2020-09-091-42/+1
|\ \ | | | | | | The privacy setting is only about syncing to other servers
| * | Remove unused members and importsJoas Schilling2020-09-081-9/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | The privacy setting is only about syncing to other serversJoas Schilling2020-09-031-33/+0
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Fix undefined class property access after upgrade from 19 to 20Christoph Wurst2020-09-071-0/+76
| |/ |/| | | | | | | | | | | | | | | The serialized data in 19 has one property less and this was not considered in the code. Hence adding a fallback. Moreover I'm changing the deserialization into an array instead of object, as that is the safer option. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #17456 from ↵John Molakvoæ2020-09-043-0/+3
|\ \ | |/ |/| | | brad2014/feature/brad2014/12391-improve-imip-mail-message-take-2
| * Minor cleanup: php-cs-fixer, tests, interface consistencyBrad Rubenstein2020-09-023-0/+3
| | | | | | | | | | | | | | | | | | | | | | IMipPlugin.php Removed blank lines to make php-cs-fixer happy. Minor cleanup: bugs found by Psalm static checker IEMailTemplate: The public interface to addBodyListItem also needs to include the new plainIndent parameter. IMipPlugin: Fixes an undefined variable for events that do not have DTEND. Also use explicit string conversion for parameters and properties in several places. The new email template adds an additional blank line before "button" links in plain text, so the tests were fixed to include that additional blank line. Signed-off-by: Brad Rubenstein <brad@wbr.tech>
* | Adjust acceptance tests to changes in @nextcloud/vue 2.6.3Daniel Calviño Sánchez2020-09-031-75/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The menu button and the menu of a share are no longer direct childs of the actions of the share row. The menu button is now a child of a ".trigger" element, while the menu is a direct child of the body and has an id defined in the "aria-describedby" attribute of the ".trigger" element. In XPath 1.0 it does not seem possible to "backreference" a value or create variables, so when the share menu or one of its item is needed now the ".trigger" element is first found and then its XPath expression is used to compose its "aria-describedby" attribute in the XPath expression for the menu. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Do not expose direct editing if no master key is availableJulius Härtl2020-09-011-1/+7
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Fix clicks on actions menu of non opaque file rows in acceptance testsDaniel Calviño Sánchez2020-08-291-7/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a row is added to the file list the opacity of the file row is animated from transparent to fully opaque. As the file actions menu is a descendant of the row but overflows it when the row is not fully opaque clicks on the menu entries "fall-through" and are received instead by the rows behind. The opacity animation is a CSS animation, and it is not possible to know if a row is appearing or not except from its opacity (the row will have the "appear" CSS class even after the animation ended). Therefore it should be waited until the row of the file is fully opaque before using the menu. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Merge pull request #21288 from lmamane/masterRoeland Jago Douma2020-08-281-3/+4
|\ \ | | | | | | Return correct loginname in credentials
| * | adapt testGetLoginCredentialsInvalidTokenLoginCredentials() unit test to uid ↵Lionel Elie Mamane2020-08-201-3/+4
| | | | | | | | | | | | | | | | | | != loginname Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
* | | In case the group backend returns $limit or more results it is expected to ↵Morris Jobke2020-08-211-1/+1
| |/ |/| | | | | | | | | contain more results Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #22331 from ↵Roeland Jago Douma2020-08-202-19/+13
|\ \ | | | | | | | | | | | | nextcloud/bugfix/noid/dont-use-deprecated-inigetwrapper Don't use deprecated getIniWrapper() anymore
| * | Remove unneeded importMorris Jobke2020-08-201-1/+0
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | Fix unit testsMorris Jobke2020-08-201-17/+10
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | Don't use deprecated getIniWrapper() anymoreJoas Schilling2020-08-201-1/+3
| |/ | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #21529 from nextcloud/enh/encryption/improve_key_formatMorris Jobke2020-08-201-13/+114
|\ \ | |/ |/| New SSE key format
| * New SSE key formatRoeland Jago Douma2020-08-201-13/+114
| | | | | | | | | | | | | | * Encrypt the keys with the instance secret * Store them as json (so we can add other things if needed) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Properly inject IRouter into URLGenerator to properly encapsulate testsMorris Jobke2020-08-191-1/+24
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Only load routes of the app which is requestedMorris Jobke2020-08-192-1/+55
|/ | | | | | | * Add fallback to load all routes if needed * Move partial loaded routes test to proper place Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* More test fixingJoas Schilling2020-08-191-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix unit testsJoas Schilling2020-08-191-10/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix activity tests againJoas Schilling2020-08-181-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Expose status via Collaborators APIGeorg Ehrke2020-08-141-20/+27
| | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Merge pull request #22242 from nextcloud/techdebt/noid/remove-deprecated-methodsGary Kim2020-08-142-18/+0
|\ | | | | Remove deprecated and unused method calls
| * Remove getLastJob from IJobListMorris Jobke2020-08-132-18/+0
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Fix existing test and add a specific one for the new caseMorris Jobke2020-08-131-9/+72
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #21344 from nextcloud/fix/twofactor-cleanup-eventMorris Jobke2020-08-132-6/+30
|\ | | | | Emit an event for every disabled 2FA provider during cleanup
| * Emit an event for every disabled 2FA provider during cleanupChristoph Wurst2020-06-162-6/+30
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-12165-888/+877
| | | | | | | | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #22117 from nextcloud/activity-settings-groupingMorris Jobke2020-08-111-1/+2
|\ \ | | | | | | allow grouping of activity settings
| * | allow grouping of activity settingsRobin Appelman2020-08-051-1/+2
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Exclude apps/files_external/3rdparty againDaniel Kesselberg2020-08-101-0/+1
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Rename Core/ to core/Daniel Kesselberg2020-08-101-1/+1
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Exclude apps/*/tests for coverage calculationDaniel Kesselberg2020-08-101-22/+3
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Allow to update to nightlyJohn Molakvoæ (skjnldsv)2020-08-072-18/+18
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>