summary refs log tree commit diff
path: root/webclient/components (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Do not start the event stream if the user is not logged in (=if he does not ↵Emmanuel ROHEE2014-08-181-5/+14
| | | | | | has an access token yet) Add isUserLoggedIn to check this.
* When new invites come down, update the My Rooms list. Added hacks to make ↵Kegan Dougal2014-08-151-8/+11
| | | | the display name a bit nicer (/im/sync needs to return room aliases / membership events better)
* Remove old polling stuff from RoomController. Added service comments. Do not ↵Kegan Dougal2014-08-152-4/+17
| | | | 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-5/+57
| | | | 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-151-2/+24
| | | | controllers without duplicated storage for each. This also gives updates.
* Added event handler service which.. handles events. More specifically, it ↵Kegan Dougal2014-08-152-4/+100
| | | | $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-152-0/+78
| | | | the event stream. This depends on matrix service to do the actual hit. Currently this has exactly the same behaviour as before.
* Create a temporary upload service server side (by hacking ↵Emmanuel ROHEE2014-08-141-0/+47
| | | | demos/webserver.py) and client side with an angularjs service component.
* webclient: You can now paginate in rooms. Defaults to 10 messages, with a ↵Kegan Dougal2014-08-141-0/+11
| | | | button to get more (needs to be hooked into infini-scrolling).
* Move the unknown token broadcast to the interceptor. Return the $http ↵Kegan Dougal2014-08-141-20/+1
| | | | promise and not a wrapped one via $q. Everything now needs a level deeper nesting. Fixed registration and login.
* Detect when the user access token is no more valid and log the user out in ↵Emmanuel ROHEE2014-08-141-2/+12
| | | | this case
* Created m-file-input. A directive to open a file selection dialog on ↵Emmanuel ROHEE2014-08-141-0/+43
| | | | whatever HTML element
* Room: Added a text input to type an image URL in order to send an image messageEmmanuel ROHEE2014-08-131-0/+11
|
* 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
* Fix the 'Go to room' button to use the correct room alias apiErik Johnston2014-08-121-0/+9
|
* Reference Matrix Home Servermatrix.org2014-08-121-0/+307