Commit Graph

6845 Commits (7176185dc26859d7f1d33f4dfbb7eaf902cdcd94)

Author SHA1 Message Date
Stefan Parviainen 26ebb530ee Added translation using Weblate (Finnish) 2017-09-01 15:20:27 +00:00
David Baker c07362d7c1 v0.10.3-rc.1 2017-09-01 16:17:22 +01:00
David Baker aa0b94847b Prepare changelog for v0.10.3-rc.1 2017-09-01 16:17:22 +01:00
Luke Barnard 0ded4acba0 Mark TODO for https://github.com/vector-im/riot-web/issues/4951 2017-08-31 17:52:53 +01:00
Luke Barnard d84190f58d Explain Flair debounce 2017-08-31 17:49:19 +01:00
Luke Barnard e89d52ccbf Do not get avatars when no groups were/could be retrieved 2017-08-31 16:46:39 +01:00
Luke Barnard 86e8a4c7e2 Make componentWillMount not async
This was left over from a previous refactor
2017-08-31 16:44:14 +01:00
Luke Barnard c9c0771355 Spelling 2017-08-31 16:29:45 +01:00
Luke Barnard cdb28f956e Add comment for StickyContainer extension 2017-08-31 16:29:31 +01:00
Ange des ténèbres 8f0b7db0d7 Translated using Weblate (French)
Currently translated at 99.2% (964 of 971 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2017-08-31 15:11:05 +00:00
David Baker b42dfc51e1 Merge pull request #1354 from matrix-org/dbkr/fix_super_slow_room_change
Fix room change sometimes being very slow
2017-08-31 13:20:50 +01:00
David Baker a2f2070966 Put setSate in the promise constructor
Avoids local variables. Also typo in comment.
2017-08-30 21:44:10 +01:00
David Baker 225fe67586 Fix room change sometimes being very slow
If the js-sdk had a lot of history in memory for a particular room,
riot would paginate all that history into the DOM and render it
when switching to that room (before then removing it all again).
This obviously made switching to that room very slow.

This was caused by the fact that we relied on the setState that
happens in TimelinePanel after the pagination taking effect such
that ScrollPanel sees that it no longer needs to paginate, but
in some situations (as far as I can see, in electron...?) this
setState would not take effect until the pagination stopped
fulfiling requests from memory and hit the network.

Fix: don't resolve the promise returned by the pagination request
until the setState has actually happened.
2017-08-30 19:14:26 +01:00
David Baker 9efa604706 Merge remote-tracking branch 'origin/develop' into dbkr/group_userlist 2017-08-30 17:39:47 +01:00
Luke Barnard 69bce6aee5 Update tests to reflect not supressing first date separator 2017-08-30 17:35:26 +01:00
David Baker cf747fcb57 Lint 2017-08-30 17:34:44 +01:00
Eric Newport c3fc366039 Translated using Weblate (French)
Currently translated at 98.8% (960 of 971 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2017-08-30 15:01:10 +00:00
Luke Barnard a29e7da06b Merge branch 'develop' into luke/feature-sticky-date-separators 2017-08-30 14:06:06 +01:00
David Baker 32b33c66b9 Merge pull request #1346 from matrix-org/t3chguy/shouldHideEvent_RoomStatusBar
apply shouldHideEvent fn to onRoomTimeline for RoomStatusBar
2017-08-30 13:58:40 +01:00
David Baker b13ae76cfc Merge pull request #1345 from matrix-org/t3chguy/text4event_modified_widget
text4event widget modified, used to show widget added each time.
2017-08-30 13:56:27 +01:00
Luke Barnard d516906b36 Implement sticky date separators
Use `react-sticky` to implement sticky date separators. This will pin a date separator to the top of the timeline panel when the separator scrolls out of the top of the view.

A known issue of this is that the spinner, which is in line with event tiles in the timeline, will appear to push the stuck date separator down. In reality the first date separator after the spinner is in line with event tiles and is not stuck because the spinner forces the timeline to be scrolled slightly further down than it would be otherwise. But also, date separators in the timeline (not "stuck") have a greater height.

Ideally the date separator would be suppressed whilst back paginating, but this will cause the stuck separator to flicker on and off. This is why the suppression has been removed.
2017-08-30 13:52:46 +01:00
David Baker 22bb635ff3 Merge pull request #1352 from matrix-org/fix_hide_rr_regression
separate concepts of showing and managing RRs to fix regression
2017-08-30 13:50:44 +01:00
Michael Telatynski 05c232c8c3
revert fancy indents
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-08-30 13:32:07 +01:00
Michael Telatynski 282618d5a1
separate concepts of showing and managing RRs to fix regression 2017-08-30 13:18:14 +01:00
Richard van der Hoff e800c29e80 Update .eslintignore.errorfiles
We seem to have fixed the lint in a bunch of files.
2017-08-30 11:28:01 +01:00
Iru Cai (vimacs) 511e5d2d23 Translated using Weblate (Chinese (Simplified))
Currently translated at 63.6% (618 of 971 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hans/
2017-08-30 10:18:43 +00:00
Luke Barnard ebc1993530 Implement Flair
Add 14x14 group avatars next to sender profiles.
2017-08-30 11:10:49 +01:00
Richard Lewis 84481f1a1e Merge pull request #1350 from matrix-org/rxl881/scalarTokenFix
Make staging widgets work with live and vice versa.
2017-08-30 11:04:50 +01:00
David Baker 52683625d6 Merge pull request #1349 from matrix-org/rav/avoid_sync_exception
Avoid breaking /sync with uncaught exceptions
2017-08-30 10:49:12 +01:00
Richard Lewis 2ff1888054 Make staging widgets work with live and vice versa. 2017-08-30 10:36:22 +01:00
Richard van der Hoff b9e047f0ff Avoid breaking /sync with uncaught exceptions
For reasons I don't fully understand, it appears that sometimes the
ReadReceiptMarker has no offsetParent. Rather than dying with an uncaught
exception when that happens (and taking out half of React as well as the /sync
handler), log a warning and suppress the animation.
2017-08-30 10:01:45 +01:00
David Baker 824b29dc1f PR feedback 2017-08-30 09:22:26 +01:00
Luke Barnard 5e98aa4850 Merge pull request #1343 from matrix-org/t3chguy/fix_two_roomlist_regressions
we need to pass whether it is an invite RoomSubList explicitly (i18n)
2017-08-29 16:33:48 +01:00
Luke Barnard 3f11f9148f Merge pull request #1348 from matrix-org/dbkr/fix_forgot_password_percent_encode
Percent encoding isn't a valid thing within _t
2017-08-29 15:02:26 +01:00
Luke Barnard 890218fa96 Merge pull request #1339 from matrix-org/dbkr/fix_spurious_notifications
Fix spurious notifications
2017-08-29 14:57:11 +01:00
Luke Barnard 3fde35b16d Merge pull request #1347 from matrix-org/dbkr/unbreak_password_reset_alt_hs
Unbreak password reset with a non-default HS
2017-08-29 14:52:08 +01:00
David Baker 6d5b1b7a55 Percent encoding isn't a valid thing within _t
Just use a plain apostrophe
2017-08-29 14:18:24 +01:00
David Baker ec983b838a Unbreak password reset with a non-default HS
Broken by the change from onHsUrlChanged to onServerConfigChanged
in https://github.com/matrix-org/matrix-react-sdk/pull/811 where
ForgotPassword got missed.
2017-08-29 14:07:43 +01:00
David Baker d86fe0df6e Merge remote-tracking branch 'origin/develop' into dbkr/group_userlist 2017-08-29 13:29:55 +01:00
David Baker 3c149a11ae Merge pull request #1341 from matrix-org/dbkr/remove_audio_element_load
Remove unnecessary 'load' on notif audio element
2017-08-29 12:39:00 +01:00
Bamstam fdfa33b603 Translated using Weblate (German)
Currently translated at 100.0% (971 of 971 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2017-08-28 20:51:57 +00:00
Nathan van Beelen 4a55fcbc26 Translated using Weblate (Dutch)
Currently translated at 100.0% (971 of 971 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2017-08-28 15:01:50 +00:00
Silke e66c7bf623 Translated using Weblate (Dutch)
Currently translated at 94.2% (915 of 971 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2017-08-28 13:53:12 +00:00
Michael Telatynski 315f7a3ae7
apply shouldHideEvent fn to onRoomTimeline for RoomStatusBar
prevents N new message(s) when a hidden message comes in.
2017-08-28 13:46:09 +01:00
Osoitz ff498e4c3a Translated using Weblate (Basque)
Currently translated at 100.0% (971 of 971 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2017-08-28 09:20:28 +00:00
Michael Telatynski 6127727267
text4event widget modified, used to show widget added each time. 2017-08-28 08:19:39 +01:00
Iru Cai (vimacs) a9fed3a9e7 Translated using Weblate (Chinese (Simplified))
Currently translated at 60.5% (588 of 971 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hans/
2017-08-28 02:08:13 +00:00
Michael Telatynski edb449dfe5
we need to pass whether it is an invite RoomSubList explicitly (i18n) 2017-08-27 23:38:25 +01:00
Michael Telatynski 1ad4a8170f
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/devtools 2017-08-26 18:28:56 +01:00
David Baker 6077693829 Merge pull request #1340 from matrix-org/t3chguy/fix_robot_error
_tJsx returns a React Object, the sub fn must return a React Object
2017-08-26 15:22:24 +01:00