summaryrefslogtreecommitdiffstats
path: root/core/Controller
Commit message (Collapse)AuthorAgeFilesLines
* Show login error message correctly (#24599)Christoph Wurst2016-05-121-1/+0
|
* Use proper URL generation function (#24576)Lukas Reschke2016-05-111-1/+1
| | | Fixes the redirection after login, otherwise `core/files/index` is opened which fails.
* use the UID for creating the session token, not the login nameChristoph Wurst2016-05-111-4/+4
|
* fix login with emailChristoph Wurst2016-05-111-1/+2
|
* fix PHPDoc and other minor issuesChristoph Wurst2016-05-112-4/+3
|
* show login errorChristoph Wurst2016-05-111-5/+12
|
* PHPDoc and other minor fixesChristoph Wurst2016-05-111-2/+4
|
* add unit tests for all new classesChristoph Wurst2016-05-111-3/+3
|
* increase token column widthChristoph Wurst2016-05-111-2/+1
| | | | add some range to time() assertions
* fix LoginController unit testsChristoph Wurst2016-05-111-1/+1
|
* fix setupChristoph Wurst2016-05-111-4/+11
|
* Add token auth for OCS APIsChristoph Wurst2016-05-112-3/+7
|
* Add index on 'last_activity'Christoph Wurst2016-05-111-2/+3
| | | | | | add token type column and delete only temporary tokens in the background job debounce token updates; fix wrong class import
* Add controller to generate client tokensChristoph Wurst2016-05-111-0/+82
|
* Check if session token is valid and log user out if the check failsChristoph Wurst2016-05-111-1/+0
| | | | | * Update last_activity timestamp of the session token * Check user backend credentials once in 5 minutes
* token based authChristoph Wurst2016-05-111-23/+52
| | | | | | | | * Add InvalidTokenException * add DefaultTokenMapper and use it to check if a auth token exists * create new token for the browser session if none exists hash stored token; save user agent * encrypt login password when creating the token
* Move logout to controllerLukas Reschke2016-04-181-1/+23
| | | | Testable code. Yay.
* Also check for an empty stringLukas Reschke2016-04-151-4/+4
| | | | PHP. Yay.
* Rename `username` to `loginName`Lukas Reschke2016-04-151-4/+4
| | | | UID and login name are two different things.
* Use !== instead of emptyLukas Reschke2016-04-151-4/+4
| | | | Users can be named null
* Move login form into controllerLukas Reschke2016-04-151-0/+138
| | | | First step on getting the authorisation stuff cleaned up. This is only for the login form, all other stuff is still where it is.
* Rename files to be PSR-4 compliantLukas Reschke2016-04-064-0/+789