Commit graph

8305 commits

Author SHA1 Message Date
Aidan Gauland
35780f5ae0 Remove use of deprecated React.PropTypes
Replace all uses of React.PropTypes with PropTypes and importing PropTypes from
'prop-types'.
2017-12-26 14:03:18 +13:00
Travis Ralston
e8392dfa00 Have /tint use the primary color as the secondary if no secondary was given
This is to make the color scheme actually apply itself now that the secondary color is not optional. In order to preserve it being optional in the command, we'll use the primary color as the secondary color as it has no major visual impact.

Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-12-25 13:39:32 -07:00
Travis Ralston
2815c576c1 Ignore the default value when calculating if notifications are enabled
This is to make the "Enable desktop notifications" checkbox accurately reflect the user's preference. The device-level setting is still respected. 

Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-12-25 13:29:30 -07:00
Travis Ralston
6f674f21f6 Hide the notification nag bar after enabling notifications
and add a bit of documentation around why the notificationsEnabled setting isn't set here.

Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-12-25 13:27:23 -07:00
Joachim Nielandt
e1a132b27b Translated using Weblate (Dutch)
Currently translated at 74.1% (710 of 958 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2017-12-22 09:00:49 +00:00
Michael Telatynski
ab347c82f7
Allow argument to op slashcommand to be negative as PLs can be -ve
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2017-12-21 12:23:48 +00:00
SimonLefort
9702e60f46 Translated using Weblate (French)
Currently translated at 100.0% (958 of 958 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2017-12-20 10:56:16 +00:00
Weblate
1379f64068 Merge remote-tracking branch 'origin/develop' into develop 2017-12-19 15:39:24 +00:00
Tirifto
af2feb5e58 Translated using Weblate (Esperanto)
Currently translated at 99.3% (952 of 958 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2017-12-19 15:39:23 +00:00
Richard Lewis
b5f6d97fa2 Ignore postmessage requests with api field set. 2017-12-19 15:39:13 +00:00
Weblate
e332433f8b Merge remote-tracking branch 'origin/develop' into develop 2017-12-18 22:49:30 +00:00
Matthew Hodgson
fa14bc9b8d don't gutwrench 2017-12-18 22:49:23 +00:00
Weblate
15701ccff6 Merge remote-tracking branch 'origin/develop' into develop 2017-12-18 22:47:36 +00:00
Matthew Hodgson
e65c67ca15 fix https://github.com/vector-im/riot-web/issues/5841 2017-12-18 22:47:28 +00:00
Weblate
7b04d8a05f Merge remote-tracking branch 'origin/develop' into develop 2017-12-18 22:46:52 +00:00
IMIN
21bca7e2d3 Translated using Weblate (Korean)
Currently translated at 67.7% (649 of 958 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/

.(could not connect media)
2017-12-18 22:46:52 +00:00
Michael Telatynski
b91bd52edd
Merge pull request #1658 from pafcu/annotate-t
Add option to also output untranslated string
2017-12-18 22:46:48 +00:00
Weblate
cfdcf59b2e Merge remote-tracking branch 'origin/develop' into develop 2017-12-18 17:35:11 +00:00
Richard Lewis
32bdbdb2f3
Merge pull request #1669 from turt2live/travis/integ-theme
Give the current theme to widgets and the integration manager
2017-12-18 17:35:06 +00:00
Travis Ralston
e5df0dcf1e
$riot_theme -> $theme
Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-12-18 09:19:54 -07:00
Weblate
8061579385 Merge remote-tracking branch 'origin/develop' into develop 2017-12-18 14:56:36 +00:00
Michael Telatynski
201d8f04c0
Merge pull request #1671 from oivoodoo/riot-web-issue-1953-multiple-file-upload
Allow multiple file uploads using drag & drop for RoomView
2017-12-18 14:56:31 +00:00
Weblate
c8c208d9d7 Merge remote-tracking branch 'origin/develop' into develop 2017-12-18 13:04:28 +00:00
Mateusz Wiśniewski
b0b2e761a8 Translated using Weblate (Polish)
Currently translated at 72.6% (696 of 958 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-12-18 13:04:28 +00:00
Juho Ylikorpi
5fddf3bbeb Translated using Weblate (Finnish)
Currently translated at 98.4% (943 of 958 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2017-12-18 13:04:27 +00:00
Tirifto
cfedd57920 Translated using Weblate (Esperanto)
Currently translated at 72.6% (696 of 958 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2017-12-18 13:04:27 +00:00
Osoitz
5d0a82c83b Translated using Weblate (Basque)
Currently translated at 75.2% (721 of 958 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2017-12-18 13:04:27 +00:00
Michael Telatynski
779e4d026c
Merge pull request #1670 from oivoodoo/issue/phone-number-preview
Fix issue with preview of phone number on register and waiting for sms code confirmation code
2017-12-18 13:04:22 +00:00
Alexandr Korsak
d051a2e0b3 Remove extra space 2017-12-18 15:59:21 +03:00
Alexandr Korsak
78af02b29b Replace lodash/every by Array.prototype.every function 2017-12-18 15:51:01 +03:00
Alexandr Korsak
c07c4fd1cb Allow multiple file uploads on drag & drop 2017-12-18 13:20:18 +03:00
Alexandr Korsak
fddbf3a2a2 Fix issue with preview of phone number on register and waiting for sms code confirmation code 2017-12-18 12:23:54 +03:00
Travis Ralston
678d87ef20 Give the current theme to the integration manager
For integration managers which would like to theme themselves to match Riot.

Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-12-16 20:13:27 -07:00
Travis Ralston
94ef80c008 Support sending the current theme to widgets
This is a namespaced variable because some clients may not be able to support themes, or may have varying definitions of what "light" means. Widgets are recommended to opt for per-client checks, or accept that some clients may differ.

Signed-off-by: Travis Ralston <travpc@gmail.com>
2017-12-16 20:11:00 -07:00
Weblate
497b73ffc7 Merge remote-tracking branch 'origin/develop' into develop 2017-12-15 17:38:19 +00:00
Luke Barnard
adaea9ad5b
Merge pull request #1647 from matrix-org/luke/tag-panel-improve-performance
Attempt to improve TagPanel performance
2017-12-15 17:38:15 +00:00
Luke Barnard
71740cc176 Merge branch 'develop' into luke/fix-room-list-group-store-leak 2017-12-15 17:36:36 +00:00
Luke Barnard
d292dab9c6 More doc 2017-12-15 17:30:21 +00:00
Luke Barnard
56affd3d42 Rename for clarity 2017-12-15 17:29:06 +00:00
Weblate
f2e018257b Merge remote-tracking branch 'origin/develop' into develop 2017-12-15 17:25:25 +00:00
Luke Barnard
d2066f41d5
Merge pull request #1656 from matrix-org/luke/fix-scroll-jump-on-message-decryption
Fix one variant of a scroll jump that occurs when decrypting an m.text
2017-12-15 17:25:21 +00:00
Luke Barnard
653137f6ec Update comment 2017-12-15 17:21:20 +00:00
Luke Barnard
6f896098e3 Get Group profile from TagTile instead of TagPanel
So that instead of getting all group profiles everytime the tags
change order, get them when the TagTile mounts for a group tag.
2017-12-15 17:18:46 +00:00
Weblate
499c0b889b Merge remote-tracking branch 'origin/develop' into develop 2017-12-15 16:30:40 +00:00
Göller Bertalan
74bc992fd9 Translated using Weblate (Hungarian)
Currently translated at 100.0% (958 of 958 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2017-12-15 16:30:40 +00:00
Juho Ylikorpi
86f1dc1130 Translated using Weblate (Finnish)
Currently translated at 92.0% (882 of 958 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2017-12-15 16:30:39 +00:00
Tirifto
66fb73af5d Translated using Weblate (Esperanto)
Currently translated at 58.2% (558 of 958 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2017-12-15 16:30:39 +00:00
Luke Barnard
0a944e0746
Merge pull request #1665 from matrix-org/luke/fix-matrix-chat-logged-in-view-ref
Avoid NPEs by using ref method for collecting loggedInView in MatrixChat
2017-12-15 16:30:35 +00:00
Luke Barnard
6e832c7d73 Dedupe requests to fetch group profile data 2017-12-15 16:28:50 +00:00
Luke Barnard
8b11b10531 Avoid NPEs by using ref method for collecting loggedInView in MatrixChat 2017-12-15 15:24:37 +00:00