summary refs log tree commit diff
path: root/webclient/login/login-controller.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use $location.url instead of $location.path to get clean page URL without ↵Emmanuel ROHEE2014-08-221-2/+2
| | | | | | hash arguments of the previous page. This happpens with room URL like http://127.0.0.1:8080/matrix/client/#/room/#public:localhost. The second hash part is transferred to the next page when using $location.path.
* merge weirdnessMatthew Hodgson2014-08-161-1/+1
|
* Event streaming now happens on an app level, rather than a per-room level. ↵Kegan Dougal2014-08-151-3/+4
| | | | Make eventStreamService manage it's own repolling provided no one calls stop() on it. Couple the stream with eventHandlerService so any controller can just blithely call eventStreamService.resume() and expect to 'get stuff' without having to handle promises (though resume() still returns a promise for that request and proxies it through $q). Kill and reset the stream if you logout.
* Pass back the user_id in the response to /login in case it has changed. ↵Kegan Dougal2014-08-141-1/+1
| | | | Store and use that on the webclient rather than the input field.
* hs: Make /login accept full user IDs or just local parts. webclient: Only ↵Kegan Dougal2014-08-141-6/+0
| | | | enable Register button when both password fields match.
* Auto-correct the username when logging in if there isn't an @Kegan Dougal2014-08-141-0/+6
|
* Be more helpful when failing to register/login, stating why (communication ↵Kegan Dougal2014-08-141-4/+16
| | | | error, user in user, wrong credentials, etc). Make the HS send M_USER_IN_USE.
* Added extra nesting .data and rename callback to be response not dataKegan Dougal2014-08-141-2/+2
|
* Move the unknown token broadcast to the interceptor. Return the $http ↵Kegan Dougal2014-08-141-5/+9
| | | | promise and not a wrapped one via $q. Everything now needs a level deeper nesting. Fixed registration and login.
* Guess the home server URL on the login screen by inspecting the URL of the ↵Kegan Dougal2014-08-141-1/+9
| | | | web client.
* Reference Matrix Home Servermatrix.org2014-08-121-0/+81