aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Core
Commit message (Collapse)AuthorAgeFilesLines
* Only allow avatars in 64 and 512 pixel sizeJoas Schilling2022-02-072-12/+52
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Pass username prefill through unauthenticated request redirectsJulius Härtl2021-12-291-0/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix tests and avoid PHP errors in themCôme Chilliet2021-11-238-5/+34
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Fix missing import of ILoggerJoas Schilling2021-11-021-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* add check isFairUseOfFreePushService on loginVitor Mattos2021-10-231-7/+25
| | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
* Merge pull request #27733 from ↵Julius Härtl2021-10-052-14/+25
|\ | | | | | | PhrozenByte/enhancement/noid/IURLGenerator-linkToDefaultPageUrl
| * Merge branch 'master' into enhancement/noid/IURLGenerator-linkToDefaultPageUrlDaniel Rudolf2021-08-041-1/+1
| |\
| * | Deprecate RedirectToDefaultAppResponseDaniel Rudolf2021-07-012-9/+21
| | | | | | | | | | | | Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
| * | Remove unused importsDaniel Rudolf2021-06-301-1/+0
| | | | | | | | | | | | Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
| * | Add IUrlGenerator::linkToDefaultPageUrl()Daniel Rudolf2021-06-302-10/+10
| | | | | | | | | | | | | | | | | | Replaces the deprecated \OC_Util::getDefaultPageUrl() and makes this API public. Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
* | | Make AppsEnableTest and AppsDisableTest independet of the app version numberDaniel Kesselberg2021-10-012-22/+22
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Fix unit testsJoas Schilling2021-09-292-16/+16
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | fixes missing prefix to validate password reset tokenArthur Schiwon2021-09-101-2/+5
| | | | | | | | | | | | | | | | | | - also fixes the test which missed asserting the presence of it Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | move verification token logic out of lost password controllerArthur Schiwon2021-09-091-258/+43
| | | | | | | | | | | | | | | | | | | | | - to make it reusable - needed for local email verification Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | Merge pull request #28725 from nextcloud/disallow-public-page-in-2fa-flowLukas Reschke2021-09-071-27/+0
|\ \ \ | | | | | | | | Remove 2FA exemption from PublicPage annotation
| * | | Adjust testsLukas Reschke2021-09-061-27/+0
| | | | | | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | | Resolve absolute path in testsLukas Reschke2021-09-061-1/+1
|/ / / | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Merge pull request #27294 from pjft/patch-2Christoph Wurst2021-08-191-0/+5
|\ \ \ | |_|/ |/| | Update TwoFactorChallengeController.php
| * | Add logging to 2FA failurepjft2021-06-211-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | For security reasons, we may want to monitor failures of 2FA challenges in order to ban attackers who might try to access compromised accounts but are stopped by the 2FA challenge. Right now, the only hindrance is rate-limiting, but it's probably not enough. Added dependency injection. Signed-off-by: pjft <paulo.j.tavares@gmail.com>
* | | Migrate HintException to OCPGary Kim2021-06-301-1/+1
| |/ |/| | | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* | Fix app version checkJoas Schilling2021-06-252-27/+17
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add commands to manage tags via OCCJohannes Leuker2021-05-254-0/+552
| | | | | | list, add, delete, edit Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
* Change my email addressJohannes Leuker2021-03-241-2/+2
| | | | Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
* Fix more controller tests in Core subdirVincent Petry2021-03-242-8/+10
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix more tests in the Core subdirVincent Petry2021-03-243-13/+20
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Fix core tests command for app enabling/disablingVincent Petry2021-03-232-17/+17
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Merge pull request #25660 from hosting-de/feature/add-backend-list-groupsRoeland Jago Douma2021-03-052-7/+207
|\ | | | | Show group backends in occ group:list --info and group:info
| * Show group backends in occ group:list --info and group:infoJohannes Leuker2021-03-012-7/+207
| | | | | | | | Signed-off-by: Johannes Leuker <j.leuker@hosting.de>
* | Merge pull request #25086 from ↵Christoph Wurst2021-02-182-4/+4
|\ \ | | | | | | | | | | | | nextcloud/dependabot/composer/nextcloud/coding-standard-0.5.0 Bump nextcloud/coding-standard from 0.3.0 to 0.5.0
| * | Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-182-4/+4
| |/ | | | | | | | | | | | | | | | | | | Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 0.3.0 to 0.5.0. - [Release notes](https://github.com/nextcloud/coding-standard/releases) - [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md) - [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / Send emails on password reset to the displaynameJoas Schilling2021-02-181-3/+6
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* refined name of getOpenSSLEncryptedAndPrivateKeyKonrad Abicht2021-02-121-3/+3
| | | | Signed-off-by: Konrad Abicht <hi@inspirito.de>
* added unit tests for LoginFlowV2Service::createTokensKonrad Abicht2021-02-121-0/+23
| | | | Signed-off-by: Konrad Abicht <hi@inspirito.de>
* added unit tests for LoginFlowV2Service::flowDoneKonrad Abicht2021-02-111-4/+100
| | | | Signed-off-by: Konrad Abicht <hi@inspirito.de>
* added unit tests for LoginFlowV2Service::startLoginFlowKonrad Abicht2021-02-111-0/+40
| | | | Signed-off-by: Konrad Abicht <hi@inspirito.de>
* added unit tests for LoginFlowV2Service::getByLoginTokenKonrad Abicht2021-02-111-5/+37
| | | | Signed-off-by: Konrad Abicht <hi@inspirito.de>
* added unit tests for LoginFlowV2Service::pollKonrad Abicht2021-02-111-0/+215
| | | | Signed-off-by: Konrad Abicht <hi@inspirito.de>
* simplified testsKonrad Abicht2021-02-091-13/+12
| | | | Signed-off-by: Konrad Abicht <hi@inspirito.de>
* fixed coding style issueKonrad Abicht2021-02-091-1/+0
| | | | Signed-off-by: Konrad Abicht <hi@inspirito.de>
* added tests for OC\Core\Data\LoginFlowV2CredentialsKonrad Abicht2021-02-091-0/+63
| | | | Signed-off-by: Konrad Abicht <hi@inspirito.de>
* Add well known handlers APIChristoph Wurst2020-12-161-0/+86
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-053-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* 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>
* Change PHPDoc type hint from PHPUnit_Framework_MockObject_MockObject to ↵Morris Jobke2020-08-1245-198/+194
| | | | | | \PHPUnit\Framework\MockObject\MockObject Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow to update to nightlyJohn Molakvoæ (skjnldsv)2020-08-072-18/+18
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add tests for occ preview:migrate - initial check for empty directoriesMorris Jobke2020-08-071-0/+141
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use assertStringContainsString instead of assertContains on stringsMorris Jobke2020-07-235-16/+16
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move AutoComplete::filterResults to new event dispatcher and GenericEventJoas Schilling2020-07-011-3/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* use the loginname to verify the old password in user password changesArthur Schiwon2020-05-261-5/+27
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>