1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-09 10:22:46 +03:00
Commit Graph

10556 Commits

Author SHA1 Message Date
David Baker
c6aac8cbd9 Merge pull request #35 from matrix-org/event_read_up_to
Add event to get last read receipt for a user.
2015-11-02 16:04:16 +00:00
David Baker
1b43bc78d0 Remove unnecessary null check & s/"/'/ 2015-11-02 16:02:48 +00:00
Kegan Dougal
93a091c7e8 Wrap /events response processing in a try/catch 2015-11-02 16:02:06 +00:00
David Baker
083dde3557 Fix doc 2015-11-02 16:00:40 +00:00
David Baker
4adc5f2c85 Also need to check if the event is null 2015-11-02 15:19:29 +00:00
Daniel Wagner-Hall
ced14819e4 Merge pull request #34 from matrix-org/daniel/naming
Simplify logic and layout
2015-11-02 15:07:58 +00:00
Daniel Wagner-Hall
0b42d85c5b Use double-quotes for consistency 2015-11-02 15:07:47 +00:00
David Baker
c4a35020f1 Add event to get last read receipt for a user. 2015-11-02 14:39:10 +00:00
Daniel Wagner-Hall
11f052bcc6 Simplify logic and layout 2015-10-30 14:58:59 +00:00
Kegan Dougal
0ea11ea806 Add 0.3.0 browser dist 2015-10-28 16:54:07 +00:00
Kegan Dougal
7cad5a0479 Merge branch 'develop' v0.3.0 2015-10-28 16:49:11 +00:00
Kegan Dougal
83c53f6a79 Fix doc typo 2015-10-28 16:48:08 +00:00
Kegan Dougal
ae13ed7ded Add disclaimer to screensharing 2015-10-28 16:45:07 +00:00
Kegan Dougal
b17385120a Bump to 0.3.0 and add CHANGELOG 2015-10-28 16:42:44 +00:00
Kegsay
cc0d8da416 Merge pull request #32 from matrix-org/member-info-for-invites
Retrieving profile info for invites
2015-10-26 16:42:21 +00:00
Kegsay
c796702eba Merge pull request #31 from matrix-org/search-api
Add search functions and tests
2015-10-26 16:36:15 +00:00
Kegan Dougal
2675442ced Line lengths 2015-10-26 16:31:10 +00:00
Kegan Dougal
aa3e6514c6 Add test for firing (pew pew) of events 2015-10-26 16:30:15 +00:00
Kegan Dougal
be6d64fbfd Add integration tests; fix bugs. 2015-10-26 16:12:06 +00:00
Kegan Dougal
4cbab72369 Resolve invites to profile info
This is so inviters/invitees have a display name and avatar_url if they have
set one. This info isn't contained in the m.room.member event so we get it
direct from /profile.

This is gated behind `resolveInvitesToProfiles` on `startClient(opts)`.
2015-10-26 15:27:44 +00:00
Kegan Dougal
0227b1c68d Add search functions and tests 2015-10-26 13:27:45 +00:00
Matthew Hodgson
4c051202af s/getMembersWithMemership/getMembersWithMembership/g 2015-10-24 01:45:02 +01:00
Matthew Hodgson
981b9e0595 Merge branch 'screen-sharing' into develop 2015-10-23 12:58:55 +01:00
Matthew Hodgson
9e719ba31e drop res back to 640x360 as 1024x576 gave us the wrong aspect ratio 2015-10-23 12:57:46 +01:00
Kegan Dougal
c65f576f8d More logging 2015-10-21 17:15:26 +01:00
Kegan Dougal
2c805bbece More paranoia when handling responses 2015-10-21 16:00:31 +01:00
Kegan Dougal
02b836698c More clarity on cache updating 2015-10-21 14:07:14 +01:00
Kegsay
25112ede58 Merge pull request #30 from matrix-org/set-state-events-perf
Change calculating display names from O(n^2) to O(n)
2015-10-21 13:47:54 +01:00
Kegan Dougal
5888c8a56c Commenting on splice 2015-10-21 13:47:23 +01:00
Kegan Dougal
1cee7bf397 JSDoc 2015-10-21 13:30:32 +01:00
Kegan Dougal
cab7a71a94 Change calculating display names from O(n^2) to O(n)
Reduces initial sync times from ~30s to ~1s on accounts with heavily
populated rooms.

The problem was that f.e. RoomMember it would try to calculate the
display name, which involved looping each RoomMember to get their
display name to check for disambiguation. We now cache display names
to user IDs so we don't need to loop every member when disambiguating.
2015-10-21 13:25:23 +01:00
Matthew Hodgson
d7c63e3487 Merge pull request #29 from matrix-org/screen-sharing
Basic screen-sharing support; adds a screensharing stream into the call and adds support for playback of both an audio-only stream (i.e. the voice-over) alongside an AV stream like the screenshare.
2015-10-21 01:45:38 +01:00
Matthew Hodgson
bff749fd50 fix linter 2015-10-21 01:44:54 +01:00
Matthew Hodgson
5c286352cb improve constraints a bit; fix comments; try to stop sharing more aggressively 2015-10-21 01:40:20 +01:00
Matthew Hodgson
9ec3504c72 dial down logging 2015-10-21 01:40:01 +01:00
Matthew Hodgson
26b3e32ca2 add the concept of a dedicated remote audio element used for playing back audio-only streams (i.e. voice calls, and the voice stream that accompanies a screenshare). Correctly tidy up screen capture calls. 2015-10-21 01:18:55 +01:00
Kegan Dougal
4e2c83cc08 Debug logging 2015-10-20 17:21:25 +01:00
Kegan Dougal
17def14eba Get screen-sharing with audio working 2015-10-20 16:43:51 +01:00
Kegan Dougal
f260de573b Add right constraints to get screen-sharing working
Requires --enable-usermedia-screen-capturing flag on chrome enabled.
2015-10-20 15:11:17 +01:00
David Baker
4fd45ab278 Merge pull request #28 from matrix-org/voip-mute
VoIP local muting
2015-10-20 10:33:24 +01:00
Kegsay
4a2e9eb927 Merge pull request #27 from matrix-org/room-avatars
Room avatars
2015-10-19 16:51:30 +01:00
Kegan Dougal
dd8adef9ed Remove unused args 2015-10-19 16:50:16 +01:00
Kegan Dougal
9164debf03 Add the same for video 2015-10-19 16:48:47 +01:00
Kegan Dougal
534bef8632 Add MatrixCall.isMicrophoneMuted() 2015-10-19 16:28:01 +01:00
Kegan Dougal
d8c43d02ba Add MatrixCall.setMicrophoneMuted 2015-10-19 16:21:13 +01:00
Kegsay
ae3738f822 Formatting 2015-10-19 15:39:23 +01:00
Kegan Dougal
be621e1aa7 Add breaking changes to CHANGELOG 2015-10-19 15:38:39 +01:00
Kegan Dougal
343d63a28a Merge branch 'develop' into room-avatars 2015-10-19 15:33:42 +01:00
Kegsay
0a28d6e950 Merge pull request #26 from matrix-org/invite-room-state
Invite room state
2015-10-19 15:31:45 +01:00
Kegsay
b493a62afa Merge pull request #25 from matrix-org/initial-sync-improvements
Add support for archived=true in initial sync
2015-10-19 15:31:32 +01:00