Commit graph

10269 commits

Author SHA1 Message Date
David Baker
8281bdf875 Actually add the dialog 2018-11-16 11:33:09 +00:00
David Baker
e112641524 Handle crypto db version upgrade
Display a dialog telling the user what the situation is with
options to sign out or continue withwout e2e.

Requires https://github.com/matrix-org/matrix-js-sdk/pull/785
2018-11-16 11:31:46 +00:00
Travis Ralston
8916c90fed Make the 'Accept' button for consent a little more friendly
Part of https://github.com/vector-im/riot-web/issues/7700
2018-11-15 20:26:37 -07:00
Richard van der Hoff
90f22c7b43 Support for m.login.sso
Adds support for the m.login.sso login type, which is handled the same way as
CAS, and also makes it look a bit nicer.
2018-11-15 19:05:39 +00:00
Karol Kosek
41abc8dcdc Translated using Weblate (Polish)
Currently translated at 93.5% (1194 of 1276 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2018-11-15 12:02:34 +00:00
Kévin C
1472b8f8d0 Translated using Weblate (French)
Currently translated at 100.0% (1276 of 1276 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-11-15 12:02:33 +00:00
Besnik Bleta
4e740eb136 Translated using Weblate (Albanian)
Currently translated at 56.0% (715 of 1276 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2018-11-15 12:01:39 +00:00
Travis Ralston
c8b38606cc Fix terms auth continue button CSS 2018-11-14 18:40:00 -07:00
Travis Ralston
2ffc024fab Add a dedicated "Continue" button to the terms auth stage
The button itself is conditionally enabled because the ILAG dialog already has a continue button. It'd be confusing to users to have 2 continue buttons on the same dialog, so this commit adds the structure required to pass along clicks from the dialog's button down to the UI auth component. 

The other place the continue button would appear is on the register page (not ILAG). The button's style is different here, however that will be improved in a later commit. 

Part of https://github.com/vector-im/riot-web/issues/7700
2018-11-14 18:26:35 -07:00
Travis Ralston
fe27fae80f Add m.login.terms to the ILAG-compatible flows
Otherwise we get "Registration Required" instead of "Pick a username"

Part of https://github.com/vector-im/riot-web/issues/7700
2018-11-14 17:59:24 -07:00
Bruno Windels
04bb9aad3a
Merge pull request #2276 from matrix-org/bwindels/timelinetypingnotif
Redesign: typing notifications in timeline
2018-11-14 10:24:31 +00:00
Bruno Windels
3d42ea1c0a use propper ellipsis character 2018-11-14 10:06:08 +01:00
Jeff Huang
11126e9f7a Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1276 of 1276 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2018-11-14 02:54:58 +00:00
Yuriy Bulka
5a4e22558f Translated using Weblate (Ukrainian)
Currently translated at 44.5% (569 of 1276 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/uk/
2018-11-13 17:58:51 +00:00
Kenneth Larsson
42acd7ea28 Translated using Weblate (Swedish)
Currently translated at 99.6% (1271 of 1276 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sv/
2018-11-13 17:58:51 +00:00
Suetsugu Kawamura
77cdad58ef Translated using Weblate (Japanese)
Currently translated at 100.0% (1276 of 1276 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2018-11-13 17:58:50 +00:00
Ciarán Ainsworth
a539667438 Translated using Weblate (English (United States))
Currently translated at 68.1% (870 of 1276 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/en_US/
2018-11-13 17:58:50 +00:00
Slavi Pantaleev
ed663ef654 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1276 of 1276 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-11-13 09:33:02 +00:00
Bruno Windels
ece549bf71 fix lint 2018-11-13 09:17:37 +01:00
Bruno Windels
ffc73c59b4 make padding and DOM more like event tile 2018-11-13 09:15:43 +01:00
Bruno Windels
8ddd2dd078 scroll down when showing typing notif and stuck at bottom 2018-11-13 09:15:16 +01:00
toriko
8a4fb3cb2f Translated using Weblate (Japanese)
Currently translated at 100.0% (1276 of 1276 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2018-11-13 01:31:49 +00:00
Bruno Windels
e2c57ba2ef add ... to translated string 2018-11-12 18:19:43 +01:00
Bruno Windels
20b8994714 simplify DOM and style to design 2018-11-12 18:19:18 +01:00
Bruno Windels
465d767bf1 remove typing notifications from status bar 2018-11-12 18:11:17 +01:00
Bruno Windels
7df47cbc87 move typing notifications to WhoIsTypingTile, shown in ScrollPanel 2018-11-12 16:09:51 +01:00
Bruno Windels
0f226853f5 add scroll indicator gradients to top and bottom of room sub list 2018-11-12 12:57:21 +01:00
Osoitz
df0bdabb83 Translated using Weblate (Basque)
Currently translated at 100.0% (1276 of 1276 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-11-11 11:46:27 +00:00
Vasyĺ V. Vercynśkyj
cec9cc7d66 Translated using Weblate (Ukrainian)
Currently translated at 40.5% (518 of 1276 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/uk/
2018-11-10 16:32:48 +00:00
Krombel
a050a0d556 Translated using Weblate (German)
Currently translated at 100.0% (1276 of 1276 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2018-11-10 15:30:28 +00:00
Weblate
e986e05a3f Merge remote-tracking branch 'origin/develop' into develop 2018-11-09 10:52:36 +00:00
Suetsugu Kawamura
08cb18d9ca Translated using Weblate (Japanese)
Currently translated at 100.0% (1276 of 1276 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2018-11-09 10:52:35 +00:00
Suetsugu Kawamura
8f7cab287e Translated using Weblate (Japanese)
Currently translated at 100.0% (1276 of 1276 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2018-11-09 00:13:04 +00:00
Szimszon
761f9d6336 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1276 of 1276 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-11-08 20:08:55 +00:00
Kévin C
f3aace1b3f Translated using Weblate (French)
Currently translated at 100.0% (1276 of 1276 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-11-08 17:01:10 +00:00
Weblate
d60710eaf3 Merge remote-tracking branch 'origin/develop' into develop 2018-11-08 16:30:44 +00:00
Suetsugu Kawamura
9533a33c88 Translated using Weblate (Japanese)
Currently translated at 99.9% (1273 of 1274 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2018-11-08 16:30:43 +00:00
Tirifto
bb1fedb361 Translated using Weblate (Esperanto)
Currently translated at 87.3% (1113 of 1274 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2018-11-08 16:30:43 +00:00
J. Ryan Stinnett
5e3af70a23 Translated using Weblate (English (United States))
Currently translated at 67.5% (860 of 1274 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/en_US/
2018-11-08 16:30:43 +00:00
Krombel
c39f436327 Added translation using Weblate (Romanian) 2018-11-08 14:55:41 +00:00
random
af5586c83d Translated using Weblate (Italian)
Currently translated at 100.0% (1274 of 1274 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2018-11-08 14:30:20 +00:00
Travis Ralston
5d804e1e57 Appease the linter 2018-11-07 17:01:47 -07:00
Travis Ralston
88bfe6fc39 debugging--; 2018-11-07 16:59:24 -07:00
Travis Ralston
9017635c79 Support room IDs and event permalinks in the join command
Mostly useful for power users who want to jump to places more easily.

Examples:
* `/join !somewhere:example.org`
* `/join !somewhere:example.org altserver.com` - to join through `altserver.com`
* `/goto https://matrix.to/#/!somewhere:example.org/$something:example.org?via=altserver.com`

Fixes https://github.com/vector-im/riot-web/issues/3248
Fixes https://github.com/vector-im/riot-web/issues/7543
2018-11-07 16:53:29 -07:00
Travis Ralston
aeef80fb1c
Merge pull request #2268 from jryans/guest-warning
Add visible guest warning to encourage login
2018-11-07 13:15:34 -07:00
Bruno Windels
883126a528 Merge branch 'experimental' into bwindels/memberqueryfield 2018-11-07 13:29:28 +01:00
Bruno Windels
9e95a1402c
Merge pull request #2269 from matrix-org/bwindels/roomlistpolish
Redesign: room list visual polish
2018-11-07 11:44:47 +00:00
J. Ryan Stinnett
975392cbbb Add visible guest warning to encourage login
If you happen to get logged out, it might not be very clear what has happened
visually. This adds a visible warning to the top of the home page to suggest
logging in.

Fixes vector-im/riot-web#7629.

Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-11-06 21:08:57 +01:00
Bruno Windels
b0a47da72c fix lint 2018-11-06 15:29:47 +01:00
Bruno Windels
c19b593f5c Merge branch 'develop' into experimental 2018-11-06 15:28:20 +01:00
Bruno Windels
4e773c2665 Make right panel a dark-panel instead of every descendant.
Also move bg color central.
2018-11-06 14:47:58 +01:00
Bruno Windels
92e43ea181 move filter member field to bottom of memberlist
reorganize styles as well
2018-11-06 14:47:11 +01:00
Bruno Windels
ba00c29351 ellipsis class not used anymore 2018-11-06 14:03:29 +01:00
Bruno Windels
3bd0bcde4b align room sub list header with design
also make css more maintainable with less hardcoded dimensions
2018-11-06 14:03:01 +01:00
Bruno Windels
c9dc273cb0 better native scrollbar width compensation for FF
instead of having to offset the padding of children of the
autohiding scrollbar container, which gets fiddly quickly,
add a new child to the scrollbar container that gets a negative
margin of the scrollbar width when needed
(on hover and overflowing when overlay is not supported).

This needs an extra DOM element, but as it doesn't do anything weird
layout-wise (like set position), it shouldn't affect styling at all.

It also makes the auto hide scrollbar workarounds completely transparent
to the rest of the code.
2018-11-06 11:37:49 +01:00
Bruno Windels
ef26189add add dedicated menu button to room tile with new design 2018-11-05 17:42:25 +01:00
Weblate
2b560dc4d6 Merge remote-tracking branch 'origin/develop' into develop 2018-11-05 15:49:36 +00:00
Suetsugu Kawamura
6df367f95a Translated using Weblate (Japanese)
Currently translated at 75.6% (964 of 1274 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2018-11-05 15:49:35 +00:00
Slavi Pantaleev
821cdc55c1 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1274 of 1274 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-11-05 15:49:35 +00:00
Bruno Windels
665d424758 use svg icon in add room button 2018-11-05 14:25:28 +01:00
Bruno Windels
05935db8fc don't show sublist header badge in collapsed mode
just not enough space
2018-11-05 14:25:07 +01:00
Bruno Windels
c0becc7664 fix roomtile badge
only put it in the dom if it has
anything to show as it has a border now in collapsed mode
2018-11-05 14:24:12 +01:00
Bruno Windels
3cd32e2f44 update search icon(s) 2018-11-05 13:07:49 +01:00
Bruno Windels
c6751e25e0 fix lint 2018-11-05 12:15:03 +01:00
Bruno Windels
6993dc034d always show badges in room sub list header 2018-11-05 10:35:50 +01:00
Bruno Windels
6db81edf6c restyle SearchBox & make it more reusable
as we can reuse it in the room header
2018-11-05 09:35:44 +01:00
Bruno Windels
064662380f support search icon in mx_textinput, use in memberlist 2018-11-05 09:35:27 +01:00
Bruno Windels
46389457e3 add input styling for light and dark panels (leftpanel vs room header) 2018-11-05 09:32:37 +01:00
Travis Ralston
ec2528e8b5
Update MatrixActionCreators.js 2018-11-04 23:00:47 -07:00
Travis Ralston
f9d5c11d8d Regenerate the room list when m.fully_read is issued
Not doing so results in the RoomListStore tracking stale data when the user reads messages on another device. The visual effect of this is rooms being incorrectly pinned in places they shouldn't be, such as the top of the list. This also fixes another visual bug where rooms don't move down once their timelines are read. This second issue is mot prominent when multiple rooms have been pinned to the top, and the middle one is read ahead of the others - it'll stick around until some other condition decides to wipe the room's cached state.

Fixes https://github.com/vector-im/riot-web/issues/7653
2018-11-04 19:47:24 -07:00
Krombel
450b226632 Translated using Weblate (German)
Currently translated at 100.0% (1274 of 1274 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2018-11-03 13:33:02 +00:00
Osoitz
578136fa30 Translated using Weblate (Basque)
Currently translated at 100.0% (1274 of 1274 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-11-03 08:24:10 +00:00
Slavi Pantaleev
50768327e2 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1274 of 1274 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-11-02 18:17:17 +00:00
Suetsugu Kawamura
ade9c7002a Translated using Weblate (Japanese)
Currently translated at 57.4% (732 of 1274 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2018-11-02 15:39:13 +00:00
Bruno Windels
1fbfddfa8a hide search field when left panel is collapsed
also remove collapse/expand button in search field
2018-11-02 15:29:18 +01:00
Bruno Windels
e29227db4e bring back "filter rooms" field
this does the filtering in RoomList instead of RoomSubList, so
we can hide sections that don't have any results.

The filtering does happen with every rerender of RoomList,
but only does something while searching, so the performance
implications are probably negligible.
2018-11-02 15:27:17 +01:00
Bruno Windels
9546df609e
Merge pull request #2260 from matrix-org/bwindels/rightpanelbelowheader
Redesign: move right panel below room/group header
2018-11-02 14:12:24 +00:00
Bruno Windels
9be4598a0e use main element for room/group view 2018-11-02 15:05:55 +01:00
Szimszon
1ba96b97ea Translated using Weblate (Hungarian)
Currently translated at 100.0% (1274 of 1274 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-11-02 12:07:03 +00:00
Kévin C
f7bc27413d Translated using Weblate (French)
Currently translated at 100.0% (1274 of 1274 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-11-02 09:01:44 +00:00
Weblate
c300514bc7 Merge remote-tracking branch 'origin/develop' into develop 2018-11-02 00:24:09 +00:00
Suetsugu Kawamura
6c908a3e08 Translated using Weblate (Japanese)
Currently translated at 34.3% (437 of 1274 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2018-11-02 00:24:09 +00:00
Travis Ralston
3960ae2fcd Add more commentary around how the roomCache works 2018-11-01 17:17:01 -06:00
Travis Ralston
a713cc5c52 Compare the right types of events 2018-11-01 17:07:05 -06:00
Travis Ralston
122868e32f Removing timing/performance tracking on room list store
This was used to verify the fix was actually making improvements and can be safely taken out.
2018-11-01 16:30:48 -06:00
Travis Ralston
0c7aadb92b Improve room list sort performance by caching common variables
This won't help much if the user is in a ton of highly active rooms, but for the most part this will help those in thousands of rooms, many of which are likely to be quiet. 

Fixes https://github.com/vector-im/riot-web/issues/7646
Fixes https://github.com/vector-im/riot-web/issues/7645 (due to timestamp ordering)
2018-11-01 16:28:13 -06:00
Travis Ralston
272acfa2f5 Appease the linter 2018-11-01 14:46:39 -06:00
Travis Ralston
5558b7a3b2 Avoid hitting the SettingsStore thousands of times when generating room lists
Should fix https://github.com/vector-im/riot-web/issues/7646 to some degree
2018-11-01 14:43:15 -06:00
Bruno Windels
4c5bd71114 fix lint 2018-11-01 17:56:08 +01:00
Bruno Windels
3e02f247c8 use AutoHideScrollbar in RoomSubList 2018-11-01 17:33:21 +01:00
Bruno Windels
03781e1327 AutoHideScrollbar component
shows scrollbar on hover when needed
has fallback to overflow: overlay
and fiddling with padding to make content not jump on hover.
2018-11-01 16:32:17 +01:00
Weblate
c818a360e8 Merge remote-tracking branch 'origin/develop' into develop 2018-11-01 14:04:20 +00:00
Karol Kosek
2589ce6a77 Translated using Weblate (Polish)
Currently translated at 93.8% (1194 of 1272 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2018-11-01 14:04:19 +00:00
Moo
4fbfc7cb4d Translated using Weblate (Lithuanian)
Currently translated at 69.3% (882 of 1272 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/lt/
2018-11-01 14:04:19 +00:00
Suetsugu Kawamura
c6854c0811 Translated using Weblate (Japanese)
Currently translated at 29.9% (381 of 1272 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ja/
2018-11-01 14:04:19 +00:00
Travis Ralston
57b99893e5
Merge pull request #1936 from turt2live/travis/pinned-room-list
Add options to pin unread/mentioned rooms to the top of the room list
2018-11-01 08:04:12 -06:00
David Baker
6d6e6b5a4e Remove cryptic abbreviation 2018-10-31 20:01:36 +00:00
David Baker
1a878fc77a Quote consistency 2018-10-31 19:56:34 +00:00
David Baker
23332e16c5 keyBackupStatus event now has crypto. prefix 2018-10-31 18:07:29 +00:00
Bruno Windels
7f72d5145a fix lint 2018-10-31 15:26:18 +01:00