Kegan Dougal
a6f64b5f03
v2 filter test
2015-12-11 15:27:40 +00:00
Kegan Dougal
465635444f
s/user_id/sender/g in tests
2015-12-11 15:07:40 +00:00
Kegan Dougal
eedff29acb
Add filter stub to crypto test
2015-12-11 13:35:46 +00:00
Kegan Dougal
7c43d15ea5
More linting; crypto test fix
2015-12-11 13:31:26 +00:00
Kegan Dougal
de32ac0c44
Fix linting
2015-12-11 13:23:46 +00:00
Kegan Dougal
3d9d31d6b1
Fix remaining integration tests
2015-12-11 13:22:27 +00:00
Kegan Dougal
b219836b3e
Fix a bunch of integration tests
2015-12-11 12:53:26 +00:00
Kegan Dougal
26d9fed537
Fix MatrixClient unit tests
2015-12-11 11:07:31 +00:00
Kegan Dougal
ac3aa5538f
Linting
2015-12-08 16:10:52 +00:00
Kegan Dougal
c65f32f6a6
Add filter integration tests; more bug fixes.
2015-12-08 16:08:04 +00:00
Kegan Dougal
86a162c818
Add filter UTs and fix bugs
2015-12-08 15:39:55 +00:00
Kegan Dougal
61db191835
Add UTs
2015-12-07 15:45:13 +00:00
Kegan Dougal
a1300ec095
Wait for the last request (/messages, not /events)
2015-12-04 17:34:56 +00:00
Kegan Dougal
73e0216f78
Scrollback improvements
...
Add a 3s delay between scrollback requests if the previous scrollback request
failed.
Return the same promise if scrollback() is called multiple times whilst a
scrollback request is ongoing.
2015-12-04 17:27:16 +00:00
Kegan Dougal
02a605f368
Guest room ID fixes / initialSync support
2015-12-04 15:31:07 +00:00
Kegan Dougal
2866743ce6
Fix broken test
2015-12-04 09:33:53 +00:00
David Baker
14a9f6c444
lint & quote style
2015-11-12 12:14:13 +00:00
David Baker
588870b479
lint
2015-11-12 12:08:20 +00:00
David Baker
f74bb3c145
Update UTs
2015-11-12 12:05:06 +00:00
Kegan Dougal
959c588658
Guest rooms UTs
2015-11-10 16:49:50 +00:00
Kegan Dougal
46329ceb94
Remove the ability to set display_name in line with new spec
2015-11-09 16:58:52 +00:00
Kegan Dougal
b231f19ec6
Make the display_name check for contains rather than equality. Add UT.
2015-11-09 16:50:10 +00:00
Kegan Dougal
b0655d0431
Add UTs
2015-11-09 14:45:17 +00:00
Matthew Hodgson
b9ace61ccb
split long lines
2015-11-07 20:26:16 +00:00
Matthew Hodgson
21273582a4
room tagging unit tests
2015-11-07 20:23:21 +00:00
Kegsay
455ce26741
Merge pull request #40 from matrix-org/kegan/syncing
...
Syncing bugs/fixes
2015-11-05 14:53:47 +00:00
Kegan Dougal
8500f404a9
Finish implementing UTs
2015-11-05 13:12:37 +00:00
Kegan Dougal
5d782a317c
Add some sync emission tests. Emit after starting timers.
...
We want to emit AFTER starting the timers so tests can speed
up time. We also want to do this because clients may want to
retryImmediately() on sync errors (which would be lost unless
the timer had already been started)
2015-11-04 16:09:30 +00:00
Kegan Dougal
af435204a0
More helpful logging
2015-11-04 15:40:42 +00:00
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
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
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
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
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
0227b1c68d
Add search functions and tests
2015-10-26 13:27:45 +00: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
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
Kegan Dougal
2c213f88d9
Units! Tests! Linting!
2015-10-19 15:24:24 +01:00
Kegan Dougal
a236219111
ContentRepo unit tests
2015-10-19 15:00:06 +01:00
Kegan Dougal
5ae87b7c95
Bug fixes and unit tests
2015-10-16 17:27:05 +01:00
Kegan Dougal
a101857cb6
Add integration tests for read receipts
2015-10-16 13:51:44 +01:00
Kegan Dougal
a52f92830a
Implement unit tests for read receipts.
2015-10-16 13:37:53 +01:00
Kegan Dougal
7ec8421d19
Fix linting errors
2015-10-16 11:38:49 +01:00
Kegan Dougal
9048efeb65
Implement receipt handling and expose new Room functions
...
Add polyfills for Array.map/filter according to MDN because it looks much
better than the utils format.
Add stub tests for edge cases and implement test for the common case.
2015-10-16 11:32:27 +01:00