Commit Graph

11493 Commits

Author SHA1 Message Date
Travis Ralston 64103b7af4 More micro optimizations to make the hot paths faster 2019-02-19 15:15:39 -07:00
Travis Ralston 561d1f37ec Stick a couple micro optimizations into the setRoomCategory hot path 2019-02-19 14:56:56 -07:00
Travis Ralston 7b732ceb43 Merge branch 'develop' into travis/better-room-sorting 2019-02-19 14:35:14 -07:00
J. Ryan Stinnett 6b46057283 Merge pull request #2663 from jryans/enable-captcha-desktop
Allow captchas on Riot desktop builds
2019-02-19 18:20:15 +00:00
J. Ryan Stinnett cba3897944 Merge pull request #2661 from jryans/captcha-stuck
Show link to login even during UI auth
2019-02-19 18:17:51 +00:00
J. Ryan Stinnett edf10dbdde Merge pull request #2659 from jryans/dark-theme-more-2
Dark theme follow ups round 2
2019-02-19 17:51:29 +00:00
J. Ryan Stinnett 1cde4abe6a Improve text layout above captcha 2019-02-19 13:59:15 +00:00
J. Ryan Stinnett 3c156218da Allow captchas on Riot desktop builds 2019-02-19 13:57:31 +00:00
J. Ryan Stinnett 198dee9abd Rename default theme to light theme 2019-02-19 13:27:35 +00:00
J. Ryan Stinnett 4c83d898bd Show link to login even during UI auth
This gives users an escape hatch in case something goes wrong with the UI auth
step, and they'd like to go somewhere else in the auth process.
2019-02-19 13:13:21 +00:00
Travis Ralston 424de00109 Merge pull request #2648 from matrix-org/travis/fix-room-settings
Add a bit of safety around reading events for room settings
2019-02-18 21:34:45 -07:00
J. Ryan Stinnett 5fb990eb5f Convert Markdown button to SVG mask
This makes it easier to theme via CSS, which helps with the dark theme.
2019-02-18 18:26:52 +00:00
J. Ryan Stinnett 09ed795c79 Allow theming member info minimise button 2019-02-18 16:02:10 +00:00
Travis Ralston cb15bc968c Remove excessive dispatch binding 2019-02-15 23:41:48 -07:00
Travis Ralston 53fa59f5a4 Remove old debugging code
The algorithm is correctly applied when these are removed.
2019-02-15 23:40:23 -07:00
Travis Ralston da4d1cfed4 Merge branch 'develop' into travis/better-room-sorting 2019-02-15 23:32:15 -07:00
Aaron Raimist 1e01f1b52a Fix typo "Scisors" -> "Scissors"
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2019-02-15 11:26:14 -06:00
Bruno Windels 05ddee6a6b remove dead code 2019-02-15 13:07:33 +01:00
Bruno Windels c39c0e4834 fix for the ... button not being aligned for group invite tiles 2019-02-15 13:07:33 +01:00
Bruno Windels dedaf0f5a2 disable lazy list rendering if extraTiles are provided 2019-02-15 13:07:33 +01:00
Travis Ralston f46df2ddd9 Add a bit of safety around reading events for room settings
Fixes https://github.com/vector-im/riot-web/issues/8530 and maybe https://github.com/vector-im/riot-web/issues/8641
2019-02-14 11:09:37 -07:00
Weblate 8b1506c0cb Merge remote-tracking branch 'origin/develop' into develop 2019-02-14 16:41:06 +00:00
J. Ryan Stinnett df5f0601aa Merge pull request #2641 from matrix-org/dbkr/remove_welcome_from_topleft
Remove 'welcome' from top-left menu
2019-02-14 16:40:39 +00:00
Weblate e208ac0939 Merge remote-tracking branch 'origin/develop' into develop 2019-02-14 16:39:13 +00:00
Samu Voutilainen 54f069fb29 Translated using Weblate (Finnish)
Currently translated at 61.3% (946 of 1543 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-02-14 16:39:07 +00:00
Slavi Pantaleev 8220bb0428 Translated using Weblate (Bulgarian)
Currently translated at 99.9% (1542 of 1543 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2019-02-14 16:39:07 +00:00
Travis Ralston 5c41e1f8df Turn on pin unread rooms for everyone 2019-02-14 09:33:46 -07:00
J. Ryan Stinnett ce68ff1214 Merge pull request #2640 from jryans/help-buoy
Update help buoy text and issue links
2019-02-14 16:17:34 +00:00
David Baker 93350c43a5 Put back this bind - it's an unrelated fix 2019-02-14 16:07:44 +00:00
Travis Ralston 37d1191c72 Add credit for cover photo usage
Fixes https://github.com/vector-im/riot-web/issues/8374
2019-02-14 09:04:15 -07:00
David Baker 7845a63506 Remove 'welcome' from top-left menu
Tjis is quite confusing as the welcome page is designed for when
you're not logged in, ie. has a sign-in button. There's also no way
to get back into the app so it really looks like it's logged you
out.

Reverts 116367fd69
2019-02-14 15:53:52 +00:00
J. Ryan Stinnett 2a3b05a321 Update help buoy text and issue links 2019-02-14 15:52:13 +00:00
Bruno Windels abf96fd420 Merge pull request #2638 from matrix-org/bwindels/typingnotifswhitespacefix2
Fix excessive timeline whitespace
2019-02-14 16:38:20 +01:00
Bruno Windels 9e260ad96b make sure we're at the bottom, although that seems to always be the case in this branch? 2019-02-14 16:19:58 +01:00
Bruno Windels 790e752b7a clear min-height on scroll 2019-02-14 16:11:38 +01:00
David Baker 690f3ede12 Merge pull request #2637 from matrix-org/dbkr/remove_white_screen_of_welcome
Remove the white screen of welcome
2019-02-14 13:46:44 +00:00
David Baker b242d03f7f lint 2019-02-14 12:52:38 +00:00
David Baker e5e355ed2d Remove the white screen of welcome
If there's no home page configured, view the first room.
2019-02-14 12:35:09 +00:00
Bruno Windels 107eb974d4 always rerender
as not all state that goes into rendering comes from state or props,
we shouldn't be blocking rendering at all

This might rerender a few times more, but it shouldn't be worse
than what was there before the redesigned roomlist.
2019-02-14 13:30:03 +01:00
Szimszon d9fdd3a127 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1543 of 1543 strings)

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

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-02-14 11:15:32 +00:00
Weblate 1271120d32 Merge remote-tracking branch 'origin/develop' into develop 2019-02-14 09:32:51 +00:00
Markel @wakutiteo 1c2d9d7222 Translated using Weblate (Spanish)
Currently translated at 73.6% (1138 of 1546 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/es/
2019-02-14 09:32:47 +00:00
tleydxdy 4c29a8422d Translated using Weblate (Chinese (Simplified))
Currently translated at 76.3% (1181 of 1546 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hans/
2019-02-14 09:32:46 +00:00
Travis Ralston 45a415f8bf Protection around lack of room for tests 2019-02-13 20:16:47 -07:00
Travis Ralston a2a13636ed Don't blow up when rooms have no timelines 2019-02-13 20:02:18 -07:00
Travis Ralston 0c7e0a264b Inline documentation 2019-02-13 19:49:28 -07:00
Travis Ralston b08ab6cd12 Fix boundary math calculations 2019-02-13 19:35:01 -07:00
Travis Ralston c0b63f986f Implement a cache on _tsOfNewestEvent: ~75% improvement 2019-02-13 19:16:11 -07:00
Travis Ralston 52f48f7422 Order by timestamp within the categorized room lists
When we load the page, all encrypted events arrive well after we've generated our initial grouping which can cause them to jump to the top of their categories wrongly. For direct chats, this meant that people who don't have a lot of unread messages would see ancient rooms bubbling to the top for no reason after the page has loaded.

We still have to track when the last category change was (ie: when we switched from red -> grey) so that when the category doesn't exist in the list we can insert the room at the right place (the start of the last category when we switch beyond the order expected).
2019-02-13 18:19:18 -07:00