Commit graph

11833 commits

Author SHA1 Message Date
Travis Ralston
49efefa630 Fix an error where React doesn't like value=null on a select
This only happens when there are no canonical aliases for a room.
2018-10-19 14:18:05 -06:00
Bruno Windels
2ec9745939 Merge branch 'master' into develop 2018-10-19 16:39:59 +02:00
Bruno Windels
167746f41d v0.14.1 2018-10-19 16:39:08 +02:00
Bruno Windels
0f592f5887 Prepare changelog for v0.14.1 2018-10-19 16:39:07 +02:00
Travis Ralston
fa14d0ed3c Move tinter init to MatrixChat
This is a much better place for it to live
2018-10-19 16:33:00 +02:00
Bruno Windels
b7c05d8dec
Merge pull request #2216 from matrix-org/bwindels/stickersi18nfix
add missing sticker translation
2018-10-17 14:15:18 +00:00
Travis Ralston
fbadb588e1
Merge pull request #2221 from matrix-org/travis/tos-register
Support m.login.terms during registration
2018-10-16 09:47:48 -06:00
Travis Ralston
06764c2bab
Merge pull request #2220 from matrix-org/travis/peek-invite-nag
Don't show the invite nag bar when peeking
2018-10-16 09:30:09 -06:00
Travis Ralston
b929c36222 Documentation++ 2018-10-16 09:19:36 -06:00
Travis Ralston
49bd5441d1
Merge pull request #2214 from matrix-org/travis/fix-default-tint
Apply the user's tint once the MatrixClientPeg is moderately ready
2018-10-16 08:08:02 -06:00
David Baker
8015bdfed7 Update deps
or, apparently, mostly just add 'github' prefixes
2018-10-16 10:57:32 +01:00
David Baker
4d7b88a914 Merge branch 'master' into develop 2018-10-16 10:55:12 +01:00
David Baker
cbb117552f v0.14.0 2018-10-16 10:54:19 +01:00
David Baker
0e69490b6a Prepare changelog for v0.14.0 2018-10-16 10:53:43 +01:00
David Baker
cbe642f569 released js-sdk 2018-10-16 10:50:02 +01:00
David Baker
e2a126c26c
Merge pull request #2222 from matrix-org/bwindels/phasedrollout
Phased rollout of lazy loading
2018-10-16 10:15:10 +01:00
David Baker
589633d98f
Merge pull request #2217 from matrix-org/dbkr/rageshake_dont_use_all_the_memory
Make rageshake use less memory
2018-10-16 09:45:48 +01:00
Travis Ralston
d87ab8aac0 Support m.login.terms during registration
Fixes https://github.com/vector-im/riot-web/issues/7168
Requires https://github.com/matrix-org/synapse/pull/4004
2018-10-15 16:39:59 -06:00
Travis Ralston
6323d78b0c Move tinter init to MatrixChat
This is a much better place for it to live
2018-10-15 14:41:00 -06:00
Travis Ralston
f8fd0c34cb Merge branch 'develop' into travis/fix-default-tint 2018-10-15 14:37:34 -06:00
Travis Ralston
2d62fda862 Don't show the invite nag bar when peeking 2018-10-15 14:35:36 -06:00
Bruno Windels
0912b8dcc2
Merge pull request #2218 from matrix-org/bwindels/phasedrollout
Phased rollout of lazy loading
2018-10-15 17:27:28 +02:00
Bruno Windels
63f1c41d18 fix test lint 2018-10-15 17:15:22 +02:00
Bruno Windels
f9f7abb0d1 fix lint 2018-10-15 17:01:30 +02:00
Bruno Windels
478c06c32e this file starts in 2018 2018-10-15 16:43:52 +02:00
Bruno Windels
ef204b6e99 check if phased rollout has expired before trying to enable LL 2018-10-15 16:41:24 +02:00
Bruno Windels
f717c5697b tests for phased rollout function 2018-10-15 16:41:04 +02:00
Bruno Windels
2ac9b26257 phased rollout expired function 2018-10-15 16:40:51 +02:00
David Baker
259d3608ee Make rageshake use less memory
If an individual log is larger than the max size, ignore the rest
of it. Also build the string as we go rather than joining it all
together at the end, that way we only need the whole string + one
chunk in memory at once, rather than the whole string x 2.
2018-10-15 15:23:44 +01:00
Bruno Windels
127fcf58a9 add missing sticker translation 2018-10-15 13:57:06 +02:00
David Baker
bd35825779
Merge pull request #2212 from matrix-org/dbkr/autocomplete
Fix autocomplete
2018-10-15 11:34:05 +01:00
Travis Ralston
ebcc65dc7e Apply the user's tint once the MatrixClientPeg is moderately ready
Any earlier and we risk getting NPEs from the peg not existing.

Fixes https://github.com/vector-im/riot-web/issues/6424
2018-10-12 13:52:58 -06:00
Travis Ralston
5085fd17a0
Merge pull request #2211 from matrix-org/travis/feature-docs
Explain feature states in a lot more detail
2018-10-12 07:50:45 -06:00
David Baker
52eb263c2c
Merge pull request #2213 from aaronraimist/lint
Fix various lint errors
2018-10-12 09:31:12 +01:00
Aaron Raimist
8c13b12018
Regenerate .eslintignore.errorfiles
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-11 23:00:01 -05:00
Aaron Raimist
9f1b1d2028
Fix more lint errors
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-11 22:50:24 -05:00
Aaron Raimist
a66dbccef8
Fix lint errors in MessageComposerInput.js
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-11 22:46:55 -05:00
Aaron Raimist
1287d9c49b
Fix lint errors in Notifications.js
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-11 22:44:02 -05:00
Aaron Raimist
d452dd2b74
Fix lint error in LazyLoadingResyncDialog.js
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-11 22:32:25 -05:00
Aaron Raimist
752d816780
Fix some more lint errors
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-11 22:06:01 -05:00
Aaron Raimist
954d49f22e
Fix lint errors in ContentRules.js
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-11 22:04:56 -05:00
Aaron Raimist
fb1deee387
Fix lint errors in NotificationUtils.js
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-11 22:01:49 -05:00
Aaron Raimist
6b5650dbb1
Fix lint errors in PushRuleVectorState.js
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-11 22:01:13 -05:00
Aaron Raimist
6d8649855a
Fix lint errors in VectorPushRulesDefinitions.js
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-11 21:59:20 -05:00
Aaron Raimist
c83521bb31
Fix lint errors in rageshake.js
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-11 21:58:22 -05:00
Aaron Raimist
58488c076e
Fix more lint errors
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-11 21:54:55 -05:00
Aaron Raimist
a2944c9faa
Fix lint errors in VectorConferenceHandler.js
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-11 21:54:25 -05:00
David Baker
a58de9e189 Also test the two options while we're at it 2018-10-11 21:04:50 +01:00
David Baker
53e13be047 Add some unit tests for QueryMatcher
Which 1) has a fairly complex interface with lots of subtleties and
2) is really trivial to unit test.
2018-10-11 20:50:48 +01:00
David Baker
9c8c84485a Fix user autocompleting
This rewrites quite a lot of QueryMatcher.
 * Remove FuzzyMatcher which was a whole file of commented out code
   that just deferred to QueryMatcher
 * Simplify & remove some cruft from QueryMatcher, eg. most of the
   KeyMap stuff was completely unused.
 * Don't rely on object iteration order, which fixes a bug where
   users whose display names were entirely numeric would always
   appear first...
 * Add options.funcs to QueryMatcher to allow for indexing by things
   other than keys on the objects
 * Use above to index users by username minus the leading '@'
 * Don't include the '@' in the query when autocomple is triggered
   by typing '@'.

Fixes https://github.com/vector-im/riot-web/issues/6782
2018-10-11 18:34:01 +01:00