David Baker
ccf8e269cd
Comments & required props
2016-07-15 17:15:51 +01:00
David Baker
327015ba0f
Tidy up autocomplete updating
...
..into a function
2016-07-15 17:03:53 +01:00
David Baker
7d712d06a1
Move code to make diff less confusing
2016-07-15 16:14:05 +01:00
David Baker
d5bed78a54
Rejig tab complete to make it faster
...
Now do a lot less when people speak. Also move more of the tab completion logic into TabComplete.js and out of RoomView.
2016-07-15 16:10:27 +01:00
David Baker
f1d72296b7
Fix last-spoke order
...
Turns out this timeline is the other way around, so loop through the other way
2016-07-14 14:06:31 +01:00
David Baker
2ce521fe38
Fix null error in TabComplete
...
.sende ris sometimes null: use getSender() which isn't and returns the userId which is what we actually want
2016-07-14 11:40:17 +01:00
David Baker
0dde891d4c
Order tab complete by most recently spoke
...
Fixes https://github.com/vector-im/vector-web/issues/1741
2016-07-14 11:25:45 +01:00
David Baker
a5272542ef
Lengthen timelinepanel test timeout again
...
It's now hitting this timeout on the jenkins box instead of the browser disconnect timeout
2016-07-14 10:40:12 +01:00
Kegsay
20210e7104
Log scrollTop and scrollHeight to try to debug flakey test
...
Sometimes it fails because awaitScroll() on :277 isn't resolving because onScroll isn't firing. We need to know if this is because we aren't changing scrollTop
2016-07-14 10:38:24 +01:00
David Baker
ec70a08b93
Merge pull request #340 from matrix-org/dbkr/memberlist_listen_all_presence
...
Listen for the new lastPreseceTs event
2016-07-14 10:36:08 +01:00
David Baker
2d6d734571
Listen for the new lastPreseceTs event
...
This will catch all presence events as previously we were only listening for the actual presence string changing
2016-07-14 10:05:40 +01:00
David Baker
95529df7a3
Merge pull request #339 from matrix-org/dbkr/search_by_user_id
...
Fix filtering user list by ID
2016-07-13 13:17:22 +01:00
David Baker
6b03f72474
Fix filtering user list by ID
...
Fixes https://github.com/vector-im/vector-web/issues/1739
2016-07-13 11:56:01 +01:00
Richard van der Hoff
da8f7df262
Merge pull request #338 from matrix-org/dbkr/fix_tab_complete_on_load
...
Update tab completion list when we have a room
2016-07-12 18:58:39 +01:00
David Baker
ac58520b3b
Update tab completion list when we have a room
...
Fixes https://github.com/vector-im/vector-web/issues/1737
2016-07-12 18:30:37 +01:00
Matthew Hodgson
a8677b52ad
major update to dev guidelines
2016-07-11 18:26:16 +01:00
David Baker
e00f3d9334
Mark code blocks as javascript
2016-07-11 16:28:41 +01:00
David Baker
513492e1bf
Change line length as per PR discussion
2016-07-11 16:27:17 +01:00
David Baker
a28a335df4
More newlines for formatting
2016-07-11 16:21:21 +01:00
David Baker
8d1d37c103
Try newline to fix code style formatting
2016-07-11 16:19:14 +01:00
David Baker
4056ee7f14
Merge pull request #330 from matrix-org/dbkr/code_style
...
JS code style guide
2016-07-11 14:27:21 +01:00
David Baker
ffbe045fcc
Change to const-by-default
2016-07-11 10:10:51 +01:00
David Baker
0fdc2d817c
mark as jsx
2016-07-08 15:59:34 +01:00
David Baker
1a3bc814e1
clarify event handlers
2016-07-08 15:58:18 +01:00
David Baker
afa6acc20a
All the trailing commas
2016-07-08 15:42:42 +01:00
David Baker
6d403e792b
Add --stage 1 to babel cmdline
...
So we can use trailing function commas. The trailing comma proposal is actually at stage 3 now and there's a babel 6 plugin for it, which we should use when we switch back to babel 6.
2016-07-08 15:29:59 +01:00
David Baker
e6ff1f8836
Merge pull request #334 from matrix-org/dbkr/error_on_email_registered
...
Error on registration if email taken
2016-07-07 13:03:58 +01:00
David Baker
345ed04ba9
Less enetering
2016-07-07 13:03:27 +01:00
David Baker
04728ae03b
PR fixes + more general notes
2016-07-07 12:09:02 +01:00
David Baker
a6b04c462e
Comment how we're remembering form vals
2016-07-07 11:26:35 +01:00
David Baker
5c879d786e
Doc the default params / guestUsername props
2016-07-07 11:23:08 +01:00
David Baker
e2c473b366
Error on registration if email taken
...
Use the new register-specific request token endpoint (https://github.com/matrix-org/matrix-js-sdk/pull/147 ) and catch the error that it gives if the email is already in use. Also add initial values to the registration form so we can reload it after the error without all the values disappearing, and split out the guest username parameter which was previously called defaultUsername.
2016-07-06 15:22:06 +01:00
David Baker
a2b64798f7
Fix timelinepanel test timeout
...
The previous fix was adjusting the wrong timeout: it's hitting browserNoActivityTimeout, so revert previous fix & do this instead
2016-07-05 14:35:34 +01:00
David Baker
63ad57a8d4
Merge pull request #332 from aviraldg/feature-emojione
...
feat: render unicode emoji as emojione images
2016-07-05 10:18:33 +01:00
David Baker
22ae60fb45
Merge pull request #333 from aviraldg/feature-img-data
...
feat: unblacklist img tags with data URIs
2016-07-05 09:59:20 +01:00
Aviral Dasgupta
545d59769e
feat: unblacklist img tags with data URIs
...
fixes vector-im/vector-web#1692
2016-07-05 11:16:09 +05:30
Aviral Dasgupta
a9a3d31b3f
feat: improve emoji-body detection
2016-07-05 10:43:09 +05:30
Aviral Dasgupta
6a133bc034
feat: and emojify name in MemberInfo
2016-07-05 10:24:18 +05:30
Aviral Dasgupta
020f1f4320
feat: emojify ALL THE THINGS!
2016-07-05 10:16:17 +05:30
Aviral Dasgupta
9c0dc74289
feat: use svg emoji
2016-07-05 09:58:28 +05:30
Aviral Dasgupta
4069886cbd
feat: large emoji support
2016-07-05 04:04:57 +05:30
Aviral Dasgupta
48f2c4a696
feat: render unicode emoji as emojione images
2016-07-05 03:13:53 +05:30
David Baker
9b364c1be5
Merge pull request #331 from aviraldg/fix-autocomplete-1
...
Autocomplete fixes
2016-07-04 21:53:52 +01:00
Aviral Dasgupta
ed305bd547
fix: https for DDG, provide range for UserProvider
2016-07-05 01:37:01 +05:30
Aviral Dasgupta
22a2593bf2
fix: unbreak old MessageComposerInput/TabComplete
2016-07-05 01:32:40 +05:30
David Baker
87300e3a9f
Merge pull request #296 from aviraldg/feature-autocomplete
...
Better autocomplete
2016-07-04 18:16:26 +01:00
Aviral Dasgupta
b3d8292113
feat: use canonical room alias for room completion
2016-07-04 22:34:58 +05:30
Aviral Dasgupta
73b726e5fb
feat: import only flatMap from lodash
2016-07-04 21:56:09 +05:30
David Baker
56c73b68a9
Use markdown
...
because the rst wasn't formatting and we use md for everything else in this repo, and in a document that talks about consistency...
2016-07-04 17:23:38 +01:00
David Baker
dfe745c9e6
Add a JS code style doc
2016-07-04 17:15:15 +01:00