Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add missing tests and fix PHPDoc | Lukas Reschke | 2016-11-02 | 1 | -1/+44 | |
| | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch> | |||||
* | inject ISecureRandom into user session and use injected config too | Christoph Wurst | 2016-11-02 | 1 | -49/+60 | |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | |||||
* | bring back remember-me | Christoph Wurst | 2016-11-02 | 1 | -128/+161 | |
| | | | | | | | | | | * 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> | |||||
* | Proper DI of config | Roeland Jago Douma | 2016-10-28 | 2 | -26/+55 | |
| | | | | | | * Fixed comments Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | |||||
* | introduce callForSeenUsers and countSeenUsers (#26361) | Jörn Friedrich Dreyer | 2016-10-28 | 1 | -1/+63 | |
| | | | | | | | | | | * introduce callForSeenUsers and countSeenUsers * add tests * oracle should support not null on clob * since 9.2.0 | |||||
* | Fix and cleanup SessionTest | Roeland Jago Douma | 2016-10-25 | 1 | -43/+26 | |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | |||||
* | Fix logClientIn for non-existing users (#26292) | Vincent Petry | 2016-10-25 | 1 | -0/+26 | |
| | | | | | | | The check for two factor enforcement would return true for non-existing users. This fix makes it return false in order to be able to perform the regular login which will then fail and return false. This prevents throwing PasswordLoginForbidden for non-existing users. | |||||
* | Add test to ensure token times are updated | Robin Appelman | 2016-10-11 | 1 | -24/+128 | |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | |||||
* | dont update the auth token twice | Robin Appelman | 2016-10-11 | 1 | -3/+0 | |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | |||||
* | Only trigger postDelete hooks when the user was deleted... | Joas Schilling | 2016-09-29 | 1 | -4/+5 | |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | |||||
* | Make sure that comments, notifications and preferences are deleted | Joas Schilling | 2016-09-29 | 1 | -11/+74 | |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | |||||
* | Fix getMock User | Roeland Jago Douma | 2016-09-13 | 4 | -136/+146 | |
| | ||||||
* | dont get bruteforce delay twice | Robin Appelman | 2016-08-29 | 1 | -6/+6 | |
| | ||||||
* | Mitigate race condition | Lukas Reschke | 2016-07-20 | 1 | -3/+18 | |
| | ||||||
* | Implement brute force protection | Lukas Reschke | 2016-07-20 | 1 | -11/+35 | |
| | | | | | | | | | 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) | |||||
* | Fix failing tests after db split | Roeland Jago Douma | 2016-07-13 | 1 | -4/+4 | |
| | ||||||
* | Merge remote-tracking branch 'upstream/master' into master-sync-upstream | Lukas Reschke | 2016-07-01 | 1 | -1/+4 | |
|\ | ||||||
| * | Login hooks (#25260) | Christoph Wurst | 2016-06-27 | 1 | -1/+4 | |
| | | | | | | | | | | | | | | | | | | | | | | | | * fix login hooks * adjust user session tests * fix login return value of successful token logins * trigger preLogin hook earlier; extract method 'loginWithPassword' * call postLogin hook earlier; add PHPDoc | |||||
* | | Merge remote-tracking branch 'upstream/master' into master-sync-upstream | Lukas Reschke | 2016-06-27 | 1 | -0/+30 | |
|\| | ||||||
| * | check login name when authenticating with client token | Christoph Wurst | 2016-06-24 | 1 | -0/+30 | |
| | | ||||||
* | | verify user password on change | Bjoern Schiessle | 2016-06-27 | 1 | -1/+46 | |
|/ | ||||||
* | Merge pull request #25172 from owncloud/token-login-validation | Vincent Petry | 2016-06-22 | 1 | -80/+81 | |
|\ | | | | | Token login validation | |||||
| * | fix unit test warning/errors | Christoph Wurst | 2016-06-20 | 1 | -15/+16 | |
| | | ||||||
| * | fix user session tests | Christoph Wurst | 2016-06-20 | 1 | -73/+73 | |
| | | ||||||
* | | update session token password on user password change | Christoph Wurst | 2016-06-21 | 1 | -0/+65 | |
| | | ||||||
* | | add PasswordLoginForbiddenException | Christoph Wurst | 2016-06-17 | 1 | -2/+8 | |
|/ | ||||||
* | create session token only for clients that support cookies | Christoph Wurst | 2016-06-13 | 1 | -3/+45 | |
| | ||||||
* | When creating a session token, make sure it's the login password and not a ↵ | Christoph Wurst | 2016-06-08 | 1 | -24/+135 | |
| | | | | device token | |||||
* | Create session tokens for apache auth users | Christoph Wurst | 2016-05-31 | 1 | -0/+38 | |
| | ||||||
* | do not allow client password logins if token auth is enforced or 2FA is enabled | Christoph Wurst | 2016-05-24 | 1 | -13/+71 | |
| | ||||||
* | when generating browser/device token, save the login name for later password ↵ | Christoph Wurst | 2016-05-24 | 1 | -6/+13 | |
| | | | | checks | |||||
* | invalidate user session if the user is disabled | Christoph Wurst | 2016-05-23 | 1 | -0/+47 | |
| | ||||||
* | Move tests/ to PSR-4 (#24731) | Joas Schilling | 2016-05-20 | 7 | -0/+1695 | |
* Move a-b to PSR-4 * Move c-d to PSR-4 * Move e+g to PSR-4 * Move h-l to PSR-4 * Move m-r to PSR-4 * Move s-u to PSR-4 * Move files/ to PSR-4 * Move remaining tests to PSR-4 * Remove Test\ from old autoloader |