Commit Graph

17620 Commits (e0cbe2542561e6fd30f85443ee14ef293491831f)

Author SHA1 Message Date
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 fb38787c37
Merge pull request #3332 from matrix-org/travis/fix-i18n
Don't double translate labs settings
2019-08-21 09:01:40 -06: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 9332308a51
Merge pull request #3330 from matrix-org/travis/settings-fix
Touch up settings: alignment, spacing, error states
2019-08-20 16:07:18 -06:00
Travis Ralston 0b2331440b Newlines mean everything 2019-08-20 13:24:51 -06: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 3c1adf62af
Merge pull request #3329 from matrix-org/jaywink/fix-widget-edit-button
Fix regression on widget panel edit button
2019-08-20 17:43:09 +03: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
Travis Ralston 525b4cad0f Support IS token handling without checking terms
This is so we can optionally do our own terms handling.
2019-08-19 22:54:23 -06:00
Travis Ralston 83af732d05 Rename and export abbreviateIdentityUrl 2019-08-19 22:53:37 -06:00
Weblate 974aab1e5a Merge branch 'origin/develop' into Weblate. 2019-08-19 20:35:53 +00:00
Nathan Follens 63dcdb4f96 Translated using Weblate (Dutch)
Currently translated at 99.8% (1738 of 1742 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-08-19 20:35:53 +00:00
J. Ryan Stinnett fef3438ef1
Merge pull request #3325 from matrix-org/jryans/tweak-privacy-copy
Tweak privacy settings copy and whitespace
2019-08-19 21:35:49 +01:00
David Baker f7083ac332 Clarify that device names are publicly visible
And also a bunch of other UI fixes in the devices table:
 * It's the devices table, don't need 'device' in all the headers
 * Not really necessary to label checkboxes with 'select'
 * Stop table from moving down when the delete button appears

Fixes https://github.com/vector-im/riot-web/issues/10216
2019-08-19 18:09:37 +01:00
Weblate 26b960a2d1 Merge branch 'origin/develop' into Weblate. 2019-08-19 16:51:03 +00:00
Travis Ralston e7e22b75bc
Merge pull request #3320 from matrix-org/travis/is-account-data
Persist and maintain identity server in account data
2019-08-19 10:50:58 -06:00
Travis Ralston 2d4c2b76d9 Merge branch 'develop' into travis/is-account-data 2019-08-19 10:36:42 -06:00
Weblate 17d7b79fbf Merge branch 'origin/develop' into Weblate. 2019-08-19 16:36:02 +00:00
Travis Ralston 95bd41aac7
Merge pull request #3317 from matrix-org/travis/terms/inline-is-only
Prompt for terms of service on identity server changes
2019-08-19 10:35:58 -06:00
Travis Ralston 855bf3ad0d Import createClient instead 2019-08-19 10:28:04 -06:00