summary refs log tree commit diff
path: root/webclient (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove old polling stuff from RoomController. Added service comments. Do not ↵Kegan Dougal2014-08-154-45/+20
| | | | 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-155-19/+76
| | | | 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-153-12/+29
| | | | controllers without duplicated storage for each. This also gives updates.
* Added event handler service which.. handles events. More specifically, it ↵Kegan Dougal2014-08-155-32/+124
| | | | $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-155-14/+91
| | | | 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.
* We can now upload avatar image somewhereEmmanuel ROHEE2014-08-141-4/+13
|
* Create a temporary upload service server side (by hacking ↵Emmanuel ROHEE2014-08-141-0/+1
| | | | demos/webserver.py) and client side with an angularjs service component.
* 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-143-21/+71
| | | | button to get more (needs to be hooked into infini-scrolling).
* Pass back the user_id in the response to /login in case it has changed. ↵Kegan Dougal2014-08-142-2/+2
| | | | 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-142-7/+1
| | | | 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.
* Finish up room controller too. May have missed one or two, but testing ↵Kegan Dougal2014-08-141-14/+14
| | | | didn't pick anything up.
* Added extra nesting .data and rename callback to be response not dataKegan Dougal2014-08-142-31/+31
|
* Move the unknown token broadcast to the interceptor. Return the $http ↵Kegan Dougal2014-08-144-30/+16
| | | | 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
|
* Detect when the user access token is no more valid and log the user out in ↵Emmanuel ROHEE2014-08-142-4/+20
| | | | this case
* Guess the home server URL on the login screen by inspecting the URL of the ↵Kegan Dougal2014-08-141-1/+9
| | | | web client.
* BF: Use ng-srcEmmanuel ROHEE2014-08-141-1/+1
|
* Use ng-srcEmmanuel ROHEE2014-08-141-1/+1
|
* Show avatar in profile section and added a button to select a file (not yet ↵Emmanuel ROHEE2014-08-143-6/+45
| | | | wired to upload service)
* Created m-file-input. A directive to open a file selection dialog on ↵Emmanuel ROHEE2014-08-142-0/+44
| | | | whatever HTML element
* fix emote presentationMatthew Hodgson2014-08-141-1/+1
|
* config cssMatthew Hodgson2014-08-141-0/+12
|
* completely change the CSS to be an entirely 'position: absolute' layout ↵Matthew Hodgson2014-08-146-29/+46
| | | | 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
|
* Store public room id > alias mappings.Kegan Dougal2014-08-131-0/+6
|
* Merge branch 'master' of git+ssh://github.com/matrix-org/synapseMatthew Hodgson2014-08-137-13/+133
|\
| * Use strings instead of opaque magic-number constants for presence states; ↵Paul "LeoNerd" Evans2014-08-133-9/+6
| | | | | | | | rename AWAY to UNAVAILABLE
| * Room: Added a text input to type an image URL in order to send an image messageEmmanuel ROHEE2014-08-134-3/+37
| |
| * Display image messages from the streamEmmanuel ROHEE2014-08-132-1/+10
| |
| * add in copyrights to everything, not just the synapse subdir, and add a ↵Matthew Hodgson2014-08-135-0/+80
| | | | | | | | copyrighter.pl whilst we're at it
* | timestampsMatthew Hodgson2014-08-131-1/+1
|/
* remove the png profile image for nowMatthew Hodgson2014-08-121-0/+0
|
* Fix the 'Go to room' button to use the correct room alias apiErik Johnston2014-08-123-2/+31
|
* Make messages list and room users list scroll-overflowEmmanuel ROHEE2014-08-123-13/+32
|
* Reference Matrix Home Servermatrix.org2014-08-1219-0/+25826