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
Kegsay
a5847485b9 Merge pull request #52 from matrix-org/kegan/v2-filters
Support v2 filters
2015-12-09 09:10:59 +00:00
Kegan Dougal
2b659656cc Move alllll the sync code to sync.js - still more to do (in FIXME XXX) 2015-12-08 17:41:09 +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
1987726a95 Add initial v2 filter impl 2015-12-08 15:23:09 +00:00
Kegsay
d2537cd00c Merge pull request #51 from matrix-org/kegan/unsent-timeline
Add config option to control how pending events are ordered
2015-12-07 17:00:43 +00:00
Kegan Dougal
61db191835 Add UTs 2015-12-07 15:45:13 +00:00
Kegan Dougal
b7ac6a2e33 Add config option to sort pending events to the end of the timeline 2015-12-07 15:36:32 +00:00
Kegan Dougal
c0178c3e80 Add getScheduler. Fix JSDoc 2015-12-07 11:29:02 +00:00
Kegsay
e58fb29722 Merge pull request #50 from matrix-org/kegan/scrollback-requests
Scrollback improvements
2015-12-04 17:39:22 +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
d16dfdaee3 Also emit a 'RoomState.members' event for m.room.power_levels 2015-12-04 16:11:13 +00:00
Kegan Dougal
02a605f368 Guest room ID fixes / initialSync support 2015-12-04 15:31:07 +00:00
Kegan Dougal
71d5756223 Fix linting 2015-12-04 09:36:18 +00:00
Kegan Dougal
2866743ce6 Fix broken test 2015-12-04 09:33:53 +00:00
David Baker
e91a5e3793 Merge pull request #49 from matrix-org/upload_cancel
Add ability to cancel file uploads
2015-12-03 10:57:37 +00:00
David Baker
7f5ad041cc Pass the http status out with the error so upper level can can see what went wrong. 2015-12-03 10:51:09 +00:00
David Baker
92ea275275 Add ability to cancel file uploads 2015-12-02 18:14:13 +00:00
Kegan Dougal
0c114a2ab3 Only send up room_ids query param if isGuest is set 2015-12-02 12:34:25 +00:00
Matthew Hodgson
e3757880ee add sendHtmlEmote 2015-11-29 01:18:22 +00:00
Kegan Dougal
88d680ef77 s/private_user_data/account_data/g 2015-11-20 17:32:25 +00:00
David Baker
e1b3cf027c Merge pull request #47 from matrix-org/ignore-non-mxc
Don't return non-mxc URLs by default.
2015-11-12 15:51:20 +00:00
David Baker
d0a725d1cc moar backticks 2015-11-12 15:50:57 +00:00
David Baker
07dbd26ba4 Typo 2015-11-12 15:40:59 +00:00
David Baker
c93f56e4ec oops, 0.3.0 was already released 2015-11-12 15:40:32 +00:00
David Baker
c0866b9787 Add changelog entry for breaking change 2015-11-12 15:39:12 +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
David Baker
7095753410 Don't return non-mxc URLs by default. 2015-11-12 11:57:53 +00:00
Kegan Dougal
4f851dc431 Add isGuest/setGuest 2015-11-11 13:40:06 +00:00
Kegsay
e89cc336b1 Merge pull request #46 from matrix-org/kegan/anon
Guest access endpoints
2015-11-10 17:06:04 +00:00
Kegan Dougal
959c588658 Guest rooms UTs 2015-11-10 16:49:50 +00:00
Kegan Dougal
7c887c1a5d Linting 2015-11-10 16:38:15 +00:00
Kegan Dougal
56bcf9796a Add MatrixClient.setGuestRooms
This is used in /events to grab events for the rooms the Guest is interested
in.
2015-11-10 16:36:44 +00:00
Kegan Dougal
ee270314f8 Expose setting the HTTP body for extensibility 2015-11-10 16:30:41 +00:00
Kegan Dougal
bda76afe4b Add a registerGuest endpoint 2015-11-10 16:25:15 +00:00
David Baker
4d426a3f31 The ts, not the event 2015-11-10 11:58:59 +00:00
Kegsay
9d33248c6e Merge pull request #45 from matrix-org/3pid-invites
Invite by 3PID endpoint
2015-11-09 17:09:35 +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
2160f0bc08 Don't allow the IS URL to be configured on a per-request basis. 2015-11-09 16:51:12 +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
6eb896e7a3 Use a small timeout when trying to poll when having previously failed. This makes re-connects propagate more quickly. 2015-11-09 15:55:09 +00:00
David Baker
d7874315c3 Merge pull request #44 from matrix-org/implicit_read_receipts_2
Synthesize implicit read receipts in recalculateRoom
2015-11-09 15:08:04 +00:00
David Baker
c95b27683f Add higher level keys to fake receipts 2015-11-09 15:05:46 +00:00
Kegan Dougal
b0655d0431 Add UTs 2015-11-09 14:45:17 +00:00
David Baker
ad24596d3f Revert c13b180 as it fails lint (creating functions in a loop) 2015-11-09 13:48:05 +00:00
Kegan Dougal
80a6cf34e2 Add 3pid invite endpoints 2015-11-09 11:58:45 +00:00