Commit Graph

26 Commits

Author SHA1 Message Date
Kegan Dougal c3278a8262 Tidy up room.html member list to use member again, now that scope.members is gone. 2014-11-14 15:39:47 +00:00
Kegan Dougal 5ebd004a10 Actually look for last_active_ago in the right place.. 2014-11-14 15:30:49 +00:00
Kegan Dougal 459863bcff Remove scope.members from RoomController and use modelService instead. This may make things unstable. 2014-11-14 14:26:05 +00:00
Kegan Dougal d5a42e9d9c Use modelService for getting current presence state rather than RoomController.members 2014-11-14 12:59:22 +00:00
Kegan Dougal 49a1b4262d Use modelService to access room member power levels rather than RoomController. 2014-11-14 11:29:50 +00:00
Kegan Dougal 974206ebe1 Use mUserDisplayName filter in more places. Store power_level[norm] for each RoomMember. 2014-11-14 11:13:03 +00:00
Kegan Dougal 3916e23bbd Remove rootScope.presence and replaced with modelService.getUser/setUser. 2014-11-13 16:43:53 +00:00
Kegan Dougal afd2e214bc SYWEB-152: Move up/down history fully to a directive.
Previously, there was some of it in a lovely generic directive, but the
core of it was hard coded id attributes in RoomController. It's now all
generic in a directive: the room history you get when you up/down arrow
is determined by the value of the attribute e.g. command-history="!foo:bar"
would present the history for !foo:bar. In practice, this is {{room_id}}
in the html.
2014-11-13 16:12:17 +00:00
Kegan Dougal d085807070 Migrate random bits of desktop notification logic out of roomController and into eventHandlerService where everything else is. 2014-11-13 15:21:50 +00:00
Kegan Dougal 5180285456 SYWEB-152: Unbreak /me 2014-11-13 11:58:28 +00:00
Kegan Dougal 8ce69e802d SYWEB-152: Migrate IRC command logic to commands-service. 2014-11-13 11:55:49 +00:00
David Baker 2b64c573c3 Oops, change videoElement / selector in audio call too. 2014-11-12 17:31:03 +00:00
Kegan Dougal f4a3b194da Fix ability to invite users. Remove unused variables. 2014-11-12 17:06:12 +00:00
Kegan Dougal 96cd467cfa Add recents-service to store shared state between recents-controllers.
Remove the selectedRoomId from rootScope and instead store it in
recents-service. Add a broadcast to notify listeners (recents-controller)
to updates of this.
2014-11-12 14:57:36 +00:00
Kegan Dougal e632fcd933 SYWEB-57: Highlight rooms where the history has changed.
This highlights rooms when something has happened and you haven't viewed
it yet. It highlights entries in a slightly red background colour.
2014-11-12 14:31:30 +00:00
Kegan Dougal e7ccd26c70 SYWEB-140: Redact button layout. 2014-11-12 11:40:28 +00:00
Kegan Dougal 9d0efedaee Move room alias/id mapping logic from matrixService to modelService. 2014-11-12 11:14:19 +00:00
Matthew Hodgson 217c082ac1 linky topics 2014-11-11 05:27:18 +00:00
Matthew Hodgson 588dcf492b wrap fully qualified user IDs more intelligently 2014-11-11 05:16:03 +00:00
Matthew Hodgson 2fdf939ca9 fix weird shaped message table rows 2014-11-11 05:02:24 +00:00
Matthew Hodgson b765dc005b major CSS overhaul to try to make things look a bit cleaner 2014-11-11 04:39:30 +00:00
David Baker 7d15452c30 Various fixes to try & make openwebrtc safari extension work (still doesn't work). 2014-11-07 17:56:28 +00:00
David Baker 4b256cab31 Don't cache isWebRTCSupported because whether webRTC is supported might change part-way through the page's lifecycle if your webrtc support comes from some kind of injected content script (hello OpenWebRTC Sarafi extension) 2014-11-06 16:49:33 +00:00
Kegan Dougal e3c3f5a6d0 Swap from using raw m.room.member events for room members to using actual RoomMember objects, so User objects can be tacked on. Update tests. 2014-11-06 14:52:22 +00:00
Kegan Dougal d4c20c472b Use mRoomName on join notifications as well. 2014-11-06 14:23:14 +00:00
Mark Haines 89ba802b23 Move webclient to a python module so that it can be installed 2014-11-04 15:57:23 +00:00