Commit Graph

14885 Commits (a11786884eeb9a3e4efcb48923a65fb0977463ff)

Author SHA1 Message Date
Bruno Windels 95e61a57bc fix some tests 2019-03-15 10:16:21 +01:00
Bruno Windels 987a1a00b3 chrome apparently anchors the scroll position, which fights against our restore position logic. Disable it like this. 2019-03-15 10:16:21 +01:00
Bruno Windels bab2730d40 use ResizeNotifier as well to relayout room list 2019-03-15 10:16:21 +01:00
Bruno Windels 4795625cee emit resize event when banners are shown/hidden to restore scroll pos 2019-03-15 10:16:21 +01:00
Bruno Windels af0a51d3b2 use AutoHideScrollbar in member info panel 2019-03-15 10:16:21 +01:00
Bruno Windels dad382a4b7 use AutoHideScrollbar in memberlist 2019-03-15 10:16:21 +01:00
Bruno Windels 1bdbf3086f emit timeline_resize in MatrixChat based on ResizeNotifier
as it's used in PersistentElement which could be used at various places
2019-03-15 10:16:21 +01:00
Bruno Windels 891e343df6 create ResizeNotifier to derive which areas of the app resize and emit 2019-03-15 10:16:21 +01:00
Bruno Windels f71a9f10dd remove onChildResize in RoomView as it's unused 2019-03-15 10:16:21 +01:00
Bruno Windels 30d848b86e use AutoHideScrollbar in ScrollPanel 2019-03-15 10:16:21 +01:00
David Baker ac48ed8dad
Merge pull request #2797 from matrix-org/dbkr/fix_tag_panel
Fix the custom tag panel
2019-03-15 09:13:50 +00:00
David Baker 346919ed57 Fix the custom tag panel
https://github.com/matrix-org/matrix-react-sdk/pull/2780 renamed
RoomTooltip (to Tooltip) but missed the references in the custom
tag panel.
2019-03-15 09:02:24 +00:00
Bruno Windels 0b8196343f fix some tests 2019-03-15 09:57:26 +01:00
Travis Ralston fba4b7235f Add a confirmation prompt when upgrading the room via slashcommand
Wording is questionable here, but the idea is to discourage non-power-users from accidentally upgrading their room. They should already be receiving a bunch of warnings if they should consider upgrading in the first place.
2019-03-14 17:37:11 -06:00
Travis Ralston 788041a774 Warn that members won't be invited to the new room in room settings 2019-03-14 17:33:34 -06:00
Travis Ralston 5ded646db0 Warn that members won't be autojoined to upgraded rooms
Fixes https://github.com/vector-im/riot-web/issues/8173

Wording is questionable though.
2019-03-14 17:33:34 -06:00
Travis Ralston e4181c4e3e Make the EntityTile chevron a masked SVG for theming
Fixes https://github.com/vector-im/riot-web/issues/7320
2019-03-14 15:59:00 -06:00
Travis Ralston 56620286b5 Fix CSS syntax errors preventing offline member opacity from working
Fixes https://github.com/vector-im/riot-web/issues/9178
2019-03-14 15:13:35 -06:00
Travis Ralston caabf078ad i18n 2019-03-14 15:09:17 -06:00
Travis Ralston 278b2ab633 Update CompatibilityPage to match officially supported browsers
See https://github.com/vector-im/riot-web/pull/9177
2019-03-14 13:03:32 -06:00
Travis Ralston 5409db418c
Merge pull request #2786 from matrix-org/travis/you-are-not-alone
Ensure freshly invited members don't count towards the alone warning
2019-03-14 13:00:31 -06:00
Travis Ralston a551bf4a46
Only use exactly as many newlines as we need 2019-03-14 12:44:14 -06:00
J. Ryan Stinnett 990d6dec15 Fix initial letter avatar vertical offset in Firefox
In at least Firefox, the case of relative positioned inline elements (such as
mx_BaseAvatar) with absolute positioned children (such as mx_BaseAvatar_initial)
is a dark corner full of spider webs. It will give different results during full
reflow of the page vs. incremental reflow of small portions. While that's surely
a browser bug, we can avoid it by using `inline-block` instead of the default
`inline`.

Fixes https://github.com/vector-im/riot-web/issues/5594
Might help with https://github.com/vector-im/riot-web/issues/9088

See also https://bugzilla.mozilla.org/show_bug.cgi?id=1535053 and
https://bugzilla.mozilla.org/show_bug.cgi?id=255139 for more details on browser
behavior in this case.
2019-03-14 17:50:03 +00:00
Travis Ralston f2421d9af4
Merge pull request #2787 from matrix-org/travis/forgot-password-e2e
Fix 'forgot password' warning to represent the reality of e2ee
2019-03-14 08:40:22 -06:00
J. Ryan Stinnett ec51aee656 Remove refs from `RegistrationForm`
This aligns the code in `RegistrationForm` with other users of the `Field`
component. (In https://github.com/matrix-org/matrix-react-sdk/pull/2780, I had
thought that this code would be okay to leave alone, but I had missed the usage
of the `Field` value getter.)

Fixes https://github.com/vector-im/riot-web/issues/9172
2019-03-14 14:29:04 +00:00
Bruno Windels 955ec14db9 chrome apparently anchors the scroll position, which fights against our restore position logic. Disable it like this. 2019-03-14 15:04:09 +01:00
J. Ryan Stinnett b29aa3d13d
Merge pull request #2790 from jryans/reg-form-refs
Restore `Field` value getter for `RegistrationForm`
2019-03-14 13:04:20 +00:00
J. Ryan Stinnett c70925ab0d Restore `Field` value getter for `RegistrationForm`
When working on the `Field` validation support, I thought `RegistrationForm`'s
refs would be okay to leave as is, but I missed that they also depended on the
value getter.

For the moment, it's quicker to temporarily revive the value getter to get
registration working.

Fixes https://github.com/vector-im/riot-web/issues/9171
2019-03-14 12:29:00 +00:00
J. Ryan Stinnett 45063cad4a
Merge pull request #2780 from jryans/auth-validation
Initial portions of support for Field validation
2019-03-14 10:19:21 +00:00
Travis Ralston cab5f7aba4 Use the right branch for fetching dependencies 2019-03-13 22:44:09 -06:00
Travis Ralston bdc94f3847 Fix Chrome for Karma 2019-03-13 22:11:45 -06:00
Travis Ralston c63c6fce70 Linter doesn't need downstream projects 2019-03-13 18:33:45 -06:00
Travis Ralston 311c81fca0 Disable end-to-end tests for now 2019-03-13 17:56:53 -06:00
Travis Ralston 378bf68b43 Force the scripts to be executable in BuildKite 2019-03-13 17:55:51 -06:00
Travis Ralston fd23be9945 Remove Travis (CI) 2019-03-13 17:42:15 -06:00
Travis Ralston 618b2b1ae6 Add basic BuildKite :pipeline: 2019-03-13 17:42:05 -06:00
Travis Ralston 3d2b0f861c Clean up unused imports
For the almighty linter
2019-03-13 15:33:14 -06:00
Travis Ralston eb33af94d1 Fix 'forgot password' warning to represent the reality of e2ee
Fixes https://github.com/vector-im/riot-web/issues/6681
2019-03-13 15:24:05 -06:00
Travis Ralston 832660f751 Ensure freshly invited members don't count towards the alone warning
Fixes https://github.com/vector-im/riot-web/issues/7644

As explained in the code, members that have just been invited might not be counted in `getInvitedMemberCount()`, so we help the math along.
2019-03-13 14:06:34 -06:00
J. Ryan Stinnett 5bf6206578 Ignore package-lock.json in case of confused npm users 2019-03-13 15:49:01 +00:00
J. Ryan Stinnett ebaf083c1f Deduplicate log ignore 2019-03-13 15:44:56 +00:00
David Baker 77b0dc613f v1.0.4-rc.1 2019-03-13 14:54:17 +00:00
David Baker df234a8b94 Prepare changelog for v1.0.4-rc.1 2019-03-13 14:54:16 +00:00
David Baker 638d93f4f9 js-sdk rc.1 2019-03-13 14:49:06 +00:00
J. Ryan Stinnett e42560a216 Ignore *.log files, such as from npm or Yarn 2019-03-13 14:42:36 +00:00
David Baker bdc8508198
Merge pull request #2785 from RiotTranslateBot/weblate-riot-web-matrix-react-sdk
Update from Weblate
2019-03-13 14:09:03 +00:00
Weblate eb12984616 Merge branch 'origin/develop' into Weblate. 2019-03-13 14:05:08 +00:00
Paulo Miranda 97c5fe37e0 Translated using Weblate (Portuguese (Brazil))
Currently translated at 88.8% (1386 of 1560 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/pt_BR/
2019-03-13 14:05:04 +00:00
Szimszon 765e067139 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1560 of 1560 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2019-03-13 14:04:59 +00:00
Sheogorath 4f91b8112c Translated using Weblate (German)
Currently translated at 93.2% (1454 of 1560 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-03-13 14:04:56 +00:00