Luke Barnard
5494a9dd3b
Implement wrapper API for removing a room from a group
2017-09-29 17:57:53 +01:00
David Baker
89f7857c84
Merge pull request #552 from matrix-org/rav/stuck_key_download
...
Fix typo which resulted in stuck key download requests
2017-09-29 10:22:26 +01:00
Richard van der Hoff
3140c6526a
Fix typo which resulted in stuck key download requests
...
(... and hence stuck outgoing e2e messages)
Fixes https://github.com/vector-im/riot-web/issues/4278
2017-09-29 10:02:16 +01:00
Luke Barnard
96d828d22b
Implement API wrapper for adding a room to a group ( #551 )
2017-09-27 14:27:19 +01:00
David Baker
a8a50384b8
Add wrapper for group update_publicity API ( #550 )
...
Add wrapper for group update_publicity API
2017-09-25 15:27:59 +01:00
David Baker
787af6448d
Merge pull request #549 from matrix-org/dbkr/groups_store_when_created
...
Store group when it's created
2017-09-22 18:02:17 +01:00
David Baker
4633135322
Store group when it's created
...
Otherwise we emit events when we set properties on the group but
getGroup() for that group returns null which is very confusing.
2017-09-22 17:57:08 +01:00
David Baker
050d522735
Merge pull request #548 from matrix-org/luke/groups-remove-rooms-users-from-summary
...
Luke/groups remove rooms users from summary
2017-09-22 16:23:47 +01:00
Luke Barnard
809b202e70
Merge branch 'develop' into luke/groups-remove-rooms-users-from-summary
2017-09-22 16:19:17 +01:00
Luke Barnard
f1555dbb5d
Implement wrapper APIs for removing users and rooms from group summary
2017-09-22 16:18:18 +01:00
krombel
d1d0266a10
reduce sendToDevice payload ( #522 )
...
instead of sending one huge request split them up.
2017-09-22 14:29:23 +01:00
David Baker
ee37ed0697
Add a clean target ( #547 )
2017-09-21 21:45:55 +01:00
David Baker
e3972dee2c
Merge branch 'master' into develop
2017-09-21 21:41:48 +01:00
David Baker
7a727e7eda
v0.8.4
v0.8.4
2017-09-21 21:39:37 +01:00
David Baker
d24c822f68
Prepare changelog for v0.8.4
2017-09-21 21:39:37 +01:00
Richard van der Hoff
8d804013f3
Merge pull request #546 from matrix-org/dbkr/clean_on_prerelease
...
Clean on prepublish
2017-09-21 18:06:28 +01:00
David Baker
d73a115436
Clean on prerelease
...
Otherwise you can make broken releases on case insensitive file
systems
2017-09-21 18:02:30 +01:00
Luke Barnard
0b4ff731e8
Implement wrapper APIs for adding rooms to group summary ( #545 )
2017-09-21 17:05:36 +01:00
Luke Barnard
a58ec3f192
Implement wrapper APIs for adding rooms to group summary
2017-09-21 17:01:33 +01:00
Richard van der Hoff
868c20b161
Fix a race in decrypting megolm messages ( #544 )
...
* Fix a race in decrypting megolm messages
This fixes a race wherein it was possible for us to fail to decrypt a message,
if the keys arrived immediately after our attempt to decrypt it. In that case,
a retry *should* have been scheduled, but was not.
Fixes https://github.com/vector-im/riot-web/issues/5001 .
* WORDS
2017-09-21 15:17:28 +01:00
Luke Barnard
c2cd050419
Implement API to add users to group summaries ( #543 )
...
(and call it addUserToGroupSummary)
2017-09-20 16:31:28 +01:00
David Baker
7d5c107fb8
v0.8.3
v0.8.3
2017-09-20 15:04:11 +01:00
David Baker
d855a6ea0f
Prepare changelog for v0.8.3
2017-09-20 15:04:10 +01:00
David Baker
464f84d8cd
v0.8.3-rc.1
v0.8.3-rc.1
2017-09-19 10:44:58 +01:00
David Baker
fe0ee6402a
Prepare changelog for v0.8.3-rc.1
2017-09-19 10:44:57 +01:00
David Baker
068939f790
APIs for flair ( #542 )
2017-09-18 14:44:40 +01:00
Matthew Hodgson
35f48d1c8e
Merge pull request #526 from t3chguy/allow_trailing_slash
...
consume trailing slash when creating Matrix Client in HS and IS urls
2017-09-17 22:53:48 +01:00
Matthew Hodgson
52adde2501
Merge pull request #539 from turt2live/travis/ignored_users
...
Add ignore users API
2017-09-17 21:47:03 +01:00
David Baker
0ddc4eceaf
Merge pull request #540 from matrix-org/dbkr/jsdoc_355
...
Upgrade to jsdoc 3.5.5
2017-09-15 09:19:21 +01:00
turt2live
b0ab8c750d
Add isUserIgnored convenience method
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-14 19:47:16 -06:00
Travis Ralston
b17dd8351f
Make linter happy
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-14 19:24:18 -06:00
Travis Ralston
0ceb8d159a
Generate the ignored users event content correctly
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-14 16:06:55 -06:00
David Baker
402b943ddb
Upgrade to jsdoc 3.5.5
...
Because of https://github.com/jsdoc3/jsdoc/issues/1438
2017-09-14 22:33:10 +01:00
Travis Ralston
be55451c90
Add ignore users API
...
Signed-off-by: Travis Ralston <travpc@gmail.com >
2017-09-14 12:55:48 -06:00
Matthew Hodgson
c51c1a2ae6
Merge pull request #538 from matrix-org/dbkr/reemit_use_fewer_closures
...
Make re-emitting events much more memory efficient
2017-09-13 12:51:26 +01:00
David Baker
845c796b96
Make re-emitting events much more memory efficient
...
The previous impl bluntly created a closure for every event type
and source emitter we set up a re-emit for. We can do much better
than this fairly easily by having one bound handler for each event
name and moving it into a class so we have one emitter per target,
since 99% of the time the target is the client object.
2017-09-13 11:55:03 +01:00
David Baker
b0918ef293
Merge pull request #536 from matrix-org/dbkr/only_reemit_events_when_needed
...
Only re-emit events from Event objects if needed
2017-09-12 19:26:58 +01:00
David Baker
102572b088
Empty commit to get Travis to re-test
2017-09-12 17:37:16 +01:00
David Baker
63076e77f5
Only re-emit events from Event objects if needed
...
The only event and Event emits is 'Event.decrypted', so don't
bother to add listeners if the event isn't encrypted.
2017-09-12 17:09:01 +01:00
Richard van der Hoff
8e48ee5f66
Merge pull request #535 from matrix-org/rav/devicelist_bits
...
Handle 'left' users in the deviceList mananagement
2017-09-08 16:21:58 +01:00
Richard van der Hoff
1a55f550c0
Handle 'left' users in the deviceList mananagement
...
When we no longer share any rooms with a given user, the server will stop
sending us updates on their device list, and will (once synapse is updated)
send us a notification of that fact via the 'left' field in the device_lists
field in /sync, or the response from /keys/changes.
2017-09-08 15:40:26 +01:00
Richard van der Hoff
ae8fc64394
Do /keys/changes before second /sync
...
This will avoid races between /keys/changes and /syncs.
2017-09-08 15:40:26 +01:00
David Baker
5e8e56caf9
Merge pull request #534 from matrix-org/rav/factor_out_device_tests
...
Factor out devicelist integration tests to a separate file
2017-09-08 13:51:11 +01:00
David Baker
c075c161c2
Merge pull request #533 from matrix-org/rav/refactor_sync
...
Refactor sync._sync as an async function
2017-09-08 13:51:05 +01:00
Richard van der Hoff
237a553d15
sync: s/self/this/
2017-09-08 12:07:19 +01:00
Richard van der Hoff
ca8674e0de
Factor out devicelist integration tests to a separate file
...
There's a fuzzy line between the megolm tests and the devicelist ones, but
since I want to add more tests for devicelists, we might as well put the ones
which are definitely about devicelists in their own file
2017-09-08 11:54:16 +01:00
Richard van der Hoff
0511a1172f
Refactor sync._sync as an async function
...
This stuff is much more clearly expressed as an async function than as a
promise chain, and I'm about to add more stuff to the chain, so let's refactor
now.
There is plenty more that could be done here (self -> this, for instance), but
I've gone for keeping the diff minimal.
2017-09-08 11:53:10 +01:00
David Baker
e07b304914
Merge pull request #532 from matrix-org/rav/eslint_es6
...
Add es6 to eslint environments
2017-09-07 10:33:52 +01:00
Richard van der Hoff
17364e72ec
Add es6 to eslint environments
2017-09-07 10:29:27 +01:00
David Baker
22b213ae26
v0.8.2
v0.8.2
2017-08-24 14:45:24 +01:00