Kegan Dougal
ea80b9208d
Hook into more of event-handler-service and mimic its functions for now.
2014-10-31 15:16:43 +00:00
Kegan Dougal
394f77c3ff
Parse /initialSync data and populate the new data structures.
2014-10-31 14:50:31 +00:00
Kegan Dougal
2aa79f4fbe
Added model-service.js to store model data.
2014-10-31 14:26:51 +00:00
Kegan Dougal
20cf0b7aeb
Factor out notification logic.
2014-10-31 11:54:04 +00:00
Kegan Dougal
ac2a177070
Add notification-service.js to handle binging/notifications. Shift logic to this service.
2014-10-31 11:20:07 +00:00
Kegan Dougal
baf472f83f
SYWEB-63: Fix desktop notification message when notifying for an image.
2014-10-31 10:02:56 +00:00
Kegan Dougal
8e8bbb00f5
SYWEB-12: Store unknown state events so they are displayed in the Room Info dialog.
2014-10-30 11:22:47 +00:00
Kegan Dougal
b4b492824e
SYWEB-112: Use the right user ID when determining invites for display on the recents list.
2014-10-30 10:05:43 +00:00
Kegan Dougal
0f192579ac
SYWEB-48: Better regex for binging on usernames.
...
This uses /\blocalpart\b|\bdisplayname\b/i which is overall a lot
better than before. This specifically gets @localpart references
which the bug was originally for.
2014-10-29 17:44:57 +00:00
Kegan Dougal
c2f2e26ec5
SYWEB-98: Handle incoming m.room.redaction events.
...
UI for redactions is now complete.
2014-10-29 15:48:41 +00:00
Kegan Dougal
6d4617960d
SYWEB-98: Add redactEvent matrix API call.
2014-10-29 15:31:50 +00:00
Kegan Dougal
ed241ba032
Implement SYWEB-58: Clicking a notification now takes you to that room.
2014-10-29 11:29:26 +00:00
Kegan Dougal
4f6acf114c
Fix SYWEB-110 : Prevent room ID leaking by looking for an m.room.name
2014-10-27 17:05:13 +00:00
giomfo
cf1feee21d
HandleRoomMember: handle correctly prev_content
2014-10-27 14:17:16 +01:00
Matthew Hodgson
1342bcedaf
switch from the deprecated msg.content.prev to msg.prev_content.membership, and fix the bug where kicks of unjoined users aren't displayed sensibly in the history
2014-10-24 16:14:47 +01:00
Matthew Hodgson
e9abbe89f3
more timestamp fixes
2014-10-17 23:53:24 +01:00
Kegan Dougal
07890b43ca
Remove org.matrix.custom.text.html event type and replace it with 'format' and 'formatted_body' keys on m.text messages
2014-10-15 13:57:19 +01:00
Kegan Dougal
f4667f86af
Add support for org.matrix.custom.text.html
...
This format will remain undocumented as it is not yet suitable for
introduction into the specification.
2014-10-15 09:32:02 +01:00
David Baker
c58eb0d5a3
Merge branch 'turn' into develop
2014-09-25 13:09:56 +01:00
David Baker
c0936b103c
Add stun server fallback and I-told-you-so message if we get no TURN server and the connection fails.
2014-09-25 11:14:29 +01:00
Emmanuel ROHEE
ef99a5d972
getUserDisplayName: Disambiguate users who have the same displayname in the room.
...
Displayname are then disambiguate where it is necessary
2014-09-25 11:45:01 +02:00
David Baker
6806caffc7
Refresh turn server before the ttl runs out. Support firefox.
2014-09-24 17:57:34 +01:00
Emmanuel ROHEE
2b4736afcd
Fixed getUserDisplayname when the user has a null displayname
2014-09-24 17:42:40 +02:00
David Baker
7dc7c53029
The REST API spec only alows for returning a single server so name the
...
endpoint appropriately.
2014-09-24 17:28:47 +02:00
David Baker
7679ee7321
Hopefully implement turn in the web client (probably wrong for Firefox because Firefox is a special snowflake)
2014-09-24 16:08:31 +01:00
Emmanuel ROHEE
432e8ef2bc
Fixed SYWEB-74: Emote desktop notifications sometimes lack a name: "undefined waves"
2014-09-24 16:52:48 +02:00
Emmanuel ROHEE
c7620cca6f
SYWEB-27: Public rooms with 2 users must not considered as 1:1 chat room and so, they must no be renamed
2014-09-24 13:17:47 +02:00
Emmanuel ROHEE
6f5970a2e1
Added hasOwnProperty tests when required to be robust to random properties added to he Object prototype
2014-09-24 12:22:40 +02:00
Emmanuel ROHEE
ef5b39c410
State data now provides up-to-date users displaynames. So use it first.
...
Continue to use presence data as fallback solution which is required when users do not join the room yet.
Created eventHandlerService.getUserDisplayName() as a single point to compute display name.
2014-09-24 11:04:27 +02:00
Matthew Hodgson
e8e80fe6b5
fix yet more room id leak disasters
2014-09-23 20:27:09 +01:00
Matthew Hodgson
cbea225d97
manu: what's going on here?
2014-09-23 20:01:32 +01:00
Matthew Hodgson
437969eac9
use all new /rooms/<room id>/state to actually gather the state for rooms whenever join them. a bit ugly, as we don't currently have a nice place to gather housekeeping after joining a room, so horrible code duplication...
2014-09-23 18:50:39 +01:00
Matthew Hodgson
284fac379c
patch over another scenario whe we leak room IDs. i have *zero* idea why or where the webclient is overriding message.membership to be "join" though, when it comes down the events pipe as "invite" (which was causing this failure mode)
2014-09-23 17:31:13 +01:00
Matthew Hodgson
5aa13b9084
fix a case of rampaging SYWEB-78
2014-09-23 17:31:13 +01:00
Matthew Hodgson
7d94913efb
remove old commented-out code
2014-09-23 16:12:25 +01:00
Matthew Hodgson
c9f73bd325
fix one cause of SYWEB-53
2014-09-23 16:12:25 +01:00
Matthew Hodgson
997a016122
fix NPE
2014-09-23 13:01:12 +01:00
Kegan Dougal
b5c9d99424
Show display name changes in the message list.
2014-09-22 17:46:53 +01:00
Erik Johnston
e68dc04900
Merge branch 'master' of github.com:matrix-org/synapse into develop
2014-09-22 13:02:47 +01:00
David Baker
4696622b0a
Propagate failure reason to the other party.
2014-09-22 11:44:15 +01:00
David Baker
83ea3c96ec
Better logging of ICE candidates and fail the call when ICE fails.
2014-09-22 10:55:01 +01:00
Matthew Hodgson
a0c3da17b4
go back to the original behaviour of only notifying if we think the app is backgrounded or idle...
2014-09-20 01:40:29 +01:00
Matthew Hodgson
4c7a1abd39
remove insanely busy logging which is killing CPU
2014-09-20 01:14:01 +01:00
David Baker
648fd2a622
Notify a callee that their browser doesn't support VoIP too.
...
SYWEB-14 #resolved
2014-09-19 18:22:14 +01:00
David Baker
f6258221c1
Join rooms if we're not already in them when accepting a call coming from that room.
...
SYWEB-55 #resolve
2014-09-19 17:23:55 +01:00
David Baker
03ac0c91ae
Merge branch 'videocalls' into develop
...
Conflicts:
webclient/room/room.html
2014-09-19 16:26:46 +01:00
Emmanuel ROHEE
709b8ac2b7
SYWEB-13 SYWEB-14: disabled "Call" button if the browser does not support all required WebRTC features
2014-09-19 17:20:33 +02:00
David Baker
270825ab2a
Fix undefined variable error
2014-09-19 11:41:49 +01:00
Emmanuel ROHEE
008515c844
A kind of the typo in the fix of SYWEB-44
2014-09-19 09:25:51 +02:00
Emmanuel ROHEE
301ef1bdc6
Room id leaks: log them when then happens. Plus log the conditions that made them happen
2014-09-19 09:17:18 +02:00