Commit graph

15582 commits

Author SHA1 Message Date
David Baker
a31d222570 Add catch handler for theme setting 2019-11-19 23:00:54 +00:00
David Baker
80ee68a42f Use a settings watcher to set the theme
Rather than listening for account data updates manually
2019-11-19 22:36:55 +00:00
Bruno Windels
de0287213e use general warning icon instead of e2e one for room status 2019-11-19 15:06:09 +01:00
Weblate
95e1b58e0d Merge branch 'origin/develop' into Weblate. 2019-11-19 13:34:29 +00:00
Alexis
0eedab4154 Translated using Weblate (Portuguese)
Currently translated at 33.3% (638 of 1918 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pt/
2019-11-19 13:24:31 +00:00
fenuks
afeab31ce6 Translated using Weblate (Polish)
Currently translated at 73.8% (1415 of 1918 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-11-19 13:24:29 +00:00
random
dbee3a1215 Translated using Weblate (Italian)
Currently translated at 99.9% (1916 of 1918 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-11-19 13:24:23 +00:00
Kévin C
0c0437ebf5 Translated using Weblate (French)
Currently translated at 100.0% (1918 of 1918 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-11-19 13:24:20 +00:00
Besnik Bleta
da2665f4a3 Translated using Weblate (Albanian)
Currently translated at 99.7% (1913 of 1918 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-11-19 13:24:17 +00:00
Damir Jelić
27d1e4fbbe Fix the translations en_EN file by regenerating it. 2019-11-19 14:18:56 +01:00
Bruno Windels
43884923e8 merge the feature_user_info_panel flag into feature_dm_verification 2019-11-19 14:18:12 +01:00
Damir Jelić
e9df973c82 EventIndex: Move the event indexing files into a separate folder. 2019-11-19 14:05:00 +01:00
Damir Jelić
f776bdcc8b EventIndex: Hide the feature behind a labs flag. 2019-11-19 14:05:00 +01:00
Damir Jelić
979803797f Lifecycle: Make the clear storage method async. 2019-11-19 14:05:00 +01:00
Damir Jelić
6017473caf EventIndex: Move the event listener registration into the EventIndex class. 2019-11-19 14:05:00 +01:00
Damir Jelić
d2a9918359 EventIndex: Remove some unused variables and some trailing whitespace. 2019-11-19 09:26:46 +01:00
Travis Ralston
5b6ace2558 Appease the linter 2019-11-18 18:02:47 -07:00
Travis Ralston
b185eed462 Wire up the widget permission prompt to the cross-platform setting
This doesn't have any backwards compatibility with anyone who has already clicked "Allow". We kinda want everyone to read the new prompt, so what better way to do it than effectively revoke all widget permissions?

Part of https://github.com/vector-im/riot-web/issues/11262
2019-11-18 17:56:33 -07:00
Weblate
2bc98c1bb8 Merge branch 'origin/develop' into Weblate. 2019-11-18 21:35:53 +00:00
Travis Ralston
2f89f28496 Remove extraneous paranoia
The value is nullchecked later on.
2019-11-18 14:25:04 -07:00
Travis Ralston
8d25952dbb Add a bit more safety around breadcrumbs
Fixes https://github.com/vector-im/riot-web/issues/11420
2019-11-18 14:17:31 -07:00
Weblate
a142ee1267 Merge branch 'origin/develop' into Weblate. 2019-11-18 20:30:02 +00:00
Travis Ralston
f5ec9eb8f4 Ensure widgets always have a sender associated with them
Fixes https://github.com/vector-im/riot-web/issues/11419
2019-11-18 13:16:36 -07:00
Weblate
c6b1835884 Merge branch 'origin/develop' into Weblate. 2019-11-18 19:53:49 +00:00
Szimszon
6f8129419b Translated using Weblate (Hungarian)
Currently translated at 100.0% (1918 of 1918 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-18 19:53:49 +00:00
Michael Telatynski
f9d1fed74a re-add missing case of codepath 2019-11-18 19:00:22 +00:00
Weblate
402e8047c7 Merge branch 'origin/develop' into Weblate. 2019-11-18 17:45:24 +00:00
Travis Ralston
ef1c575bff
Merge pull request #3622 from matrix-org/travis/new-widget-prompt
Implement the bulk of the new widget permission prompt design
2019-11-18 10:45:18 -07:00
Weblate
bca03c981c Merge branch 'origin/develop' into Weblate. 2019-11-18 17:09:14 +00:00
J. Ryan Stinnett
d5d2f7f936
Merge pull request #3588 from matrix-org/jryans/identity-disco-opt
Relax identity server discovery error handling
2019-11-18 17:09:08 +00:00
Weblate
e52f554acf Merge branch 'origin/develop' into Weblate. 2019-11-18 16:52:08 +00:00
Walter
fd5e239885 Translated using Weblate (Russian)
Currently translated at 97.2% (1855 of 1908 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-11-18 16:52:08 +00:00
random
52e7d35050 Translated using Weblate (Italian)
Currently translated at 99.9% (1906 of 1908 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-11-18 16:52:05 +00:00
J. Ryan Stinnett
31b2d263f2
Merge pull request #3626 from matrix-org/jryans/cross-signing-flag
Add cross-signing feature flag
2019-11-18 16:51:58 +00:00
Michael Telatynski
050761d339
Merge pull request #3624 from matrix-org/t3chguy/remove_bluebird_2
Attempt number two at ripping out Bluebird from rageshake.js
2019-11-18 16:39:23 +00:00
J. Ryan Stinnett
b8c0a0fe72 Reload automatically when changing cross-signing flag 2019-11-18 16:06:00 +00:00
J. Ryan Stinnett
50cccd3212 Add cross-signing feature flag
Fixes https://github.com/vector-im/riot-web/issues/11407
2019-11-18 16:06:00 +00:00
Damir Jelić
21f00aaeb1 EventIndex: Fix some spelling errors. 2019-11-18 17:00:30 +01:00
Damir Jelić
4a6623bc00 EventIndex: Rework the crawler cancellation. 2019-11-18 17:00:30 +01:00
Damir Jelić
8d7e7d0cc4 EventIndex: Remove the unused deleteEventIndex method.
We need to support the deletion of the event index even if it's not
currently initialized, therefore the deletion ended up in the
EventIndexPeg class.
2019-11-18 14:40:38 +01:00
Damir Jelić
c48ccf9761 EventIndex: Remove some unnecessary checks if event indexing is supported. 2019-11-18 14:40:04 +01:00
Damir Jelić
b983eaa3f9 EventIndex: Rename the file to be consistent with the class. 2019-11-18 14:36:08 +01:00
Damir Jelić
45e7aab41e EventIndexing: Rename our EventIndexer class. 2019-11-18 14:30:07 +01:00
Damir Jelić
579cbef7b0 EventIndexPeg: Rewrite the module documentation. 2019-11-18 14:29:03 +01:00
Michael Telatynski
e144f1c368 remove Promise.config 2019-11-18 10:37:29 +00:00
Michael Telatynski
5c172a383d Merge branch 't3chguy/remove_bluebird_2' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/remove_bluebird
 Conflicts:
	src/components/views/right_panel/UserInfo.js
2019-11-18 10:36:43 +00:00
Michael Telatynski
2fe764a3e9 Merge branches 'develop' and 't3chguy/remove_bluebird_2' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/remove_bluebird_2 2019-11-18 10:24:14 +00:00
Michael Telatynski
d4d51dc61f Rip out the remainder of Bluebird 2019-11-18 10:03:05 +00:00
Damir Jelić
2bb331cdf0 Searching: Fix a typo. 2019-11-18 10:58:57 +01:00
Damir Jelić
0e3a0008df Searching: Remove the func suffix from our search functions. 2019-11-18 10:58:54 +01:00
Damir Jelić
a4ad8151f8 Searching: Use the short form to build the search arguments object. 2019-11-18 10:58:53 +01:00
Damir Jelić
b4a6123295 Searching: Move a comment to the correct place. 2019-11-18 10:58:50 +01:00
Damir Jelić
3b06c684d2 EventIndexing: Don't capitalize homeserver. 2019-11-18 10:58:47 +01:00
Damir Jelić
050e52ce46 EventIndexPeg: Treat both cases of unavailable platform support the same. 2019-11-18 10:58:45 +01:00
Damir Jelić
ddb536e94a EventIndexPeg: Move a docstring to the correct place. 2019-11-18 10:58:44 +01:00
Damir Jelić
910c3ac08d BaseEventIndexManager: Fix some type annotations. 2019-11-18 10:58:42 +01:00
Damir Jelić
5149164010 MatrixChat: Revert the unnecessary changes in the MatrixChat class. 2019-11-18 10:58:40 +01:00
Damir Jelić
9fa8e8238a BaseEventIndexManager: Fix a typo. 2019-11-18 10:58:38 +01:00
Damir Jelić
ab93745460 Fix the copyright headers from New Vector to The Matrix Foundation. 2019-11-18 10:58:36 +01:00
Damir Jelić
30d4dd36a7 BaseEventIndexManager: Remove the flow annotation. 2019-11-18 10:58:31 +01:00
Michael Telatynski
47948812b0 Attempt number two at ripping out Bluebird from rageshake.js 2019-11-18 09:47:37 +00:00
Weblate
32fc1458d1 Merge branch 'origin/develop' into Weblate. 2019-11-18 09:29:24 +00:00
Nobbele
5d3a84db85 Translated using Weblate (Swedish)
Currently translated at 76.4% (1457 of 1908 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sv/
2019-11-18 09:29:23 +00:00
송태섭
20dd731ed0 Translated using Weblate (Korean)
Currently translated at 100.0% (1908 of 1908 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-11-18 09:29:22 +00:00
Szimszon
16a107a163 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1908 of 1908 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-11-18 09:29:18 +00:00
Kévin C
78c36e5936 Translated using Weblate (French)
Currently translated at 100.0% (1908 of 1908 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-11-18 09:29:17 +00:00
Jeff Huang
a9ef6bde63 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1908 of 1908 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-11-18 09:29:15 +00:00
Besnik Bleta
d56ae70287 Translated using Weblate (Albanian)
Currently translated at 99.8% (1904 of 1908 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-11-18 09:29:14 +00:00
Michael Telatynski
1ab9b82c25
Merge pull request #3618 from matrix-org/t3chguy/remove_bluebird_2
Remove Bluebird: phase 2.1
2019-11-18 09:29:04 +00:00
Travis Ralston
6b726a8e13 Implement the bulk of the new widget permission prompt design
Part 1 of https://github.com/vector-im/riot-web/issues/11262

This is all the visual changes - the actual wiring of the UI to the right places is for another PR (though this PR still works independently).

The help icon is known to be weird here - it's a bug in the svg we have. The tooltip also goes right instead of up because making the tooltip go up is not easy work for this PR - maybe a future one if we *really* want it to go up.
2019-11-15 14:26:16 -07:00
Weblate
e46a8c92d0 Merge branch 'origin/develop' into Weblate. 2019-11-15 17:54:24 +00:00
Travis Ralston
61454bcf32 Fix i18n after merge 2019-11-15 10:25:58 -07:00
Travis Ralston
616a5ab55d Merge branch 'develop' into travis/deactivate-2 2019-11-15 10:24:20 -07:00
Weblate
e6ffec948e Merge branch 'origin/develop' into Weblate. 2019-11-15 16:38:02 +00:00
Volodymyr Kostyrko
9a92f3d38e Translated using Weblate (Ukrainian)
Currently translated at 29.0% (551 of 1898 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/uk/
2019-11-15 16:38:01 +00:00
Tuomas Hietala
21dc9b9f25 Translated using Weblate (Finnish)
Currently translated at 96.4% (1830 of 1898 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-11-15 16:37:53 +00:00
Victor Grousset
5f31efadb6 Translated using Weblate (Esperanto)
Currently translated at 98.1% (1862 of 1898 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2019-11-15 16:37:49 +00:00
Bruno Windels
0f39a9f72d fix pr feedback 2019-11-15 17:29:38 +01:00
Bruno Windels
d416ba2c0c add verify button while we don't have the verification in right panel 2019-11-15 16:14:18 +01:00
Bruno Windels
3a399e18fc prevent https://github.com/vector-im/riot-web/issues/11338 2019-11-15 16:14:18 +01:00
Bruno Windels
53019c5e91 don't show devices section when not encrypted, as it just shows spinner 2019-11-15 16:14:18 +01:00
Bruno Windels
92237f1045 cleanup 2019-11-15 16:14:18 +01:00
Bruno Windels
264c8181c2 add canEdit to permission state, more explicit than maxLevel >= 0 2019-11-15 16:14:18 +01:00
Bruno Windels
48b1207c6e split up PowerLevelEditor into two components
one while editing (PowerLevelEditor) and one
while not editing (PowerLevelSection).

Also save when pressing the button, not when changing the
power dropdown.

Also show the spinner next to the dropdown when saving,
not at the bottom of the component.
2019-11-15 16:14:18 +01:00
Bruno Windels
e86ceb986f pass powerlevels state to power level section and admin section 2019-11-15 16:14:18 +01:00
Bruno Windels
bd853b3102 listen for RoomState.members instead of RoomState.events
as the powerlevel on the member is not yet updated at the time
RoomState.events is emitted.

Also listen on the client for this event as the currentState
object can change when the timeline is reset.
2019-11-15 16:14:18 +01:00
Bruno Windels
6db162a3a7 add PL edit mode, don't show selector by default
still saves when changing the selector though
2019-11-15 16:14:18 +01:00
Bruno Windels
91e02aa623 hide PL numbers on labels 2019-11-15 16:14:18 +01:00
Bruno Windels
d0914f9208 allow label to be empty on power selector 2019-11-15 16:14:18 +01:00
Bruno Windels
b278531f2f add IconButton as in design 2019-11-15 16:14:18 +01:00
Bruno Windels
ca12e6c010 don't render unverified state on bubbles
as they are only used for verification right now,
and verification events will be unverified by definition,
so no need to alarm users needlessly.

Also, this breaks the bubble layout on hover due to e2e icons
and verified left border style.
2019-11-15 16:14:18 +01:00
Bruno Windels
9e8a2eda1f small fixes 2019-11-15 16:14:18 +01:00
Bruno Windels
030827f77d mark destructive actions in red 2019-11-15 16:14:18 +01:00
Bruno Windels
0bd1e7112d style security section as per design 2019-11-15 16:14:18 +01:00
Bruno Windels
04731d0ae3 RoomState.events fired on RoomState object, not room 2019-11-15 16:14:18 +01:00
Bruno Windels
6afeeddb36 hide verified devices by default with expand button 2019-11-15 16:14:18 +01:00
Bruno Windels
4a1dc55673 fixup: rearrange openDMForUser 2019-11-15 16:14:18 +01:00
Bruno Windels
e32a948d5d add "unverify user" action to user info 2019-11-15 16:14:18 +01:00
Bruno Windels
29216ef668 update when room encryption is turned on
also don't download devices as long as room is not encrypted
2019-11-15 16:14:18 +01:00
Bruno Windels
bd2bf4500a remove direct message list from UserInfo 2019-11-15 16:14:18 +01:00