summary refs log tree commit diff
path: root/webclient/components (follow)
Commit message (Collapse)AuthorAgeFilesLines
* The REST API spec only alows for returning a single server so name theDavid Baker2014-09-241-1/+1
| | | | endpoint appropriately.
* Hopefully implement turn in the web client (probably wrong for Firefox ↵David Baker2014-09-242-3/+34
| | | | because Firefox is a special snowflake)
* fix NPEMatthew Hodgson2014-09-231-2/+1
|
* Show display name changes in the message list.Kegan Dougal2014-09-221-5/+23
|
* Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2014-09-221-1/+1
|\
| * Fix undefined variable errorDavid Baker2014-09-191-1/+1
| |
* | Propagate failure reason to the other party.David Baker2014-09-222-7/+8
| |
* | Better logging of ICE candidates and fail the call when ICE fails.David Baker2014-09-221-2/+5
| |
* | go back to the original behaviour of only notifying if we think the app is ↵Matthew Hodgson2014-09-201-8/+14
| | | | | | | | backgrounded or idle...
* | remove insanely busy logging which is killing CPUMatthew Hodgson2014-09-201-2/+6
| |
* | Notify a callee that their browser doesn't support VoIP too.David Baker2014-09-192-1/+13
| | | | | | | | SYWEB-14 #resolved
* | Join rooms if we're not already in them when accepting a call coming from ↵David Baker2014-09-191-0/+15
| | | | | | | | | | | | that room. SYWEB-55 #resolve
* | Merge branch 'videocalls' into developDavid Baker2014-09-191-12/+94
|\ \ | | | | | | | | | | | | Conflicts: webclient/room/room.html
| * | Prettier and stabler video with basic support for viewing mode. For now, ↵David Baker2014-09-181-3/+19
| | | | | | | | | | | | transition into 'large' mode is disabled.
| * | WIP video chat layoutDavid Baker2014-09-181-0/+2
| | |
| * | Video calling (in a tiny box at the moment)David Baker2014-09-171-11/+75
| | |
* | | SYWEB-13 SYWEB-14: disabled "Call" button if the browser does not support ↵Emmanuel ROHEE2014-09-191-0/+5
| | | | | | | | | | | | all required WebRTC features
* | | SYWEB-13: disabled "Send image" button if the browser does not support HTML5 ↵Emmanuel ROHEE2014-09-191-6/+16
| | | | | | | | | | | | file API
* | | A kind of the typo in the fix of SYWEB-44Emmanuel ROHEE2014-09-191-2/+2
| | |
* | | Room id leaks: log them when then happens. Plus log the conditions that made ↵Emmanuel ROHEE2014-09-191-0/+4
| | | | | | | | | | | | them happen
* | | Fixed SYWEB-16: When sending an invite over federation, the remote user sees ↵Emmanuel ROHEE2014-09-191-22/+38
| |/ |/| | | | | the name of the resulting invite room as *their* name rather than the inviters
* | Oops. Removed dev logsEmmanuel ROHEE2014-09-181-1/+0
| |
* | SYWEB-14: BF: rooms invitations were not visible in recents after ↵Emmanuel ROHEE2014-09-182-3/+18
| | | | | | | | launching/refreshing the web page
* | undefined is empty. Fixed bug where empty bingWords with old accounts which ↵Kegan Dougal2014-09-181-1/+1
| | | | | | | | hadn't logged in didn't send notifications.
* | SYWEB-40: Only local rooms are shown in the recents list.Emmanuel ROHEE2014-09-181-7/+0
| | | | | | | | Removed an old patch that deduplicated join events. This patch is now useless. Plus it is buggy since it compared event.content and event.prev_content only on the membership field whereas these objects contain more data now like displayname...
* | Reverted patches done for SYWEB-40Emmanuel ROHEE2014-09-181-8/+2
| |
* | Patch for SYWEB-40 : isStateEvent is not being set correctly, and really ↵Kegan Dougal2014-09-181-2/+8
| | | | | | | | shouldn't be a configurable arg in the first place. As a result of being undefined, the events.rooms[rid].members object was not being updated in some cases, which combined with the recents-filter bug (32808e4), caused federated rooms to not appear in the recents list.
* | unbreak calls in firefoxDavid Baker2014-09-181-1/+1
| |
* | Create room entries for public rooms too so their public state is ↵Kegan Dougal2014-09-171-0/+1
| | | | | | | | transferred over correctly when you join it.
* | webclient SYWEB-3 : Public rooms are bold. Can't think of a nicer way which ↵Kegan Dougal2014-09-172-0/+13
| | | | | | | | doesn't clutter the recents list.
* | SYWEB-22: Format emote('/me') messages correctly in desktop notificationEmmanuel ROHEE2014-09-171-1/+7
| |
* | SYWEB-15: Always show the room alias as well as its name in the UIEmmanuel ROHEE2014-09-171-54/+56
| |
* | Bugfix when content isn't a string.Kegan Dougal2014-09-161-1/+1
| |
* | Don't bing for sent messages. Handle cases where the member is unknown ↵Kegan Dougal2014-09-161-3/+8
| | | | | | | | rather than erroring out.
* | Added basic RegExp support.Kegan Dougal2014-09-161-4/+2
| |
* | Bing on all the things if there are 0 bing words.Kegan Dougal2014-09-161-0/+6
| |
* | hidden/minimise/focus disaster disclaimer with the TODOKegan Dougal2014-09-161-0/+4
| |
* | Added utility function containsBingWord and hook up some css to it.Kegan Dougal2014-09-161-30/+41
| |
* | Added bing detection logic. Persist the display name of the user in ↵Kegan Dougal2014-09-161-2/+35
| | | | | | | | localstorage for use when binging.
* | Move the notification logic out of an individual room controller and into ↵Kegan Dougal2014-09-161-1/+19
|/ | | | the general event handler, so we can notify for >1 room.
* Time out calls from both ends properly.David Baker2014-09-162-8/+20
|
* WEB-29: Improve room page content loadingEmmanuel ROHEE2014-09-162-7/+25
| | | | InitialSync: load the 30 last messages of each room so that a full page of messages can be displayed without additionnal request
* Use event age to recognise which calls are current and which aren't and ↵David Baker2014-09-162-15/+73
| | | | hence support answering calls that were placed before we loaded the page.
* Merge remote-tracking branch 'origin/develop' into webclient_data_centralisationEmmanuel ROHEE2014-09-161-23/+140
|\
| * Be consistent when associating keys with login types for registration/login.Kegan Dougal2014-09-151-1/+1
| |
| * Make captcha work again with the new registration logic.Kegan Dougal2014-09-151-1/+21
| |
| * Updated webclient to support the new registration logic.Kegan Dougal2014-09-151-23/+120
| |
* | Filter room where the user has been bannedEmmanuel ROHEE2014-09-151-0/+16
| |
* | Recents must not show temporary fake messagesEmmanuel ROHEE2014-09-151-0/+24
| |
* | Recents uses data directly from $rootscope.eventsEmmanuel ROHEE2014-09-151-8/+35
|/
* BF: presence and eventMap were not reset at logout.Emmanuel ROHEE2014-09-151-10/+14
|
* Send multiple candidates at once instead of all individually. Changes spec ↵David Baker2014-09-122-9/+58
| | | | to include multiple candidates in a candidate(s) message.
* Clean data when user logs outEmmanuel ROHEE2014-09-121-6/+18
|
* Retry sending events that fail to send.David Baker2014-09-121-11/+28
|
* Always pick the incoming call if we've not yet sent out our invite, ↵David Baker2014-09-122-5/+14
| | | | otherwise the remorte party will see their call get rejected and our call won't come in until our user clicks allow.
* Remove the local AV stream from ourselves when handing it off to a new call ↵David Baker2014-09-121-0/+6
| | | | or we'll close it when we hang up.
* Added edition of room nameEmmanuel ROHEE2014-09-121-0/+7
|
* Show room name updates in room history and recents.Emmanuel ROHEE2014-09-122-38/+42
| | | | Update it with the latest value
* BF: temp workaround while /initialSync on a particular room is not availableEmmanuel ROHEE2014-09-121-0/+5
| | | | initRoom on a new room is not called. Call it for any received events
* few fixes for errors in glare conditions. still seem to end up with no audio ↵David Baker2014-09-111-4/+3
| | | | if both calls are placed at the same time.
* Put back the line that adds the stream to the invite, otherwise ↵David Baker2014-09-111-0/+1
| | | | caller->callee audio won't work...
* Fix bug where web client wold break trying to add the earliest token without ↵David Baker2014-09-111-12/+1
| | | | having initialised the room if your first page of history contained only events which didn't call initRoom. Just call initRoom in handleMessages since we use it there rather than leaving it to the individual event handling methods.
* start towards glare support (currently not much better but no worse than ↵David Baker2014-09-112-57/+106
| | | | before) including fixing a lot of self/var self/this fails that caused chaos when we started to have more than one call in play.
* Show room topic change in the chat history and in the recentsEmmanuel ROHEE2014-09-111-4/+21
|
* getRoomEventIndex: improved speed for what it is usedEmmanuel ROHEE2014-09-111-3/+4
|
* Merge remote-tracking branch 'origin/develop' into webclient_initialSyncEmmanuel ROHEE2014-09-101-5/+9
|\
| * Less buggy rejection of calls when busyDavid Baker2014-09-101-5/+9
| |
* | Reenabled transparent echo message. It turns to opaque without flickering now.Emmanuel ROHEE2014-09-101-2/+32
| |
* | Member event: store use the the latest oneEmmanuel ROHEE2014-09-101-2/+7
| |
* | Removed wrong comments about recents-controller.js: it uses $rootScope.rooms ↵Emmanuel ROHEE2014-09-101-3/+2
| | | | | | | | not $rootScope.events.rooms managed by event-handler-service.js and used by other controllers
* | dedup events: state events conflict with messages events. Do not consider ↵Emmanuel ROHEE2014-09-101-7/+9
| | | | | | | | them in deduplication
* | Reenabled handle of room states events in initialSync but do not add them to ↵Emmanuel ROHEE2014-09-102-13/+13
| | | | | | | | | | | | the displayed messages in the room page. Show the m.room.member events only when they come from room.messages (from initialSync of pagination) not from room.state.
* | Presence events do not have event id. Do not discard themEmmanuel ROHEE2014-09-101-2/+2
| |
* | Improved requests: pagination is done from the data received in initialSyncEmmanuel ROHEE2014-09-102-6/+31
|/
* Hangup call if user denies media access.David Baker2014-09-091-0/+2
|
* Don't try setting up the call if the user has canceled it before allowing ↵David Baker2014-09-091-0/+4
| | | | permission.
* Don't break if you press the hangup button before allowing media permission.David Baker2014-09-091-1/+1
|
* Don't play an engaged tone if we hang up locally.David Baker2014-09-091-3/+8
|
* make calls work in FirefoxDavid Baker2014-09-091-8/+21
|
* Show call invites in the message tableDavid Baker2014-09-091-0/+3
|
* Add ability to set topic by double-clicking on the topic text then hitting ↵Kegan Dougal2014-09-082-0/+20
| | | | enter.
* Fixed bug which displayed an older room topic because it was being returned ↵Kegan Dougal2014-09-081-1/+13
| | | | from /initialSync messages key. Check the ts of the event before clobbering state.
* Display the room topic in the room, underneath the name of the room.Kegan Dougal2014-09-081-0/+11
|
* Added big massive TODOs on a huge design problem with initial syncKegan Dougal2014-09-081-0/+2
|
* matrixService.rooms must be renamed matrixService.initialSync nowEmmanuel ROHEE2014-09-082-3/+4
|
* App startup improvements:Emmanuel ROHEE2014-09-082-6/+6
| | | | | | | - do one and only one initialSync when the app starts. (recents-controller does not do its own anymore) - initialSync: get only the last message per room instead of default number of messages (10) Prevent recents-controller from loosing its data each time the page URL changes
* add sounds to the calling interfaceDavid Baker2014-09-081-12/+34
|
* fix desktop notifs, which were broken in eab463fdMatthew Hodgson2014-09-081-1/+1
|
* disable broken event dup suppression, and fix echo for /meMatthew Hodgson2014-09-081-2/+9
|
* Set the room_alias field when we encounter a new one, rather than only from ↵Kegan Dougal2014-09-081-2/+1
| | | | local storage.
* dedup all eventsMatthew Hodgson2014-09-061-31/+42
|
* handle m.room.aliases for id<->alias mapping; remove local_storage map; stop ↵Matthew Hodgson2014-09-063-3/+40
| | | | local echo flickering by removing opacity transition for now; implement /join
* Added captcha support on both the HS and web client.Kegan Dougal2014-09-051-4/+21
|\ | | | | | | Merge branch 'captcha' of github.com:matrix-org/synapse into develop
| * Added a captcha config to the HS, to enable registration captcha checking ↵Kegan Dougal2014-09-051-1/+0
| | | | | | | | and for the recaptcha private key.
| * Modified matrixService.register to specify if captcha results should be sent ↵Kegan Dougal2014-09-051-4/+22
| | | | | | | | with the registration request. This is toggleable via useCaptcha in register-controller.
* | Better call bar (visually: still lacks ring[back] tones).David Baker2014-09-062-2/+12
|/
* Created kick & unban methods in matrixService. Made some factorisation.Emmanuel ROHEE2014-09-051-11/+21
|
* BF: Make /unban work againEmmanuel ROHEE2014-09-051-1/+1
|
* Fixed empty display name (content.displayname in a room member can be null)Emmanuel ROHEE2014-09-051-1/+3
|
* Revert "Fixed empty display name (content.displayname in a room member can ↵Emmanuel ROHEE2014-09-051-6/+0
| | | | | | be null)" This reverts commit f286a4fcd46ff6c2c42a8732d004d8188aaa65f8.
* Fixed empty display name (content.displayname in a room member can be null)Emmanuel ROHEE2014-09-051-0/+6
|
* switch IRC-style command parser to use regexps rather than split(" ") so ↵Matthew Hodgson2014-09-041-3/+8
| | | | | | | | that it doesn't choke on consecutive whitespaces yield better errors for invalid commands don't pass invalid commands through as messages support kick reasons
* BF: presence PUT requests stopped to work with old "state" param yesterday ↵Emmanuel ROHEE2014-09-041-1/+1
| | | | evening :( -https://github.com/matrix-org/synapse/commit/cda31fb7553ba3d880de09a464ae3b62ea6632fc?diff=unified
* Added mUserDisplayName, a filter to resolve a user display name from a user_idEmmanuel ROHEE2014-09-041-0/+33
|
* Moved mRoomName filter into matrix-filter.js, a place for all generic ↵Emmanuel ROHEE2014-09-041-0/+100
| | | | filters using Matrix data.
* Merge branch 'develop' of github.com:matrix-org/synapse into developDavid Baker2014-09-039-17/+86
|\ | | | | | | | | Conflicts: synapse/http/client.py
| * Fix ban pathErik Johnston2014-09-031-1/+1
| |
| * Fix a few cases where we used user_id instead of state_keyErik Johnston2014-09-031-1/+1
| |
| * Use /rooms/$room_id/state/m.room.member/$user_id to change the membership of ↵Emmanuel ROHEE2014-09-031-1/+13
| | | | | | | | another user
| * fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-039-9/+9
| | | | | | | | hasn't been incorporated in time for launch.
| * Add support for room namesErik Johnston2014-09-031-1/+14
| |
| * Do not define power level limits in setUserPowerLevel. Update the function ↵Emmanuel ROHEE2014-09-031-34/+2
| | | | | | | | to be used as a resetUserPowerLevel
| * Added /deop $user_idEmmanuel ROHEE2014-09-031-2/+27
| |
| * BF: Do not be polluted by ops events that come when paginating backEmmanuel ROHEE2014-09-031-2/+5
| |
| * Added /op $user_id $powerLevelEmmanuel ROHEE2014-09-032-6/+42
| |
| * Added /ban commandEmmanuel ROHEE2014-09-031-1/+13
| |
* | Make registering and logging in with a threepid work in the webclient.David Baker2014-09-031-4/+10
|/
* Handle "m.room.create" in order to inform controllers about new roomsEmmanuel ROHEE2014-09-021-2/+14
|
* Represent user power level in a room by a red bar at the bottom of his ↵Emmanuel ROHEE2014-09-022-0/+42
| | | | avatar image. The width of this bar depends on the power level.
* change the world: make the default matrix API URL prefix /_matrix rather ↵Matthew Hodgson2014-08-312-7/+7
| | | | | | than /matrix to make it easier for existing websites to mount a HS in their namespace without collisions. perl -pi -e 's#/matrix#/_matrix#g' ./cmdclient/console.py ./docs/client-server/howto.rst ./docs/client-server/specification.rst ./docs/client-server/swagger_matrix/directory ./docs/client-server/swagger_matrix/events ./docs/client-server/swagger_matrix/login ./docs/client-server/swagger_matrix/presence ./docs/client-server/swagger_matrix/profile ./docs/client-server/swagger_matrix/registration ./docs/client-server/swagger_matrix/rooms ./docs/server-server/specification.rst ./graph/graph.py ./jsfiddles/create_room_send_msg/demo.js ./jsfiddles/event_stream/demo.js ./jsfiddles/example_app/demo.js ./jsfiddles/register_login/demo.js ./jsfiddles/room_memberships/demo.js ./synapse/api/urls.py ./tests/federation/test_federation.py ./tests/handlers/test_presence.py ./tests/handlers/test_typing.py ./tests/rest/test_events.py ./tests/rest/test_presence.py ./tests/rest/test_profile.py ./tests/rest/test_rooms.py ./webclient/components/fileUpload/file-upload-service.js ./webclient/components/matrix/matrix-service.js
* nasty big monolithic commit of a whole bunch of UI/UX improvements:Matthew Hodgson2014-08-311-5/+9
| | | | | | | | - add a simple CSS template across the app for navigation & cosmetics - split login into login & register, and totally reskin it - restructure room CSS to play nicely with it - implement basis 1:1 chat from user pages - disable autofocus on iOS to improve UX
* Give basic feedback on the state of VoIP calls in the UI.David Baker2014-08-291-1/+2
|
* better support for call hangupsDavid Baker2014-08-291-16/+16
|
* The away state is unavailable not offlineEmmanuel ROHEE2014-08-291-7/+7
|
* Oops, forgot a s/sendObject/sendEvent/ - make messages work again!David Baker2014-08-291-1/+1
|
* Don't break if the call ends before it connectsDavid Baker2014-08-291-12/+20
|
* Change call signalling messages to be their own types of room events rather ↵David Baker2014-08-294-17/+26
| | | | than room messages with different msgtypes: room messages should be things that the client can display as a unit message to the user.
* Merge branch 'voip' into developDavid Baker2014-08-293-1/+332
|\ | | | | | | | | Conflicts: webclient/room/room-controller.js
| * More basic functionality for voip calls (like hanging up)David Baker2014-08-292-4/+68
| |
| * First basic working VoIP call supportDavid Baker2014-08-282-15/+134
| |
| * WIP voip support on web clientDavid Baker2014-08-273-1/+149
| |
* | Added a timeout(40s) to $http stream requests (/events) in order to be ↵Emmanuel ROHEE2014-08-292-10/+27
| | | | | | | | notified by an error when there is a network issue. Thus, we can retry with a new request.
* | Renamed matrixService.assignRoomAliases into getRoomAliasAndDisplayNameEmmanuel ROHEE2014-08-291-26/+30
| |
* | Added waitForInitialSyncCompletion so that clients can know when they can ↵Emmanuel ROHEE2014-08-282-9/+24
| | | | | | | | access to the data retrieved by the initialSync Request
* | BF: Made member events parsing work (handleEvents expects an array of events)Emmanuel ROHEE2014-08-281-8/+4
|/
* Moved assignRoomAliases into a central piece: matrixService for nowEmmanuel ROHEE2014-08-271-0/+34
|
* Support limit and feedback param of initialSyncEmmanuel ROHEE2014-08-271-2/+11
|
* Renamed /ds to /directoryKegan Dougal2014-08-271-1/+1
|
* Renamed /public/rooms to /publicRoomsKegan Dougal2014-08-271-1/+1
|
* 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