Richard van der Hoff
b2d7abc0a1
Prepare changelog for v0.4.2
2016-03-17 00:58:16 +00:00
Richard van der Hoff
cc475e6392
add jsdoc as dev dependency
2016-03-17 00:58:16 +00:00
Richard van der Hoff
e4c6717bd5
Don't fail release if dist dir already exists
2016-03-17 00:58:16 +00:00
Richard van der Hoff
53f813207e
Add option to skip changelog generation
2016-03-17 00:45:39 +00:00
Richard van der Hoff
873fde27ac
Don't error if changelog is unchanged
2016-03-17 00:33:01 +00:00
Richard van der Hoff
8d9d638953
release.sh: fix 'read' syntax
2016-03-17 00:22:37 +00:00
Richard van der Hoff
2f93490054
Don't create release branch if we're already there
2016-03-17 00:19:30 +00:00
Richard van der Hoff
e22efc9dd5
release.sh: chmod +x
2016-03-16 23:40:44 +00:00
Richard van der Hoff
e7ac80cf2b
Script to do releases
2016-03-16 23:12:38 +00:00
Richard van der Hoff
4436087777
Use npm version to do release stuff
2016-03-16 23:12:38 +00:00
Matthew Hodgson
f7bc11361c
trivially add content.currently_active in m.presence events.
2016-03-16 22:35:55 +00:00
Matthew Hodgson
a68b61dafe
oops, revert accidental merge
2016-03-16 17:33:30 +00:00
Matthew Hodgson
84c9876b3a
if synapse handed us profile data in the leave event, then use it. unbreaks overzealous tests
2016-03-16 17:32:47 +00:00
Matthew Hodgson
de864c489a
make sure we show display names & avatars on parts, and use the right type of content for displaynames for member events in general. fixes https://github.com/vector-im/vector-web/issues/1140 and https://github.com/vector-im/vector-web/issues/873 and a bunch more
2016-03-16 17:32:47 +00:00
Matthew Hodgson
2c277f7d96
Merge pull request #108 from matrix-org/matthew/fix-displaynames
...
Matthew/fix displaynames
2016-03-16 17:31:41 +00:00
Kegan Dougal
d0560f594d
Set the right .sender value for m.room.member events
2016-03-16 17:18:33 +00:00
Matthew Hodgson
60b6310494
typo
2016-03-16 16:47:25 +00:00
Matthew Hodgson
abd27f9b75
failing test for https://github.com/vector-im/vector-web/issues/1140
2016-03-16 16:45:23 +00:00
Matthew Hodgson
3d316959f9
Revert this as it just doesn't work - our events are always m.room.members at this point
2016-03-16 16:44:22 +00:00
Matthew Hodgson
8aa3b79501
Merge pull request #107 from matrix-org/revert-106-matthew/fix-displaynames
...
Revert "make sure we show display names & avatars on parts, and use the right…"
2016-03-16 14:49:38 +00:00
Matthew Hodgson
f35409700a
Revert "make sure we show display names & avatars on parts, and use the right…"
2016-03-16 14:49:29 +00:00
Matthew Hodgson
b009739b9e
Merge pull request #106 from matrix-org/matthew/fix-displaynames
...
make sure we show display names & avatars on parts, and use the right…
2016-03-16 14:39:59 +00:00
Matthew Hodgson
f007af741e
Merge pull request #104 from matrix-org/matthew/may-client-send-state
...
Add RoomState.mayClientSendStateEvent()
2016-03-16 14:35:27 +00:00
Matthew Hodgson
3db4d9488b
oops, normal events should use the chronologically earlier content, but membership changes should use the current content.
2016-03-16 14:31:03 +00:00
Matthew Hodgson
6b0fa84697
if synapse handed us profile data in the leave event, then use it. unbreaks overzealous tests
2016-03-16 14:14:14 +00:00
Matthew Hodgson
98b0cf2560
make sure we show display names & avatars on parts, and use the right type of content for displaynames for member events in general. fixes https://github.com/vector-im/vector-web/issues/1140 and https://github.com/vector-im/vector-web/issues/873 and a bunch more
2016-03-16 13:51:55 +00:00
Matthew Hodgson
372759b6e4
fix lint
2016-03-16 13:43:38 +00:00
Matthew Hodgson
ec29b4ffeb
Add RoomState.mayClientSendStateEvent()
2016-03-16 13:08:36 +00:00
Matthew Hodgson
95494933fd
Merge pull request #103 from matrix-org/matthew/peek-presence
...
make presence work when peeking.
2016-03-16 11:55:25 +00:00
Matthew Hodgson
6fff29c07b
oops, that map should be a forEach
2016-03-16 11:54:56 +00:00
David Baker
6f7ed93b87
Merge pull request #100 from matrix-org/dbkr/session_logged_out
...
Add Session.logged_out event
2016-03-16 10:44:01 +00:00
David Baker
8e903c0531
Merge pull request #94 from matrix-org/dbkr/may_send_state_event
...
Add maySendStateEvent method, ported from react-sdk (but fixed).
2016-03-16 10:39:55 +00:00
David Baker
b90984a7f6
Use member.powerLevel instead of duplicating the user power level calculation.
2016-03-16 10:38:16 +00:00
David Baker
57006b7366
Check member hasn't left the room
2016-03-16 10:35:29 +00:00
Matthew Hodgson
db9ba52873
make presence work when peeking. fixes https://github.com/vector-im/vector-web/issues/780
2016-03-15 21:50:18 +00:00
Richard van der Hoff
08b49c733a
Merge pull request #101 from matrix-org/rav/remove_crypto_specialcase
...
Clean up a codepath that was only used for crypto messages
2016-03-15 17:26:54 +00:00
David Baker
0f38764709
No point throwing the exception if we return the original promise
2016-03-15 16:17:41 +00:00
Richard van der Hoff
6040b50ceb
Fix another unit test
...
We ought to set the transaction_id in this test too
2016-03-15 15:49:21 +00:00
Richard van der Hoff
b88a207bde
Fix broken unit test
...
Fix broken unit tests which expected echoes to get matched up when
transaction_ids weren't set
2016-03-15 15:39:29 +00:00
Richard van der Hoff
07bbe358ea
Clean up a codepath that was only used for crypto messages
...
Transmission of encrypted messages was happening somewhat differently to
normal messages. In particular, we weren't copying the 'unsigned' field when we
got the remote-echo, which meant the 'sync' code didn't correctly match up the
echo with the original.
The separate codepath was becoming a thorn in my side, so fix things up to
bring it back in line.
2016-03-15 15:07:26 +00:00
David Baker
39a5765888
Test tghat Session.logged_out is fired
2016-03-15 14:50:37 +00:00
David Baker
9f91995f4e
Fix tests by returning the original promise to avoid the extra trip around the event loop.
2016-03-15 14:15:15 +00:00
David Baker
85f2754300
Make the client object be an event emitter rather than a matrixclient to avoid us being tempted to gut wrench stuff directly into the Matrix Client.
2016-03-15 11:05:05 +00:00
David Baker
5833654aa6
Add Session.logged_out event that fires whenever the current session is no longer valid and the user needs to log in again. Also null check _syncApi before trying to stop it.
2016-03-15 10:45:08 +00:00
David Baker
899ff6cea2
Merge pull request #99 from matrix-org/dbkr/sync_dont_tightloop
...
Add a delay before we start polling the connectivity check endpoint
2016-03-15 10:34:44 +00:00
David Baker
3752429b65
Fix the tests to tick the clock to 'wait' for sync retries.
2016-03-14 17:49:36 +00:00
David Baker
d13fbd0e3e
fix lint
2016-03-14 17:13:01 +00:00
David Baker
5e18c84e53
Add a delay before we start polling the connectivity check endpoint to avoid tightlooping if the conn check succeeds but /sync etc fails.
2016-03-14 16:50:00 +00:00
Richard van der Hoff
fc1d5c86f9
Merge pull request #98 from matrix-org/rav/keep_paginating
...
Try again if a pagination request gives us no new messages
2016-03-14 15:48:17 +00:00
Richard van der Hoff
c3ea913ae8
Try again if a pagination request gives us no new messages
...
This is basically a workaround for https://matrix.org/jira/browse/SYN-645 : if
we knew about all of the events already, we want to try again.
Fixes the second half of https://github.com/vector-im/vector-web/issues/1014
2016-03-14 14:47:29 +00:00