Commit Graph

15152 Commits (63ab7736ca4ab0ee4cfccc8f7b0957b2709e8d2f)

Author SHA1 Message Date
Travis Ralston a8ae63bb06 Minimize stickerpicker when the title is clicked
Fixes https://github.com/vector-im/riot-web/issues/6437

This also fixes a bug where if the room had apps open and you clicked the sticker picker's title, you'd end up closing the apps and not the picker.
2019-03-23 23:50:06 -06:00
Travis Ralston 3654c895eb Appease the linter 2019-03-23 23:31:19 -06:00
Travis Ralston 2dcb40f1be Track OpenID automatic permissions by (widgetLocation, widgetUrl) 2019-03-23 23:25:31 -06:00
Travis Ralston 21d52a8311 Use the same function name to bind the OpenID request handler 2019-03-23 22:50:26 -06:00
Travis Ralston d3268801ed Merge branch 'develop' into travis/openid-widget 2019-03-23 22:48:12 -06:00
Travis Ralston 7b972e476f
Merge pull request #2821 from YaoiFangirl420/develop
Fix bug with NetworkList dropdown
2019-03-23 22:25:23 -06:00
YaoiFangirl420 00335e2462 Fix bug with NetworkList dropdown
The NetworkDropdown component was incorrectly guarding against a null
check when retrieving the list of networks

Signed-off-by: YaoiFangirl420 <48789208+YaoiFangirl420@users.noreply.github.com>
2019-03-23 20:53:09 -07:00
Travis Ralston e5f7563dec Ask the user for debug logs when the timeline explodes
Fixes https://github.com/vector-im/riot-web/issues/9260
Workaround for https://github.com/vector-im/riot-web/issues/8593
Requires https://github.com/matrix-org/matrix-js-sdk/pull/869

We check if any dialogs are open before moving forward because we don't want to risk showing so many dialogs that the user is unable to click a button. We're also not overly concerned if the dialog being shown is irrelevant because whatever the user is doing will likely be unaffected, and we can scream in pain when they're finished.
2019-03-22 20:23:35 -06:00
Travis Ralston 389abed574 Define a title for generic error 2019-03-22 19:03:52 -06:00
Travis Ralston 4fd48988e9 Check for any errors leaving the room, not just the top level 2019-03-22 17:39:42 -06:00
Travis Ralston a34a8bb425 Use leaveRoomChain when leaving a room
Requires https://github.com/matrix-org/matrix-js-sdk/pull/868
Fixes https://github.com/vector-im/riot-web/issues/8539

We don't need to use leaveRoomChain when rejecting invites because we won't have the references needed. This leaves the couple spots where we do actually leave a room, and use the new function for that.
2019-03-22 17:36:54 -06:00
Tuomas Hietala 36dee9b4dd Translated using Weblate (Finnish)
Currently translated at 95.2% (1485 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-03-22 21:39:53 +00:00
Samu Voutilainen 798e68b4ab Translated using Weblate (Finnish)
Currently translated at 95.2% (1485 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-03-22 21:39:53 +00:00
J. Ryan Stinnett 68997f9652
Merge pull request #2816 from jryans/trim-preview
Trim the logging for URL previews
2019-03-22 20:50:36 +00:00
Travis Ralston 50614fa7fb Attach an onChange listener to the room's blacklist devices option
Fixes https://github.com/vector-im/riot-web/issues/9235

The global option in user settings is unaffected by this bug. Users who have previously set the per-room flag without success can simply refresh the page and the change will be picked up. The bug here is that the current session would not update accordingly, however.

Introduced in https://github.com/matrix-org/matrix-react-sdk/pull/2523
2019-03-22 14:22:20 -06:00
Tee Mak 50ffdc2f12
Fixed drop shadow for tooltip.
The box-shadow color value is from $menu-box-shadow-color. The shadow now looks consistent on light or dark theme.
2019-03-22 14:50:13 -04:00
J. Ryan Stinnett c17f7a2949 Trim the logging for URL previews
It should be sufficient to have the error stack and general log message for URL
preview failure.
2019-03-22 18:50:08 +00:00
J. Ryan Stinnett 140e0d6a30
Merge pull request #2814 from jryans/storage-edge-cases
Explicitly create `cryptoStore` in React SDK
2019-03-22 17:26:45 +00:00
J. Ryan Stinnett 2ac7dd4ca3 Explicitly create `cryptoStore` in React SDK
The React SDK has a client creation path that starts 2 out of 3 stores, but then
leaves the other one for the JS SDK's default value handling.

We'll soon be adding additional code to check the health of stores, so it would
be simpler to follow and think about if we create them all in one place.
2019-03-22 15:03:03 +00:00
Bruno Windels c9c2519240 log scroll events 2019-03-22 15:47:04 +01:00
Bruno Windels 4bfdbe3094 fix jumping when unfilling the top while scrolling down 2019-03-22 15:23:21 +01:00
J. Ryan Stinnett ed72352636
Merge pull request #2812 from jryans/memory-store-name
Change to new consistent name for `MemoryStore`
2019-03-21 18:33:19 +00:00
Travis Ralston 44987955ac
Merge pull request #2813 from matrix-org/travis/buildkite2
Use medium agents for the more resource intensive builds
2019-03-21 12:11:42 -06:00
Travis Ralston 8a0d6562dc Use medium agents for the more resource intensive builds 2019-03-21 10:55:43 -06:00
J. Ryan Stinnett 1c677d3581 Change to new consistent name for `MemoryStore` 2019-03-21 15:35:00 +00:00
Bruno Windels ab49bc4fcf fix comment typo 2019-03-21 15:37:35 +01:00
Bruno Windels 680afc5ce0 fix scrollToToken alignment 2019-03-21 15:37:06 +01:00
Bruno Windels 494779393f Merge branch 'develop' into bwindels/bacat-scrolling 2019-03-21 13:50:32 +01:00
Bruno Windels 44f3cac5eb Merge branch 'master' into develop 2019-03-21 11:28:35 +01:00
Bruno Windels 4ca90b16c3 Merge branch 'release-v1.0.5' 2019-03-21 11:28:08 +01:00
Bruno Windels a483352798 v1.0.5 2019-03-21 11:27:29 +01:00
Bruno Windels 3ab205b64d Prepare changelog for v1.0.5 2019-03-21 11:24:01 +01:00
Bruno Windels 03dbc0b2cc
Merge pull request #2811 from matrix-org/bwindels/disable-typing-jump-prevention
Hotfix: disable typing notifs jumping prevention for now
2019-03-21 10:19:40 +00:00
Bruno Windels 817fe1a520 disable typing notifs jumping prevention for now 2019-03-21 11:01:47 +01:00
David Baker ce1febe150
Merge pull request #2810 from matrix-org/dbkr/buildkite_group_logs
Add log grouping to buildkite
2019-03-20 21:31:58 +00:00
Travis Ralston 1ed2e6dcc1
Remove the correct widget listener 2019-03-20 15:03:02 -06:00
J. Ryan Stinnett 4c4d4407bf
Merge pull request #2809 from jryans/git-proto
Switch to `git` protocol for CI dependencies
2019-03-20 20:53:25 +00:00
David Baker 8b1e05542d Add log grouping to buildkite 2019-03-20 19:10:47 +00:00
David Baker 324781005d
Merge pull request #2808 from matrix-org/dbkr/velocity-mainline
Go back to using mainine velocity
2019-03-20 19:01:20 +00:00
J. Ryan Stinnett 99369a54fe
Typo
Co-Authored-By: dbkr <dbkr@users.noreply.github.com>
2019-03-20 18:11:42 +00:00
J. Ryan Stinnett 6f79e8503a Switch to `git` protocol for CI dependencies
If you try to clone a repo that doesn't exist via `https`, `git` will prompt for
auth credentials and hang forever. Using `git` avoids this and fails immediately
instead, which is what we want for a missing repo.

Part of https://github.com/vector-im/riot-web/issues/9221
2019-03-20 18:06:07 +00:00
David Baker 58b2068fbf Set velocity's mock option in the unit test 2019-03-20 17:43:19 +00:00
Bruno Windels 3e13a11372 restore scroll position after hiding typing notifs with checkScroll 2019-03-20 17:38:05 +01:00
Bruno Windels 85d305430f no need for forceUpdate here 2019-03-20 17:37:34 +01:00
Bruno Windels 02a5aa3b1f more logging cleanup 2019-03-20 17:15:43 +01:00
Bruno Windels 9da13fe430 small cleanup 2019-03-20 17:13:09 +01:00
Bruno Windels a8b149cfbb cleanup scrollpanel logging 2019-03-20 17:12:49 +01:00
Bruno Windels 460f9a5959 comment typo 2019-03-20 17:10:38 +01:00
Bruno Windels f164a78eaa reimplement typing notif timeline shrinking prevention
instead of setting a min-height on the whole timeline,
track how much height we need to add to prevent shrinking
and set paddingBottom on the container element of the timeline.
2019-03-20 17:10:30 +01:00
Travis Ralston 94e91e6f9a
Merge pull request #2796 from matrix-org/travis/upgrade-warning
Warn that members won't be autojoined to upgraded rooms
2019-03-20 08:34:33 -06:00