Commit graph

17816 commits

Author SHA1 Message Date
J. Ryan Stinnett
67299842e3 Use more specific messaging for email invite preview
This changes email invite previews to check more specific cases about whether
the email has been added to your account, you have an IS, the email is bound,
etc.

In addition, it always allows you to join if you want to.

Fixes https://github.com/vector-im/riot-web/issues/10669
2019-09-03 15:41:53 +01:00
Travis Ralston
2e3e2ec420 Fix member power levels in room settings
Fixes https://github.com/vector-im/riot-web/issues/10736

We didn't have an onChange property on the PowerSelector component
2019-09-03 08:36:24 -06:00
Bruno Windels
0d02ab59d6 allow starting a range with both positions known already
we'll need this to start a range for the selection
2019-09-03 16:00:50 +02:00
Bruno Windels
eb87301855 allow getting the DocumentOffset for any node+offset, not just focusNode
we need this to get both offsets of the selection boundaries

getSelectionOffsetAndText offers the extra flexibility,
getCaretOffsetAndText keeps the old api for focusNode/focusOffset

Also did some renaming here now that it's not just for the caret anymore
2019-09-03 15:58:50 +02:00
Bruno Windels
648ae37ff4 make DocumentOffset compatible with what is returned from dom/getCaret
so we can return a DocumentOffset from there without breakage
2019-09-03 15:58:05 +02:00
Weblate
945679b09b Merge branch 'origin/develop' into Weblate. 2019-09-03 08:36:53 +00:00
송태섭
f5e231480a Translated using Weblate (Korean)
Currently translated at 100.0% (1762 of 1762 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-09-03 08:36:53 +00:00
Szimszon
f0da49b5bb Translated using Weblate (Hungarian)
Currently translated at 100.0% (1762 of 1762 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-09-03 08:36:53 +00:00
jadiof
50eae5c1f4 Translated using Weblate (German)
Currently translated at 87.6% (1544 of 1762 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-09-03 08:36:52 +00:00
Kévin C
a38cb37558 Translated using Weblate (French)
Currently translated at 100.0% (1762 of 1762 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-09-03 08:36:52 +00:00
Jeff Huang
6ac4be6ee1 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1762 of 1762 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-09-03 08:36:52 +00:00
Bruno Windels
917700a1fc
Merge pull request #3383 from matrix-org/revert-3378-bwindels/cider-md-legend
Revert "New composer: show markdown legend on focus"
2019-09-03 08:36:48 +00:00
Bruno Windels
1063da0ed1
Revert "New composer: show markdown legend on focus" 2019-09-03 08:27:45 +00:00
Weblate
4c6de3290f Merge branch 'origin/develop' into Weblate. 2019-09-02 17:25:21 +00:00
Travis Ralston
71e13842b8
Merge pull request #3368 from matrix-org/travis/disable-msisdn
Disable MSISDN registration if the homeserver doesn't support it
2019-09-02 11:25:17 -06:00
Weblate
acd0805a8b Merge branch 'origin/develop' into Weblate. 2019-09-02 17:08:49 +00:00
Szimszon
f6885c9816 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1759 of 1759 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-09-02 17:08:49 +00:00
Kévin C
df32a51f89 Translated using Weblate (French)
Currently translated at 100.0% (1759 of 1759 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-09-02 17:08:49 +00:00
Travis Ralston
5e8eb20c53
Merge pull request #3371 from matrix-org/travis/synapse_admin
Add a button to MemberInfo to deactivate a user
2019-09-02 11:08:45 -06:00
Bruno Windels
06ae0645c7 fix lint 2019-09-02 17:56:16 +02:00
Bruno Windels
712c3e5450 allow escaping the first slash to not write a command 2019-09-02 17:53:14 +02:00
Bruno Windels
41ca54bb09 /plain command to bypass markdown conversion 2019-09-02 17:44:31 +02:00
Weblate
5e298e6e13 Merge branch 'origin/develop' into Weblate. 2019-09-02 14:59:47 +00:00
Bruno Windels
422f482a6d
Merge pull request #3378 from matrix-org/bwindels/cider-md-legend
New composer: show markdown legend on focus
2019-09-02 14:59:44 +00:00
Weblate
abf0de09a1 Merge branch 'origin/develop' into Weblate. 2019-09-02 14:59:22 +00:00
Bruno Windels
de9f923e36
Merge pull request #3380 from matrix-org/bwindels/cider-fix-dirty-flag-without-input-event
New composer: allow submitting after inserting newline
2019-09-02 14:59:18 +00:00
Weblate
7205af0713 Merge branch 'origin/develop' into Weblate. 2019-09-02 14:58:58 +00:00
Bruno Windels
6a0842d1ab
Merge pull request #3379 from matrix-org/bwindels/cider-deserialize-headers
Message editing: deserialize headers from html back to markdown
2019-09-02 14:58:54 +00:00
Weblate
935bf77cbb Merge branch 'origin/develop' into Weblate. 2019-09-02 14:58:28 +00:00
Bruno Windels
c4d7df768d
Merge pull request #3375 from matrix-org/bwindels/cider-colononmention
New composer: share user pill postfix between autocomplete and insert mention
2019-09-02 14:58:23 +00:00
Weblate
0d91436f53 Merge branch 'origin/develop' into Weblate. 2019-09-02 14:58:16 +00:00
Bruno Windels
ff74dd4b7f
Merge pull request #3374 from matrix-org/bwindels/fix-cider-command-detection
New composer: make command detection not break with pill candidates in command
2019-09-02 14:58:12 +00:00
Weblate
5d89cdcd68 Merge branch 'origin/develop' into Weblate. 2019-09-02 14:57:46 +00:00
송태섭
de0a5246ff Translated using Weblate (Korean)
Currently translated at 100.0% (1759 of 1759 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-09-02 14:57:46 +00:00
Jeff Huang
0bf6ea0cc2 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1759 of 1759 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-09-02 14:57:45 +00:00
Bruno Windels
eaed07fcbf
Merge pull request #3377 from matrix-org/bwindels/cider-noemptymsg
New composer: dont allow sending empty messages
2019-09-02 14:57:41 +00:00
J. Ryan Stinnett
00a69b996d Clarify invite error text
This fixes a typo in the message (valide) and also has better handling of error
codes, because in some cases, we don't get one.

Fixes https://github.com/vector-im/riot-web/issues/10683
2019-09-02 15:53:13 +01:00
Bruno Windels
6163cefa6a set dirty flag when programatically inserting text like with newlines 2019-09-02 16:29:25 +02:00
Bruno Windels
5b54cf566d deserialize headers from html back to markdown 2019-09-02 16:23:56 +02:00
Bruno Windels
f200327ef2 show/hide legend when focusing/blurring 2019-09-02 16:15:18 +02:00
Bruno Windels
b7768f34f2 Add legend and style it 2019-09-02 16:15:18 +02:00
Weblate
f9c052d1c8 Merge branch 'origin/develop' into Weblate. 2019-09-02 12:41:49 +00:00
Bruno Windels
5565eca0cb
Merge pull request #3376 from matrix-org/bwindels/cider-pills-spellcheck
New composer: disable spell check for pills
2019-09-02 12:41:45 +00:00
Bruno Windels
b9cb22e153 dont allow sending empty messages 2019-09-02 14:36:31 +02:00
Bruno Windels
2683627a82 disable spell check for pills in the new composer 2019-09-02 14:26:15 +02:00
Bruno Windels
c595371845 share user pill postfix between autocomplete and insert mention
where we decide to add a colon only if the composer is empty
2019-09-02 14:06:30 +02:00
Bruno Windels
b46e001d0a allow pill-candidate parts in commands 2019-09-02 13:51:46 +02:00
Weblate
d74b9552f6 Merge branch 'origin/develop' into Weblate. 2019-09-02 11:40:41 +00:00
J. Ryan Stinnett
c219f925c6
Merge pull request #3373 from matrix-org/jryans/dialog-link-colour
Restrict green link colours to address picker dialog
2019-09-02 12:40:36 +01:00
Weblate
fc964687d9 Merge branch 'origin/develop' into Weblate. 2019-09-02 11:38:17 +00:00