Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add OCSControllerTests | Roeland Jago Douma | 2016-11-16 | 1 | -0/+209 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Merge pull request #1109 from nextcloud/add-more-secrets-to-password-reset-link | Morris Jobke | 2016-11-03 | 1 | -143/+187 |
|\ | | | | | Use mail for encrypting the password reset token as well | ||||
| * | Fix tests | Roeland Jago Douma | 2016-11-03 | 1 | -166/+174 |
| | | | | | | | | | | | | * Tests fixed and controller coverage to 100% Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
| * | [WIP] Use mail for encrypting the password reset token as well | Lukas Reschke | 2016-11-03 | 1 | -6/+42 |
| | | |||||
* | | Add cache 1 day cache to preview endpoint | Roeland Jago Douma | 2016-11-03 | 1 | -3/+6 |
| | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | | More tests | Roeland Jago Douma | 2016-11-03 | 1 | -0/+223 |
|/ | | | | | | | | | * PreviewController test * PublicPreview test * Versions Preview test * Trash Preview test Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | bring back remember-me | Christoph Wurst | 2016-11-02 | 1 | -4/+68 |
| | | | | | | | | | | * try to reuse the old session token for remember me login * decrypt/encrypt token password and set the session id accordingly * create remember-me cookies only if checkbox is checked and 2fa solved * adjust db token cleanup to store remembered tokens longer * adjust unit tests Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | Check the mimetype before reading the content and catch exception | Joas Schilling | 2016-10-18 | 1 | -2/+46 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Merge pull request #1629 from nextcloud/cleanup-settings-application | Joas Schilling | 2016-10-06 | 1 | -1/+2 |
|\ | | | | | Cleanup settings Application class | ||||
| * | Use our base class everywhere | Joas Schilling | 2016-10-06 | 1 | -1/+2 |
| | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | | Properly catch password policy hint for personal page password changes | Morris Jobke | 2016-10-06 | 1 | -0/+25 |
|/ | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Remove unused endpoint | Joas Schilling | 2016-09-30 | 1 | -130/+0 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Use magic DI for core controllers | Joas Schilling | 2016-09-30 | 1 | -5/+9 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Fix tests | Roeland Jago Douma | 2016-09-06 | 3 | -12/+12 |
| | | | | | | * hasParameterOption has an additional default value which we must match in the return map * Fix deprecated getMock calls | ||||
* | Fix getMock TwoFactorMiddlewareTest | Roeland Jago Douma | 2016-09-06 | 1 | -8/+14 |
| | |||||
* | Merge pull request #1158 from nextcloud/cache_avatars | Lukas Reschke | 2016-09-05 | 1 | -1/+6 |
|\ | | | | | Cache avatars | ||||
| * | Fix tests | Roeland Jago Douma | 2016-08-30 | 1 | -1/+6 |
| | | |||||
* | | add 2fa backup codes app | Christoph Wurst | 2016-09-05 | 1 | -0/+19 |
| | | | | | | | | | | * add backup codes app unit tests * add integration tests for the backup codes app | ||||
* | | Fix depreccated getMock in Core/Command tests | Roeland Jago Douma | 2016-09-01 | 22 | -90/+167 |
| | | |||||
* | | check same URL in unit tests | Christoph Wurst | 2016-08-30 | 1 | -11/+12 |
| | | |||||
* | | redirect to default app after solving the 2FA challenge | Christoph Wurst | 2016-08-30 | 1 | -6/+1 |
|/ | |||||
* | Merge pull request #1172 from nextcloud/core_cleanup | Morris Jobke | 2016-08-30 | 2 | -10/+12 |
|\ | | | | | Core controller cleanup | ||||
| * | AvatarController use proper JSONResponse | Roeland Jago Douma | 2016-08-29 | 1 | -3/+3 |
| | | | | | | | | | | * Do not rely on DataResponse magic. We want JSON so use JSON * Fix tests | ||||
| * | Minor cleanup in core Controllers | Roeland Jago Douma | 2016-08-29 | 1 | -7/+9 |
| | | |||||
* | | redirect to 2fa provider if there's only one active for the user | Christoph Wurst | 2016-08-29 | 1 | -1/+75 |
|/ | |||||
* | Merge pull request #1058 from nextcloud/avatarController_cleanup | Lukas Reschke | 2016-08-27 | 1 | -62/+83 |
|\ | | | | | Avatar controller cleanup | ||||
| * | AvatarController cleanup | Roeland Jago Douma | 2016-08-25 | 1 | -62/+83 |
| | | | | | | | | | | | | | | * Use all DI components * Let the AppFramework resolve the AvatarController * Update unit tests * Unit tests no longer require DB | ||||
* | | Merge pull request #1031 from nextcloud/2fa-infinite-redirect-loop | Joas Schilling | 2016-08-26 | 1 | -0/+2 |
|\ \ | |/ |/| | prevent infinite redirect loops if the there is no 2fa provider to pass | ||||
| * | prevent infinite redirect loops if the there is no 2fa provider to pass | Christoph Wurst | 2016-08-24 | 1 | -0/+2 |
| | | | | | | | | | | | | | | This fixes infinite loops that are caused whenever a user is about to solve a 2FA challenge, but the provider app is disabled at the same time. Since the session value usually indicates that the challenge needs to be solved before we grant access we have to remove that value instead in this special case. | ||||
* | | Move the reset token to core app | Joas Schilling | 2016-08-23 | 2 | -21/+21 |
| | | |||||
* | | Remove "password reset token" after successful login | Joas Schilling | 2016-08-23 | 1 | -0/+20 |
|/ | |||||
* | Add tests for ChangePasswordController | Roeland Jago Douma | 2016-08-17 | 1 | -0/+161 |
| | |||||
* | We have to mock the is_uploaded_file in the OC\Core\Controller namespace | Roeland Jago Douma | 2016-08-15 | 1 | -8/+10 |
| | |||||
* | Fix mock call in AvatarControllerTest | Roeland Jago Douma | 2016-08-15 | 1 | -12/+12 |
| | |||||
* | Use generated URL | Lukas Reschke | 2016-08-15 | 1 | -1/+1 |
| | |||||
* | Fix template test | Lukas Reschke | 2016-08-15 | 1 | -1/+1 |
| | |||||
* | Fix tests for LoginController | Lukas Reschke | 2016-08-15 | 1 | -5/+4 |
| | |||||
* | Don't use create mock | Lukas Reschke | 2016-08-15 | 1 | -14/+14 |
| | | | | Not compatible with this PHPunit version | ||||
* | Use createMock instead of deprecated getMock | Lukas Reschke | 2016-08-11 | 1 | -12/+12 |
| | |||||
* | Redirect users when already logged-in on login form | Lukas Reschke | 2016-08-11 | 1 | -0/+95 |
| | |||||
* | Renamed test classes for file logging tests. | Thomas Pulzer | 2016-07-22 | 1 | -1/+1 |
| | |||||
* | Changed logtype to file instead of owncloud. | Thomas Pulzer | 2016-07-22 | 2 | -6/+6 |
| | | | | | | | | | | | | | | - Updated the config sample to point to log_type='file' - Renamed the Class for logfile logging to File in namespace 'OC\Log\'. Changed the occurrences of 'OC\Log\Owncloud' to 'OC\Log\File'. - Renamed the Class for log:file command to File in namespace 'OC\Core\Command\Log\File'. Changed registration of the command to use 'OC\Core\Command\Log\File'. - Changed default Syslog tag to Nextcloud - Retained backwards compatibility for configs with 'logtype' => 'owncloud' - Adjusted tests for the new file log. Closes #490. | ||||
* | Mitigate race condition | Lukas Reschke | 2016-07-20 | 1 | -6/+31 |
| | |||||
* | Implement brute force protection | Lukas Reschke | 2016-07-20 | 1 | -2/+57 |
| | | | | | | | | | Class Throttler implements the bruteforce protection for security actions in Nextcloud. It is working by logging invalid login attempts to the database and slowing down all login attempts from the same subnet. The max delay is 30 seconds and the starting delay are 200 milliseconds. (after the first failed login) | ||||
* | Use argument instead of value | Joas Schilling | 2016-07-14 | 1 | -20/+18 |
| | |||||
* | FIx my email | Joas Schilling | 2016-07-13 | 1 | -1/+1 |
| | |||||
* | Add tests for set/get/delete/list | Joas Schilling | 2016-07-13 | 1 | -5/+234 |
| | |||||
* | Make sure the exception is catched | Joas Schilling | 2016-07-13 | 1 | -5/+31 |
| | |||||
* | Add tests for checkInput() | Joas Schilling | 2016-07-13 | 1 | -0/+211 |
| | |||||
* | Revert "occ web executor (#24957)" | Morris Jobke | 2016-07-07 | 1 | -143/+0 |
| | | | | This reverts commit 854352d9a064a1e469ede207493bce44fd41d96c. |