Kegan Dougal
b4c353e65f
Linting
2015-11-04 15:37:10 +00:00
Kegan Dougal
e42f6c0cad
Add http fixings to allow MatrixClient UTs
2015-11-04 15:35:31 +00:00
David Baker
bc512a6e4c
Check m.room.name event actually has a name in the content before using it. This should fix the recent disasters with #android being shown as 'undefined' (or crashing vector).
2015-11-04 15:20:25 +00:00
Kegsay
9cf7edc48d
Merge pull request #38 from matrix-org/receipt_events
...
Emit events for read receipts
2015-11-04 12:04:19 +00:00
David Baker
904539df58
Fix c+p fail & add unit test
2015-11-04 12:02:02 +00:00
Kegan Dougal
c9df9c33a8
Linting
2015-11-04 11:53:10 +00:00
Kegan Dougal
5c3bfa6a83
Add stub unit tests for syncing
2015-11-04 11:50:32 +00:00
Matthew Hodgson
149ed04a4f
fix some review feedback; add initial api for setting & deleting tags; still a WIP
2015-11-04 02:24:36 +00:00
Kegan Dougal
e98eaaee6e
Add MatrixClient.retryImmediately() to stop backing off and sync RIGHT NOW
2015-11-03 17:13:50 +00:00
Kegan Dougal
4b93d801ae
Implement the new sync state API
...
Also have retry schemes for the rest of the syncing ops (/events, /pushrules)
2015-11-03 16:44:19 +00:00
Matthew Hodgson
5a1cc4c2e7
store the tags in the right place
2015-11-03 16:19:52 +00:00
Matthew Hodgson
8016a70bc4
remember to check initialSync for m.tag events
2015-11-03 16:18:12 +00:00
Matthew Hodgson
70536d5676
add support for tracking room tags
2015-11-03 16:05:48 +00:00
Kegan Dougal
27ce0970c5
BREAKING: Introduce a formal API for syncing state
...
BREAKING CHANGE:
This replaces syncComplete and syncError.
2015-11-03 14:35:49 +00:00
Kegan Dougal
49f6634d73
Retry /initialSync if it fails (exp backoff up to 2.1min).
2015-11-03 14:01:17 +00:00
David Baker
142ee81e66
Emit events for read receipts
2015-11-03 11:43:52 +00:00
Kegan Dougal
3b21998d96
Expose timeout= on /events to clients
2015-11-03 10:18:56 +00:00
Kegan Dougal
0fb307d09b
Use the history length specified in startClient() for room initial syncs.
2015-11-03 10:15:30 +00:00
Kegsay
c1160d3419
Merge pull request #36 from matrix-org/kegan/event-stream-js-errors
...
Wrap /events response processing in a try/catch
2015-11-02 17:13:17 +00:00
Kegsay
48253f0ff0
Merge pull request #37 from matrix-org/kegan/supports-voip
...
Add MatrixClient.supportsVoip()
2015-11-02 17:10:46 +00:00
Kegan Dougal
c3c7ee5453
Add MatrixClient.supportsVoip()
...
This allows developers to gracefully degrade their UIs if VoIP is not supported.
2015-11-02 17:03:19 +00:00
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