Commit Graph

11688 Commits (dfb4c594a8d2fef801228d778f9fa53e9a3c2079)

Author SHA1 Message Date
Bruno Windels dfb4c594a8
Merge pull request #2204 from matrix-org/bwindels/rrfallbackavatars
Fall back to default avatar in RR when member isn't loaded yet
2018-10-10 16:58:59 +02:00
Bruno Windels f360b2db90 forward prop updates to children in Velociraptor with React.cloneElement 2018-10-10 16:15:50 +02:00
Bruno Windels 5128386160 allow read receipts without an existing member in MessagePanel 2018-10-10 16:15:20 +02:00
Bruno Windels 0767c278e7 put userId next to member in read receipt, fall back when member missing 2018-10-10 16:14:09 +02:00
David Baker 97ed4ed0bb
Merge pull request #2202 from matrix-org/dbkr/update_slate
Update to new version of slate
2018-10-10 11:10:20 +01:00
David Baker 7a3df11854
Merge pull request #2203 from MTRNord/patch-5
Update karma to webpack 4
2018-10-09 17:40:49 +01:00
David Baker 6f9d673b79 Focus composer after closing room settings
For some reason the slate update means the composer doesn't
have the focus after closing the room settings, and the end to end
tests pick this up!
2018-10-09 17:35:40 +01:00
Marcel a1dfc6bd25
Remove invalid object in karma webpack config
root is replaced with modules in webpack 4
2018-10-09 17:45:21 +02:00
Marcel b143060b8c
Remove json-loader
json-loader is now included in webpack4
2018-10-09 17:44:00 +02:00
Marcel f5012d87cf
Fix karma webpack config 2018-10-09 17:40:25 +02:00
Marcel 10a3f08ee2
Update karma config for webpack 4 2018-10-09 17:32:39 +02:00
Marcel 20ef16ad00
Update webpack dependencies used for karma 2018-10-09 17:28:24 +02:00
David Baker 4e1fabd140 Remove spurious ...atributes in the wrong place
We already have it above
2018-10-09 16:05:14 +01:00
David Baker 41bc42e7d7
Merge pull request #2194 from pvagner/more_accessible_buttons
More accessible buttons - take 2
2018-10-09 11:04:50 +01:00
David Baker c1f51a76dd Update to new version of slate
Lots of fixes here as a lot of the API has changed (eg. anchorKey /
offsetKey are now anchor.key and offset.key, and collapseFocusToThing
is moveFocusToThing).

Also changes the ref to a function (sorry for lumping this into the
same PR).

Hopefully will fix https://github.com/vector-im/riot-web/issues/7105
2018-10-09 10:55:55 +01:00
David Baker a16e92e5e0
Merge pull request #2200 from matrix-org/bwindels/rageshakeerrorcode
log correct error code when opening log idb
2018-10-09 09:58:31 +01:00
Bruno Windels 864c80c6ca Merge branch 'master' into develop 2018-10-08 17:09:59 +02:00
Bruno Windels 87bac56b9c Merge branch 'release-v0.13.6' 2018-10-08 17:09:17 +02:00
Bruno Windels ae288bb9c9 v0.13.6 2018-10-08 17:07:54 +02:00
Bruno Windels cd83a6b5d3 Prepare changelog for v0.13.6 2018-10-08 17:07:54 +02:00
Bruno Windels cc962c975b show warning when LL is disabled but was enabled before 2018-10-08 16:09:46 +02:00
David Baker 573029af74 Fall back to another store if indexeddb start fails
If we can't start indexeddb, fall back to a different store.

Previously we just ignored the exception and ploughed on anyway, on
the assumption that startup() was just for the indexeddb store to
load data anyway, and if that failed it would just do an initial
/sync instead (and also we'd keep trying to save the sync back which
would fail...). Then, in the previous release we started pulling
the settings out of the store on startup, making the assumpton that
the store actually worked, so the read obviously failed and the app
failed to start up.

This makes Riot work in Tor browser / firefox in daft mode again.
2018-10-08 16:08:07 +02:00
David Baker fd64369a5f Fix error logging 2018-10-08 16:08:00 +02:00
David Baker f4ae3855d0 Remove old migration code
...as instructed!
2018-10-08 16:05:41 +02:00
Bruno Windels 20885b8eb1
Merge pull request #2201 from matrix-org/bwindels/dialogonlldisable
show warning when LL is disabled but was enabled before
2018-10-08 15:41:04 +02:00
Bruno Windels 86da88052a
Merge pull request #2195 from matrix-org/dbkr/indexeddb_fallback
Fall back to another store if indexeddb start fails
2018-10-08 15:37:59 +02:00
Bruno Windels 48299bb154 show warning when LL is disabled but was enabled before 2018-10-08 15:28:00 +02:00
Bruno Windels 14b040e6a6 log correct error code when opening log idb 2018-10-08 15:14:03 +02:00
David Baker 88f969acdf
Merge pull request #2198 from matrix-org/dbkr/gone_away_is_the_bluebird
Silence bluebird warnings
2018-10-05 13:25:20 +01:00
David Baker a81589ffb5 Silence bluebird warnings 2018-10-05 12:15:03 +01:00
Travis Ralston aea9dbe1b8
Merge pull request #2197 from matrix-org/hs/object-urls-video
Use createObjectURL instead of readAsDataURL for videos
2018-10-04 13:57:50 -06:00
David Baker 1ceefd3d1b
Merge pull request #2196 from matrix-org/revert-2176-hs/object-urls-video
Revert "Use createObjectURL instead of readAsDataURL for videos"
2018-10-04 20:46:26 +01:00
David Baker 2ac951bc65
Revert "Use createObjectURL instead of readAsDataURL for videos" 2018-10-04 20:46:09 +01:00
Travis Ralston 93d32f97fc
Merge pull request #2183 from matrix-org/travis/settings-no-sniping
Track how far the user travels before dismissing their user settings
2018-10-04 13:29:00 -06:00
David Baker 18661e042d Fall back to another store if indexeddb start fails
If we can't start indexeddb, fall back to a different store.

Previously we just ignored the exception and ploughed on anyway, on
the assumption that startup() was just for the indexeddb store to
load data anyway, and if that failed it would just do an initial
/sync instead (and also we'd keep trying to save the sync back which
would fail...). Then, in the previous release we started pulling
the settings out of the store on startup, making the assumpton that
the store actually worked, so the read obviously failed and the app
failed to start up.

This makes Riot work in Tor browser / firefox in daft mode again.
2018-10-04 13:40:56 +01:00
David Baker 21cedbabf2
Merge pull request #2193 from Half-Shot/hs/purge-irc-hack
Drop (IRC) suffix hacks
2018-10-04 10:46:13 +01:00
David Baker 8ceca3abe9
Update Pill.js
Commas are not semicolons
2018-10-04 10:34:34 +01:00
David Baker a7beb0ba39
Merge pull request #2176 from matrix-org/hs/object-urls-video
Use createObjectURL instead of readAsDataURL for videos
2018-10-04 10:31:44 +01:00
Will Hunt 1e5101aa0c
The comment can go 2018-10-03 19:39:47 +01:00
Will Hunt 17915b5082
Merge branch 'develop' into hs/purge-irc-hack 2018-10-03 19:39:14 +01:00
Will Hunt fe788486b7 Drop (IRC) suffix hacks 2018-10-03 19:34:06 +01:00
David Baker 1189b75409
Merge pull request #2192 from matrix-org/dbkr/remove_migration_code
Remove old migration code
2018-10-03 19:08:44 +01:00
David Baker 1ec0f04baf Remove old migration code
...as instructed!
2018-10-03 18:33:34 +01:00
Will Hunt 259063eda6
Remove useless comment. 2018-10-03 10:39:09 +01:00
Travis Ralston 2f35eded37
Merge pull request #2191 from aaronraimist/brace-style-textforevent
Fix brace style in TextForEvent.js
2018-10-02 21:24:12 -06:00
Aaron Raimist 91e8ee98a1
Fix brace style in TextForEvent.js
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-02 22:12:39 -05:00
David Baker 76f64bf733
Merge pull request #2190 from matrix-org/dbkr/fix_error_printing
Fix error logging
2018-10-02 20:27:32 +01:00
Peter Vágner 2b394c1869
Address review comments and fix lint errors 2018-10-02 20:32:54 +02:00
David Baker e1f68551f1 Fix error logging 2018-10-02 19:23:43 +01:00
Peter Vágner e05ae29146
Also fix accessibility of sticker buttons 2018-10-02 20:19:21 +02:00