Commit graph

15770 commits

Author SHA1 Message Date
David Baker
1dec534493 Label submit button in UI auth password prompt
Fixes https://github.com/vector-im/riot-web/issues/10739
2019-10-07 13:13:30 +01:00
Weblate
b8c11e3a27 Merge branch 'origin/develop' into Weblate. 2019-10-07 12:05:56 +00:00
Travis Ralston
9200c55ce0
Merge pull request #3526 from matrix-org/travis/recaptcha-fix
Null-guard the recaptcha setup
2019-10-07 13:05:52 +01:00
Travis Ralston
495513028c Appease the linter 2019-10-07 12:46:14 +01:00
Weblate
bec184db35 Merge branch 'origin/develop' into Weblate. 2019-10-07 11:45:26 +00:00
Travis Ralston
c547367b62
Merge pull request #3513 from matrix-org/travis/mask-eye
Use a mask instead of an img for "Show image" eye
2019-10-07 12:45:22 +01:00
Travis Ralston
afaaa6774e Update i18n 2019-10-07 12:43:30 +01:00
Travis Ralston
e841bd5442
Update src/components/views/auth/InteractiveAuthEntryComponents.js
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2019-10-07 12:43:07 +01:00
Travis Ralston
082ebe636e Null-guard the recaptcha setup
Fixes https://github.com/vector-im/riot-web/issues/11069
2019-10-07 12:36:20 +01:00
Weblate
173f48c8b1 Merge branch 'origin/develop' into Weblate. 2019-10-07 11:06:36 +00:00
David Baker
7d96517139
Merge pull request #3523 from matrix-org/dbkr/rageshake_limit_once
Only limit the rageshake log size in one place
2019-10-07 12:06:30 +01:00
송태섭
76ad627083 Translated using Weblate (Korean)
Currently translated at 100.0% (1823 of 1823 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-10-05 17:51:49 +00:00
random
f6434c244f Translated using Weblate (Italian)
Currently translated at 99.9% (1821 of 1823 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-10-05 17:51:49 +00:00
Szimszon
6eeaa4b49d Translated using Weblate (Hungarian)
Currently translated at 100.0% (1823 of 1823 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-10-05 17:51:49 +00:00
Kévin C
03d9ce9f83 Translated using Weblate (French)
Currently translated at 100.0% (1823 of 1823 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-10-05 17:51:48 +00:00
Tuomas Hietala
2649b026ad Translated using Weblate (Finnish)
Currently translated at 97.9% (1785 of 1823 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-10-05 17:51:48 +00:00
Jeff Huang
94157b69a6 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1823 of 1823 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-10-05 17:51:47 +00:00
David Baker
a15c8fd476 Only limit the rageshake log size in one place
We had two different places in the code that were both trying to
limit to the MAX_LOG_SIZE and doing different things with it.
fetchLogs was keeping each individual file to MAX_LOG_SIZE but then
the outer loop was also discarding the whole file if it would make
the total exceed MAX_LOG_SIZE. This meant that if you ran your client
for a while then refreshed and sent a rageshake, the logic would
omit everything from before the refresh but make sure it included the
tiny amount of useless logging from after the refresh.

This will truncate large files if they would take the whole thing
over the size limit and still include part of them.
2019-10-04 14:56:46 +01:00
Michael Telatynski
1ec0bb284a Limit Backspace-consuming workaround to just Slate, tidy Keyboard :)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-04 11:47:33 +01:00
Michael Telatynski
fba646d2c5
Merge pull request #3519 from matrix-org/travis/enable-cider
Enable CIDER composer by default
2019-10-04 10:50:28 +01:00
Weblate
374212f2a2 Merge branch 'origin/develop' into Weblate. 2019-10-04 09:20:38 +00:00
송태섭
9351389049 Translated using Weblate (Korean)
Currently translated at 100.0% (1823 of 1823 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-10-04 09:20:38 +00:00
Michael Telatynski
06c612ba3d
Merge pull request #3516 from matrix-org/t3chguy/clean_out_useless_errors
Cull some easily fixable errors which make the console a mess
2019-10-04 10:20:34 +01:00
Michael Telatynski
e200193b0a DRY and fix useCiderComposer being in both labs and preferences
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-04 10:15:00 +01:00
Travis Ralston
853c522467 Enable CIDER composer by default
Also convert the setting to a watched setting to apply in realtime.
2019-10-03 23:20:40 -06:00
Weblate
d8a88ef109 Merge branch 'origin/develop' into Weblate. 2019-10-03 23:25:18 +00:00
Michael Telatynski
47c41759f7
Merge pull request #3518 from matrix-org/t3chguy/attempt_NPE_fix
Handle null from TimelinePanel.getScrollState in RoomView _getScrollState
2019-10-04 00:25:14 +01:00
Weblate
ab74230bd5 Merge branch 'origin/develop' into Weblate. 2019-10-03 23:25:01 +00:00
Michael Telatynski
0f2eee1b1b
Merge pull request #3517 from matrix-org/t3chguy/fix_community_panel_preference
Fix Community Panel preference not taking effect until some refreshing
2019-10-04 00:24:57 +01:00
Michael Telatynski
9e9c56d327 rename settings watcher refs in LeftPanel
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-03 23:21:32 +01:00
Michael Telatynski
9e8234c98f Handle null from TimelinePanel.getScrollState in RoomView _getScrollState
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-03 23:00:08 +01:00
Michael Telatynski
d5f6d781bb Fix Community Panel preference not taking effect until some refreshing
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-03 22:13:10 +01:00
Michael Telatynski
a0de7d5f14 Cull some easily fixable errors which make the console a mess
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-03 21:47:19 +01:00
Weblate
e4fd7fd933 Merge branch 'origin/develop' into Weblate. 2019-10-03 20:32:04 +00:00
Kévin C
5d6bce6010 Translated using Weblate (French)
Currently translated at 100.0% (1823 of 1823 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-10-03 20:32:03 +00:00
Michael Telatynski
a9b4abaf78 Fix backspace without slate focus killing everything
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-03 21:16:18 +01:00
Weblate
7d72b7e25f Merge branch 'origin/develop' into Weblate. 2019-10-03 13:02:31 +00:00
random
119efa03f4 Translated using Weblate (Italian)
Currently translated at 99.9% (1821 of 1823 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-10-03 13:02:31 +00:00
Jeff Huang
eccf7fc12e Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1823 of 1823 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-10-03 13:02:30 +00:00
David Baker
359d2fee5f
Merge pull request #3510 from matrix-org/dbkr/set_im_update
Fix integration manager not updating when set
2019-10-03 14:02:25 +01:00
Weblate
6b0e7f2f73 Merge branch 'origin/develop' into Weblate. 2019-10-03 10:09:05 +00:00
Michael Telatynski
8ef61ce43e
Merge pull request #3514 from matrix-org/t3chguy/accessibility3
Various ARIA a11y fixes.
2019-10-03 11:09:01 +01:00
Weblate
4691470a57 Merge branch 'origin/develop' into Weblate. 2019-10-03 10:05:07 +00:00
David Baker
8e96bad0ce
Merge pull request #3511 from matrix-org/travis/ccar-debug
Add a bit of debugging for where MatrixClient stops
2019-10-03 11:05:03 +01:00
Weblate
de09b57530 Merge branch 'origin/develop' into Weblate. 2019-10-03 09:49:09 +00:00
송태섭
9b4f7740fb Translated using Weblate (Korean)
Currently translated at 100.0% (1822 of 1822 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-10-03 09:49:09 +00:00
Kévin C
42a19b85f4 Translated using Weblate (French)
Currently translated at 100.0% (1822 of 1822 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-10-03 09:49:09 +00:00
David Baker
ae7ecf7f8f
Merge pull request #3512 from matrix-org/jryans/error-boundary
Add error boundaries to catch rendering errors
2019-10-03 10:49:03 +01:00
Michael Telatynski
f1db0cf027 Various ARIA a11y fixes.
Notate RightPanel tabs.
Shorten Screen Reader queues.
Make AccessibleTooltipButton screen reader friendly
Flatten DOM for Sticker button using React Fragments

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-03 09:35:39 +01:00
Travis Ralston
0491b742c2 Use a mask instead of an img for "Show image" eye
See https://github.com/matrix-org/matrix-react-sdk/pull/3492#pullrequestreview-296223646
2019-10-02 12:52:07 -06:00
Weblate
839b72f510 Merge branch 'origin/develop' into Weblate. 2019-10-02 18:46:53 +00:00
송태섭
fcfc8ff27b Translated using Weblate (Korean)
Currently translated at 100.0% (1820 of 1820 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-10-02 18:46:53 +00:00
jadiof
cb2f40e43d Translated using Weblate (German)
Currently translated at 84.5% (1538 of 1820 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-10-02 18:46:52 +00:00
Kévin C
f8779fe702 Translated using Weblate (French)
Currently translated at 100.0% (1820 of 1820 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-10-02 18:46:52 +00:00
Jeff Huang
d4baef55f3 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1820 of 1820 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-10-02 18:46:51 +00:00
Besnik Bleta
ba63c2644a Translated using Weblate (Albanian)
Currently translated at 99.5% (1811 of 1820 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-10-02 18:46:51 +00:00
Travis Ralston
b94c94db04
Merge pull request #3492 from matrix-org/travis/hide-images
Add an option to hide image previews
2019-10-02 12:46:45 -06:00
Travis Ralston
37d16db0f0 Elsify 2019-10-02 12:46:21 -06:00
J. Ryan Stinnett
b605c0048d Add an error boundary around the RoomView
This adds a more specific boundary around the `RoomView` for room-specific
errors and is an example how we could use add boundaries around just a portion
of the app.
2019-10-02 17:31:22 +01:00
J. Ryan Stinnett
0e8dc24c3f Add a basic error boundary for the entire app
This adds a basic error boundary around the entire app to catch errors during
rendering and present the user with the options on how to proceed. This is not
implemented as a modal so that it could be used selectively in portions of the
app as well, such as just the `RoomView`.

Fixes https://github.com/vector-im/riot-web/issues/11009
2019-10-02 17:31:22 +01:00
Travis Ralston
d97ff8a692 Add debugging for soft logout too 2019-10-02 09:45:53 -06:00
Travis Ralston
4136e0722d Add a bit of debugging for clear cache & reload button 2019-10-02 09:34:30 -06:00
David Baker
d82a05fbae Fix integration manager not updating when set
setUserWidget was modifying the content of the old event itself,
so when `waitForUserWidget()` checked the content to see if it was
there yet, it was, but because the echo hadn't come back, the
IntegrationManager hadn't rebuilt its list.

In other news, its terrifying that we can just accidentally modify
the content of an event in the store. I'm going to make a js-sdk
PR that freezes the content and see what breaks...

Fixes https://github.com/vector-im/riot-web/issues/10977
2019-10-02 15:26:54 +01:00
Bruno Windels
cdd1ad1e2f submit form when pressing enter 2019-10-02 16:26:52 +02:00
Bruno Windels
44e68f16ba use a way of unmounting the tooltip that seems to work 100% of the time
¯\_(ツ)_/¯
2019-10-02 14:32:08 +02:00
Bruno Windels
55c1c5e582 tell tooltip when format bar gets hidden, as it won't be unmounted 2019-10-02 14:31:42 +02:00
Bruno Windels
c8c4dc29d1
Merge pull request #3503 from matrix-org/bwindels/custom-themes-mvp
Custom theming MVP
2019-10-02 09:14:07 +00:00
Bruno Windels
27ca73bf63 add copyright headers 2019-10-02 11:06:31 +02:00
Travis Ralston
4b6c9168da
Merge pull request #3505 from aaronraimist/alias-dont-bold
Don't mark a room as unread when someone adds an alias
2019-10-01 17:08:29 -06:00
Travis Ralston
a719623bb9 Appease the linter 2019-10-01 17:06:55 -06:00
Travis Ralston
cf4fa068c4 Remove old string 2019-10-01 17:06:21 -06:00
Travis Ralston
4b0596b6b7 Apply lipstick to hidden image design 2019-10-01 17:00:01 -06:00
Aaron Raimist
d0ce799798
Don't mark a room as unread when someone adds an alias
https://github.com/vector-im/riot-web/issues/2321#issuecomment-508526884
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-10-01 15:08:38 -05:00
Michael Telatynski
8f3cef84fd Fix upgraderoom slashcommand
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-01 20:58:40 +01:00
Michael Telatynski
c5fd92bfeb
Merge pull request #3501 from TheTimeWalker/patch-1
Update stripped emoji and bump emojidata to 4.0.2
2019-10-01 17:28:37 +01:00
Tony Stipanic
cfff39b58b Update stripped emoji and bump emojidata to 4.0.2 2019-10-01 18:05:25 +02:00
Travis Ralston
daef5f7574 Move setting to real settings 2019-10-01 09:32:42 -06:00
Travis Ralston
3c589cffec Merge branch 'develop' into travis/hide-images 2019-10-01 09:31:54 -06:00
Bruno Windels
8d767a712f remove obsolete strings 2019-10-01 17:31:20 +02:00
Bruno Windels
fc6a68cd1d add support for dark theme 2019-10-01 17:00:29 +02:00
Travis Ralston
7d1a04cb12
Merge pull request #3500 from matrix-org/travis/permalinks
Support local permalinks for unfederated instances
2019-10-01 08:41:23 -06:00
Bruno Windels
558f8daeeb support custom themes from setting
also move theme setting code from MatrixChat to own file.
2019-10-01 15:21:22 +02:00
Bruno Windels
79d4434c9f remove custom color pickers 2019-10-01 15:20:11 +02:00
Michael Telatynski
891eb7af3f
Merge pull request #3499 from matrix-org/t3chguy/accessibility2
Accessibility fixes to the LeftPanel
2019-10-01 12:21:45 +01:00
Michael Telatynski
2d6461d376
Merge pull request #3497 from matrix-org/t3chguy/autocomplete_a11y
Make Autocomplete more accessible to screen reader users
2019-10-01 12:07:39 +01:00
David Baker
d369e1ff5c
Merge pull request #3496 from matrix-org/bwindels/fix-ac-bis
Fix: even more resilience to detect slash commands
2019-10-01 11:52:36 +01:00
David Baker
a75fd1801c
Merge pull request #3486 from matrix-org/t3chguy/fixes
Fix PropTypes usage, sdk import path and GroupMemberTile letter-avatar
2019-10-01 11:49:32 +01:00
Besnik Bleta
d3264b03e0 Translated using Weblate (Albanian)
Currently translated at 99.7% (1807 of 1812 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-10-01 10:20:59 +00:00
Weblate
decc2cbf6a Merge branch 'origin/develop' into Weblate. 2019-10-01 09:04:16 +00:00
J. Ryan Stinnett
6424edfe55
Merge pull request #3489 from matrix-org/jryans/terms-dialog-tweaks
Adjust details of terms dialog
2019-10-01 10:04:09 +01:00
Travis Ralston
f903f431ed Fix BigEmoji handling for permalinks
OR doesn't give us the right thing, but AND does.
2019-09-30 21:08:34 -06:00
Travis Ralston
6b09c3e9e6 Appease the linter 2019-09-30 21:03:16 -06:00
Travis Ralston
fc66e69c02 Rename RoomPermalinkCreator -> Permalinks due to scope
The file handles more than just a RoomPermalinkCreator, so we should name it accordingly.
2019-09-30 20:39:58 -06:00
Travis Ralston
6f5ccd4c12 Minor comment updates 2019-09-30 20:38:03 -06:00
Travis Ralston
6e6f8a13e1 Handle BigEmoji permalinks better
Now that permalinks could be not-matrix.to we should be safer in what we'll allow.
2019-09-30 20:37:50 -06:00
Travis Ralston
ce0a534db1 Fix pills for CIDER too 2019-09-30 20:37:24 -06:00
Travis Ralston
2824f468d9 Update pill processing to handle better permalinks 2019-09-30 20:27:51 -06:00
Travis Ralston
2cb0b4903a Converge on permalink processing for HtmlUtils and linkify-matrix 2019-09-30 20:17:54 -06:00
Travis Ralston
ff4eee5239 Minor cleanup of getPermalinkConstructor 2019-09-30 16:09:19 -06:00
Travis Ralston
6656ef112f Rework /join to parse permalinks more safely
They might not be matrix.to anymore, so parse them more correctly.
2019-09-30 16:06:56 -06:00
Travis Ralston
8acaa3ce95 Update generated Riot permalinks
Also adds some safety around the Riot URL to ensure it mostly looks like a URL
2019-09-30 16:05:28 -06:00
Travis Ralston
199dfa7bf9 Always check if the permalink is a spec permalink
See code for rationale
2019-09-30 16:04:49 -06:00
Travis Ralston
3e5a39d646 Add utility function for permalink parsing 2019-09-30 16:04:22 -06:00
Travis Ralston
9bb1ebb89d Support riot-level permalink parsing 2019-09-30 16:03:52 -06:00
Travis Ralston
baf78da791 Support spec-level permalink parsing 2019-09-30 16:03:24 -06:00
Travis Ralston
f183e96d66 Introduce a RiotPermalinkConstructor and fix the setting name
Originally we were planning on using the current location as the permalink prefix, but that doesn't work if the user is a desktop user.
2019-09-30 13:04:20 -06:00
Travis Ralston
f879185aef Move permalink host check into permalink constructors
Without the requirement for a room to work
2019-09-30 12:53:45 -06:00
Travis Ralston
926e1146f9 Move spec permalinks into their own class
This allows for Riot permalinks to be introduced without if-else ladders everywhere.
2019-09-30 12:51:17 -06:00
Travis Ralston
f9d5e89017 Move early parts of matrix.to bits into its own class 2019-09-30 12:37:13 -06:00
Travis Ralston
64aa6695f5 Move matrix-to.js to utils/permalinks/RoomPermalinkCreator
Just a little bit of refactoring to make the feature of custom prefixes a bit easier.
2019-09-30 12:16:46 -06:00
J. Ryan Stinnett
8b622dbd53 Only show service summary once 2019-09-30 17:37:30 +01:00
Weblate
07c8a0a52a Merge branch 'origin/develop' into Weblate. 2019-09-30 16:04:10 +00:00
pebles
c8a5f9459c Translated using Weblate (Spanish)
Currently translated at 74.5% (1350 of 1813 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2019-09-30 16:04:10 +00:00
Diego Esaa
53d0c89e9c Translated using Weblate (Spanish)
Currently translated at 74.5% (1350 of 1813 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2019-09-30 16:04:10 +00:00
Sava Radoš
5545012b28 Translated using Weblate (Serbian)
Currently translated at 56.3% (1021 of 1813 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sr/
2019-09-30 16:04:09 +00:00
J. Ryan Stinnett
0ce227fc58
Merge pull request #3491 from aaronraimist/ok
Okay -> OK
2019-09-30 17:04:02 +01:00
J. Ryan Stinnett
bb9fc609bf
Merge pull request #3498 from matrix-org/jryans/undef-avatar
Guard against falsy names in getInitialLetter
2019-09-30 16:56:04 +01:00
Michael Telatynski
2621ad1b43 Group room tiles in room sub list in the room list for ARIA
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-30 16:04:43 +01:00
Michael Telatynski
22fb925743 Stop using deprecated KeyboardEvent properties
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-30 16:04:06 +01:00
J. Ryan Stinnett
762e0111fb Add trace as well 2019-09-30 16:00:58 +01:00
Bruno Windels
8dc94af1ba use native color picker instead of library 2019-09-30 16:54:32 +02:00
J. Ryan Stinnett
e7fdc5002e Guard against falsy names in getInitialLetter
This ensures we check for a falsy name in `getInitialLetter` instead of throwing
errors. We should perhaps also fix whatever other issues have led to the input
being undefined in the first place, but for now we leave this for another day.

Hopefully helps with https://github.com/vector-im/riot-web/issues/10983
2019-09-30 15:40:39 +01:00
Michael Telatynski
f299f7e092 delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-30 14:32:42 +01:00
Michael Telatynski
f160a308b4 Make Autocomplete more accessible to screen reader users
Use ARIA to:
 + notate that the composer has an autocomplete
 + notate the open/closed state of the autocomplete
 + notate the name of the open autocomplete options
 + notate the ID of the highlighted autocomplete option
 + improve naming of emoji autocomplete options for screen readers

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-30 14:04:39 +01:00
Bruno Windels
77a61519ef also allow commands to be pill-candidates 2019-09-30 11:15:46 +02:00
Nils J. Haugen
c8b0c92745 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 60.3% (1093 of 1813 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2019-09-30 08:15:01 +00:00
Claus Conrad
4357110b59 Translated using Weblate (Danish)
Currently translated at 19.1% (347 of 1813 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/da/
2019-09-30 08:14:56 +00:00
Stanislav Lukeš
610188c9ef Translated using Weblate (Czech)
Currently translated at 94.0% (1704 of 1813 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/cs/
2019-09-30 08:14:56 +00:00
Kenneth Larsson
730539712b Translated using Weblate (Swedish)
Currently translated at 79.5% (1441 of 1813 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sv/
2019-09-28 15:51:32 +00:00
송태섭
63f924820e Translated using Weblate (Korean)
Currently translated at 100.0% (1813 of 1813 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-09-28 15:51:31 +00:00
random
66f0b2ffc4 Translated using Weblate (Italian)
Currently translated at 99.9% (1811 of 1813 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-09-28 15:51:31 +00:00
Szimszon
ee5fed337f Translated using Weblate (Hungarian)
Currently translated at 100.0% (1813 of 1813 strings)

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

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-09-28 15:51:29 +00:00
Tirifto
33ebc1808c Translated using Weblate (Esperanto)
Currently translated at 96.6% (1751 of 1813 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2019-09-28 15:51:28 +00:00
Jeff Huang
7ff6bc55d9 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1813 of 1813 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-09-28 15:51:25 +00:00
Slavi Pantaleev
e5803c847c Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1813 of 1813 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-09-28 15:51:24 +00:00
Travis Ralston
59b29e4a7f Add an option to hide image previews
Applies to images, stickers, and URL previews.

Fixes https://github.com/vector-im/riot-web/issues/10735
2019-09-27 21:08:31 -06:00
Aaron Raimist
68bbe25446
Okay -> OK
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-09-27 21:32:32 -05:00
J. Ryan Stinnett
d80a2df979 Move document name to new column 2019-09-27 17:57:10 +01:00
J. Ryan Stinnett
701ec259e6 Rename Terms column in modal to Document 2019-09-27 17:43:04 +01:00
J. Ryan Stinnett
66f450b995 Lowercase terms 2019-09-27 17:32:57 +01:00
Bruno Windels
5e960f50e3
Merge pull request #3487 from matrix-org/bwindels/redactpeers
Fix: allow mass redaction for members with same or larger power level
2019-09-27 14:56:24 +00:00
Bruno Windels
a8695d345b allow mass redaction for members with same or larger power level 2019-09-27 16:16:44 +02:00
Michael Telatynski
37978e5ef5 Fix GroupMemberTile wrong default avatar letter and colour
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-27 12:24:01 +01:00
Michael Telatynski
12c46838c3 fix sdk import
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-27 12:20:48 +01:00
Michael Telatynski
cde75dc4f7 fix PropTypes.oneOfType
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-27 12:18:19 +01:00
J. Ryan Stinnett
bfcd28f00a
Merge pull request #3483 from matrix-org/t3chguy/accesibility
Improve keyboard/screen reader accesibility some more
2019-09-27 10:07:51 +01:00
Michael Telatynski
ce78de2185 re-order imports
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-27 10:05:08 +01:00
Michael Telatynski
8d1d3090f3 Improve keyboard accessibility using :focus-visible CSS polyfill
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-27 09:00:54 +01:00
David Baker
509833e213
Merge pull request #3484 from matrix-org/dbkr/rageshake_go_backwards
Truncate debug logs at the start, not the end
2019-09-26 19:20:04 +01:00
David Baker
796f5746db Truncate debug logs at the start, not the end
We left out later parts if we exceeded the maximum log size, which
was deeply unhelpful since the problem almost certainly happened
just before the user hit the 'submit debug logs' button.

Instead, iterate backwards through the fragments and prepend them,
leaving off the earlier ones if we run over the size.

Also, check we're not going to run over the size before adding
the fragment so we might actually stick to the maximum log size.

May fix https://github.com/vector-im/riot-web/issues/10951
2019-09-26 18:46:19 +01:00
Bruno Windels
cca41c184c very basic color pickers for custom theme 2019-09-26 17:35:06 +02:00
Bruno Windels
8301943cfa
Merge pull request #3481 from matrix-org/bwindels/cider-ac-shifttab
Fix: don't block Shift+Tab in CIDER autocomplete
2019-09-26 15:08:36 +00:00
Michael Telatynski
3674b87415 delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-26 14:58:40 +01:00
Michael Telatynski
c37e27f03d Improve a11y:
+ Close context menu on escape
+ Use AccessibleButtons for more things (Context Menus and TabbedView)

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-26 14:52:20 +01:00
Michael Telatynski
8ec0ffea3a Make the message context menu more accessible
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-26 14:24:10 +01:00
Michael Telatynski
14e3cb8736 Allow keyboard control even without a screen reader
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-26 13:52:09 +01:00
Bruno Windels
a4b905ef38 debug: add custom theme to theme list 2019-09-26 12:08:42 +02:00
Bruno Windels
f5b9373eb5 don't block Shift+Tab keypresses 2019-09-26 11:00:55 +02:00
Bruno Windels
99961df9d0
Merge pull request #3479 from matrix-org/bwindels/command-detection-resilience
Fix: make command detection more resilient
2019-09-26 07:36:25 +00:00
Michael Telatynski
f5fda72b0c
Merge pull request #3475 from matrix-org/t3chguy/accesibility
Settings A11Y tweaks
2019-09-25 19:32:18 +01:00
Michael Telatynski
d588e709e5 Add tab indexes, role=button and aria-labels to TabbedViews for a11y
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-25 18:55:18 +01:00
Michael Telatynski
3672832d38 conform to style
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-25 18:10:05 +01:00
Michael Telatynski
ab3e5c3b87 Merge branches 'develop' and 't3chguy/accesibility' of github.com:matrix-org/matrix-react-sdk into t3chguy/accesibility 2019-09-25 16:59:46 +01:00
Bruno Windels
0bbbb5e336 use mxid for user pill in command 2019-09-25 17:30:12 +02:00
Bruno Windels
c760ba0839 make command detection more resilient 2019-09-25 17:30:01 +02:00
Weblate
fc7bdcc3e2 Merge branch 'origin/develop' into Weblate. 2019-09-25 14:21:20 +00:00
Bruno Windels
10b692c1a2
Merge pull request #3477 from matrix-org/bwindels/cjk-ime-fixes
Fix: latin input through Chinese IME
2019-09-25 14:21:15 +00:00
Weblate
740b2991b3 Merge branch 'origin/develop' into Weblate. 2019-09-25 14:16:59 +00:00
Bruno Windels
30af9a9056 need to check isComposing on native event 2019-09-25 16:11:37 +02:00
Bruno Windels
1c11b8e274 Move focus to first field in create room dialog when showing 2019-09-25 15:08:48 +02:00
Bruno Windels
c8af1a6256 fixup: remove flag 2019-09-25 14:59:27 +02:00
Bruno Windels
ffe34ee8a1 try to see if this fixes safari back
on of the 2 changes (updating dom async from compositionend,
or ignoring keydown while composing) here has, while fixing chrome,
broken safari.

Don't do the async dom updating for safari if that was it.
2019-09-25 14:47:35 +02:00
Bruno Windels
7bda1c58eb better naming 2019-09-25 14:45:39 +02:00
Weblate
99fc931efd Merge branch 'origin/develop' into Weblate. 2019-09-25 10:30:41 +00:00
Kenneth Larsson
e3d4a6c05d Translated using Weblate (Swedish)
Currently translated at 78.5% (1422 of 1812 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sv/
2019-09-25 10:30:41 +00:00
Slavi Pantaleev
ac7ccd497c Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1812 of 1812 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-09-25 10:30:40 +00:00
J. Ryan Stinnett
b248918aca
Merge pull request #3476 from matrix-org/jryans/msisdn-reg-submit-url
Send MSISDN validation token to submit_url during registration
2019-09-25 11:30:33 +01:00
J. Ryan Stinnett
9e33be9b2a Send MSISDN validation token to submit_url during registration
Similar to previous changes for 3PID add, this changes registration with MSISDN
to also send tokens to `submit_url` when supplied.

Fixes https://github.com/vector-im/riot-web/issues/10939
2019-09-25 10:29:18 +01:00
Michael Telatynski
e01be212e6 improve Settings Accessibility for Toggles and Dialogs
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-25 09:25:11 +01:00
Michael Telatynski
4a5ee4a969 Put aria-disabled on AccessibleButtons and attempt to a11y ToggleSwitch
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-25 09:01:49 +01:00
Weblate
59ccd853ef Merge branch 'origin/develop' into Weblate. 2019-09-24 18:49:26 +00:00
Kenneth Larsson
7afa6f0a96 Translated using Weblate (Swedish)
Currently translated at 77.5% (1404 of 1812 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sv/
2019-09-24 18:49:26 +00:00
Travis Ralston
6ab816f79e Hide browser a11y outline on context menus
Fixes https://github.com/vector-im/riot-web/issues/10926
Regressed by https://github.com/matrix-org/matrix-react-sdk/pull/3454/files
Class introduced in https://github.com/matrix-org/matrix-react-sdk/pull/2994
2019-09-24 12:29:20 -06:00
Weblate
10797f4a3e Merge branch 'origin/develop' into Weblate. 2019-09-24 16:34:51 +00:00
Szimszon
9cd6c9859b Translated using Weblate (Hungarian)
Currently translated at 100.0% (1812 of 1812 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-09-24 16:34:51 +00:00
J. Ryan Stinnett
17e42eacd4
Merge pull request #3473 from matrix-org/jryans/rm-id-server-reg-and-reset
Remove id_server param from threepid_creds
2019-09-24 17:34:45 +01:00
J. Ryan Stinnett
ec9e7f5855 Remove id_server for MSISDN registration
For HSes that no longer need it, remove the id_server param when verifying
MSISDNs at registration.

Fixes https://github.com/vector-im/riot-web/issues/10941
2019-09-24 15:02:30 +01:00
Weblate
e4dc87774b Merge branch 'origin/develop' into Weblate. 2019-09-24 13:57:53 +00:00
Matthew Hodgson
df33d0f74c Remove debug for https://github.com/vector-im/riot-web/issues/10940 2019-09-24 14:57:45 +01:00
J. Ryan Stinnett
0c51e41ea4 Remove id_server param for password reset
For HSes that no longer need it, remove the id_server param from password reset.

Part of https://github.com/vector-im/riot-web/issues/10941
2019-09-24 14:54:26 +01:00
Bruno Windels
9f47fad305 ignore keydown events while doing IME composition 2019-09-24 15:32:30 +02:00
Bruno Windels
4d151722ff delay DOM modification after compositionend 2019-09-24 15:32:08 +02:00
Weblate
8c7a943972 Merge branch 'origin/develop' into Weblate. 2019-09-24 11:00:52 +00:00
Bruno Windels
26a8398a0e make sure client exists while logging out 2019-09-24 12:53:33 +02:00
Jeff Huang
a1d2629655 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1812 of 1812 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-09-24 10:39:13 +00:00
Weblate
761a70cd0d Merge branch 'origin/develop' into Weblate. 2019-09-24 00:51:30 +00:00
Matthew Hodgson
3ce47a0181 notify new screen after setting state 2019-09-24 01:51:21 +01:00
Weblate
872adbeace Merge branch 'origin/develop' into Weblate. 2019-09-24 00:35:58 +00:00
Matthew Hodgson
b85dc7b5a8 add debug for vector-im/riot-web#10940 2019-09-24 01:35:43 +01:00
Weblate
8d750f25e5 Merge branch 'origin/develop' into Weblate. 2019-09-23 21:19:15 +00:00
Tuomas Hietala
2379a99f14 Translated using Weblate (Finnish)
Currently translated at 98.2% (1780 of 1812 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-09-23 21:19:15 +00:00
Matthew Hodgson
54355c0e28 put the room name in the title tag
should fix https://github.com/vector-im/riot-web/issues/4454
2019-09-23 22:01:52 +01:00
Weblate
cc015db24c Merge branch 'origin/develop' into Weblate. 2019-09-23 13:57:12 +00:00
Bruno Windels
4933b9b050
Merge pull request #3468 from matrix-org/bwindels/cider-autocomplete-fixes
Fix: when using autocomplete, ensure command is not sent as text, and @room notifs gets needed suffix
2019-09-23 13:57:07 +00:00
Weblate
4aa11cdac8 Merge branch 'origin/develop' into Weblate. 2019-09-23 13:56:50 +00:00
송태섭
4cc6fe0f19 Translated using Weblate (Korean)
Currently translated at 100.0% (1812 of 1812 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-09-23 13:56:50 +00:00
Bruno Windels
f4fd6d699b
Merge pull request #3469 from matrix-org/bwindels/cider-deserialize-fixes
Fix: paragraphs not being preserved when editing in CIDER
2019-09-23 13:56:44 +00:00
Bruno Windels
04720db2a3 don't append extra newline after blockquote anymore
now that P prepends newline when not first element
2019-09-23 15:33:30 +02:00
Bruno Windels
2445421270 add extra newline before P tags (when not first node) 2019-09-23 15:06:22 +02:00
Bruno Windels
0a663398ed Use underscore for <em> when doing html > md
to be consistent with the format bar, which also uses underscores for italics
2019-09-23 14:59:53 +02:00
Bruno Windels
40f7fa8f94 add suffixes from provider to room and @room completions
this prevents the @room not working when not typing an extra space
2019-09-23 14:40:41 +02:00
Bruno Windels
228905bec2 insert command completion as command part (instead of plain)
this prevents the command being sent as plain text

this adds a `type` property to completions to decide which
parts should be inserted into the composer, hence deciding how
they will be rendered.
2019-09-23 14:39:19 +02:00
Weblate
30c0d7e7fc Merge branch 'origin/develop' into Weblate. 2019-09-23 12:22:24 +00:00
J. Ryan Stinnett
2c7c1ed2a3
Merge pull request #3466 from matrix-org/jryans/msisdn-submit-url
Use alternate MSISDN submit URL when returned by HS
2019-09-23 13:22:20 +01:00
Weblate
0ddb1ab7db Merge branch 'origin/develop' into Weblate. 2019-09-23 11:52:00 +00:00
송태섭
1925e6b152 Translated using Weblate (Korean)
Currently translated at 100.0% (1801 of 1801 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-09-23 11:51:59 +00:00
shuji narazaki
eaf00955c3 Translated using Weblate (Japanese)
Currently translated at 58.8% (1059 of 1801 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2019-09-23 11:51:59 +00:00
Szimszon
1bbb68ce7f Translated using Weblate (Hungarian)
Currently translated at 100.0% (1801 of 1801 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-09-23 11:51:59 +00:00
Tirifto
7189ab812c Translated using Weblate (Esperanto)
Currently translated at 93.7% (1687 of 1801 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2019-09-23 11:51:59 +00:00
J. Ryan Stinnett
0ab9efc594 Delay IS access tokens 2019-09-23 12:28:41 +01:00
J. Ryan Stinnett
e98b753c21 Use alternate MSISDN submit URL when returned by HS
This changes MSISDN token submission to send to an arbitrary URL (instead of the
current IS) when the HS provides such a URL.

Fixes https://github.com/vector-im/riot-web/issues/10923
2019-09-23 12:21:25 +01:00
Bruno Windels
53b28b9de8 i18n 2019-09-23 11:22:30 +02:00
Bruno Windels
3e0278d41a add validation when clicking Ok in dialog 2019-09-23 11:22:30 +02:00
Bruno Windels
6ae4b3e966 add room alias field to dialog 2019-09-23 11:22:30 +02:00
Bruno Windels
8a1c1bbec4 implement RoomAliasField component
adding a postfix to Field to show the domain name
2019-09-23 11:22:30 +02:00
Bruno Windels
c5f9ef87ba fixup: detailsOpen state var 2019-09-23 11:22:30 +02:00
Bruno Windels
761233c473 add public switch 2019-09-23 11:22:30 +02:00
Bruno Windels
4a7ae3ca8e add optional topic field 2019-09-23 11:22:30 +02:00
Bruno Windels
157a3388a5 change name to Field, no_federate to switch
also construct room create options in dialog,
instead of MatrixChat, as we'll have more to come
2019-09-23 11:22:30 +02:00
Tuomas Hietala
fae47fd3a6 Translated using Weblate (Finnish)
Currently translated at 98.0% (1765 of 1801 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-09-22 03:51:08 +00:00
Nathan Follens
00ad663112 Translated using Weblate (Dutch)
Currently translated at 100.0% (1801 of 1801 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-09-22 03:51:06 +00:00
Jeff Huang
889b4bebff Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1801 of 1801 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-09-22 03:51:03 +00:00
Weblate
c0ba5199b9 Merge branch 'origin/develop' into Weblate. 2019-09-20 13:37:10 +00:00
송태섭
4904cea196 Translated using Weblate (Korean)
Currently translated at 100.0% (1801 of 1801 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-09-20 13:37:09 +00:00
Kévin C
ae30eafa9c Translated using Weblate (French)
Currently translated at 100.0% (1801 of 1801 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-09-20 13:37:09 +00:00
Slavi Pantaleev
a351245032 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1801 of 1801 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-09-20 13:37:09 +00:00
J. Ryan Stinnett
351a3ebd67
Merge pull request #3462 from matrix-org/jryans/msc2290
Use separate 3PID add and bind flow for supporting HSes
2019-09-20 14:37:03 +01:00
J. Ryan Stinnett
f9a09d271b Use separate MSISDN add and bind flow for supporting HSes
This changes the paths used for binding MSISDNs for discovery to use the new
separate bind / unbind APIs on supporting servers.

Fixes https://github.com/vector-im/riot-web/issues/10839
2019-09-20 12:45:22 +01:00
J. Ryan Stinnett
ff69ad02b9 Use separate email add and bind flow for supporting HSes
This changes the paths used for binding emails for discovery to use the new
separate bind / unbind APIs on supporting servers.

Part of https://github.com/vector-im/riot-web/issues/10839
2019-09-20 12:19:43 +01:00
Weblate
076df930e3 Merge branch 'origin/develop' into Weblate. 2019-09-19 15:01:39 +00:00
Michael Telatynski
46e0a7cafa
Merge pull request #3460 from matrix-org/t3chguy/room_avatar
Add roomavatar slash command to set avatar of the current room
2019-09-19 16:01:35 +01:00
Weblate
6fa6e0abaf Merge branch 'origin/develop' into Weblate. 2019-09-19 14:59:54 +00:00
J. Ryan Stinnett
9a1305bf4a Extract separate add / bind methods on AddThreepid 2019-09-19 15:53:50 +01:00
Michael Telatynski
d1fb31a6dc Merge branches 'develop' and 't3chguy/register_disable_no_custom_url_spinner' of github.com:matrix-org/matrix-react-sdk into t3chguy/register_disable_no_custom_url_spinner 2019-09-19 10:07:42 +01:00
Michael Telatynski
f8b1b36051 Fix copy-paste issue
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-19 09:48:35 +01:00
Michael Telatynski
4983378230 Merge branches 'develop' and 't3chguy/room_avatar' of github.com:matrix-org/matrix-react-sdk into t3chguy/room_avatar 2019-09-19 09:44:56 +01:00
Weblate
8769cfb88e Merge branch 'origin/develop' into Weblate. 2019-09-19 08:27:17 +00:00
Michael Telatynski
f356b8a3c9
Merge pull request #3457 from matrix-org/t3chguy/sso_device_name
Use same initial device name rules for SSO login as password login
2019-09-19 09:27:13 +01:00
Weblate
5ecc40d96b Merge branch 'origin/develop' into Weblate. 2019-09-19 08:26:56 +00:00
shuji narazaki
7bbe24299d Translated using Weblate (Japanese)
Currently translated at 58.7% (1056 of 1800 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2019-09-19 08:26:56 +00:00
Slavi Pantaleev
9392cc7dde Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1800 of 1800 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-09-19 08:26:55 +00:00
Michael Telatynski
2a3c8d350d i18n
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-18 18:02:45 +01:00
Michael Telatynski
2632e648b4 Add roomavatar slash command to set avatar of the current room
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-18 16:33:56 +01:00
Michael Telatynski
c286f2214f Fix disabled save button on message editor when pasting
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-18 14:09:38 +01:00
Michael Telatynski
6209d62f49 Don't show spinner if registration is disabled
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-18 13:19:33 +01:00
J. Ryan Stinnett
99b804d567 Change to separate add and bind to guard 3PID account section
This changes to checking for HS support of separate add and bind when guarding
the 3PID account section.

For older HSes, we in fact always require an IS for add with bind param, so the
previous version of this was incorrect.

Part of https://github.com/vector-im/riot-web/issues/10839
2019-09-18 13:02:52 +01:00
Weblate
fd218cb8ba Merge branch 'origin/develop' into Weblate. 2019-09-18 12:00:53 +00:00
Michael Telatynski
020f15ca6f
Merge pull request #3456 from matrix-org/t3chguy/delint
Some delinting
2019-09-18 13:00:49 +01:00
Michael Telatynski
c633df3c15 Use same initial device name rules for SSO login as password login
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-18 12:16:41 +01:00
Weblate
85b85665c3 Merge branch 'origin/develop' into Weblate. 2019-09-18 08:57:25 +00:00
송태섭
a556fcbb71 Translated using Weblate (Korean)
Currently translated at 100.0% (1800 of 1800 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-09-18 08:57:24 +00:00
Szimszon
245b8f7ac5 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1800 of 1800 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-09-18 08:57:24 +00:00
Michael Telatynski
e502558f7d Delint
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-18 09:27:43 +01:00
Michael Telatynski
648527e650 Fix failure to render newly verified phone number and nested forms
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-18 08:41:05 +01:00
Weblate
5d7b51dd24 Merge branch 'origin/develop' into Weblate. 2019-09-17 22:00:52 +00:00
Travis Ralston
9f3f88ba00 Focus context menus so screen readers can find them
Fixes https://github.com/vector-im/riot-web/issues/10899

The `tabIndex` is required to make the thing actually focusable. This is the same trick employed in https://github.com/matrix-org/matrix-react-sdk/pull/2994
2019-09-17 15:41:39 -06:00
Kévin C
8899f612c3 Translated using Weblate (French)
Currently translated at 100.0% (1800 of 1800 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-09-17 20:47:50 +00:00
Weblate
202ae1b715 Merge branch 'origin/develop' into Weblate. 2019-09-17 17:17:43 +00:00
Matthew Hodgson
90691ada3c normalise translations 2019-09-17 17:51:03 +01:00
Matthew Hodgson
b2f44237b8 dangling comma 2019-09-17 17:36:29 +01:00
Matthew Hodgson
832123524d make the lifetimes of the RM configurable 2019-09-17 17:34:30 +01:00
Weblate
c060e58ea2 Merge branch 'origin/develop' into Weblate. 2019-09-17 14:44:47 +00:00
Valere
26b646613d Translated using Weblate (French)
Currently translated at 99.9% (1797 of 1798 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-09-17 14:44:46 +00:00
J. Ryan Stinnett
4e42dbe418 Fix address type props to state conversion
The address picker recently started tracking props and state versions of valid
address types separately
(https://github.com/matrix-org/matrix-react-sdk/pull/3408), where props
represents the maximal set of possible types and the state is the current
available types right now (since it can change while the dialog is open).

For the case where there is no a IS, a regression was introduced by that PR by
mutating the props in place instead returning a modified copy for the state.

Regressed by https://github.com/matrix-org/matrix-react-sdk/pull/3408
Fixes https://github.com/vector-im/riot-web/issues/10878
2019-09-17 15:00:32 +01:00
Weblate
a2c60312ae Merge branch 'origin/develop' into Weblate. 2019-09-17 09:56:51 +00:00
Michael Telatynski
2a67970d32
Merge pull request #3445 from matrix-org/t3chguy/nvl/historical_preview
Only put a room in Historical if === 'leave' not peeked
2019-09-17 10:56:46 +01:00
RiotRobot
dd0ffa8e72 Merge branch 'master' into develop 2019-09-16 17:49:46 +01:00
Weblate
838b1859b9 Merge branch 'origin/develop' into Weblate. 2019-09-16 16:47:14 +00:00
Michael Telatynski
5d1056e1ef don't fire onFinished twice
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-16 18:20:31 +02:00
Michael Telatynski
597433d549 Reuse showRoom for onJoinClick so we join using alias if its available
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-16 18:20:24 +02:00
Weblate
da521796fd Merge branch 'origin/develop' into Weblate. 2019-09-16 16:13:32 +00:00
Bruno Windels
129d3693b2
Merge pull request #3444 from matrix-org/t3chguy/nvl/fix_room_directory
Reuse showRoom for onJoinClick so we join using alias if its available
2019-09-16 16:13:28 +00:00
Weblate
ffe84bfc61 Merge branch 'origin/develop' into Weblate. 2019-09-16 15:43:07 +00:00
Bruno Windels
deddf77a05
Merge pull request #3446 from matrix-org/bwindels/fixscalarurlcheck
Fix: make sure scalarUrls is never undefined
2019-09-16 15:43:03 +00:00
Szimszon
7316df70da Translated using Weblate (Hungarian)
Currently translated at 100.0% (1798 of 1798 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-09-16 13:28:15 +00:00
Bruno Windels
166364ba03 Fix: make sure scalarUrls is never undefined 2019-09-16 10:12:15 +02:00
Michael Telatynski
3fdaeea3a2 allow rooms we were banned from into Historical also
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-15 22:24:23 +01:00
Michael Telatynski
4fb4c5b744 Only put a room in Historical if === 'leave' not peeked
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-15 22:19:07 +01:00
Michael Telatynski
7f5d38772d don't fire onFinished twice
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-15 21:30:01 +01:00
Michael Telatynski
54d98c22ba Reuse showRoom for onJoinClick so we join using alias if its available
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-15 21:25:36 +01:00
송태섭
cd45c84b15 Translated using Weblate (Korean)
Currently translated at 100.0% (1798 of 1798 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-09-15 14:50:44 +00:00
Nikolay Boyadzhiev
5ee4950a47 Translated using Weblate (English (United States))
Currently translated at 42.0% (756 of 1798 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/en_US/
2019-09-15 14:50:43 +00:00
Nikolay Boyadzhiev
354a1275dc Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1798 of 1798 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-09-15 14:50:43 +00:00
Weblate
1d7d3b6357 Merge branch 'origin/develop' into Weblate. 2019-09-13 21:59:11 +00:00
Kévin C
6c72978192 Translated using Weblate (French)
Currently translated at 100.0% (1798 of 1798 strings)

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

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-09-13 21:59:10 +00:00
Travis Ralston
e18b38c409
Merge pull request #3437 from matrix-org/travis/fix-deactivate
Wrap deactivation check with sanity conditions
2019-09-13 15:59:04 -06:00
Travis Ralston
3150d65bd7 De-async _calculateCanPermissions 2019-09-13 12:43:57 -06:00
Travis Ralston
d18d15311f Remove extraneous guard on deactivation check 2019-09-13 12:43:47 -06:00
Weblate
07357f7233 Merge branch 'origin/develop' into Weblate. 2019-09-13 14:45:27 +00:00
David Baker
7afd80e55b
Merge pull request #3408 from matrix-org/t3chguy/community_member_invite_IS_text
Fix identity server text in AddressPickerDialog
2019-09-13 15:45:22 +01:00
Weblate
7f4c0f10c0 Merge branch 'origin/develop' into Weblate. 2019-09-13 14:42:58 +00:00
Slavi Pantaleev
df80a0c5c1 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1797 of 1797 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-09-13 14:42:58 +00:00
David Baker
05a26373e8
Merge pull request #3438 from matrix-org/travis/revoke-1
Change copy for sharing an email
2019-09-13 15:42:53 +01:00
Weblate
21d63e771d Merge branch 'origin/develop' into Weblate. 2019-09-13 13:08:47 +00:00
Slavi Pantaleev
08ae9ec7b2 Translated using Weblate (Bulgarian)
Currently translated at 99.8% (1794 of 1797 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-09-13 13:08:47 +00:00
Bruno Windels
40bd1845d2
Merge pull request #3441 from matrix-org/bwindels/fixroomdir-itemclick-bis
Fix: stop propagation click handler for <TR> doesn't run
2019-09-13 13:08:42 +00:00
Bruno Windels
6d13ea0043 stop propagation click handler for <TR> doesn't run 2019-09-13 14:07:36 +01:00
Michael Telatynski
c3d01715ff Improve ReportEventDialog as per PR feedback
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-13 13:41:50 +01:00
Michael Telatynski
92af11bce7 fix indentation
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-13 13:40:31 +01:00
Michael Telatynski
fc49290459 Add way to report the content of a message
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-13 13:40:25 +01:00
Bruno Windels
f73f08e998 stop propagation click handler for <TR> doesn't run 2019-09-13 14:33:09 +02:00
David Baker
e548e4d7a5
Merge pull request #3436 from matrix-org/travis/deactivate-release
Fix synapse deactivate button for release
2019-09-13 13:26:19 +01:00
Bruno Windels
820869d99b fix clicking on room dir item 2019-09-13 11:00:55 +01:00
Weblate
08a761a1fc Merge branch 'origin/develop' into Weblate. 2019-09-13 09:55:41 +00:00
Bruno Windels
bf460dbd3d fix clicking on room dir item 2019-09-13 11:09:02 +02:00
Travis Ralston
f25529eed7 Change copy for sharing an email
Fixes https://github.com/vector-im/riot-web/issues/10758
2019-09-12 22:39:32 -06:00
Travis Ralston
27828a3785 Wrap deactivation check with sanity conditions
To ensure the matrixClient is not null (the problem) and that unexpected errors don't brick the app.

Fixes https://github.com/vector-im/riot-web/issues/10854
2019-09-12 18:31:58 -06:00
Travis Ralston
f4ebde1596 Wrap deactivation check with sanity conditions
To ensure the matrixClient is not null (the problem) and that unexpected errors don't brick the app.

Fixes https://github.com/vector-im/riot-web/issues/10854
2019-09-12 18:30:27 -06:00
Michael Telatynski
3fef6e6b22 Support Synapse deactivate on MemberInfo without Room (timeline pill)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-12 18:28:16 -06:00
Bruno Windels
d64cd58e93 only hide x button when blurred && no more search term 2019-09-12 18:26:12 +01:00
Weblate
075db5d831 Merge branch 'origin/develop' into Weblate. 2019-09-12 16:03:47 +00:00
송태섭
bee3419401 Translated using Weblate (Korean)
Currently translated at 100.0% (1797 of 1797 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-09-12 15:56:49 +00:00
Bruno Windels
87f8000621 only hide x button when blurred && no more search term 2019-09-12 17:17:15 +02:00
Weblate
9fae9ef352 Merge branch 'origin/develop' into Weblate. 2019-09-12 14:11:36 +00:00
Michael Telatynski
f95ab2eeb1
Merge pull request #3290 from matrix-org/t3chguy/report_event
Add way to report the content of a message
2019-09-12 15:11:32 +01:00
Weblate
ac03c381e4 Merge branch 'origin/develop' into Weblate. 2019-09-12 13:19:06 +00:00
Bruno Windels
1806e83247
Merge pull request #3428 from matrix-org/bwindels/breadcrumbs-after-10
Breadcrumbs: only show after having joined at least 10 rooms
2019-09-12 13:19:02 +00:00
Bruno Windels
fb5a85db81 put min room count in constant 2019-09-12 15:12:18 +02:00
David Baker
ef7d8c42a8 Fix merge 2019-09-12 13:09:59 +01:00
Weblate
fcfe0248bb Merge branch 'origin/develop' into Weblate. 2019-09-12 12:09:21 +00:00
Bruno Windels
94bdedd25b show breadcrumbs only after having joined at least 10 rooms 2019-09-12 14:07:46 +02:00
RiotRobot
b0abb52518 Merge branch 'master' into develop 2019-09-12 13:07:27 +01:00
Weblate
9dfd68f273 Merge branch 'origin/develop' into Weblate. 2019-09-12 12:06:35 +00:00
Michael Telatynski
6dc69afe67 Merge branches 'develop' and 't3chguy/community_member_invite_IS_text' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/community_member_invite_IS_text 2019-09-12 12:53:32 +01:00
Michael Telatynski
b6309a4294 Improve ReportEventDialog as per PR feedback
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-12 12:52:11 +01:00
Michael Telatynski
9a15d4cfc1 Merge branches 'develop' and 't3chguy/report_event' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/report_event
 Conflicts:
	src/i18n/strings/en_EN.json
2019-09-12 12:45:16 +01:00
Michael Telatynski
a40ecda993 Fix missed case of validAddressTypes being conditional
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-12 12:34:14 +01:00
Weblate
74b97c633b Merge branch 'origin/develop' into Weblate. 2019-09-12 11:29:07 +00:00
Michael Telatynski
d7bac95270
Merge pull request #3421 from matrix-org/t3chguy/nvl/fix_sso_flash
Hide the change HS url button on SSO login flow if custom urls disabled
2019-09-12 12:29:03 +01:00
Bruno Windels
122e15156a always show clear button in search box when focused 2019-09-12 12:21:18 +01:00
Michael Telatynski
7c54359d3a Hide the change HS url button on SSO login flow if custom urls disabled
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-12 12:17:52 +01:00
Michael Telatynski
5091658dc7 Update Copyright 2019-09-12 12:16:01 +01:00
Michael Telatynski
8eb8b00460 RoomDirectory: show spinner if loading more results
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-12 12:15:56 +01:00
Besnik Bleta
a4ab25e4bd Translated using Weblate (Albanian)
Currently translated at 99.8% (1788 of 1792 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-09-12 10:28:54 +00:00
Weblate
deabd4225d Merge branch 'origin/develop' into Weblate. 2019-09-12 09:30:05 +00:00
송태섭
562854ab66 Translated using Weblate (Korean)
Currently translated at 100.0% (1792 of 1792 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-09-12 09:30:04 +00:00
Besnik Bleta
589d4e98c1 Translated using Weblate (Albanian)
Currently translated at 98.5% (1765 of 1792 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-09-12 09:30:04 +00:00
Michael Telatynski
d197fd90ad Merge branches 'develop' and 't3chguy/nvl/fix_sso_flash' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/nvl/fix_sso_flash 2019-09-12 10:25:54 +01:00
Bruno Windels
7c97078764 always show clear button in search box when focused 2019-09-12 11:12:06 +02:00
Michael Telatynski
a4a85dc541 Hide the change HS url button on SSO login flow if custom urls disabled
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-11 23:02:52 +01:00
Weblate
b1fd85d6fa Merge branch 'origin/develop' into Weblate. 2019-09-11 20:27:30 +00:00
Travis Ralston
ab6215f9aa
Merge pull request #3410 from matrix-org/t3chguy/disable_save_button_msg_edit_nochange
EditMessageComposer: disable Save button until a change has been made
2019-09-11 14:27:27 -06:00
Weblate
ccbfcaf818 Merge branch 'origin/develop' into Weblate. 2019-09-11 20:26:55 +00:00
Travis Ralston
9622ec9a1a
Merge pull request #3416 from matrix-org/t3chguy/nvl/room_directory_pagination_spinner
RoomDirectory: show spinner if loading more results
2019-09-11 14:26:51 -06:00
Weblate
9803c5deae Merge branch 'origin/develop' into Weblate. 2019-09-11 20:24:29 +00:00
Szimszon
b4c651023d Translated using Weblate (Hungarian)
Currently translated at 100.0% (1792 of 1792 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-09-11 20:24:29 +00:00
Michael Telatynski
9c1fb13d5f Apply PR feedback
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-11 18:05:28 +01:00
Michael Telatynski
7c5e6ef2c5 regen 18n
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-11 18:05:26 +01:00
Michael Telatynski
7ddac8d475 Login: Add way to change HS from SSO Homeserver
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-11 18:04:11 +01:00
Michael Telatynski
c26d71b5aa Login: don't assume supported flows, prevent login flash on SSO servers
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-11 18:04:11 +01:00
Bruno Windels
ac65b28954 PR feedback 2019-09-11 18:03:15 +01:00
Bruno Windels
0cba5da03d add redact recent messages button in member info 2019-09-11 18:03:09 +01:00
Bruno Windels
b67a2492b3 adapt design of room list in directory 2019-09-11 18:02:37 +01:00
Bruno Windels
9866efabe5 pr feedback 2019-09-11 17:58:14 +01:00
Bruno Windels
13a3cf3afe consistent naming
Co-Authored-By: Travis Ralston <travpc@gmail.com>
2019-09-11 17:58:14 +01:00
Bruno Windels
cf8ca176e2 remove labels and add join/view & preview button instead in directory 2019-09-11 17:58:14 +01:00
Bruno Windels
ea7cbbc0ee keep filter field expanded if it has text in it 2019-09-11 17:57:40 +01:00
Bruno Windels
b9421e4269 make add room button go to create room dialog instead of room directory 2019-09-11 17:57:40 +01:00
Bruno Windels
31682b61ce make filter feed transparent when not focussed 2019-09-11 17:57:40 +01:00
Bruno Windels
b328fcb7e3 show shorter placeholder for filter feed when not focused 2019-09-11 17:57:40 +01:00
Bruno Windels
0fe31f843a hide explore button when focusing filter field 2019-09-11 17:57:40 +01:00
Bruno Windels
4ffa8c7b4a add explore button next to filter field 2019-09-11 17:57:40 +01:00
Travis Ralston
9e2cdecb9b Add a button to MemberInfo to deactivate a user
Part of https://github.com/vector-im/riot-web/issues/4125
2019-09-11 17:44:29 +01:00
Michael Telatynski
6f736e8407 Apply PR feedback
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-11 17:44:04 +01:00
Michael Telatynski
370d9d8336 regen 18n
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-11 17:44:04 +01:00
Michael Telatynski
76e4363452 Login: Add way to change HS from SSO Homeserver
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-11 17:44:04 +01:00
Michael Telatynski
f1ea5ff6f3 Login: don't assume supported flows, prevent login flash on SSO servers
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-11 17:44:04 +01:00
Michael Telatynski
792b70913c invert and rename changed to saveDisabled for clarity
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-11 17:37:11 +01:00
Michael Telatynski
2ff98b7c1f clear up ambiguity by poor naming
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-11 17:37:11 +01:00
Michael Telatynski
e3643bf17a EditMessageComposer: disable Save button until a change has been made
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-11 17:37:11 +01:00
Michael Telatynski
980e9839ac Update Copyright 2019-09-11 17:22:45 +01:00
Michael Telatynski
0d28cd5840 RoomDirectory: show spinner if loading more results
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-11 17:22:45 +01:00
Weblate
bf665caac9 Merge branch 'origin/develop' into Weblate. 2019-09-11 16:15:00 +00:00
Michael Telatynski
81ea230a35
Merge pull request #3406 from matrix-org/t3chguy/reply_to_search_results
Fix replying from search results for this and all rooms
2019-09-11 17:14:55 +01:00
Weblate
16a329a26b Merge branch 'origin/develop' into Weblate. 2019-09-11 16:12:42 +00:00
Michael Telatynski
379fab8068
Merge pull request #3411 from matrix-org/t3chguy/synapse_deactivate_memberinfo_no_room
Support Synapse deactivate on MemberInfo without Room (timeline pill)
2019-09-11 17:12:38 +01:00
Weblate
f52fc4d6cd Merge branch 'origin/develop' into Weblate. 2019-09-11 15:56:23 +00:00
Kévin C
5a5db80e44 Translated using Weblate (French)
Currently translated at 100.0% (1792 of 1792 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-09-11 15:56:23 +00:00
J. Ryan Stinnett
f23f35bbe9
Merge pull request #3419 from matrix-org/jryans/settings-3pid-state
Lift 3PID state management up to Settings tab
2019-09-11 16:56:18 +01:00
J. Ryan Stinnett
c542ea5559 Force boolean value 2019-09-11 16:55:45 +01:00
Weblate
c6dd722f30 Merge branch 'origin/develop' into Weblate. 2019-09-11 15:39:09 +00:00
Kévin C
786fe68816 Translated using Weblate (French)
Currently translated at 100.0% (1790 of 1790 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-09-11 15:39:09 +00:00
J. Ryan Stinnett
db33c138aa Update all 3PID state in Settings when IS changes
This ensures we update all 3PID state (like bind status) whenever the IS
changes.
2019-09-11 16:21:42 +01:00
J. Ryan Stinnett
0b7995dc11 Improve terms handling for 3PID state gathering
This changes the 3PID state gathering (used in Settings) to ignore terms errors
(no modals will be shown) on the assumption that other UX handles this case.
2019-09-11 16:21:42 +01:00
J. Ryan Stinnett
f04c347df7 Lift 3PID state management up to Settings tab
This pulls the 3PID state management in Settings up to a single location so that
the Account and Discovery sections now work from a single list that updates
immediately.

Fixes https://github.com/vector-im/riot-web/issues/10519
2019-09-11 16:21:42 +01:00
Weblate
493ee1be00 Merge branch 'origin/develop' into Weblate. 2019-09-11 15:07:10 +00:00
Kévin C
b06a1b4b10 Translated using Weblate (French)
Currently translated at 100.0% (1788 of 1788 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-09-11 15:07:10 +00:00
Tuomas Hietala
b40a56ea80 Translated using Weblate (Finnish)
Currently translated at 97.7% (1746 of 1788 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-09-11 15:07:09 +00:00
Bruno Windels
24c4a16da1 adapt design of room list in directory 2019-09-11 16:23:59 +02:00
Bruno Windels
77175fcbc4 pr feedback 2019-09-11 16:18:34 +02:00
Bruno Windels
094c9e3468
consistent naming
Co-Authored-By: Travis Ralston <travpc@gmail.com>
2019-09-11 14:15:46 +00:00
Bruno Windels
7754e08d84 remove labels and add join/view & preview button instead in directory 2019-09-11 15:45:51 +02:00
Weblate
1e49f5f56b Merge branch 'origin/develop' into Weblate. 2019-09-11 11:54:28 +00:00
Kenneth Larsson
3510d4a64f Translated using Weblate (Swedish)
Currently translated at 78.8% (1408 of 1786 strings)

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

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-09-11 11:54:24 +00:00
Szimszon
a5d6c88b6c Translated using Weblate (Hungarian)
Currently translated at 100.0% (1786 of 1786 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-09-11 11:54:24 +00:00
Bruno Windels
62ddc1e544
Merge pull request #3412 from matrix-org/bwindels/explore-button
Add explore button in left panel to go show room directory
2019-09-11 11:54:18 +00:00
Bruno Windels
ad2e16d432 keep filter field expanded if it has text in it 2019-09-11 13:46:18 +02:00
Weblate
3d7c3667a4 Merge branch 'origin/develop' into Weblate. 2019-09-10 18:43:09 +00:00
Travis Ralston
7fcabd799d
Merge pull request #3415 from matrix-org/travis/min-updates
Only update m.accepted_terms if there were changes
2019-09-10 12:43:05 -06:00
Weblate
e229938fc2 Merge branch 'origin/develop' into Weblate. 2019-09-10 18:38:44 +00:00
Travis Ralston
ccd42900f7
Merge pull request #3414 from matrix-org/travis/address-picker-stack
Make uses of AddressPickerDialog static dialogs
2019-09-10 12:38:40 -06:00
Travis Ralston
b35d56167e const-antly annoying linter
although it's a valid complaint here
2019-09-10 11:16:45 -06:00
Travis Ralston
312143315b Only update m.accepted_terms if there were changes
Fixes https://github.com/vector-im/riot-web/issues/10744
2019-09-10 11:13:35 -06:00
Travis Ralston
4fbedec013 Make uses of AddressPickerDialog static dialogs
Fixes https://github.com/vector-im/riot-web/issues/10603

Static dialogs are ones that stay open underneath other dialogs, like the terms of service prompt. This is how user/room settings operate.
2019-09-10 11:01:20 -06:00
Weblate
a87ec80874 Merge branch 'origin/develop' into Weblate. 2019-09-10 16:55:53 +00:00
송태섭
4c6d11d088 Translated using Weblate (Korean)
Currently translated at 100.0% (1785 of 1785 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-09-10 16:55:53 +00:00
Kaa Jii
da159b0f0b Translated using Weblate (Italian)
Currently translated at 100.0% (1785 of 1785 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-09-10 16:55:53 +00:00
Szimszon
3db3989841 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1785 of 1785 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-09-10 16:55:52 +00:00
Kévin C
9bf7c1c994 Translated using Weblate (French)
Currently translated at 100.0% (1785 of 1785 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-09-10 16:55:52 +00:00
Tirifto
9ec5f129cd Translated using Weblate (Esperanto)
Currently translated at 94.0% (1678 of 1785 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2019-09-10 16:55:51 +00:00
Slavi Pantaleev
8dce4bc12a Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1785 of 1785 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-09-10 16:55:50 +00:00
Travis Ralston
096dff4b54
Merge pull request #3395 from matrix-org/travis/hidden_rr
Support sending hidden read receipts
2019-09-10 10:55:45 -06:00
Bruno Windels
68dde07f49 make add room button go to create room dialog instead of room directory 2019-09-10 11:59:59 +02:00
Bruno Windels
1c4093eb0f make filter feed transparent when not focussed 2019-09-10 11:11:08 +02:00
Bruno Windels
15d3774665 show shorter placeholder for filter feed when not focused 2019-09-10 11:11:08 +02:00
Bruno Windels
da98080859 hide explore button when focusing filter field 2019-09-10 10:57:25 +02:00
Bruno Windels
80dd5a1b0a add explore button next to filter field 2019-09-10 10:55:55 +02:00
Michael Telatynski
80add7be92 delint more properly
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-10 08:38:51 +01:00
Michael Telatynski
0b56e7a81c Support Synapse deactivate on MemberInfo without Room (timeline pill)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-10 08:26:10 +01:00
Weblate
110d2b0c3d Merge branch 'origin/develop' into Weblate. 2019-09-09 16:51:04 +00:00
Szimszon
9ea0402f02 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1783 of 1783 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-09-09 16:51:04 +00:00
Michael Telatynski
c6f3ca20c0
Merge pull request #3407 from matrix-org/t3chguy/fix_custom_pl_levels_hidden_error
Catch error from changing room power level requirements and show modal
2019-09-09 17:50:58 +01:00
Weblate
9c5c64021d Merge branch 'origin/develop' into Weblate. 2019-09-09 15:10:25 +00:00
송태섭
e98827eaa7 Translated using Weblate (Korean)
Currently translated at 100.0% (1776 of 1776 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-09-09 15:10:25 +00:00
Szimszon
dcde3c042d Translated using Weblate (Hungarian)
Currently translated at 100.0% (1776 of 1776 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-09-09 15:10:25 +00:00
Bruno Windels
3edf345b02 PR feedback 2019-09-09 16:19:10 +02:00
Michael Telatynski
043a8d35e6 Move the rest of the IS/email supported logic to AddressPickerDialog
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-09 15:03:00 +01:00
Bruno Windels
f205ddbc8f add redact recent messages button in member info 2019-09-09 15:10:50 +02:00
Michael Telatynski
194cd0a460 Fix identity server text in AddressPickerDialog
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-09 13:53:56 +01:00
Michael Telatynski
9c488426cc add i18n
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-09 12:51:30 +01:00
Michael Telatynski
088f9e4cc5 Catch error from changing room power level requirements and show modal
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-09 12:50:05 +01:00
Weblate
4494f1c265 Merge branch 'origin/develop' into Weblate. 2019-09-09 11:28:23 +00:00
J. Ryan Stinnett
a03b224ff7
Merge pull request #3394 from matrix-org/jryans/bound-3pids-warning
Add bound 3PID warning when changing IS as well
2019-09-09 12:28:19 +01:00
Weblate
7b30e03202 Merge branch 'origin/develop' into Weblate. 2019-09-09 09:28:04 +00:00
J. Ryan Stinnett
24f1ec8abb
Merge pull request #3398 from matrix-org/jryans/is-input-tweak
Stop setting IS input field on account change
2019-09-09 10:28:00 +01:00
J. Ryan Stinnett
c3adddb5ac Change to paragraphs outside the strings 2019-09-09 10:27:02 +01:00
Michael Telatynski
ef2ff31a46 Fix replying from search results for this and all rooms
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-09 09:34:08 +01:00
Weblate
4d37c8dbf7 Merge branch 'origin/develop' into Weblate. 2019-09-09 08:06:55 +00:00
Bruno Windels
1422b1d73e
Merge pull request #3403 from matrix-org/bwindels/cider-italics
New composer: use underscore for italics so it doesn't collide with bold when toggling
2019-09-09 08:06:51 +00:00
Travis Ralston
e29184ae1d Support secret per-room hidden read receipts 2019-09-06 13:02:18 -06:00
Weblate
9abcfd49da Merge branch 'origin/develop' into Weblate. 2019-09-06 17:49:15 +00:00
Michael Telatynski
d8dbe28015
Merge pull request #3404 from matrix-org/t3chguy/react16_10
Switch to createReactClass: views/elements & views/groups. React 16 :D
2019-09-06 18:49:11 +01:00
Weblate
e6d6c9ce6f Merge branch 'origin/develop' into Weblate. 2019-09-06 17:46:30 +00:00
Michael Telatynski
b243004a6c Switch to createReactClass: *everything else*. React 16 :D
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-06 18:38:11 +01:00
Michael Telatynski
d5db67be38 Switch to createReactClass: views/elements & views/groups. React 16 :D
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-06 18:35:52 +01:00
Weblate
2cb95a1d12 Merge branch 'origin/develop' into Weblate. 2019-09-06 17:18:35 +00:00
Michael Telatynski
13258132e7
Merge pull request #3400 from matrix-org/t3chguy/react16_9
Switch to createReactClass: views/rooms and test/components. React 16 :D
2019-09-06 18:18:32 +01:00
Bruno Windels
48247e66be use underscore for italics so it doesn't collide with bold when toggling 2019-09-06 17:52:37 +02:00
Weblate
49f3c9f6c5 Merge branch 'origin/develop' into Weblate. 2019-09-06 14:42:20 +00:00
Bruno Windels
fe482258ac
Merge pull request #3402 from matrix-org/bwindels/cider-toggle-inline-formatting
New composer: support toggling inline formatting
2019-09-06 14:42:16 +00:00
Weblate
5bce922259 Merge branch 'origin/develop' into Weblate. 2019-09-06 14:28:27 +00:00
Bruno Windels
14fff3be9a
Merge pull request #3399 from matrix-org/bwindels/fix-formatbar-edit-position
Fix format bar not appearing in edit composer
2019-09-06 14:28:23 +00:00
Bruno Windels
26bd694c6a support toggling inline formatting 2019-09-06 16:25:55 +02:00
J. Ryan Stinnett
3ad88604cc Stregthen bound 3PID warning dialog
This tweaks the bound 3PID text and adds danger styling.

Fixes https://github.com/vector-im/riot-web/issues/10750
2019-09-06 15:18:01 +01:00
Michael Telatynski
70ff2bc9cd Switch to createReactClass: views/rooms and test/components. React 16 :D
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-06 15:04:46 +01:00
Bruno Windels
4e98721ba9 take bounding box for positioning calculation 2019-09-06 15:56:46 +02:00
Weblate
870659d6da Merge branch 'origin/develop' into Weblate. 2019-09-06 13:54:55 +00:00
Walter
322cb15ab3 Translated using Weblate (Russian)
Currently translated at 97.0% (1718 of 1772 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-09-06 13:54:54 +00:00
송태섭
1c3abeeb22 Translated using Weblate (Korean)
Currently translated at 100.0% (1772 of 1772 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-09-06 13:54:54 +00:00
Szimszon
2ec94a4913 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1772 of 1772 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-09-06 13:54:54 +00:00
J. Ryan Stinnett
5fddb20d86 Stop setting IS input field on account change
This stops setting a value in the IS input on account change. While it may have
been marginally useful if you have the form open and change on a different
device, it also seems to pick up changes on the current device, leading to
strange UX locally.

Fixes https://github.com/vector-im/riot-web/issues/10756
Fixes https://github.com/vector-im/riot-web/issues/10757
2019-09-06 14:33:40 +01:00
Michael Telatynski
4db8ef4d89 Correct case of propTypes property in ES6 React Components. React 16
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-06 14:27:33 +01:00
J. Ryan Stinnett
11a5fca702 Remove logs 2019-09-06 13:44:44 +01:00
J. Ryan Stinnett
df03477907 Show change warning only when different from current 2019-09-06 11:54:08 +01:00
J. Ryan Stinnett
19fff51b01 Rework handling for terms CORS error
Earlier changes in this branch removed the "next step" of saving from the
dialogs, so we need to fold in the CORS error case.
2019-09-06 11:12:10 +01:00
Weblate
31027ba864 Merge branch 'origin/develop' into Weblate. 2019-09-06 10:05:24 +00:00
Kévin C
4201515863 Translated using Weblate (French)
Currently translated at 100.0% (1772 of 1772 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-09-06 10:05:24 +00:00
Besnik Bleta
79d488b52a Translated using Weblate (Albanian)
Currently translated at 99.8% (1768 of 1772 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-09-06 10:05:23 +00:00
Bruno Windels
dd1c01068f fix rename that didn't make it through rebasing 2019-09-06 11:58:27 +02:00
J. Ryan Stinnett
2ff592c542 Use existing modal promises 2019-09-06 10:48:24 +01:00
Weblate
48f844fb92 Merge branch 'origin/develop' into Weblate. 2019-09-06 09:28:22 +00:00
Bruno Windels
5014b606db
Merge pull request #3391 from matrix-org/bwindels/cider-format-history
New composer: ensure undo history is persisted before applying formatting
2019-09-06 09:28:18 +00:00
Weblate
5916b48f41 Merge branch 'origin/develop' into Weblate. 2019-09-06 09:22:41 +00:00
Bruno Windels
df4762871a
Merge pull request #3392 from matrix-org/bwindels/cider-paste-plain
New composer: fix pasting from word processors
2019-09-06 09:22:37 +00:00
Weblate
69d6ff26fa Merge branch 'origin/develop' into Weblate. 2019-09-06 09:22:14 +00:00
Bruno Windels
6b104f6344
Merge pull request #3393 from matrix-org/bwindels/cider-fix-lastcaret
New composer: fix needing to push arrow-up twice after sending first message after switching to a room
2019-09-06 09:22:10 +00:00
Bruno Windels
9dac91a70d ensure step before formatting is persisted in undo history 2019-09-06 11:20:24 +02:00
Bruno Windels
0252c7ae37 force pasting as plain text in new composer 2019-09-06 11:10:41 +02:00
Weblate
8cfe178913 Merge branch 'origin/develop' into Weblate. 2019-09-06 09:09:50 +00:00
Bruno Windels
2596281a7c update last caret from update callback instead of input event
many editor updates are not caused by an input event, so
the last caret wasn't always up to date.

Updating the caret from the update callback ensures that every
time the editor contents is changed, the last caret is updated.
2019-09-06 11:09:01 +02:00
Bruno Windels
f4938f9d11 dont format empty ranges 2019-09-06 10:59:41 +02:00
Bruno Windels
06143ba7a1 show keyboard shortcuts in format button tooltip 2019-09-06 10:59:41 +02:00
Bruno Windels
bdcea6f21e add shortcuts for formatting 2019-09-06 10:59:41 +02:00
Weblate
db288f9c95 Merge branch 'origin/develop' into Weblate. 2019-09-06 08:52:05 +00:00
Bruno Windels
d6a493a2b1 fixup: language strings moved 2019-09-06 10:39:19 +02:00
Bruno Windels
b4b9c7d072 Add tooltip for format buttons 2019-09-06 10:39:19 +02:00
Bruno Windels
da29057fd8 move format bar to own component 2019-09-06 10:39:19 +02:00
Weblate
f53af6ecdb Merge branch 'origin/develop' into Weblate. 2019-09-06 08:38:07 +00:00
송태섭
11b324e063 Translated using Weblate (Korean)
Currently translated at 100.0% (1768 of 1768 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-09-06 08:38:07 +00:00
random
5c3ac21fa9 Translated using Weblate (Italian)
Currently translated at 100.0% (1768 of 1768 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-09-06 08:38:07 +00:00
Kévin C
9c3d801c3c Translated using Weblate (French)
Currently translated at 100.0% (1768 of 1768 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-09-06 08:38:07 +00:00
Slavi Pantaleev
50acdf9a86 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1768 of 1768 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-09-06 08:38:06 +00:00
Bruno Windels
02681d50b9
Merge pull request #3386 from matrix-org/bwindels/cider-formatbar
New composer: show format bar on selection
2019-09-06 08:38:01 +00:00
Bruno Windels
92c0c1a4e2 add comment about positioning the format bar 2019-09-06 10:29:18 +02:00
Bruno Windels
d2949babcd copyright is solely assigned to matrix foundation now, copy paste error 2019-09-06 10:29:12 +02:00
Travis Ralston
af35cdc2ea Support sending hidden read receipts
Fixes https://github.com/vector-im/riot-web/issues/2527
2019-09-05 20:30:19 -06:00
J. Ryan Stinnett
d5552e4a17 Add bound 3PID warning when changing IS as well
This extends the bound 3PID warning from the disconnect button to also appear
when changing the IS as well. At the moment, the text is a bit terse, but will
be improved separately.

Fixes https://github.com/vector-im/riot-web/issues/10749
2019-09-05 17:52:46 +01:00
Bruno Windels
124b7135cd make sure the update callback gets a caret when calling reset 2019-09-05 17:54:08 +02:00
Weblate
decf23f1fc Merge branch 'origin/develop' into Weblate. 2019-09-05 14:02:19 +00:00
Szimszon
4a32be529a Translated using Weblate (Hungarian)
Currently translated at 100.0% (1768 of 1768 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-09-05 14:02:19 +00:00
J. Ryan Stinnett
46ee52a406
Merge pull request #3388 from matrix-org/jryans/bound-3pids-warning
Add new agreed URLs to account data instead of overwriting
2019-09-05 15:02:15 +01:00
Weblate
2374ab8d3a Merge branch 'origin/develop' into Weblate. 2019-09-05 13:17:01 +00:00
송태섭
fd98db635d Translated using Weblate (Korean)
Currently translated at 100.0% (1766 of 1766 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-09-05 13:17:01 +00:00
Szimszon
9f6cd5feaa Translated using Weblate (Hungarian)
Currently translated at 100.0% (1766 of 1766 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-09-05 13:17:00 +00:00
jadiof
e5e551103c Translated using Weblate (German)
Currently translated at 87.5% (1545 of 1766 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-09-05 13:17:00 +00:00
Kévin C
7dde3776f7 Translated using Weblate (French)
Currently translated at 100.0% (1766 of 1766 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-09-05 13:17:00 +00:00
Tuomas Hietala
09e9d44c96 Translated using Weblate (Finnish)
Currently translated at 97.8% (1727 of 1766 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-09-05 13:16:59 +00:00
Osoitz
ba583d9ce6 Translated using Weblate (Basque)
Currently translated at 98.7% (1743 of 1766 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2019-09-05 13:16:58 +00:00
Besnik Bleta
86e7f5527a Translated using Weblate (Albanian)
Currently translated at 99.8% (1762 of 1766 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-09-05 13:16:57 +00:00
Travis Ralston
26eb617bec
Merge pull request #3384 from matrix-org/travis/fix-pl
Fix member power levels in room settings
2019-09-05 07:16:52 -06:00
J. Ryan Stinnett
0929a9cc72 Add new agreed URLs to account data instead of overwriting
This changes terms account data storage to always add, rather than setting only
the current set of displayed URLs.

Fixes https://github.com/vector-im/riot-web/issues/10755
2019-09-05 13:38:32 +01:00
Bruno Windels
4ef9fa53ac better i18n 2019-09-05 11:10:13 +02:00
Travis Ralston
d6adf0fd6d Add responsible error handling because we're responsible people 2019-09-04 11:24:31 -06:00
Bruno Windels
2ea556e0b4 support update callback setting selection instead of caret 2019-09-04 16:40:34 +02:00
Bruno Windels
037ac29c57 be more forgiving with offset that don't have atNodeEnd=true
if index is not found, it means the last position should be returned
if there is any.

We still return -1 for empty documents, as index should always point
to a valid part if positive.
2019-09-04 16:40:34 +02:00
Bruno Windels
42c37d8293 fixup: improve quote and code block newline handling 2019-09-04 16:40:34 +02:00
Bruno Windels
e0668e8517 improve algorithm to reduce selection to text node + charactar offset
this follows the documentation of {focus|anchor}{Offset|Node} better
and was causing problems for creating ranges from the document selection
when doing ctrl+A in firefox as the anchorNode/Offset was expressed
as childNodes from the editor root.
2019-09-04 16:40:34 +02:00
Bruno Windels
4691108a16 only increase offset if caret hasn't been found yet
also rename caret away as this isn't used for the caret solely anymore
2019-09-04 16:40:34 +02:00
Bruno Windels
7a01d1407f make _replaceRange internal only 2019-09-04 16:40:34 +02:00
Bruno Windels
4c04bc19c9 fixup: remove now unused import 2019-09-04 16:40:34 +02:00
Bruno Windels
6e694c113a add support for inline/block code formatting 2019-09-04 16:40:34 +02:00
Bruno Windels
b35a3531bb move quote formatting out of react component 2019-09-04 16:40:34 +02:00
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
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
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
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
fc964687d9 Merge branch 'origin/develop' into Weblate. 2019-09-02 11:38:17 +00:00
Bruno Windels
4329d8c4ef
Merge pull request #3372 from matrix-org/bwindels/fix-command-tab-complete
New composer: fix tab-complete in commands
2019-09-02 11:38:13 +00:00
Bruno Windels
fdd23b34ae also look backwards into commands for last word to tab-complete 2019-09-02 11:27:22 +02:00
Bruno Windels
00d81eece9 don't accept @/#/: as part of command, allow to create pill candidate
so if you type these 3 characters, you get the correct autocomplete
2019-09-02 11:26:20 +02:00
Bruno Windels
a4376a76f0 only pass keyboard to autocomplete when it has selections
otherwise if tab is pressed, try to tab complete the last word
2019-09-02 11:25:29 +02:00
Weblate
61b88c24aa Merge branch 'origin/develop' into Weblate. 2019-09-02 09:14:14 +00:00
송태섭
d0d2955101 Translated using Weblate (Korean)
Currently translated at 100.0% (1756 of 1756 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-09-02 09:14:14 +00:00
J. Ryan Stinnett
7032dc6fa1
Merge pull request #3367 from matrix-org/jryans/features-without-is
Add a dialog when inviting via slash command without IS
2019-09-02 10:14:09 +01:00
Travis Ralston
cfff576ef4 Add a button to MemberInfo to deactivate a user
Part of https://github.com/vector-im/riot-web/issues/4125
2019-09-01 18:04:24 -06:00
Weblate
6ae9920351 Merge branch 'origin/develop' into Weblate. 2019-09-01 21:46:59 +00:00
Weblate
23faf21b45 Merge branch 'origin/develop' into Weblate. 2019-09-01 21:46:57 +00:00
송태섭
db128f961c Translated using Weblate (Korean)
Currently translated at 100.0% (1756 of 1756 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-09-01 21:46:57 +00:00
Michael Telatynski
6cc29b2a8c
Merge pull request #3363 from matrix-org/t3chguy/react16_6
Migrate away from React.createClass for auth and views/auth. React 16 :D
2019-09-01 22:46:55 +01:00
Szimszon
6cbaf36452 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1756 of 1756 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-09-01 21:46:48 +00:00
jadiof
cf2c3bb7cb Translated using Weblate (German)
Currently translated at 87.3% (1533 of 1756 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-09-01 21:46:48 +00:00
Kévin C
05889ebcd2 Translated using Weblate (French)
Currently translated at 100.0% (1756 of 1756 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-09-01 21:46:48 +00:00
Slavi Pantaleev
b88b18ea13 Translated using Weblate (Bulgarian)
Currently translated at 99.7% (1750 of 1756 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-09-01 21:46:48 +00:00
Besnik Bleta
030501b4f4 Translated using Weblate (Albanian)
Currently translated at 99.8% (1752 of 1756 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-09-01 21:46:47 +00:00
Michael Telatynski
517c7cba76
Merge pull request #3365 from matrix-org/t3chguy/react16_7
Migrate away from React.createClass for non-auth structures. React 16 :D
2019-09-01 22:46:43 +01:00
Travis Ralston
2bfffa76b5 Appease the linter 2019-08-30 15:54:00 -06:00
Travis Ralston
d47fb799a5 Disable MSISDN registration if the homeserver doesn't support it 2019-08-30 15:50:51 -06:00
J. Ryan Stinnett
8ff0883c22 Add a dialog when inviting via slash command without IS
This adds a dialog to ask how you want to proceed when trying to invite via
email when there is no IS configured.

Fixes https://github.com/vector-im/riot-web/issues/10619
2019-08-30 18:29:07 +01:00
Weblate
3bdc07edce Merge branch 'origin/develop' into Weblate. 2019-08-30 16:03:32 +00:00
Bruno Windels
63be16beff
Merge pull request #3366 from matrix-org/bwindels/cider-user-pill-text-fallback
New composer: put display name in user pill text fallback instead of mxid
2019-08-30 16:03:28 +00:00
Weblate
afd2ed03f0 Merge branch 'origin/develop' into Weblate. 2019-08-30 16:03:18 +00:00
Bruno Windels
3be32022f7
Merge pull request #3364 from matrix-org/bwindels/cider-ime-partii
New composer: force model update after IME composition finishes
2019-08-30 16:03:14 +00:00
Weblate
d37f51d7d7 Merge branch 'origin/develop' into Weblate. 2019-08-30 16:03:04 +00:00
송태섭
6204b81434 Translated using Weblate (Korean)
Currently translated at 89.4% (1570 of 1756 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-08-30 16:03:04 +00:00
Bruno Windels
ec0d048cf0
Merge pull request #3361 from matrix-org/bwindels/autocomplete-colon
New composer: append colon to completed user pill when at start of message
2019-08-30 16:02:58 +00:00
Weblate
78c45cda59 Merge branch 'origin/develop' into Weblate. 2019-08-30 15:16:41 +00:00
vargtas
bed248843c Translated using Weblate (Norwegian Bokmål)
Currently translated at 16.3% (286 of 1755 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nb_NO/
2019-08-30 15:16:41 +00:00
송태섭
78dc8ef5da Translated using Weblate (Korean)
Currently translated at 87.7% (1539 of 1755 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-08-30 15:16:39 +00:00
Szimszon
889d9e1a35 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1755 of 1755 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-08-30 15:16:35 +00:00
Kévin C
e7d4a692b5 Translated using Weblate (French)
Currently translated at 100.0% (1755 of 1755 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-08-30 15:16:35 +00:00
Jeff Huang
88b129caeb Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1755 of 1755 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-08-30 15:16:35 +00:00
Besnik Bleta
e0cbe25425 Translated using Weblate (Albanian)
Currently translated at 99.8% (1751 of 1755 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-08-30 15:16:34 +00:00
Michael Telatynski
00a06af419 Hide the E2EE PL selector if room is already encrypted
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-08-30 10:57:46 +01:00
Michael Telatynski
8967871b23 Merge branches 'develop' and 't3chguy/pl_control_e2e' of github.com:matrix-org/matrix-react-sdk into t3chguy/pl_control_e2e
 Conflicts:
	src/components/views/settings/tabs/room/RolesRoomSettingsTab.js
	src/i18n/strings/en_EN.json
2019-08-30 10:56:47 +01:00
Bruno Windels
b16f983a1f put display name in user pill text fallback instead of mxid 2019-08-30 11:51:29 +02:00
Bruno Windels
42ba5f6f0a force model update after composition finishes 2019-08-30 11:37:42 +02:00
Michael Telatynski
abf111ecbd Migrate away from React.createClass for non-auth structures. React 16 :D
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-08-30 10:34:59 +01:00
Michael Telatynski
2e1fb4533c Migrate away from React.createClass for auth and views/auth. React 16 :D
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-08-30 10:27:51 +01:00
Weblate
c7677a4e2e Merge branch 'origin/develop' into Weblate. 2019-08-30 09:19:35 +00:00
송태섭
0ad1e5647f Translated using Weblate (Korean)
Currently translated at 83.4% (1463 of 1754 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-08-30 09:19:35 +00:00
송태섭
0d20cea6b6 Translated using Weblate (Korean)
Currently translated at 83.4% (1463 of 1754 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-08-30 09:19:35 +00:00
dccs
e0f536c5f1 Translated using Weblate (German)
Currently translated at 87.5% (1534 of 1754 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-08-30 09:19:32 +00:00
J. Ryan Stinnett
27fdef557d
Merge pull request #3359 from matrix-org/jryans/features-without-is
Allow connecting to an IS from address picker
2019-08-30 10:19:28 +01:00
Weblate
9078c54be9 Merge branch 'origin/develop' into Weblate. 2019-08-30 08:18:02 +00:00
vargtas
364f248c37 Translated using Weblate (Norwegian Bokmål)
Currently translated at 14.0% (246 of 1754 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nb_NO/
2019-08-30 08:18:02 +00:00
송태섭
bba5492829 Translated using Weblate (Korean)
Currently translated at 80.3% (1409 of 1754 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-08-30 08:18:01 +00:00
Szimszon
c785a8e315 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1754 of 1754 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-08-30 08:17:52 +00:00
Bruno Windels
4779880a94
Merge pull request #3362 from matrix-org/bwindels/cider-no-enter-autocomplete
New composer: don't capture enter to close autocomplete
2019-08-30 08:17:47 +00:00
Weblate
a16cfb0125 Merge branch 'origin/develop' into Weblate. 2019-08-29 19:24:10 +00:00
Travis Ralston
7dd6471059
Merge pull request #3018 from Sorunome/soru/spoilers
Add Spoilers as per MSC2010
2019-08-29 13:24:06 -06:00
Bruno Windels
c144edfcac dont capture enter to close autocomplete 2019-08-29 18:39:35 +02:00
Weblate
655957bdd0 Merge branch 'origin/develop' into Weblate. 2019-08-29 16:31:32 +00:00
Bruno Windels
5105140902
Merge pull request #3358 from matrix-org/bwindels/cider-paste-images
New composer: support pasting files
2019-08-29 16:31:28 +00:00
Weblate
0a2e1e7c89 Merge branch 'origin/develop' into Weblate. 2019-08-29 16:31:09 +00:00
Bruno Windels
dc292d332d
Merge pull request #3357 from matrix-org/bwindels/cider-ime
New composer: don't update model while doing IME compositions
2019-08-29 16:31:05 +00:00
Weblate
ebde169899 Merge branch 'origin/develop' into Weblate. 2019-08-29 16:24:33 +00:00
송태섭
b32880413c Translated using Weblate (Korean)
Currently translated at 68.9% (1208 of 1754 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-08-29 16:24:33 +00:00
Sorunome
4ae130bd27
add license header, descriptive comment and change to class 2019-08-29 18:13:52 +02:00
Bruno Windels
c9572250be only append colon to user-pill when at start of composer
by passing position to autocomplete, so completion
can depend on where the pill-candidate appears.
2019-08-29 17:47:14 +02:00
Bruno Windels
2ff2ff0e75 support autocomplete replacing text with multiple parts
and append ": " to user pills
2019-08-29 17:43:18 +02:00
Walter
d84e9ee135 Translated using Weblate (Russian)
Currently translated at 97.8% (1716 of 1754 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-08-29 14:33:45 +00:00
Kévin C
30126e73fb Translated using Weblate (French)
Currently translated at 100.0% (1754 of 1754 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-08-29 14:33:44 +00:00
Jeff Huang
b45dc78613 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1754 of 1754 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-08-29 14:33:43 +00:00
Besnik Bleta
5f660c247b Translated using Weblate (Albanian)
Currently translated at 99.8% (1750 of 1754 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-08-29 14:33:43 +00:00
J. Ryan Stinnett
166fb696c2 Allow connecting to an IS from address picker
This allows those who previously disconnected from an IS to either choose the
default IS or a custom one from Settings via the address picker dialog.

Part of https://github.com/vector-im/riot-web/issues/10619
2019-08-29 15:28:34 +01:00
J. Ryan Stinnett
752eb17893 Remove subtext in room invite dialog
The subtext here was deemed redundant.

Part of https://github.com/vector-im/riot-web/issues/10619
2019-08-29 15:28:34 +01:00
Bruno Windels
fe7ac11abc New composer: support pasting files 2019-08-29 16:19:05 +02:00
Bruno Windels
891ccf0f4c don't update model while doing IME composition
this prevents the composition from being disrupted because
the DOM is modified, and also complete compositions are added
to the undo history like this.
2019-08-29 13:56:21 +02:00
Bruno Windels
80523f5dbe still convert \n to NewlinePart when pasting/dropping
before we skipped the complete validation (which creates NewlineParts)
when pasting or dropping text. We don't want to create PillCandidatePart
when inserting text like this, as it would open the auto-complete, but
newlines should still be applied. So instead of skipping validation,
pass the inputType to the validation code so they can only reject
pill candidate characters when not pasting.
2019-08-29 13:00:31 +02:00
Bruno Windels
e531b29307 don't ignore BR elements when converting to editor dom to text 2019-08-29 13:00:31 +02:00
Sorunome
fe9ae46ffb
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into soru/spoilers 2019-08-28 20:23:24 +02:00
Weblate
f7266a9a44 Merge branch 'origin/develop' into Weblate. 2019-08-28 17:36:07 +00:00
J. Ryan Stinnett
599fccd9ce
Merge pull request #3343 from matrix-org/jryans/hide-is-field-during-auth
Reveal custom IS field only when required
2019-08-28 18:36:02 +01:00
Weblate
66b5f580d6 Merge branch 'origin/develop' into Weblate. 2019-08-28 16:49:33 +00:00
Travis Ralston
838e115b72
Merge pull request #3338 from matrix-org/t3chguy/fix_jitsi_persisted_breaking_randomly
Only Destroy the expected persistent widget, not *ANY*
2019-08-28 10:49:29 -06:00
Weblate
f2c3943b65 Merge branch 'origin/develop' into Weblate. 2019-08-28 16:44:54 +00:00
Michael Telatynski
a8c5b02464
Merge pull request #3352 from matrix-org/t3chguy/pl_room_upgrade
Expose upgrade room permissions in room settings and fix command
2019-08-28 17:44:50 +01:00
Weblate
5b3a651b7b Merge branch 'origin/develop' into Weblate. 2019-08-28 16:17:21 +00:00
Bruno Windels
f119ac4b22
Merge pull request #3349 from matrix-org/bwindels/tab-complete-name
New composer: support forcing auto complete on name by hitting tab
2019-08-28 16:17:16 +00:00
Bruno Windels
29f96e659a remove leftover code 2019-08-28 17:53:03 +02:00
Weblate
927c0b42e7 Merge branch 'origin/develop' into Weblate. 2019-08-28 14:59:51 +00:00
David Baker
aa9c0b24fe re-run i18n 2019-08-28 10:37:57 -04:00
David Baker
c749b6355f Update email help text
Fixes https://github.com/vector-im/riot-web/issues/10674
2019-08-28 10:34:50 -04:00
Bruno Windels
85efb71a23 add visual bell when no replacements are available
also add try/catch in _tabCompleteName so errors don't get swallowed
2019-08-28 15:53:16 +02:00
Bruno Windels
c44fbb73d0 fix bug when replacing range starting at end of previous part 2019-08-28 15:52:39 +02:00
Weblate
478675b480 Merge branch 'origin/develop' into Weblate. 2019-08-28 13:18:40 +00:00
random
549e2e4589 Translated using Weblate (Italian)
Currently translated at 100.0% (1751 of 1751 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-08-28 13:18:40 +00:00
Kévin C
ab3f169125 Translated using Weblate (French)
Currently translated at 100.0% (1751 of 1751 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-08-28 13:18:40 +00:00
Jeff Huang
e6f166c2ac Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1751 of 1751 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-08-28 13:18:39 +00:00
Michael Telatynski
f70f983c8c Expose upgrade room permissions in room settings and fix command
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-08-28 12:00:37 +01:00
Michael Telatynski
66714b29af expose power level toggle for enabling e2ee to room settings
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-08-28 11:37:20 +01:00
J. Ryan Stinnett
7000b5a5ad Update i18n 2019-08-28 11:32:36 +01:00
J. Ryan Stinnett
ac6b03551a
Describe props default
Co-Authored-By: Travis Ralston <travpc@gmail.com>
2019-08-28 11:24:11 +01:00
David Baker
ac2b8b874f Don't infinite loop on server change
ServerConfig assumed that the state was already correct when
checking the given urls against the default, but that is not
neccessarily the case (eg. the validation can return a different
url to what the user entered). This would cause an infinite loop
because it would keep firing onServerConfigChange to change to
the desired URLs but the state would never change.

Fixes part of https://github.com/vector-im/riot-web/issues/10666
2019-08-27 17:29:56 -04:00
Weblate
f8845d8a68 Merge branch 'origin/develop' into Weblate. 2019-08-27 15:08:22 +00:00
Travis Ralston
3eddded039 Merge branch 'develop' into travis/tabbed-managers 2019-08-27 09:07:52 -06:00
Weblate
8292abf571 Merge branch 'origin/develop' into Weblate. 2019-08-27 15:07:14 +00:00
Travis Ralston
971e1ac8c3
Merge pull request #3340 from matrix-org/travis/homeserver-managers
Support homeserver-configured integration managers
2019-08-27 09:07:09 -06:00
Bruno Windels
d8bb9ecedf bring insert method inline with transform callback, add docs
before the insertPartsAt method would call the update callback
on its own, but now we have the concept of a transformation session,
so lets bring the API in line
2019-08-27 16:43:05 +02:00
Bruno Windels
8e66d382de don't crash on race with room members and initial composer render
not ideal, but for now this prevents a crash at startup
when a user-pill is persisted in local storage
2019-08-27 16:43:05 +02:00
Bruno Windels
e0ec827a64 extra docs 2019-08-27 16:43:05 +02:00
Bruno Windels
f5bb872efa some cleanup 2019-08-27 16:43:05 +02:00
Bruno Windels
f02713d08e force completion when hitting tab
by replacing word before caret with pill-candidate and
forcing auto complete
2019-08-27 16:43:05 +02:00
Bruno Windels
68c2bb7ca6 introduce transform method so update can be called with a position
and also for multiple transformations at once. This removes
the need to call the update callback from `replaceRange()` as well
2019-08-27 16:43:05 +02:00
Bruno Windels
f76a23d5dd return promise from updating autocomplete
so one can await if needed
2019-08-27 16:43:05 +02:00
Bruno Windels
0f6465a1db don't close autocomplete when hitting tab
that's not what the slate impl does and it's not an improvement
2019-08-27 16:43:05 +02:00
Bruno Windels
713205e0ab close autocomplete when removing auto-completed part 2019-08-27 16:43:05 +02:00
Weblate
31aa3c26be Merge branch 'origin/develop' into Weblate. 2019-08-27 14:40:57 +00:00
Bruno Windels
e0b99b5cc8
Merge pull request #3342 from matrix-org/bwindels/cider-replace-emoticons
Auto-replace emoticons with emojis in new composer
2019-08-27 14:40:53 +00:00
Weblate
fdb4c44123 Merge branch 'origin/develop' into Weblate. 2019-08-27 14:27:09 +00:00
송태섭
2611bdabb6 Translated using Weblate (Korean)
Currently translated at 67.8% (1184 of 1747 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-08-27 14:27:08 +00:00
Travis Ralston
08339abd35
Merge pull request #3348 from matrix-org/travis/fix-discovery
Adjust copy and include identity server changing when terms are pending
2019-08-27 08:27:03 -06:00
Bruno Windels
f10e1d7654 fix jsdoc comments 2019-08-27 09:54:13 +02:00
Bruno Windels
56606a46f4 don't assume preceding space for emoticon at start of document
also add more inline comments to explain what is going on
2019-08-27 09:50:36 +02:00
Bruno Windels
5c28b57681 always recalculate position after doing transform step
as the amount of characters might not have changed,
parts may still have been merged, removed or added which
requires a new position.
2019-08-27 09:49:22 +02:00
Weblate
161c611a69 Merge branch 'origin/develop' into Weblate. 2019-08-26 18:45:30 +00:00
Michael Telatynski
8bdc1e9446
Merge pull request #3347 from matrix-org/t3chguy/react16_5
Migrate away from React.createClass for views/dialogs. React 16 :D
2019-08-26 19:45:26 +01:00
Weblate
6ebff9e34b Merge branch 'origin/develop' into Weblate. 2019-08-26 18:45:16 +00:00
Peter Vágner
7d81ff87a4 Translated using Weblate (Slovak)
Currently translated at 85.4% (1492 of 1747 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sk/
2019-08-26 18:45:14 +00:00
Walter
ac57835630 Translated using Weblate (Russian)
Currently translated at 96.9% (1692 of 1747 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-08-26 18:45:11 +00:00
XN
cfbdf031d4 Translated using Weblate (Polish)
Currently translated at 79.7% (1392 of 1747 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-08-26 18:45:11 +00:00
Karol Kosek
fef6e8ed6b Translated using Weblate (Polish)
Currently translated at 79.7% (1392 of 1747 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-08-26 18:45:10 +00:00
AA
3618d9a8c7 Translated using Weblate (Polish)
Currently translated at 79.7% (1392 of 1747 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-08-26 18:45:09 +00:00
송태섭
56d0ebaaa0 Translated using Weblate (Korean)
Currently translated at 66.8% (1167 of 1747 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ko/
2019-08-26 18:45:05 +00:00
random
81fd3f3769 Translated using Weblate (Italian)
Currently translated at 100.0% (1747 of 1747 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-08-26 18:44:58 +00:00
Szimszon
c33062ea6b Translated using Weblate (Hungarian)
Currently translated at 100.0% (1747 of 1747 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-08-26 18:44:58 +00:00
Jeff Huang
cbb7d2df58 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1747 of 1747 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-08-26 18:44:56 +00:00
Travis Ralston
abbc8ffef0 Adjust copy and include identity server changing when terms are pending
Fixes https://github.com/vector-im/riot-web/issues/10636
Fixes https://github.com/vector-im/riot-web/issues/10635
2019-08-26 11:26:21 -06:00
Bruno Windels
0273795f5d add transform step to composer to auto-replace emoticons with emoji 2019-08-26 16:16:27 +02:00
Bruno Windels
4fd4ad41c1 improve editor model documentation 2019-08-26 16:16:27 +02:00
Bruno Windels
f8f0e77bde add transform step during editor model update 2019-08-26 16:16:27 +02:00
Bruno Windels
0e65f71a37 support incrementing/decrementing doc positions with predicate 2019-08-26 16:16:27 +02:00
Bruno Windels
10291bafe0 add support for selecting ranges in the editor model, and replacing them
this to support finding emoticons and replacing them with an emoji
2019-08-26 16:16:27 +02:00
Michael Telatynski
d94e2179bf Migrate away from React.createClass for views/dialogs. React 16 :D
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-08-24 11:59:46 +01:00
Michael Telatynski
360cef66c1 Migrate away from React.createClass for async-components. React 16 :D
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-08-24 11:53:28 +01:00
Weblate
fbff7a6f42 Merge branch 'origin/develop' into Weblate. 2019-08-23 18:43:44 +00:00
Michael Telatynski
e5d3198f53
Merge pull request #3339 from matrix-org/t3chguy/substitute_handle_global
Iterate over all instances of variable/tag for _t substitutions
2019-08-23 19:43:40 +01:00
Weblate
868000cc14 Merge branch 'origin/develop' into Weblate. 2019-08-23 18:15:23 +00:00
Travis Ralston
e8b0c41157 minus ; 2019-08-23 12:01:47 -06:00
Travis Ralston
e1552b61fc fix i18n 2019-08-23 12:01:13 -06:00
Travis Ralston
c44ae2df4d Treat 404 errors on IS as having no terms
Fixes https://github.com/vector-im/riot-web/issues/10634
2019-08-23 11:58:04 -06:00
J. Ryan Stinnett
72ec6c7062 Reveal custom IS field only when required
This hides the identity server at first from the custom server auth flows. For
the flows that may need an IS if the HS requires it (registration, password
reset), we then check with the HS before proceeding further and reveal the IS
field if it is in fact needed.

Fixes https://github.com/vector-im/riot-web/issues/10553
2019-08-23 18:43:55 +01:00
Weblate
ae4e4f45b9 Merge branch 'origin/develop' into Weblate. 2019-08-23 16:14:00 +00:00
J. Ryan Stinnett
47ee299e70
Merge pull request #3337 from matrix-org/jryans/is-token-to-hs
Add IS access token callback
2019-08-23 17:13:55 +01:00
Weblate
fbc9ba7b29 Merge branch 'origin/develop' into Weblate. 2019-08-23 15:59:09 +00:00
Kévin C
879912da31 Translated using Weblate (French)
Currently translated at 100.0% (1747 of 1747 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-08-23 15:59:09 +00:00
Travis Ralston
dc0c7e3053
Merge pull request #3331 from matrix-org/jaywink/extra-rageshake-cleanup
Tweak rageshake logging messages
2019-08-23 09:59:05 -06:00
Travis Ralston
160396ca9e Appease the linter 2019-08-23 09:16:44 -06:00
Travis Ralston
b3cda4b19a Support multiple integration managers behind a labs flag
Fixes https://github.com/vector-im/riot-web/issues/10622
Implements [MSC1957](https://github.com/matrix-org/matrix-doc/pull/1957)

Design is not final.
2019-08-23 09:12:40 -06:00
Travis Ralston
602c338a26 Merge branch 'travis/homeserver-managers' into travis/tabbed-managers 2019-08-23 08:50:21 -06:00
J. Ryan Stinnett
84e3d339ac Change to provider object 2019-08-23 11:17:51 +01:00
Weblate
2317183739 Merge branch 'origin/develop' into Weblate. 2019-08-23 10:06:25 +00:00
Tuomas Hietala
f9feb4f5ab Translated using Weblate (Finnish)
Currently translated at 98.7% (1723 of 1746 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-08-23 10:06:25 +00:00
Bruno Windels
f39dc6feab
Merge pull request #3287 from matrix-org/bwindels/new-main-composer
Support editing composer to be used as main composer (feature flagged)
2019-08-23 10:06:19 +00:00
Jason Robinson
f505aa0c83 Ensure logging tweak doesn't fail on undefined
Run the replace on the log line string instead of the separate
parts since we can ensure the line is a string.

Signed-off-by: Jason Robinson <jasonr@matrix.org>
2019-08-23 10:14:26 +03:00
Travis Ralston
470295ad14 Expose a getOrderedManagers() function for use elsewhere 2019-08-22 15:17:59 -06:00
Travis Ralston
8493887ceb Import the right js-sdk 2019-08-22 14:57:09 -06:00
Travis Ralston
a35735da45 Support homeserver-configured integration managers
Fixes https://github.com/vector-im/riot-web/issues/4913
Requires https://github.com/matrix-org/matrix-js-sdk/pull/1024
Implements part of [MSC1957](https://github.com/matrix-org/matrix-doc/pull/1957)
2019-08-22 14:49:20 -06:00
Michael Telatynski
7d511fbbc5 remove leftover debugger =)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-08-22 18:34:26 +01:00
Michael Telatynski
310457059b [i18n] only append tail if it is actually needed
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-08-22 18:31:02 +01:00
Michael Telatynski
b5daba9026 Iterate over all instances of variable/tag for _t substitutions
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-08-22 18:17:08 +01:00
Michael Telatynski
cd6a980c7e Only Destroy the expected persistent widget, not *ANY*
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-08-22 16:57:51 +01:00
Weblate
681383f20a Merge branch 'origin/develop' into Weblate. 2019-08-22 14:40:27 +00:00
MorbidMind
837f208d6f Translated using Weblate (Polish)
Currently translated at 72.6% (1268 of 1746 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-08-22 14:40:27 +00:00
Travis Ralston
efe8254985
Merge pull request #3333 from matrix-org/travis/fix-tooltip
Remove tooltipClassName from the Field's input
2019-08-22 08:40:23 -06:00
Weblate
f2ac4ea98d Merge branch 'origin/develop' into Weblate. 2019-08-22 14:35:15 +00:00
MorbidMind
517bd7387e Translated using Weblate (Polish)
Currently translated at 72.3% (1263 of 1746 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-08-22 14:35:15 +00:00
Travis Ralston
fbb2af00da
Merge pull request #3335 from matrix-org/travis/fix-alignment
Fix alignment of discovery section addresses
2019-08-22 08:35:11 -06:00
Weblate
b2222a2f94 Merge branch 'origin/develop' into Weblate. 2019-08-22 14:34:16 +00:00
MorbidMind
e2cac8e3bc Translated using Weblate (Polish)
Currently translated at 72.2% (1261 of 1746 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-08-22 14:34:16 +00:00
Travis Ralston
e9b44c9802
Merge pull request #3336 from matrix-org/travis/fix-removing-widgets
No-op removals of widgets that don't exist
2019-08-22 08:34:11 -06:00
Weblate
5743ef6fd0 Merge branch 'origin/develop' into Weblate. 2019-08-22 14:27:27 +00:00
MorbidMind
d31656eadf Translated using Weblate (Polish)
Currently translated at 72.1% (1258 of 1746 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-08-22 14:27:27 +00:00
random
f266bd6d44 Translated using Weblate (Italian)
Currently translated at 100.0% (1746 of 1746 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2019-08-22 14:27:26 +00:00
Kévin C
72874e215d Translated using Weblate (French)
Currently translated at 100.0% (1746 of 1746 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-08-22 14:27:25 +00:00
Jeff Huang
833d62729a Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1746 of 1746 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-08-22 14:27:25 +00:00
J. Ryan Stinnett
e7097d58ec Add IS access token callback
This passes a callback to the JS SDK which it can use to get IS access tokens
whenever needed for either talking to the IS directly or passing along to the
HS.

Fixes https://github.com/vector-im/riot-web/issues/10525
2019-08-22 14:44:09 +01:00
Bruno Windels
5cebce9bbf fix bug detected by tests 2019-08-22 14:41:40 +01:00
Bruno Windels
9c6953f176 lint 2019-08-22 14:11:04 +01:00
Bruno Windels
8c9846efc1 update i18n 2019-08-22 14:10:08 +01:00
Bruno Windels
b395fad834 add feature flag, allowing to revert to old slate editor 2019-08-22 14:07:43 +01:00
Bruno Windels
6e54bb8e51 default is unused here 2019-08-22 14:07:31 +01:00
Bruno Windels
944c56d09b prevent cider history overlapping with slate composer history 2019-08-22 14:07:03 +01:00
Bruno Windels
6a3ecde4e6 duplicate slate code where we changed it drastically
to still make it work when the feature flag will be turned off
2019-08-22 14:05:54 +01:00
Bruno Windels
b366b0b3d8 store composer state when typing in new composer
this doesn't use the MessageComposerStore on purpose so that
both the new and old composer don't overwrite each others state,
as the format is different.
2019-08-22 13:33:20 +01:00
Bruno Windels
9f72268df7 avoid null-refs when receiving an action before initial rendering 2019-08-22 13:33:20 +01:00
Bruno Windels
6df46cc319 send typing notifs in new composer (both send and edit) 2019-08-22 13:33:20 +01:00
Bruno Windels
e2dfe888cc only capture Enter when autocompletion list has selection
this is the old behaviour and makes sense IMO
also close the auto complete when resetting the composer model,
in case it was still open
2019-08-22 13:33:20 +01:00
Bruno Windels
3c5cf3e778 rename ComposerHistoryManager to SendHistoryManager to avoid confusion
...with the undo history manager for the composer.
2019-08-22 13:33:20 +01:00
Bruno Windels
c5cd8b943a support auto complete for /commands 2019-08-22 13:33:20 +01:00
Bruno Windels
88cc1c428d add support for emotes and running /commands
this does not yet include autocomplete for commands
2019-08-22 13:33:20 +01:00
Bruno Windels
cc82353d8f bring back composer send history and arrow up to edit previous message 2019-08-22 13:33:20 +01:00
Bruno Windels
ca3539d53e remove dead code 2019-08-22 13:33:20 +01:00
Bruno Windels
9bc8ff7e1e clear composer undo history when sending a message 2019-08-22 13:33:20 +01:00
Bruno Windels
0adca10f9f make named options argument optional 2019-08-22 13:33:20 +01:00
Bruno Windels
ea1faacd8b support alt+enter on mac, like slate composer 2019-08-22 13:33:20 +01:00
Bruno Windels
9003a8836a put dispatches together 2019-08-22 13:33:20 +01:00
Bruno Windels
2e71dd3ea8 cleanup, move code out of big switch statement 2019-08-22 13:33:20 +01:00
Bruno Windels
60e10364b0 add quoting functionality to new composer 2019-08-22 13:33:20 +01:00
Bruno Windels
10c218825b allow inserting multiple parts at a position 2019-08-22 13:33:20 +01:00
Bruno Windels
ce44c651d0 keep deserialized parts compatible with part api,
to avoid breakage when passing real parts
2019-08-22 13:33:20 +01:00
Bruno Windels
d4fbe7ed69 make editor event parsing suitable for parsing messages to be quoted 2019-08-22 13:33:20 +01:00
Bruno Windels
a9d6d01f10 add reply fields to message content to be sent when replying 2019-08-22 13:33:20 +01:00
Bruno Windels
7b3282185a update proptypes 2019-08-22 13:33:20 +01:00
Bruno Windels
c135cd60d2 restore insert mention
for this, we need to store the last caret in the editor,
to know where to insert the user pill.

Because clicking on a member blurs the editor, and the
selection is moved away from the editor.

For this reason, we keep as cache of the last caretOffset object,
invalidated by a selection with different values.

The selection needs to be cloned because apparently the browser
mutates the object instead of returning a new one.
2019-08-22 13:33:20 +01:00
Bruno Windels
71286b5610 restore reply_to_event action 2019-08-22 13:33:20 +01:00
Bruno Windels
e39c405c55 restore focus_composer action 2019-08-22 13:33:20 +01:00
Bruno Windels
fdf5fca628 add all props to proptypes 2019-08-22 13:33:20 +01:00
Bruno Windels
2cff486ec0 set placeholder same as label 2019-08-22 13:33:20 +01:00
Bruno Windels
f9992a1fc6 implement editor placeholder 2019-08-22 13:33:20 +01:00
Bruno Windels
e2e4ea493f set aria label on main composer too 2019-08-22 13:33:20 +01:00
Bruno Windels
cfbd2e9cc8 support basic sending with new main composer
this removes all formatting options, as the new editor doesn't
have any.
2019-08-22 13:33:20 +01:00
Bruno Windels
df8488e194 pass label through props 2019-08-22 13:33:20 +01:00
Bruno Windels
d22745a5b2 make it obvious arguments are optional
because now they have a setter
2019-08-22 13:33:20 +01:00
Bruno Windels
063eabed71 don't return invalid indices from model, fix for #10358 2019-08-22 13:33:20 +01:00
Bruno Windels
505846ce53 split up css, update class names 2019-08-22 13:33:20 +01:00
Bruno Windels
341fdcd761 cleanup lint errors 2019-08-22 13:33:20 +01:00
Travis Ralston
19b7d18e7a No-op removals of widgets that don't exist
An example of this is setting your very first widget: there's nothing to remove, so you end up with "cannot call .getContent() of undefined" instead.
2019-08-21 18:43:29 -06:00
Travis Ralston
6449016d4b Fix alignment of discovery section addresses
We target the addresses specifically to avoid crushing the subsection text.
2019-08-21 14:41:25 -06:00
Travis Ralston
54633f3ad4 Remove extraneous logging 2019-08-21 12:57:54 -06:00
Travis Ralston
6f7bbf958e Remove tooltipClassName from the Field's input
React doesn't want the property on the <input>, so we'll take it off.
2019-08-21 12:51:16 -06:00
Weblate
b7d80b6054 Merge branch 'origin/develop' into Weblate. 2019-08-21 16:14:50 +00:00
Travis Ralston
04bb2ed322
Merge pull request #3327 from matrix-org/travis/discover-terms
Handle terms agreement in Discovery section of user settings
2019-08-21 10:14:45 -06:00
Weblate
d2b02c945d Merge branch 'origin/develop' into Weblate. 2019-08-21 15:01:48 +00:00
Kévin C
f1d9dc1b80 Translated using Weblate (French)
Currently translated at 100.0% (1744 of 1744 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-08-21 15:01:48 +00:00
Slavi Pantaleev
72f39aa58a Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1744 of 1744 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-08-21 15:01:47 +00:00
Travis Ralston
5bf0587cc5 Don't double translate labs settings
SettingsStore.getDisplayName() already calls _t() for us.

Fixes https://github.com/vector-im/riot-web/issues/10586
2019-08-21 08:55:19 -06:00
Travis Ralston
2dc28a608f Move URL abbreviation to its own util file 2019-08-21 08:46:10 -06:00
Travis Ralston
c758b5d3f1 We don't use reject 2019-08-21 08:43:42 -06:00
Jason Robinson
8c73056693 Tweak rageshake logging messages
Signed-off-by: Jason Robinson <jasonr@matrix.org>
2019-08-21 16:06:32 +03:00
Weblate
a78b3accc5 Merge branch 'origin/develop' into Weblate. 2019-08-21 07:39:16 +00:00
Jeff Huang
92773ba0e9 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1744 of 1744 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2019-08-21 07:39:16 +00:00
Bruno Windels
c7c87ccd9c
Merge pull request #3328 from matrix-org/bwindels/modifier-refocus-fix-attempt
Explicitly check for modifier keydown events before focusing composer
2019-08-21 07:39:11 +00:00
Weblate
50a5248b46 Merge branch 'origin/develop' into Weblate. 2019-08-20 22:07:22 +00:00
Travis Ralston
f55a40001c Touch up settings: alignment, spacing, error states
Fixes https://github.com/vector-im/riot-web/issues/10554

Issues fixed:
* Fields were not ~30px from the avatar (too much right margin)
* Tooltips overflowed the dialog on some resolutions
* SetIdServer didn't have an error state for making the field red
* Spacing between sections in Discovery was wrong (fixed by just removing the problematic n+2 selector - it didn't help anything)
2019-08-20 13:20:07 -06:00
Weblate
ac54385046 Merge branch 'origin/develop' into Weblate. 2019-08-20 14:43:14 +00:00
Slavi Pantaleev
06ca3d2f57 Translated using Weblate (Bulgarian)
Currently translated at 96.7% (1686 of 1744 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-08-20 14:43:14 +00:00
Besnik Bleta
98de339794 Translated using Weblate (Albanian)
Currently translated at 99.7% (1739 of 1744 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-08-20 14:43:14 +00:00
Jason Robinson
29085895a7 Fix regression on widget panel edit button
Due to commit ffa49df889
the parameters for the call to open a widget in edit mode from the
widget panel in a room has broken. The `screen` parameter needs
to be prefixed with `type_` as it was before.

This corresponds to parameters supplied when creating the URL when
opening a widget in edit mode through Scalar screens.

Signed-off-by: Jason Robinson <jasonr@matrix.org>
2019-08-20 15:55:57 +03:00
Bruno Windels
b42b2825c4 explicitly check for modifier keydown events 2019-08-20 10:43:03 +02:00
Weblate
ed6e4794ce Merge branch 'origin/develop' into Weblate. 2019-08-20 08:29:51 +00:00
Nathan Follens
1e7a813394 Translated using Weblate (West Flemish)
Currently translated at 100.0% (1743 of 1743 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/vls/
2019-08-20 08:29:51 +00:00
Kévin C
5a195d7f0a Translated using Weblate (French)
Currently translated at 100.0% (1743 of 1743 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-08-20 08:29:50 +00:00
Nathan Follens
02faf9e385 Translated using Weblate (Dutch)
Currently translated at 100.0% (1743 of 1743 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-08-20 08:29:50 +00:00
David Baker
f5da870040
Merge pull request #3326 from matrix-org/dbkr/device_name_public
Clarify that device names are publicly visible
2019-08-20 09:29:45 +01:00
Travis Ralston
7cd2fb3718 Appease the linter
It really wants a trailing comma.
2019-08-19 23:03:01 -06:00
Travis Ralston
3181829532 Use new InlineTermsAgreement component on IS Discovery section
Fixes https://github.com/vector-im/riot-web/issues/10522
2019-08-19 23:00:05 -06:00
Travis Ralston
417de0cac7 Add an inline terms agreement component
Handles agreement of terms in an inline way.
2019-08-19 22:59:33 -06:00