Commit Graph

19596 Commits

Author SHA1 Message Date
Bruno Windels 2228ba83af Merge branch 'master' into bwindels/redesignfixes 2019-04-03 16:18:52 +02:00
Bruno Windels 685285156f Merge pull request #32 from matrix-org/toml/install-scripts-fail-fast
Toml/install scripts fail fast
2019-04-03 13:57:55 +00:00
Bruno Windels c1464aaa5d Merge branch 'master' into toml/install-scripts-fail-fast 2019-04-03 15:52:11 +02:00
Bruno Windels 9c41ccce58 use shorter .bak suffix approach 2019-04-03 15:46:55 +02:00
Bruno Windels ed772e2cc5 Merge branch 'master' into bwindels/redesignfixes 2019-04-03 15:31:05 +02:00
Bruno Windels 240c715c84 Merge pull request #36 from matrix-org/bwindels/checkleavesmemberlist
test leaving members disappear from memberlist
2019-04-03 13:30:40 +00:00
Bruno Windels 3affb8f068 section for creating rest users 2019-04-03 15:15:28 +02:00
Bruno Windels 5939d62499 fix scrollpanel selector 2019-04-03 15:15:15 +02:00
Bruno Windels 2b2a4867bd forgot to add consent listener again, this will fix REST registration 2019-04-03 15:08:43 +02:00
Bruno Windels e10e4b0eab nicer output, comment 2019-04-03 14:37:03 +02:00
Bruno Windels e147cc9341 this dialog isn't shown anymore and this was accepting the SAS dialog
also lower timeout so we don't wait 5s if there is no dialog
2019-04-03 14:36:34 +02:00
J. Ryan Stinnett fa88185dee Include the current power level in the selector
This ensures we always include the current power level in the power selector,
even if it's greater than the level you're allowed to set yourself. This ensures
the selector can display the current value correctly when disabled.

Fixes https://github.com/vector-im/riot-web/issues/9340
2019-04-03 11:54:10 +01:00
J. Ryan Stinnett ba7caaa115 Update yarn.lock 2019-04-03 11:50:39 +01:00
Bruno Windels a11786884e Merge pull request #2865 from matrix-org/bwindels/smallscrollfixes
Small scroll fixes
2019-04-03 07:29:13 +00:00
Bruno Windels fee8d79267 comment for PAGE_SIZE 2019-04-03 09:16:30 +02:00
Tuomas Hietala ff9fedc1cb Translated using Weblate (Finnish)
Currently translated at 100.0% (1582 of 1582 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-04-02 18:41:47 +00:00
Samu Voutilainen 42c8c56006 Translated using Weblate (Finnish)
Currently translated at 100.0% (1582 of 1582 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-04-02 18:41:47 +00:00
Travis Ralston c0f06602c5 Use state instead of forceUpdate 2019-04-02 10:47:39 -06:00
Travis Ralston 8225b91179 Merge pull request #2863 from matrix-org/travis/stickerpicker/lower-z
Put the stickerpicker below dialogs
2019-04-02 10:23:17 -06:00
Bruno Windels 86c13b97ce increase PAGE_SIZE so users can scroll up already while waiting for pag. 2019-04-02 17:54:14 +02:00
Bruno Windels 726e91101a allow fractional values for scrollTop above and below expected value 2019-04-02 17:53:53 +02:00
Bruno Windels d63a0c5aea fix gete2e info and open settings, even though not used currently 2019-04-02 15:15:13 +02:00
Bruno Windels 2449ddcfee "disable" rate limiting for rest users 2019-04-02 15:14:51 +02:00
Bruno Windels 450430d66c remove travis flag 2019-04-02 15:14:44 +02:00
Bruno Windels f197e9f977 lazy loading is not in labs anymore 2019-04-02 15:14:24 +02:00
Bruno Windels c1312f09ab fix import 2019-04-02 15:14:08 +02:00
Bruno Windels 34171eab8c doing wait for /sync request to receive message, doesn't work well
just poll every 200ms, feels way faster as before
we were probably missing /sync requests
2019-04-02 15:13:04 +02:00
Bruno Windels 28bba4952b fix detecting e2e message in timeline 2019-04-02 15:12:51 +02:00
David Baker ed03a92712 Merge pull request #2864 from matrix-org/dbkr/logging_for_7769
Logging tweaks
2019-04-02 13:34:20 +01:00
Bruno Windels 9ab1692544 fix verification, replace device id/key with SAS verification. 2019-04-02 14:30:41 +02:00
Bruno Windels ae5dc9d0b3 fix inviting someone 2019-04-02 14:29:47 +02:00
Bruno Windels 2bf51da73e fix enabling e2e encryption in room settings 2019-04-02 14:29:23 +02:00
David Baker 6e6e748376 Logging tweaks
To try & diagnose https://github.com/vector-im/riot-web/issues/7769

Null check on e before looking for the `name` property and log it
separately rather than appending it to a string (not that this will
help if it's undefined, but it's more useful in general).
2019-04-02 12:31:18 +01:00
David Baker 24ccfa69f4 Merge pull request #2858 from matrix-org/dbkr/upload_redesign
Implement redesigned upload confirmation screens
2019-04-02 11:00:16 +01:00
David Baker b6faaf419c PR feedback 2019-04-02 10:50:17 +01:00
Travis Ralston 3f9d088667 Put the stickerpicker below dialogs
Fixes https://github.com/vector-im/riot-web/issues/9353

The ContextualMenu now accepts a zIndex parameter which can be used to control its level. Dialogs are at around 4000 in the z-index, and the context menu defaults to 5000 for the things that need tooltips and such in a dialog.
2019-04-01 20:34:33 -06:00
Travis Ralston 51750cf153 General cleanup of handling for WidgetMessaging instances
When setting, delete the old one. Because delete checks if it exists first, we can safely call this.

The change in FromWidgetPostMessageApi is just something noticed while debugging.
2019-04-01 19:50:05 -06:00
Travis Ralston a4f76670c4 Don't re-init the stickerpicker unless something actually changes
Fixes https://github.com/vector-im/riot-web/issues/9354

https://github.com/matrix-org/matrix-react-sdk/pull/2801 introduced a change which tried to make sure that when the widget URL was changed that the picker would be re-mounted, however it accidentally introduced a regression. While it effectively did the task it wanted to, it failed to keep the previously-mounted sticker picker alive. This is because the Stickerpicker component is remounted when opened, and the _updateWidget function is called. This results in this.state not having the "current" widget, meaning a URL change is always detected when the component is remounted (room changes, open sticker picker). 

Instead of remounting always, we'll instead track which sticker picker widget is being used out of band. This therefore means that whenever the Stickerpicker component is mounted it doesn't create a whole new widget, and the existing (background) picker can be used. This also fixes the loading screen that people would see when opening the sticker picker after switching rooms, something which the persistent widget stuff is supposed to solve.
2019-04-01 19:48:05 -06:00
Travis Ralston 7e2291592c Apply 50% opacity to left breadcrumbs
Fixes https://github.com/vector-im/riot-web/issues/8564

We listen for membership changes to make sure the state is kept up to date.
2019-04-01 11:59:39 -06:00
Travis Ralston 842e19280d Apply changes to breadcrumbs setting live 2019-04-01 11:49:58 -06:00
J. Ryan Stinnett d92336fc16 Merge pull request #2859 from jryans/redesign-debug-logs
Use Field component in bug report dialog
2019-04-01 18:33:22 +01:00
J. Ryan Stinnett 3948520eaa Use Field component in bug report dialog
This uses the field component in the bug report dialog, which generally improves
the styling to fit in more naturally with the rest of the app so that it feels
more trustworthy.

Fixes https://github.com/vector-im/riot-web/issues/9343
2019-04-01 17:50:12 +01:00
J. Ryan Stinnett 57d72b4deb Merge pull request #2841 from jryans/storage-eviction-modal
Notify user when crypto data is missing
2019-04-01 17:31:39 +01:00
David Baker 0add3d0825 Translate into peoplecounting 2019-04-01 16:52:06 +01:00
David Baker fedd4598b5 Space
The final frontier
2019-04-01 16:50:23 +01:00
David Baker 5b2cee2fc1 Implement redesigned upload confirmation screens
Also fairly significant refactor of the uploading code: there are
a number of different ways of triggerring a file upload and each
went through a different code path (the media config size limit
worked on one of those paths). Basically take a lot of code out
of the views and put it into ContentMessages.

Sorry about the size of this patch.

https://github.com/vector-im/riot-web/issues/7565
2019-04-01 16:42:41 +01:00
David Baker f3e8722504 Merge branch 'master' into develop 2019-04-01 13:48:54 +01:00
David Baker 33f2401e63 v1.0.6 2019-04-01 13:43:49 +01:00
David Baker 9cba85e3f4 Prepare changelog for v1.0.6 2019-04-01 13:43:48 +01:00
David Baker 6cde0eb1b2 released js-sdk 2019-04-01 13:38:06 +01:00