Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adjust token name | Lukas Reschke | 2017-05-18 | 1 | -1/+1 |
| | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch> | ||||
* | UserManager can now count disabled users | Arthur Schiwon | 2017-04-29 | 1 | -0/+25 |
| | | | | | | Users page takes advantage of that Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> | ||||
* | Use the new method in the old one to remove duplicate code | Joas Schilling | 2017-04-27 | 1 | -5/+11 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Trigger change when a user is enabled/disabled | Joas Schilling | 2017-04-25 | 1 | -1/+49 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Use the correct Dummy and Backend class | Joas Schilling | 2017-04-20 | 1 | -2/+2 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Better validation of allowed user names | Joas Schilling | 2017-04-18 | 1 | -0/+43 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Save the scope of an auth token in the session | Robin Appelman | 2017-04-05 | 1 | -29/+36 |
| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl> | ||||
* | Add tests for database user backend caching | Vincent Petry | 2017-03-20 | 1 | -1/+18 |
| | | | | | | | | Add comment, closeCursor in user DB query Invalidate user in cache after successful creation Signed-off-by: Morris Jobke <hey@morrisjobke.de> | ||||
* | Fix tests | Joas Schilling | 2017-01-05 | 1 | -1/+13 |
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> | ||||
* | Get user home folder before deletion | Vincent Petry | 2016-12-23 | 1 | -0/+32 |
| | | | | | | | After the deletion getHome() will fail because the user doesn't exist any more, so we need to fetch that value earlier. Signed-off-by: Lukas Reschke <lukas@statuscode.ch> | ||||
* | Improve OC\User\User coverage | Roeland Jago Douma | 2016-12-20 | 1 | -49/+204 |
| | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | Set last-login-check on basic auth | Roeland Jago Douma | 2016-12-05 | 1 | -0/+101 |
| | | | | | | | | | Else the last-login-check fails hard because the session value is not set and thus defaults to 0. * Started with tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> | ||||
* | fix parameter order | Christoph Wurst | 2016-11-28 | 1 | -1/+1 |
| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | do not remember session tokens by default | Christoph Wurst | 2016-11-27 | 1 | -3/+43 |
| | | | | | | | | We have to respect the value of the remember-me checkbox. Due to an error in the source code the default value for the session token was to remember it. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at> | ||||
* | 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 |