Bruno Windels
b72d1a78ec
move inline formatting code out of react component
2019-09-04 16:40:34 +02:00
Bruno Windels
47d8d86bbe
whitespace (in model)
2019-09-04 16:40:23 +02:00
Bruno Windels
7f501b2aef
first impl of quote formatting
2019-09-04 16:40:13 +02:00
Bruno Windels
d4c7992f5a
first impl of inline formatting
2019-09-04 16:39:56 +02:00
Bruno Windels
e7db660820
fixup: css, we have 5 buttons
2019-09-04 16:39:07 +02:00
Bruno Windels
c15dfc3c05
make Range start and end public
2019-09-04 16:38:42 +02:00
Bruno Windels
7dc39baaf3
implement bold support in format bar
2019-09-04 16:35:03 +02:00
Bruno Windels
77b14beb1f
add getter for intersecting parts of range, and total length
...
we'll need this when replacing selection, to preserve
newlines, etc ... in the selected range (e.g. we can't just
use range.text).
2019-09-04 16:35:03 +02:00
Bruno Windels
48f1bf1816
sort positions in Range constructor, so start always comes before end
2019-09-04 16:35:03 +02:00
Bruno Windels
65ddfc0a50
show format bar when text is selected
2019-09-04 16:35:03 +02:00
Weblate
c8aaffffb6
Merge branch 'origin/develop' into Weblate.
2019-09-03 16:04:27 +00:00
Bruno Windels
4575aaa9f6
Merge pull request #3382 from matrix-org/bwindels/escape-command-slash
...
New composer: allow escaping the first slash to not write a command
2019-09-03 16:04:23 +00:00
Weblate
e1817ab8e3
Merge branch 'origin/develop' into Weblate.
2019-09-03 16:04:11 +00:00
Bruno Windels
9a409a7acc
Merge pull request #3381 from matrix-org/bwindels/plain-command
...
/plain command to bypass markdown conversion
2019-09-03 16:04:07 +00:00
Weblate
84c8b291e9
Merge branch 'origin/develop' into Weblate.
2019-09-03 15:58:19 +00:00
송태섭
0d544d00ed
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 15:58:19 +00:00
random
ae809e0757
Translated using Weblate (Italian)
...
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/it/
2019-09-03 15:58:19 +00:00
J. Ryan Stinnett
3cb06c01b7
Merge pull request #3385 from matrix-org/jryans/email-invite-text
...
Improve email invite preview messaging
2019-09-03 16:58:14 +01:00
J. Ryan Stinnett
261bdab156
Fix indent
2019-09-03 16:55:17 +01:00
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