summary refs log tree commit diff
path: root/webclient/app.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Event streaming now happens on an app level, rather than a per-room level. ↵Kegan Dougal2014-08-151-1/+5
| | | | 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.
* Added event handler service which.. handles events. More specifically, it ↵Kegan Dougal2014-08-151-1/+2
| | | | $broadcasts events depending on their type, and does processing on events (shuffling keys, adding events to $rootScope so displays will automatically update, sending delivery receipts, and so on). Some of this logic was previously contained in the RoomController, which fails the moment you add >1 room into the mix, hence requiring a Service to handle events, rather than having each individual controller maintain their part of the world.
* Added event stream service which neatly blobs together requests / state for ↵Kegan Dougal2014-08-151-1/+2
| | | | the event stream. This depends on matrix service to do the actual hit. Currently this has exactly the same behaviour as before.
* Move the unknown token broadcast to the interceptor. Return the $http ↵Kegan Dougal2014-08-141-5/+5
| | | | promise and not a wrapped one via $q. Everything now needs a level deeper nesting. Fixed registration and login.
* Added an access token interceptor to check unknown tokens.Kegan Dougal2014-08-141-3/+19
|
* completely change the CSS to be an entirely 'position: absolute' layout ↵Matthew Hodgson2014-08-141-1/+6
| | | | rather than top-to-bottom. makes the overscroll much more predictable and sane and not dependent on CSS expressions.
* add in copyrights to everything, not just the synapse subdir, and add a ↵Matthew Hodgson2014-08-131-0/+16
| | | | copyrighter.pl whilst we're at it
* Reference Matrix Home Servermatrix.org2014-08-121-0/+57