David Baker
a26498bc6c
Make 'group not found' work
2017-06-26 17:38:10 +01:00
Johannes Löthberg
48c32172fd
TextualBody: only highlight code block if language was specified
...
The highlight.js autodetection is finicky and often wrong, so disable
highlighting unless the language was explicitly specified, or if the
user has explicitly enabled it in the settings.
Fixes vector-im/riot-web#508 .
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com >
2017-06-26 17:45:40 +02:00
Johannes Löthberg
661e6a6d01
HtmlUtils: Allow language- classes on code blocks through the sanitizer
...
This is required to be able to specify the highlight language in fenced
blocks like the following:
```python
print("foo")
```
Signed-off-by: Johannes Löthberg <johannes@kyriasis.com >
2017-06-26 17:45:38 +02:00
Tong Hui
fcde56f614
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 100.0% (206 of 206 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/zh_Hans/
2017-06-26 15:29:11 +00:00
Brendan Abolivier
5e857afd5e
Translated using Weblate (French)
...
Currently translated at 100.0% (916 of 916 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2017-06-26 15:27:40 +00:00
Brendan Abolivier
59692d0190
Translated using Weblate (French)
...
Currently translated at 100.0% (206 of 206 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/fr/
2017-06-26 15:22:45 +00:00
David Baker
f9b37208a3
Merge pull request #1147 from matrix-org/matthew/stuck-unread
...
fix one major cause of stuck unread notifications
2017-06-26 14:57:25 +01:00
Matthew Hodgson
edae66fd3a
fix one major cause of stuck unread notifications
2017-06-26 14:28:56 +01:00
David Baker
bbd85891f4
Merge pull request #1146 from matrix-org/luke/fix-rte-strikeout
...
RTE: Use <del> for strikeout
2017-06-26 11:38:04 +01:00
Krombel
5d5d4bcc57
Added translation using Weblate (Persian)
2017-06-26 10:30:48 +00:00
Krombel
0771987e39
Translated using Weblate (German)
...
Currently translated at 100.0% (916 of 916 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2017-06-26 10:30:10 +00:00
Bamstam
d5594c883e
Translated using Weblate (German)
...
Currently translated at 99.7% (914 of 916 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2017-06-26 10:29:30 +00:00
Luke Barnard
d4034105a4
Revert support for ~~gh strikeout~~
2017-06-26 10:10:31 +01:00
David Baker
7998602f42
Merge pull request #1145 from matrix-org/luke/fix-rte-tab-complete-after-join
...
Update tab-complete state onRoom received after joining
2017-06-26 10:05:35 +01:00
Luke Barnard
c1bceb81d2
Merge branch 'develop' into luke/fix-rte-strikeout
2017-06-26 09:41:17 +01:00
Luke Barnard
f091d209b9
Merge branch 'develop' into luke/fix-rte-tab-complete-after-join
2017-06-26 09:39:49 +01:00
Luke Barnard
caa0250d30
Merge pull request #1144 from matrix-org/rte-fixes2
...
RTE Fixes
2017-06-26 09:38:14 +01:00
Carlos A. Carnero Delgado
15634a8435
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (206 of 206 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/es/
2017-06-26 03:22:58 +00:00
IMIN
a0afb915a2
Translated using Weblate (Korean)
...
Currently translated at 100.0% (916 of 916 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2017-06-25 22:55:32 +00:00
IMIN
d05d7a09c4
Translated using Weblate (Korean)
...
Currently translated at 100.0% (206 of 206 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/ko/
2017-06-25 22:02:04 +00:00
bldrzzy
af0effabc2
Translated using Weblate (Polish)
...
Currently translated at 16.3% (150 of 916 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2017-06-25 21:41:44 +00:00
bldrzzy
b4b4b8d350
Translated using Weblate (Polish)
...
Currently translated at 100.0% (206 of 206 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/pl/
2017-06-25 20:47:40 +00:00
Sylvia van Os
9541fc1033
Mirror local video feed
2017-06-25 22:13:00 +02:00
Rayeshman
ffcc495f98
Added translation using Weblate (Persian)
2017-06-25 09:38:31 +00:00
Szimszon
63a5f22e58
Translated using Weblate (Hungarian)
...
Currently translated at 100.0% (206 of 206 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/hu/
2017-06-25 07:33:29 +00:00
Walter
ef32c9ce96
Translated using Weblate (Ukrainian)
...
Currently translated at 18.7% (172 of 916 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/uk/
2017-06-24 16:30:26 +00:00
strixaluco
6e8246206a
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (206 of 206 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/uk/
2017-06-24 14:34:28 +00:00
Andrey
c4e8b5586f
Translated using Weblate (Russian)
...
Currently translated at 100.0% (206 of 206 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/ru/
2017-06-24 12:37:49 +00:00
Jeff Huang
7bb2e83ff4
Translated using Weblate (Chinese (Traditional))
...
Currently translated at 100.0% (206 of 206 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/zh_Hant/
2017-06-24 03:40:16 +00:00
Walter
440f524167
Translated using Weblate (Russian)
...
Currently translated at 100.0% (916 of 916 strings)
Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2017-06-23 19:37:11 +00:00
David Baker
3cdc7c9114
Add copyright headers
2017-06-23 18:30:16 +01:00
David Baker
f0f4a16e97
Translate autocomplete delay
2017-06-23 18:28:02 +01:00
Luke Barnard
9404dd30c5
Use <del> for strikeout
...
We've swapped to commonmark, which uses <del> instead of ~~ for strikeout, so make the RTE insert <del> when we apply strikeout. Also, when ~~ is inserted, transform them into <del> for simplicity. This means giving an input of ~~test~~ is effectively the same as giving an input of <del>test</del>.
2017-06-23 18:19:06 +01:00
David Baker
c0e48c72fc
Remove dep on liblevenstein
...
While we don't actually use it
2017-06-23 18:03:32 +01:00
Luke Barnard
ddb84f034e
Update tab-complete state onRoom received after joining
...
As opposed to doing it when the component mounts.
Fixes https://github.com/vector-im/riot-web/issues/3700 (hopefully)
2017-06-23 17:52:50 +01:00
Luke Barnard
89afcfd897
Linting
2017-06-23 17:35:07 +01:00
Luke Barnard
004d4828f8
Make the tests pass
...
sendTextMessage is not called when RTE Markdown is enabled, but rather sendHtmlMessage
2017-06-23 17:08:37 +01:00
David Baker
2efa099de2
Use function from HTMLUtils for sanitizing
...
Encapsulates things a little nicer
2017-06-23 17:02:54 +01:00
Luke Barnard
738f261d5d
Add missing translations for RTE ops
2017-06-23 16:14:22 +01:00
Luke Barnard
87609582c6
Merge branch 'develop' into rte-fixes2
...
Conflicts:
package.json
src/autocomplete/CommandProvider.js
src/autocomplete/UserProvider.js
src/components/structures/RoomView.js
src/components/structures/UserSettings.js
src/components/views/rooms/MessageComposerInput.js
2017-06-23 15:30:06 +01:00
David Baker
0207f3cc02
Merge pull request #1143 from matrix-org/luke/fix-login-multiple-fields
...
Only submit phone number when phone loginType is selected
2017-06-23 14:48:52 +01:00
David Baker
ec36a348be
comment why we send the empty string
2017-06-23 14:48:15 +01:00
Luke Barnard
c51255da40
Submit empty string username when on phone number login
2017-06-23 14:34:19 +01:00
Luke Barnard
f5353fcdc5
Only submit phone number when phone loginType is selected
...
Otherwise submit a phoneNumber and phoneCountry of `null` (when logging in with email or username).
Fixes https://github.com/vector-im/riot-web/issues/4000
2017-06-23 13:43:52 +01:00
Luke Barnard
cddac3516b
Merge pull request #1142 from matrix-org/dbkr/fix_potential_start_client_race_2
...
Fix potential race in setting client listeners
2017-06-23 12:56:14 +01:00
Krombel
7b7e240af6
Translated using Weblate (German)
...
Currently translated at 100.0% (206 of 206 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/de/
2017-06-23 10:23:36 +00:00
David Baker
8f3eb89f8b
Fix potential race in setting client listeners
2017-06-23 10:48:21 +01:00
David Baker
75ef80ecd4
Merge remote-tracking branch 'origin/develop' into erikj/group_server
2017-06-23 09:51:24 +01:00
Weblate
2a72c2e19b
Merge remote-tracking branch 'origin/develop' into develop
2017-06-23 08:47:57 +00:00
Max Sandholm
9ca37c6cb8
Translated using Weblate (Swedish)
...
Currently translated at 78.1% (161 of 206 strings)
Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/sv/
2017-06-23 08:47:57 +00:00