summary refs log tree commit diff
path: root/webclient/components (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fix joining rooms on webclientDavid Baker2014-08-271-1/+2
|
* Renamed /rooms to /createRoom. Removed ability to PUT raw room IDs, and ↵Kegan Dougal2014-08-271-1/+1
| | | | removed tests which tested that. Updated cmdclient and webclient.
* Removed MessageRestServlet, use RoomSendEventRestServlet instead. Updated ↵Kegan Dougal2014-08-261-6/+5
| | | | cmdclient, tests and webclient. All appears to work.
* Renaming: /im/sync >> /initialSync. /rooms/$roomid/members/list >> ↵Kegan Dougal2014-08-261-3/+3
| | | | /rooms/$roomid/members. /rooms$roomid/messages/list >> /room/$roomid/messages. Updated cmdclient, tests and webclient.
* Determine and send user presence stateEmmanuel ROHEE2014-08-262-0/+130
|
* webclient: Updated to use /rooms/$roomid/[invite|join|leave]Kegan Dougal2014-08-261-7/+11
|
* Adjusted webclient to use new state paths. Updated membership msg template ↵Kegan Dougal2014-08-262-39/+12
| | | | to actually show the person invited. Factored out common membership functions in matrix service.
* Merge branch 'develop' of github.com:matrix-org/synapse into release-v0.0.1Erik Johnston2014-08-221-5/+13
|\
| * Update web client to use new IS API.David Baker2014-08-221-5/+13
| |
* | Keep track of people's presence and query that when we update the members list.Erik Johnston2014-08-221-0/+3
| |
* | Reinitialize room when creating a RoomController so that we start off with a ↵Erik Johnston2014-08-221-1/+11
| | | | | | | | clean slate, as it expects/
* | Make the content repo work with in daemon mode. Return the full url on ↵Erik Johnston2014-08-221-1/+1
| | | | | | | | upload. Update the webclient to use new content repo api.
* | resizeImage: generate an image in the format of the original image. (Tested ↵Emmanuel ROHEE2014-08-221-1/+3
| | | | | | | | with tranparent PNG, transparent GIF, BMP, JPEG)
* | Safari needs the img.onload event before actually working on the imgEmmanuel ROHEE2014-08-222-27/+39
| |
* | actually display room metadata based on m.room.membe eventsMatthew Hodgson2014-08-211-0/+11
| |
* | Only start event streaming after having set up the controllers.Erik Johnston2014-08-211-0/+10
| |
* | Change webclient to always hit the im sync api before streaming so we get ↵Erik Johnston2014-08-211-6/+35
|/ | | | current presence state
* Generate thumbnail client side and send its URL and info with the image ↵Emmanuel ROHEE2014-08-212-6/+137
| | | | message body
* Made uploadContent compatible for sending Blob objectsEmmanuel ROHEE2014-08-211-4/+22
|
* Added resizeImage()Emmanuel ROHEE2014-08-211-1/+86
|
* Send images with their imageInfo (size, mymetype, width & height)Emmanuel ROHEE2014-08-203-4/+57
|
* Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-191-3/+1
|\
| * Cleaned dead codeEmmanuel ROHEE2014-08-191-3/+1
| |
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-193-19/+44
|\| | | | | | | | | | | | | Conflicts: tests/rest/test_presence.py tests/rest/test_rooms.py tests/utils.py
| * Change mouse cursor to pointer on elements user can click onEmmanuel ROHEE2014-08-191-1/+4
| |
| * Implemented GETs for the ContentRepoResource. It all actually appears to be ↵Kegan Dougal2014-08-181-2/+3
| | | | | | | | working.
| * Auth content uploads. Added a mapping function from request > filename. ↵Kegan Dougal2014-08-182-18/+29
| | | | | | | | Added exception handling for content uploads. webclient: Only prefix the client API path on doRequest, not doBaseRequest (this would've broken the identity server auth too). Added matrixService.uploadContent. May not require mFileUpload anymore.
| * Support room alias in rooms URL (ex: ↵Emmanuel ROHEE2014-08-181-0/+10
| | | | | | | | http://127.0.0.1:8000/#/room/#public:localhost:8080)
* | Change the way pagination works to support out of order events.Erik Johnston2014-08-192-3/+2
|/
* Increase /events timeout to 30 secs. We don't need it so low anymore to get ↵Kegan Dougal2014-08-181-1/+1
| | | | around request suppression when changing rooms, since there is just a single event stream now.
* 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