summary refs log tree commit diff
path: root/webclient/room (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove old polling stuff from RoomController. Added service comments. Do not ↵Kegan Dougal2014-08-151-40/+0
| | | | start the event stream on startup unless you have credentials.
* Event streaming now happens on an app level, rather than a per-room level. ↵Kegan Dougal2014-08-151-4/+0
| | | | 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.
* Store messages in $rootScope so they can be accessed from multiple ↵Kegan Dougal2014-08-152-10/+5
| | | | controllers without duplicated storage for each. This also gives updates.
* Added event handler service which.. handles events. More specifically, it ↵Kegan Dougal2014-08-151-27/+21
| | | | $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-13/+10
| | | | the event stream. This depends on matrix service to do the actual hit. Currently this has exactly the same behaviour as before.
* More helpful display when the event stream fails, wiping it when the ↵Kegan Dougal2014-08-142-5/+10
| | | | connection is regained.
* webclient: You can now paginate in rooms. Defaults to 10 messages, with a ↵Kegan Dougal2014-08-142-21/+60
| | | | button to get more (needs to be hooked into infini-scrolling).
* Finish up room controller too. May have missed one or two, but testing ↵Kegan Dougal2014-08-141-14/+14
| | | | didn't pick anything up.
* BF: Use ng-srcEmmanuel ROHEE2014-08-141-1/+1
|
* fix emote presentationMatthew Hodgson2014-08-141-1/+1
|
* completely change the CSS to be an entirely 'position: absolute' layout ↵Matthew Hodgson2014-08-142-5/+10
| | | | rather than top-to-bottom. makes the overscroll much more predictable and sane and not dependent on CSS expressions.
* don't hammer after 403Matthew Hodgson2014-08-131-1/+4
|
* Merge branch 'master' of git+ssh://github.com/matrix-org/synapseMatthew Hodgson2014-08-132-10/+47
|\
| * Use strings instead of opaque magic-number constants for presence states; ↵Paul "LeoNerd" Evans2014-08-132-8/+5
| | | | | | | | rename AWAY to UNAVAILABLE
| * Room: Added a text input to type an image URL in order to send an image messageEmmanuel ROHEE2014-08-132-1/+24
| |
| * Display image messages from the streamEmmanuel ROHEE2014-08-131-1/+2
| |
| * 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
* | timestampsMatthew Hodgson2014-08-131-1/+1
|/
* Make messages list and room users list scroll-overflowEmmanuel ROHEE2014-08-122-10/+13
|
* Reference Matrix Home Servermatrix.org2014-08-122-0/+290