Commit Graph

15802 Commits

Author SHA1 Message Date
Travis Ralston
b4e60af61f Appease the linter and de-dupe code 2019-12-03 23:15:49 -07:00
Travis Ralston
33044d713e Match e2e icons on events to expectations
Fixes https://github.com/vector-im/riot-web/issues/11547

Steps taken:
* Convert `E2ePadlock` to a class-style component so the hover state can be tracked (tooltips).
* Convert the image mask to a background image to keep the `!` in the shield.
* Update copy.
2019-12-03 22:41:22 -07:00
Travis Ralston
f34347b08c
Merge pull request #3683 from matrix-org/travis/prune-i18n
Remove unused translations
2019-12-03 09:46:09 -07:00
Michael Telatynski
d3de792f79 fix bits which missed the review cutting block
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-03 10:53:32 +00:00
David Baker
910c50370b
Merge pull request #3678 from matrix-org/dbkr/remove_dead_velocity_ui
Remove broken velocity-ui animation
2019-12-03 10:38:40 +00:00
Travis Ralston
fd69cce44a Remove unused translations
```
F:\Workspaces\riot-web\matrix-react-sdk>yarn prunei18n
yarn run v1.19.1
$ matrix-prune-i18n
ar.json: removed 4 translations
az.json: removed 92 translations
be.json: removed 10 translations
bg.json: removed 426 translations
ca.json: removed 207 translations
cs.json: removed 337 translations
da.json: removed 56 translations
de_DE.json: removed 369 translations
el.json: removed 178 translations
en_US.json: removed 201 translations
eo.json: removed 295 translations
es.json: removed 279 translations
eu.json: removed 402 translations
fa.json: removed 15 translations
fi.json: removed 329 translations
fr.json: removed 459 translations
gl.json: removed 256 translations
he.json: removed 31 translations
hi.json: removed 91 translations
hr.json: removed 1 translations
hu.json: removed 447 translations
id.json: removed 54 translations
is.json: removed 108 translations
it.json: removed 406 translations
ja.json: removed 257 translations
jbo.json: removed 36 translations
ko.json: removed 303 translations
lt.json: removed 192 translations
lv.json: removed 233 translations
ml.json: removed 16 translations
nb_NO.json: removed 23 translations
nl.json: removed 345 translations
nn.json: removed 251 translations
pl.json: removed 295 translations
pt.json: removed 193 translations
pt_BR.json: removed 310 translations
ro.json: removed 3 translations
ru.json: removed 344 translations
sk.json: removed 340 translations
sl.json: removed 1 translations
sq.json: removed 417 translations
sr.json: removed 256 translations
sr_Latn.json: removed 1 translations
sv.json: removed 304 translations
ta.json: removed 17 translations
te.json: removed 66 translations
th.json: removed 117 translations
tr.json: removed 167 translations
uk.json: removed 81 translations
vi.json: removed 6 translations
vls.json: removed 86 translations
zh_Hans.json: removed 309 translations
zh_Hant.json: removed 452 translations
Done in 0.39s.
```

Fixes https://github.com/vector-im/riot-web/issues/11539
2019-12-02 20:32:51 -07:00
Travis Ralston
6d42da8160 Actually spawn a bug report dialog. 2019-12-02 17:26:08 -07:00
Weblate
38fea90b23 Merge branch 'origin/develop' into Weblate. 2019-12-03 00:22:07 +00:00
Travis Ralston
0d63a2bea1
Merge pull request #3685 from aaronraimist/edit-message-remove-btn
Hide Remove button in message editing history if you don't have permission to redact
2019-12-02 17:22:01 -07:00
Travis Ralston
e47752ff8d Match room upgrade warning to the new design
See https://github.com/matrix-org/matrix-react-sdk/pull/3684#issuecomment-560514872
2019-12-02 17:21:53 -07:00
Michael Telatynski
857f086501 Fix ?via= args in SpecPermalinkConstructor.js
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-03 00:05:19 +00:00
Weblate
340714841b Merge branch 'origin/develop' into Weblate. 2019-12-03 00:03:37 +00:00
Tirifto
0d4f6d6c22 Translated using Weblate (Esperanto)
Currently translated at 97.1% (1870 of 1926 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2019-12-03 00:03:37 +00:00
Travis Ralston
4d5f133b17
Merge pull request #3684 from matrix-org/travis/auto-invite-upgrades
Add an option to invite users to upgraded private rooms
2019-12-02 17:03:25 -07:00
Michael Telatynski
901e402a5c apply renames suggested in PR review
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-02 23:23:11 +00:00
Michael Telatynski
757f811126 s/ContextualMenu/ContextMenu/
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-02 23:21:59 +00:00
Michael Telatynski
a062fe0096 Merge branches 'develop' and 't3chguy/context_menus' of github.com:matrix-org/matrix-react-sdk into t3chguy/context_menus 2019-12-02 23:20:47 +00:00
Weblate
87163735dc Merge branch 'origin/develop' into Weblate. 2019-12-02 11:37:31 +00:00
Michael Telatynski
a17df6dd38
Merge pull request #3689 from matrix-org/t3chguy/dont_trap_context_menu_keyboard
Do not trap Key ContextMenu into composer for keyboard a11y
2019-12-02 11:37:24 +00:00
Weblate
4dba269025 Merge branch 'origin/develop' into Weblate. 2019-12-02 10:28:33 +00:00
random
9466ce330c Translated using Weblate (Italian)
Currently translated at 100.0% (1926 of 1926 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-12-02 10:28:32 +00:00
Samu Voutilainen
811ba17d71 Translated using Weblate (Finnish)
Currently translated at 100.0% (1926 of 1926 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-12-02 10:28:31 +00:00
Jeff Huang
198ff306d4 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1926 of 1926 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-12-02 10:28:30 +00:00
Slavi Pantaleev
6f485d0989 Translated using Weblate (Bulgarian)
Currently translated at 96.3% (1854 of 1926 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-12-02 10:28:30 +00:00
Osoitz
a0493b03ae Translated using Weblate (Basque)
Currently translated at 100.0% (1926 of 1926 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2019-12-02 10:28:28 +00:00
Michael Telatynski
7a3b8a522f Make EmojiPicker filtering case-insensitive
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-02 10:18:02 +00:00
Michael Telatynski
e2733a27c4 add null-guard
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-02 10:06:58 +00:00
Michael Telatynski
3ad4b0fb64 Do not trap Key ContextMenu into composer for keyboard a11y
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-02 10:01:08 +00:00
Weblate
c60149db47 Merge branch 'origin/develop' into Weblate. 2019-11-29 22:14:01 +00:00
Szimszon
1e9021d831 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1926 of 1926 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-29 22:14:01 +00:00
Travis Ralston
f4b1c4f360 Remove useless file 2019-11-29 15:13:46 -07:00
Weblate
6df78e4be2 Merge branch 'origin/develop' into Weblate. 2019-11-29 17:18:04 +00:00
Slavi Pantaleev
778e14f716 Translated using Weblate (Bulgarian)
Currently translated at 95.7% (1843 of 1926 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-11-29 17:18:04 +00:00
Travis Ralston
9cae685e22
Merge pull request #3686 from matrix-org/travis/theme-fix
Ensure the settings page accurately represents theme choices
2019-11-29 10:17:55 -07:00
Weblate
b767d3c15c Merge branch 'origin/develop' into Weblate. 2019-11-29 14:41:56 +00:00
Travis Ralston
1c766d8594
Merge pull request #3688 from matrix-org/travis/rr-fix
Ensure read receipts end up with a valid reference to checkUnmounting
2019-11-29 07:41:49 -07:00
Weblate
be9f1ce64a Merge branch 'origin/develop' into Weblate. 2019-11-29 14:41:26 +00:00
Kévin C
69d82bef67 Translated using Weblate (French)
Currently translated at 100.0% (1926 of 1926 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-11-29 14:41:26 +00:00
Travis Ralston
7b1ee944c8
Merge pull request #3687 from matrix-org/travis/rr-velocity
Convert Velociraptor component to a class
2019-11-29 07:41:17 -07:00
Weblate
ba24e64f47 Merge branch 'origin/develop' into Weblate. 2019-11-29 05:07:55 +00:00
Samu Voutilainen
70aeafa77b Translated using Weblate (Finnish)
Currently translated at 100.0% (1925 of 1925 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-11-29 05:07:54 +00:00
Jeff Huang
cd7bbd2dc6 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1925 of 1925 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-29 05:07:53 +00:00
Travis Ralston
5aad914c25
Merge pull request #3675 from aaronraimist/labs-explain
Add a link to the labs feature documentation
2019-11-28 22:07:47 -07:00
Aaron Raimist
4c50ac0e56
Improve wording
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-11-28 22:22:42 -06:00
Travis Ralston
36f9fab474 Ensure read receipts end up with a valid reference to checkUnmounting
Fixes https://github.com/vector-im/riot-web/issues/11496
Fixes https://github.com/vector-im/riot-web/issues/11385
Fixes https://github.com/vector-im/riot-web/issues/10007
Fixes https://github.com/vector-im/riot-web/issues/9769

React does (kinda) bind `this._isUnmounting` for us in the context of the EventTile, but the EventTile then passes the function straight through to the ReadReceiptMarker component, which then binds it in the context of EventTile. This results in `this._mounted` being falsey all the time, preventing the ReadReceiptMarker from hitting the code where it updates rrInfo in its unmount. 

The velocity stuff is smart enough to realize that it has a read receipt and shuffles everything over by one, but when it goes to check the starting height (which will be null/undefined because the RRMarker didn't update it) it assumes it has never seen the receipt before and appends it again - this is what causes some holes/stacking.

By forcefully binding the `this._isUnmounting` function we ensure that the `this._mounted` variable is correctly referenced in the context of the MessagePanel, allowing the RRMarker to update its position, and therefore allowing the velocity behaviour to be consistent.
2019-11-28 19:45:37 -07:00
Travis Ralston
24843cf25e Convert Velociraptor to a class 2019-11-28 19:36:30 -07:00
Michael Telatynski
bfb5706b4a don't consume all keys
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-28 20:51:21 +00:00
Michael Telatynski
29b59dde5b undo unrelated change
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-28 20:44:08 +00:00
Travis Ralston
37ec7e6f7e Ensure the settings page accurately represents theme choices
Fixes https://github.com/vector-im/riot-web/issues/11518

This also fixes a bug where the the theme logic can incorrectly get stuck in the light theme - the ThemeController was overriding *all* values, not just supposed themes. Null values aren't overridden so that the various theme logic bits don't assume the user has chosen the light theme explicitly.
2019-11-28 13:40:28 -07:00
Michael Telatynski
811454462d fix Stickerpicker and MessageContextMenu
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-28 20:38:58 +00:00
Michael Telatynski
3847996b5b transition Tooltips over to deprecated code
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-28 20:26:09 +00:00
Michael Telatynski
2daf3a96bf delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-28 18:42:38 +00:00
Michael Telatynski
6c5b777a77 Consolidate all except tooltips
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-28 18:16:59 +00:00
Michael Telatynski
5a540f5949 Migrate MemberStatusMessageAvatar over to new Context Menus
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-28 16:40:45 +00:00
Michael Telatynski
ecf51a0569 i18n
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-11-28 16:28:53 +00:00
Michael Telatynski
6d69ec17d9 Merge branches 'develop' and 't3chguy/context_menus' of github.com:matrix-org/matrix-react-sdk into t3chguy/context_menus
 Conflicts:
	src/components/views/context_menus/RoomTileContextMenu.js
2019-11-28 16:25:59 +00:00
Travis Ralston
b833a030e7 Invite invited members too 2019-11-28 09:24:02 -07:00
Weblate
503aeac21f Merge branch 'origin/develop' into Weblate. 2019-11-28 16:16:59 +00:00
Travis Ralston
25809c54a7
Merge pull request #3682 from matrix-org/travis/fix-calltype-i18n
Improve translatable strings for calls
2019-11-28 09:16:52 -07:00
Weblate
064df930c8 Merge branch 'origin/develop' into Weblate. 2019-11-28 16:10:49 +00:00
Travis Ralston
01ba4aca45
Merge pull request #3680 from matrix-org/travis/fix-list-diff
Don't assume that diffs will have an appropriate child node
2019-11-28 09:10:43 -07:00
Travis Ralston
fde116458c
Words are hard 2019-11-28 09:08:24 -07:00
Weblate
d652e182aa Merge branch 'origin/develop' into Weblate. 2019-11-28 16:06:55 +00:00
Weblate
92e95d0c07 Merge branch 'origin/develop' into Weblate. 2019-11-28 16:06:51 +00:00
random
dc152a5409 Translated using Weblate (Italian)
Currently translated at 100.0% (1921 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-11-28 16:06:51 +00:00
Samu Voutilainen
94f19cbc2e Translated using Weblate (Finnish)
Currently translated at 100.0% (1921 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-11-28 16:06:50 +00:00
Travis Ralston
90a1cb68eb
Merge pull request #3681 from matrix-org/travis/fix-jitsi
Fix persisted widgets getting stuck at loading screens
2019-11-28 09:06:44 -07:00
Aaron Raimist
1bb55d4fa1
Hide Remove button in message editing history if you don't have permission to redact
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-11-27 22:30:39 -06:00
Travis Ralston
b9559ecf82 Appease the linter 2019-11-27 20:34:31 -07:00
Travis Ralston
f020929345 Add an option to invite users to upgraded private rooms
The option doesn't show up on public room upgrades.
2019-11-27 20:29:11 -07:00
Travis Ralston
96ffe94876 Merge remote-tracking branch 'origin/develop' into t3chguy/clear_notifications 2019-11-27 19:27:52 -07:00
Weblate
8c6056a90f Merge branch 'origin/develop' into Weblate. 2019-11-28 00:06:28 +00:00
thilobuchholz
ff90ae1972 Translated using Weblate (German)
Currently translated at 80.6% (1548 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-11-28 00:06:28 +00:00
Travis Ralston
3b5aa5e9b8
Update src/RoomInvite.js
Co-Authored-By: Michael Telatynski <7t3chguy@gmail.com>
2019-11-27 16:57:44 -07:00
Travis Ralston
97515511ce Improve translatable strings for calls
Fixes https://github.com/vector-im/riot-web/issues/11507
2019-11-27 13:03:51 -07:00
Travis Ralston
7b013ecc69 Fix persisted widgets getting stuck at loading screens
The widget itself is rendered underneath the loading screen, so we just have to disable the loading state.

This commit also removes the "is" attribute because React 16 includes unknown attributes: https://reactjs.org/blog/2017/09/08/dom-attributes-in-react-16.html

Fixes https://github.com/vector-im/riot-web/issues/11536
2019-11-27 12:54:31 -07:00
Travis Ralston
673e6c3162 Don't assume that diffs will have an appropriate child node
Fixes https://github.com/vector-im/riot-web/issues/11497

This is a regression from react-sdk v1.5.0 where the diff feature was added in the first place. It only affects lists.
2019-11-27 12:26:43 -07:00
Travis Ralston
275bd33a6c Move the description into the relevant branch 2019-11-27 10:48:05 -07:00
Travis Ralston
d6821ecb99 Fix multi-invite error dialog messaging
Fixes https://github.com/vector-im/riot-web/issues/11515
2019-11-27 10:44:36 -07:00
Weblate
ace950691b Merge branch 'origin/develop' into Weblate. 2019-11-27 14:52:12 +00:00
Travis Ralston
fbba55ab05
Merge pull request #3670 from matrix-org/travis/toggle-communities
Make the communities button behave more like a toggle
2019-11-27 07:52:05 -07:00
Kévin C
b52b8b4848 Translated using Weblate (French)
Currently translated at 100.0% (1921 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-11-27 13:31:57 +00:00
David Baker
c9b972116a Remove broken velocity-ui animation
The deactivate account dialog tried to shake the password box on
an incorrect password but it didn't work because we don't import
velocity-ui anywhere. Looks like we forgot to import it in
DeactivateAccountDialog.js and were relying on it being imported
elsewhere (so probably broke when BottomLeftMenu got removed).

Either way, we no longer use the field-shake animation anywhere else,
so just remove it.
2019-11-27 11:47:57 +00:00
Weblate
c13fefa1a2 Merge branch 'origin/develop' into Weblate. 2019-11-27 09:19:08 +00:00
Samu Voutilainen
b54ec3d708 Translated using Weblate (Finnish)
Currently translated at 97.5% (1873 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-11-27 09:19:08 +00:00
Jeff Huang
c3dd491eac Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1921 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-27 09:19:01 +00:00
David Baker
dd7b08ec25
Merge pull request #3674 from matrix-org/dbkr/read_marker_css_transition
Change read markers to use CSS transitions
2019-11-27 09:18:53 +00:00
Aaron Raimist
98c47265c9
Fix indentation
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-11-26 15:01:02 -06:00
Aaron Raimist
7905e6cc3b
Add a link to the labs feature documentation
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-11-26 14:31:48 -06:00
David Baker
a2e3f64963 Change read markers to use CSS transitions
Removes one of the two places we use Velocity, so we're one step
closer to getting rid of it for good.

Should therefore fix the fact that Velocity is leaking data entries
and therefore <hr> elements.

Hopefully also makes the logic in getEventTiles incrementally simpler,
if still somwewhat byzantine.
2019-11-26 19:06:02 +00:00
Weblate
8733bfdaa4 Merge branch 'origin/develop' into Weblate. 2019-11-26 17:33:13 +00:00
Travis Ralston
9f1df0ce8f
Merge pull request #3669 from matrix-org/travis/breadcrumb-upgrades
Update breadcrumbs when we do eventually see upgraded rooms
2019-11-26 10:33:07 -07:00
Weblate
3f0161c433 Merge branch 'origin/develop' into Weblate. 2019-11-26 17:05:03 +00:00
fenuks
088fb35a2f Translated using Weblate (Polish)
Currently translated at 75.8% (1456 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-11-26 17:05:02 +00:00
송태섭
3679dd73d4 Translated using Weblate (Korean)
Currently translated at 99.1% (1904 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-11-26 17:05:00 +00:00
take100yen
6d0cd2aa9c Translated using Weblate (Japanese)
Currently translated at 62.0% (1191 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2019-11-26 17:04:59 +00:00
Szimszon
daccdbc0a9 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1921 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-26 17:04:55 +00:00
Kévin C
a36de8ed92 Translated using Weblate (French)
Currently translated at 100.0% (1921 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-11-26 17:04:55 +00:00
Jeff Huang
0e8a912dd1 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1921 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-26 17:04:54 +00:00
tleydxdy
5bfcf00f5b Translated using Weblate (Chinese (Simplified))
Currently translated at 77.5% (1488 of 1921 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hans/
2019-11-26 17:04:54 +00:00