From 66b69dfc264a72a1ed88993639158024964f064f Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 8 Feb 2019 18:39:52 +0000 Subject: [PATCH 01/43] Released js-sdk --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 9ea3989f20..5513fee403 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "linkifyjs": "^2.1.6", "lodash": "^4.13.1", "lolex": "2.3.2", - "matrix-js-sdk": "0.14.3", + "matrix-js-sdk": "1.0.0-rc.1", "optimist": "^0.6.1", "pako": "^1.0.5", "prop-types": "^15.5.8", From f18e2dc98b57a3989b7772ee959cd8aa80630a36 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 8 Feb 2019 18:44:00 +0000 Subject: [PATCH 02/43] Prepare changelog for v1.0.0-rc.1 --- CHANGELOG.md | 453 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 453 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7293b00d1b..cb4490d058 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,456 @@ +Changes in [1.0.0-rc.1](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v1.0.0-rc.1) (2019-02-08) +============================================================================================================= +[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v0.14.8...v1.0.0-rc.1) + + * Call isGuest correctly + [\#2603](https://github.com/matrix-org/matrix-react-sdk/pull/2603) + * Update from Weblate. + [\#2602](https://github.com/matrix-org/matrix-react-sdk/pull/2602) + * Prompt to restore backup rather than verify + [\#2594](https://github.com/matrix-org/matrix-react-sdk/pull/2594) + * Remove key backup & sas from labs + [\#2599](https://github.com/matrix-org/matrix-react-sdk/pull/2599) + * Update avatar colors + [\#2600](https://github.com/matrix-org/matrix-react-sdk/pull/2600) + * Fix: typeerror when creating DM + [\#2601](https://github.com/matrix-org/matrix-react-sdk/pull/2601) + * Render disabled mxField textareas as disabled + [\#2591](https://github.com/matrix-org/matrix-react-sdk/pull/2591) + * SDK support for welcome page + [\#2597](https://github.com/matrix-org/matrix-react-sdk/pull/2597) + * Change SAS to decimal / emoji + [\#2596](https://github.com/matrix-org/matrix-react-sdk/pull/2596) + * Render join rules and guest access changes in the timeline + [\#2592](https://github.com/matrix-org/matrix-react-sdk/pull/2592) + * Ensure toggle switches listen to property changes + [\#2590](https://github.com/matrix-org/matrix-react-sdk/pull/2590) + * Local echo on room access settings + [\#2593](https://github.com/matrix-org/matrix-react-sdk/pull/2593) + * guard custom tags with feature flag + [\#2589](https://github.com/matrix-org/matrix-react-sdk/pull/2589) + * remove ll feature flag, it's time! + [\#2588](https://github.com/matrix-org/matrix-react-sdk/pull/2588) + * Trust on decrypt + [\#2583](https://github.com/matrix-org/matrix-react-sdk/pull/2583) + * Remove click-to-verify from SAS + [\#2586](https://github.com/matrix-org/matrix-react-sdk/pull/2586) + * Fix: make sure custom tag scroller doesn't overflow parent + [\#2587](https://github.com/matrix-org/matrix-react-sdk/pull/2587) + * Fix: throttle custom tags updating in LLP + [\#2585](https://github.com/matrix-org/matrix-react-sdk/pull/2585) + * Fix firefox scrolling settings tabs differently + [\#2579](https://github.com/matrix-org/matrix-react-sdk/pull/2579) + * Actually change power levels when they are changed + [\#2580](https://github.com/matrix-org/matrix-react-sdk/pull/2580) + * Fix: logging in again breaks CustomRoomTagStore + [\#2584](https://github.com/matrix-org/matrix-react-sdk/pull/2584) + * Fix: click on notif badge + [\#2582](https://github.com/matrix-org/matrix-react-sdk/pull/2582) + * Extend slash command '/topic' to display the room topic + [\#2532](https://github.com/matrix-org/matrix-react-sdk/pull/2532) + * Fix: community badges + [\#2581](https://github.com/matrix-org/matrix-react-sdk/pull/2581) + * Bring back custom tags, also badges on communities + [\#2575](https://github.com/matrix-org/matrix-react-sdk/pull/2575) + * Style reset password to match design + [\#2578](https://github.com/matrix-org/matrix-react-sdk/pull/2578) + * Key Backup: Don't fail if no keys + [\#2577](https://github.com/matrix-org/matrix-react-sdk/pull/2577) + * Remove old user and room settings + [\#2554](https://github.com/matrix-org/matrix-react-sdk/pull/2554) + * increase debouncing of filtering because its quite laggy atm + [\#2576](https://github.com/matrix-org/matrix-react-sdk/pull/2576) + * Tweak field padding to avoid overlapping with selected text + [\#2573](https://github.com/matrix-org/matrix-react-sdk/pull/2573) + * Adapt login flow for the v2 design + [\#2574](https://github.com/matrix-org/matrix-react-sdk/pull/2574) + * Remove the arrow-paren lint rule + [\#2572](https://github.com/matrix-org/matrix-react-sdk/pull/2572) + * Ensure we show registration form when custom URLs are disabled + [\#2571](https://github.com/matrix-org/matrix-react-sdk/pull/2571) + * Fix: search term disappears when collapsing and expanding left panel + [\#2568](https://github.com/matrix-org/matrix-react-sdk/pull/2568) + * Fix: 'jump to bottom' creates big amounts of whitespace at the bottom + [\#2567](https://github.com/matrix-org/matrix-react-sdk/pull/2567) + * Fix: being able to size sections in leftpanel larger than their content + while filtering + [\#2566](https://github.com/matrix-org/matrix-react-sdk/pull/2566) + * Redesign: widget makeover + [\#2565](https://github.com/matrix-org/matrix-react-sdk/pull/2565) + * Restore dropdown chevron to right + [\#2564](https://github.com/matrix-org/matrix-react-sdk/pull/2564) + * Remove warning about encryption being beta + [\#2563](https://github.com/matrix-org/matrix-react-sdk/pull/2563) + * Add e2e icon to room header/composer/member info, more ... + [\#2557](https://github.com/matrix-org/matrix-react-sdk/pull/2557) + * Remove guest warning bar + [\#2562](https://github.com/matrix-org/matrix-react-sdk/pull/2562) + * Style tweaks to support auth background + [\#2561](https://github.com/matrix-org/matrix-react-sdk/pull/2561) + * Set a minimum width on the settings tab content + [\#2560](https://github.com/matrix-org/matrix-react-sdk/pull/2560) + * Fix exception while saving room settings + [\#2555](https://github.com/matrix-org/matrix-react-sdk/pull/2555) + * Disable old settings, making tabbed settings the default + [\#2559](https://github.com/matrix-org/matrix-react-sdk/pull/2559) + * fix UnknownDeviceDialog layout + [\#2558](https://github.com/matrix-org/matrix-react-sdk/pull/2558) + * Misc fixes to settings + [\#2553](https://github.com/matrix-org/matrix-react-sdk/pull/2553) + * Add error message when registration is disabled + [\#2548](https://github.com/matrix-org/matrix-react-sdk/pull/2548) + * Hide registration fields that aren't used by any flow + [\#2551](https://github.com/matrix-org/matrix-react-sdk/pull/2551) + * Ensure correct server URLs with .well-known and server type + [\#2547](https://github.com/matrix-org/matrix-react-sdk/pull/2547) + * Spell homeserver correctly + [\#2552](https://github.com/matrix-org/matrix-react-sdk/pull/2552) + * Auto-focus username on registration + [\#2546](https://github.com/matrix-org/matrix-react-sdk/pull/2546) + * Fixed settings dialog header; Adjust padding on dialog + [\#2549](https://github.com/matrix-org/matrix-react-sdk/pull/2549) + * Fix empty lightbox when there is no avatarUrl + [\#2314](https://github.com/matrix-org/matrix-react-sdk/pull/2314) + * make overflow gradients much smaller and turn bottom into drop shadow + [\#2544](https://github.com/matrix-org/matrix-react-sdk/pull/2544) + * Make auth validation less annoying + [\#2539](https://github.com/matrix-org/matrix-react-sdk/pull/2539) + * layout composer independent of avatar being present + [\#2545](https://github.com/matrix-org/matrix-react-sdk/pull/2545) + * Matthew/cyrillic + [\#2543](https://github.com/matrix-org/matrix-react-sdk/pull/2543) + * Allow expanding the left panel manually when in narrow mode + [\#2541](https://github.com/matrix-org/matrix-react-sdk/pull/2541) + * Redesign: community page cleanup + [\#2538](https://github.com/matrix-org/matrix-react-sdk/pull/2538) + * Redesign: Disable ILAG + [\#2536](https://github.com/matrix-org/matrix-react-sdk/pull/2536) + * Use custom appearance and arrow for field selects + [\#2540](https://github.com/matrix-org/matrix-react-sdk/pull/2540) + * Fix typo + [\#2537](https://github.com/matrix-org/matrix-react-sdk/pull/2537) + * Merge redesign into develop + [\#2535](https://github.com/matrix-org/matrix-react-sdk/pull/2535) + * disable e2e tests everywhere as redesign breaks them for now + [\#2534](https://github.com/matrix-org/matrix-react-sdk/pull/2534) + * avoid horizontal scrollbar in composer when placeholder doesn't fit + [\#2533](https://github.com/matrix-org/matrix-react-sdk/pull/2533) + * fix dropdown style when input is shown + [\#2531](https://github.com/matrix-org/matrix-react-sdk/pull/2531) + * Redesign: tiny fix: stretch device label in member info if content doesn't + fill it + [\#2530](https://github.com/matrix-org/matrix-react-sdk/pull/2530) + * Style registration flow + [\#2527](https://github.com/matrix-org/matrix-react-sdk/pull/2527) + * Redesign: small member info panel makeover + [\#2522](https://github.com/matrix-org/matrix-react-sdk/pull/2522) + * Render the home page when viewing the directory + [\#2529](https://github.com/matrix-org/matrix-react-sdk/pull/2529) + * Fix indentation on all new settings CSS + [\#2528](https://github.com/matrix-org/matrix-react-sdk/pull/2528) + * Round 1 of misc fixes for settings + [\#2526](https://github.com/matrix-org/matrix-react-sdk/pull/2526) + * Implement the Security & Privacy tab of new room settings + [\#2523](https://github.com/matrix-org/matrix-react-sdk/pull/2523) + * Implement the Advanced tab of new room settings + [\#2525](https://github.com/matrix-org/matrix-react-sdk/pull/2525) + * Implement the Roles & Permissions tab of new room settings + [\#2524](https://github.com/matrix-org/matrix-react-sdk/pull/2524) + * Redesign: room directory makeover + [\#2519](https://github.com/matrix-org/matrix-react-sdk/pull/2519) + * Iterate upon the room upgrade warning bar + [\#2518](https://github.com/matrix-org/matrix-react-sdk/pull/2518) + * redesign: small fixes + [\#2520](https://github.com/matrix-org/matrix-react-sdk/pull/2520) + * Implement the "general" tab of new room settings + [\#2516](https://github.com/matrix-org/matrix-react-sdk/pull/2516) + * Tweak auth overflow on Windows and Linux + [\#2521](https://github.com/matrix-org/matrix-react-sdk/pull/2521) + * Redesign: switch layout when filtering room sublists + [\#2515](https://github.com/matrix-org/matrix-react-sdk/pull/2515) + * Make native scrollbars prettier + [\#2470](https://github.com/matrix-org/matrix-react-sdk/pull/2470) + * Add server type selector and style login flow + [\#2517](https://github.com/matrix-org/matrix-react-sdk/pull/2517) + * Implement flair tab in user settings + [\#2512](https://github.com/matrix-org/matrix-react-sdk/pull/2512) + * Override UA/OS styles for disabled Field selects + [\#2502](https://github.com/matrix-org/matrix-react-sdk/pull/2502) + * Be more positive with setting labels + [\#2504](https://github.com/matrix-org/matrix-react-sdk/pull/2504) + * Redesign: new roomlist layout fixes + [\#2514](https://github.com/matrix-org/matrix-react-sdk/pull/2514) + * Redesign: new layout algorithm for room sublists. + [\#2507](https://github.com/matrix-org/matrix-react-sdk/pull/2507) + * Short-Authentication-String Verification + [\#2461](https://github.com/matrix-org/matrix-react-sdk/pull/2461) + * Fix unmount TypeError in `DeviceVerifyButtons` + [\#2513](https://github.com/matrix-org/matrix-react-sdk/pull/2513) + * Remove support for team servers + [\#2511](https://github.com/matrix-org/matrix-react-sdk/pull/2511) + * Initial structure for new room settings + [\#2510](https://github.com/matrix-org/matrix-react-sdk/pull/2510) + * Tweak wording on logout warning + [\#2509](https://github.com/matrix-org/matrix-react-sdk/pull/2509) + * Fix NPE in RoomRecoveryReminder + [\#2508](https://github.com/matrix-org/matrix-react-sdk/pull/2508) + * New text/caption for key backup by verifying device + [\#2506](https://github.com/matrix-org/matrix-react-sdk/pull/2506) + * Implement the "Security & Privacy" tab of new user settings + [\#2499](https://github.com/matrix-org/matrix-react-sdk/pull/2499) + * Add simple animations to toggle switches + [\#2505](https://github.com/matrix-org/matrix-react-sdk/pull/2505) + * Default a Field's placeholder to the label + [\#2503](https://github.com/matrix-org/matrix-react-sdk/pull/2503) + * Have the settings dialog be fixed in size + [\#2501](https://github.com/matrix-org/matrix-react-sdk/pull/2501) + * Implement the "Help & About" tab of new user settings + [\#2500](https://github.com/matrix-org/matrix-react-sdk/pull/2500) + * Implement the "Voice & Video" tab of new user settings + [\#2498](https://github.com/matrix-org/matrix-react-sdk/pull/2498) + * Add widget screenshots to the Labs section + [\#2497](https://github.com/matrix-org/matrix-react-sdk/pull/2497) + * Implement the "Preferences" tab on new user settings + [\#2495](https://github.com/matrix-org/matrix-react-sdk/pull/2495) + * Add target="_blank" to links that don't have it + [\#2496](https://github.com/matrix-org/matrix-react-sdk/pull/2496) + * Implement the "Notifications" tab of new user settings + [\#2494](https://github.com/matrix-org/matrix-react-sdk/pull/2494) + * Implement the "Labs" tab of new user settings + [\#2492](https://github.com/matrix-org/matrix-react-sdk/pull/2492) + * Implement the "General" tab of new user settings + [\#2491](https://github.com/matrix-org/matrix-react-sdk/pull/2491) + * Appease linter in auth related files + [\#2493](https://github.com/matrix-org/matrix-react-sdk/pull/2493) + * Update text and links in authentication flows + [\#2489](https://github.com/matrix-org/matrix-react-sdk/pull/2489) + * Move LanguageSelector to views + [\#2490](https://github.com/matrix-org/matrix-react-sdk/pull/2490) + * Restyle auth page language selector + [\#2488](https://github.com/matrix-org/matrix-react-sdk/pull/2488) + * Fix desktop captcha check + [\#2487](https://github.com/matrix-org/matrix-react-sdk/pull/2487) + * Basic structure for tabbed user settings + [\#2476](https://github.com/matrix-org/matrix-react-sdk/pull/2476) + * Token encouragement if zxcvbn gives no feedback + [\#2471](https://github.com/matrix-org/matrix-react-sdk/pull/2471) + * Fix: show rooms and people section when empty while filtering + [\#2481](https://github.com/matrix-org/matrix-react-sdk/pull/2481) + * Fix AuthFooter CSS rules conflicting with anchors all over the app + [\#2486](https://github.com/matrix-org/matrix-react-sdk/pull/2486) + * Support selects on Field + [\#2484](https://github.com/matrix-org/matrix-react-sdk/pull/2484) + * Fix integrations server error popup being hidden behind right panel + [\#2482](https://github.com/matrix-org/matrix-react-sdk/pull/2482) + * Fix: apparently room can be null here + [\#2480](https://github.com/matrix-org/matrix-react-sdk/pull/2480) + * Redesign: pull jump to bottom button out of room status bar + [\#2478](https://github.com/matrix-org/matrix-react-sdk/pull/2478) + * Redesign: set default size of 350px for left panel + [\#2479](https://github.com/matrix-org/matrix-react-sdk/pull/2479) + * Avoid "jumpiness" with inline typing indicator + [\#2456](https://github.com/matrix-org/matrix-react-sdk/pull/2456) + * De-lint CompatabilityPage & LoggedInView + [\#2472](https://github.com/matrix-org/matrix-react-sdk/pull/2472) + * Remove Status theme-specific hacks + [\#2473](https://github.com/matrix-org/matrix-react-sdk/pull/2473) + * Error if no sessions decrypted + [\#2469](https://github.com/matrix-org/matrix-react-sdk/pull/2469) + * Fix settings direct chat + [\#2466](https://github.com/matrix-org/matrix-react-sdk/pull/2466) + * Show verify button when we have a device to verify + [\#2464](https://github.com/matrix-org/matrix-react-sdk/pull/2464) + * Redesign: Add a form field component + [\#2463](https://github.com/matrix-org/matrix-react-sdk/pull/2463) + * Load fonts and images via source-relative URLs and requires + [\#2460](https://github.com/matrix-org/matrix-react-sdk/pull/2460) + * Say when backup is signed by unknown device + [\#2455](https://github.com/matrix-org/matrix-react-sdk/pull/2455) + * Add an /upgraderoom command to make upgrading easier for development + [\#2458](https://github.com/matrix-org/matrix-react-sdk/pull/2458) + * Merge develop->experimental + [\#2457](https://github.com/matrix-org/matrix-react-sdk/pull/2457) + * Fix: show hand cursor in topleft menu so its clear you can click it + [\#2454](https://github.com/matrix-org/matrix-react-sdk/pull/2454) + * Fix: search makeover missing icons + [\#2453](https://github.com/matrix-org/matrix-react-sdk/pull/2453) + * Redesign: search makeover + [\#2448](https://github.com/matrix-org/matrix-react-sdk/pull/2448) + * Revert "Tiled room UI" + [\#2451](https://github.com/matrix-org/matrix-react-sdk/pull/2451) + * Update from Weblate. + [\#2452](https://github.com/matrix-org/matrix-react-sdk/pull/2452) + * Improve room sublist resizing + [\#2440](https://github.com/matrix-org/matrix-react-sdk/pull/2440) + * Different dialog for new trusted backup + [\#2435](https://github.com/matrix-org/matrix-react-sdk/pull/2435) + * De-lint a few more files + [\#2436](https://github.com/matrix-org/matrix-react-sdk/pull/2436) + * Recalculate the visible rooms when rooms are upgraded + [\#2433](https://github.com/matrix-org/matrix-react-sdk/pull/2433) + * Navigate to the upgraded room's create event where possible + [\#2432](https://github.com/matrix-org/matrix-react-sdk/pull/2432) + * Don't show rooms with tombstones in the address picker + [\#2429](https://github.com/matrix-org/matrix-react-sdk/pull/2429) + * Add separate dialog for recovery method removed + [\#2427](https://github.com/matrix-org/matrix-react-sdk/pull/2427) + * Set which servers to try and join upgraded rooms through + [\#2428](https://github.com/matrix-org/matrix-react-sdk/pull/2428) + * Render a tile for tombstone events + [\#2430](https://github.com/matrix-org/matrix-react-sdk/pull/2430) + * Regenerate en_EN.json to sort entries + [\#2431](https://github.com/matrix-org/matrix-react-sdk/pull/2431) + * Key backup: Debounce passphrase feedback + [\#2426](https://github.com/matrix-org/matrix-react-sdk/pull/2426) + * Set backup niggles: 2 + [\#2425](https://github.com/matrix-org/matrix-react-sdk/pull/2425) + * Fix lint errors in MessageComposerInput + [\#2423](https://github.com/matrix-org/matrix-react-sdk/pull/2423) + * Set backup niggles: 1 + [\#2424](https://github.com/matrix-org/matrix-react-sdk/pull/2424) + * PoC: Add simple state counters to room heading + [\#2388](https://github.com/matrix-org/matrix-react-sdk/pull/2388) + * Fix a few things with cancelling recovery reminder + [\#2420](https://github.com/matrix-org/matrix-react-sdk/pull/2420) + * Add spaces back to async arrow functions + [\#2422](https://github.com/matrix-org/matrix-react-sdk/pull/2422) + * fix grid growing wider than viewport on chrome + [\#2421](https://github.com/matrix-org/matrix-react-sdk/pull/2421) + * Tiled room UI + [\#2348](https://github.com/matrix-org/matrix-react-sdk/pull/2348) + * Fix path to New Recovery Method icon + [\#2417](https://github.com/matrix-org/matrix-react-sdk/pull/2417) + * run unit tests on riot-web like before + [\#2419](https://github.com/matrix-org/matrix-react-sdk/pull/2419) + * Refactor travis-ci to use parallel jobs + [\#2414](https://github.com/matrix-org/matrix-react-sdk/pull/2414) + * Fix black-on-black GIF icon for stickers + [\#2408](https://github.com/matrix-org/matrix-react-sdk/pull/2408) + * Don't reset cached room list values when they are falsey + [\#2413](https://github.com/matrix-org/matrix-react-sdk/pull/2413) + * Make logout warning nag about key backups + [\#2407](https://github.com/matrix-org/matrix-react-sdk/pull/2407) + * Clarify readme instructions for developers + [\#2404](https://github.com/matrix-org/matrix-react-sdk/pull/2404) + * Add slash command for changing room name + [\#2401](https://github.com/matrix-org/matrix-react-sdk/pull/2401) + * Flatten and simplify the memberlist sorting algorithm + [\#2381](https://github.com/matrix-org/matrix-react-sdk/pull/2381) + * Tiny fixes for custom status messages on experimental + [\#2403](https://github.com/matrix-org/matrix-react-sdk/pull/2403) + * Part 3 of 3: Apply today's changes to experimental again + [\#2400](https://github.com/matrix-org/matrix-react-sdk/pull/2400) + * Part 2 of 3: Merge develop->experimental minus #2336 + [\#2399](https://github.com/matrix-org/matrix-react-sdk/pull/2399) + * Part 1 of 3: Back out bad merge for develop->experimental + [\#2398](https://github.com/matrix-org/matrix-react-sdk/pull/2398) + * Fix browser navigation not working between /home, /login, /register, etc + [\#2383](https://github.com/matrix-org/matrix-react-sdk/pull/2383) + * Don't re-sort the room list if the user is hovering over it + [\#2396](https://github.com/matrix-org/matrix-react-sdk/pull/2396) + * Merge develop into experimental + [\#2395](https://github.com/matrix-org/matrix-react-sdk/pull/2395) + * Added colour var to all themes + [\#2379](https://github.com/matrix-org/matrix-react-sdk/pull/2379) + * Colour, contrast & legibility improvements + [\#2378](https://github.com/matrix-org/matrix-react-sdk/pull/2378) + * Redesign: add feedback dialog & button in tag panel + [\#2376](https://github.com/matrix-org/matrix-react-sdk/pull/2376) + * Redesign: add badge with dot to rm button, to see it catches your eye better + [\#2371](https://github.com/matrix-org/matrix-react-sdk/pull/2371) + * Fix misaligned (+) icon + [\#2374](https://github.com/matrix-org/matrix-react-sdk/pull/2374) + * Avoid 'transparent black' gradients in left panel + [\#2373](https://github.com/matrix-org/matrix-react-sdk/pull/2373) + * Normalised icons + [\#2370](https://github.com/matrix-org/matrix-react-sdk/pull/2370) + * Redesign: give right panel default width + [\#2369](https://github.com/matrix-org/matrix-react-sdk/pull/2369) + * Redesign: Fix login field looking inline + [\#2368](https://github.com/matrix-org/matrix-react-sdk/pull/2368) + * Redesign: select search query on focus + [\#2367](https://github.com/matrix-org/matrix-react-sdk/pull/2367) + * Redesign: fix remaining right panel collapse issues. + [\#2366](https://github.com/matrix-org/matrix-react-sdk/pull/2366) + * Redesign: left panel fixes + [\#2364](https://github.com/matrix-org/matrix-react-sdk/pull/2364) + * Redesign: allow to hide the right panel when clicking already active button + & persist + [\#2361](https://github.com/matrix-org/matrix-react-sdk/pull/2361) + * Redesign: make room tiles less high so more rooms fit on the screen + [\#2359](https://github.com/matrix-org/matrix-react-sdk/pull/2359) + * Redesign: ignore any unknown tags + [\#2358](https://github.com/matrix-org/matrix-react-sdk/pull/2358) + * Redesign: disable setting theme completely + [\#2357](https://github.com/matrix-org/matrix-react-sdk/pull/2357) + * Force use of dharma theme + [\#2355](https://github.com/matrix-org/matrix-react-sdk/pull/2355) + * Redesign: some small fixes + [\#2354](https://github.com/matrix-org/matrix-react-sdk/pull/2354) + * Redesign: restyle jump to first unread message & rework read marker logic + (rebased) + [\#2345](https://github.com/matrix-org/matrix-react-sdk/pull/2345) + * Redesign: fix add room button alignment when collapsed + [\#2343](https://github.com/matrix-org/matrix-react-sdk/pull/2343) + * Redesign: confirm sign out from top left menu + [\#2342](https://github.com/matrix-org/matrix-react-sdk/pull/2342) + * Redesign: fix room header avatar in edit mode + [\#2344](https://github.com/matrix-org/matrix-react-sdk/pull/2344) + * Redesign: make community UX usable + [\#2341](https://github.com/matrix-org/matrix-react-sdk/pull/2341) + * Redesign: resizer persistence + [\#2321](https://github.com/matrix-org/matrix-react-sdk/pull/2321) + * Redesign: improve room sub list sizing & persist sizes + [\#2297](https://github.com/matrix-org/matrix-react-sdk/pull/2297) + * Redesign: temp solution to make room settings usable + [\#2298](https://github.com/matrix-org/matrix-react-sdk/pull/2298) + * Redesign: typing notifications in timeline + [\#2276](https://github.com/matrix-org/matrix-react-sdk/pull/2276) + * Redesign: add scroll indicator gradients to top and bottom of room sub list + [\#2275](https://github.com/matrix-org/matrix-react-sdk/pull/2275) + * Redesign: move member query field to bottom of member list + [\#2270](https://github.com/matrix-org/matrix-react-sdk/pull/2270) + * Redesign: room list visual polish + [\#2269](https://github.com/matrix-org/matrix-react-sdk/pull/2269) + * Redesign: bring back & restyle room filter field + [\#2267](https://github.com/matrix-org/matrix-react-sdk/pull/2267) + * Redesign: increase interaction rectangle of resize handles + [\#2262](https://github.com/matrix-org/matrix-react-sdk/pull/2262) + * Redesign: move right panel below room/group header + [\#2260](https://github.com/matrix-org/matrix-react-sdk/pull/2260) + * Redesign: use native auto-hiding scrollbars in room sub lists + [\#2264](https://github.com/matrix-org/matrix-react-sdk/pull/2264) + * Redesign: basic makeover of member info panel + [\#2248](https://github.com/matrix-org/matrix-react-sdk/pull/2248) + * Redesign: memberlist basic makeover + [\#2245](https://github.com/matrix-org/matrix-react-sdk/pull/2245) + * Redesign: tweak room list font sizes + [\#2246](https://github.com/matrix-org/matrix-react-sdk/pull/2246) + * Redesign: Fix room lists sizing + [\#2234](https://github.com/matrix-org/matrix-react-sdk/pull/2234) + * Redesign: fix import path + [\#2243](https://github.com/matrix-org/matrix-react-sdk/pull/2243) + * Redesign: update (most) icons + [\#2241](https://github.com/matrix-org/matrix-react-sdk/pull/2241) + * Redesign: fix basic room header layout + [\#2240](https://github.com/matrix-org/matrix-react-sdk/pull/2240) + * Redesign: 1st go at top left menu & restyling context menus + [\#2239](https://github.com/matrix-org/matrix-react-sdk/pull/2239) + * Redesign: Initial timeline tweaks + [\#2238](https://github.com/matrix-org/matrix-react-sdk/pull/2238) + * Redesign: Align visuals of room list with design + [\#2233](https://github.com/matrix-org/matrix-react-sdk/pull/2233) + * Redesign: room section header tidbits + [\#2229](https://github.com/matrix-org/matrix-react-sdk/pull/2229) + * Redesign: Add (+) button in room section header to add rooms + [\#2228](https://github.com/matrix-org/matrix-react-sdk/pull/2228) + * Redesign: 1st go at resizing room sublists + [\#2226](https://github.com/matrix-org/matrix-react-sdk/pull/2226) + * Redesign: remove room list truncation and DND + [\#2224](https://github.com/matrix-org/matrix-react-sdk/pull/2224) + * Redesign: resizeable/collapsible sections + [\#2210](https://github.com/matrix-org/matrix-react-sdk/pull/2210) + Changes in [0.14.8](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v0.14.8) (2019-01-22) ===================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v0.14.8-rc.1...v0.14.8) From e98bcf95d071f7edc83188c181a4d89a9bac1899 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 8 Feb 2019 18:44:00 +0000 Subject: [PATCH 03/43] v1.0.0-rc.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 5513fee403..034db77b3f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "matrix-react-sdk", - "version": "0.14.8", + "version": "1.0.0-rc.1", "description": "SDK for matrix.org using React", "author": "matrix.org", "repository": { From 42659464afeec452cca287278dc544ded41a5a54 Mon Sep 17 00:00:00 2001 From: Szimszon Date: Wed, 13 Feb 2019 10:30:55 +0000 Subject: [PATCH 04/43] Translated using Weblate (Hungarian) Currently translated at 100.0% (1546 of 1546 strings) Translation: Riot Web/matrix-react-sdk Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/ --- src/i18n/strings/hu.json | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/src/i18n/strings/hu.json b/src/i18n/strings/hu.json index 29939b20c6..bee5a778fb 100644 --- a/src/i18n/strings/hu.json +++ b/src/i18n/strings/hu.json @@ -1738,5 +1738,40 @@ "This homeserver does not support login using email address.": "Ezen a Matrix szerveren nem tudsz e-mail címmel bejelentkezni.", "Guest access is disabled on this homeserver.": "A vendég felhasználók le vannak tiltva ezen a Matrix szerveren.", "Registration has been disabled on this homeserver.": "A fiókkészítés le van tiltva ezen a Matrix szerveren.", - "Unable to query for supported registration methods.": "A támogatott regisztrációs módokat nem lehet lekérdezni." + "Unable to query for supported registration methods.": "A támogatott regisztrációs módokat nem lehet lekérdezni.", + "Show recent room avatars above the room list (refresh to apply changes)": "Mutasd a legutóbbi szoba profilképét a szobák listája felett (a változtatáshoz frissítsd az oldalt)", + "Are you sure? You will lose your encrypted messages if your keys are not backed up properly.": "Biztos vagy benne? Ha a kulcsaid nincsenek megfelelően elmentve elveszted a titkosított üzeneteidet.", + "Encrypted messages are secured with end-to-end encryption. Only you and the recipient(s) have the keys to read these messages.": "A titkosított üzenetek végponttól végpontig titkosítással védettek. Csak neked és a címzetteknek lehet meg a kulcs az üzenet visszafejtéséhez.", + "Restore from Backup": "Visszaállítás mentésből", + "This device is backing up your keys. ": "Ez az eszköz elmenti a kulcsaidat. ", + "This device is not backing up your keys.": "Ez az eszköz nem menti el a kulcsaidat.", + "Back up your keys before signing out to avoid losing them.": "Ments el a kulcsaidat mielőtt kijelentkezel, hogy ne veszítsd el őket.", + "Use key backup": "Kulcs mentés használata", + "Your keys are not being backed up from this device.": "A kulcsaid erről az eszközről nem lesznek mentve.", + "Start using Key Backup": "Kulcs mentés használatának megkezdése", + "Use Key Backup": "Kulcs mentés használata", + "Never lose encrypted messages": "Soha ne veszíts el titkosított üzenetet", + "Messages in this room are secured with end-to-end encryption. Only you and the recipient(s) have the keys to read these messages.": "A szobában az üzenetek végponttól végpontig titkosítva vannak. Csak neked és a címzetteknek vannak meg a kulcsok az üzenetek visszafejtéséhez.", + "Securely back up your keys to avoid losing them. Learn more.": "Mentsd el megfelelően a kulcsaidat, hogy ne vesszenek el. Tudj meg róla többet.", + "Not now": "Most nem", + "Don't ask me again": "Ne kérdezz többet", + "Nothing appearing? Not all clients support interactive verification yet. .": "Nem jelent meg semmi? Az interaktív hitelesítést még nem minden kliens támogatja. .", + "I don't want my encrypted messages": "Nincs szükségem a titkosított üzeneteimre", + "Manually export keys": "Kulcsok kézi mentése", + "You'll lose access to your encrypted messages": "Elveszted a hozzáférést a titkosított üzeneteidhez", + "Are you sure you want to sign out?": "Biztos, hogy ki akarsz jelentkezni?", + "Warning: you should only set up key backup from a trusted computer.": "Figyelmeztetés: csak biztonságos számítógépről állíts be kulcs mentést.", + "Hide": "Eltakar", + "We'll store an encrypted copy of your keys on our server. Protect your backup with a passphrase to keep it secure.": "A kulcsaid másolatát titkosítva tároljuk a Matrix szerveren. Védd a mentésedet jelmondattal, hogy biztonságban legyen.", + "For maximum security, this should be different from your account password.": "A maximális biztonság érdekében ez térjen el a felhasználói fióknál használt jelszótól.", + "Set up with a Recovery Key": "Beállítás Visszaállítási Kulccsal", + "Please enter your passphrase a second time to confirm.": "Kérlek add meg a jelmondatot másodszor is a biztonság kedvéért.", + "Your recovery key is a safety net - you can use it to restore access to your encrypted messages if you forget your passphrase.": "A Visszaállítási Kulcs egy olyan biztonsági elem amivel visszaállíthatod a hozzáférésed a titkosított üzenetekhez még akkor is, ha a jelmondatot elfelejtetted.", + "Keep your recovery key somewhere very secure, like a password manager (or a safe)": "A Visszaállítási Kulcsot nagyon biztonságos helyen tárold, mint pl. egy jelszókezelőben (vagy széfben)", + "Your keys are being backed up (the first backup could take a few minutes).": "A kulcsaid mentése folyamatban van (az első mentés több percig is eltarthat).", + "Okay": "Rendben", + "Secure your backup with a passphrase": "Védd a mentést egy jelmondattal", + "Confirm your passphrase": "Erősítsd meg a jelmondatot", + "Recovery key": "Visszaállítási Kulcs", + "Success!": "Sikeres!" } From e728bc1485ad34d26210369d390279717e333fd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20C?= Date: Wed, 13 Feb 2019 10:34:19 +0000 Subject: [PATCH 05/43] Translated using Weblate (French) Currently translated at 100.0% (1546 of 1546 strings) Translation: Riot Web/matrix-react-sdk Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/ --- src/i18n/strings/fr.json | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/src/i18n/strings/fr.json b/src/i18n/strings/fr.json index 91719094dc..d20810ca52 100644 --- a/src/i18n/strings/fr.json +++ b/src/i18n/strings/fr.json @@ -1738,5 +1738,40 @@ "This homeserver does not support login using email address.": "Ce serveur d'accueil ne prend pas en charge la connexion avec une adresse e-mail.", "Guest access is disabled on this homeserver.": "L'accès des invités est désactivé sur ce serveur d'accueil.", "Registration has been disabled on this homeserver.": "L'inscription a été désactivée sur ce serveur d'accueil.", - "Unable to query for supported registration methods.": "Impossible de demander les méthodes d'inscription prises en charge." + "Unable to query for supported registration methods.": "Impossible de demander les méthodes d'inscription prises en charge.", + "Show recent room avatars above the room list (refresh to apply changes)": "Afficher les avatars des salons récents au-dessus de la liste de salons (actualiser pour appliquer les changements)", + "Are you sure? You will lose your encrypted messages if your keys are not backed up properly.": "En êtes-vous sûr(e) ? Vous perdrez vos messages chiffrés si vos clés ne sont pas sauvegardées correctement.", + "Encrypted messages are secured with end-to-end encryption. Only you and the recipient(s) have the keys to read these messages.": "Les messages chiffrés sont sécurisés avec un chiffrement de bout en bout. Seuls vous et le(s) destinataire(s) ont les clés pour lire ces messages.", + "Restore from Backup": "Récupérer depuis la sauvegarde", + "This device is backing up your keys. ": "Cet appareil sauvegarde vos clés. ", + "This device is not backing up your keys.": "Cet appareil ne sauvegarde pas vos clés.", + "Back up your keys before signing out to avoid losing them.": "Sauvegardez vos clés avant de vous déconnecter pour éviter de les perdre.", + "Use key backup": "Utiliser la sauvegarde de clés", + "Your keys are not being backed up from this device.": "Vos clés ne sont pas sauvegardées depuis cet appareil.", + "Start using Key Backup": "Commencer à utiliser la sauvegarde de clés", + "Use Key Backup": "Utiliser la sauvegarde de clés", + "Never lose encrypted messages": "Ne perdez jamais vos messages chiffrés", + "Messages in this room are secured with end-to-end encryption. Only you and the recipient(s) have the keys to read these messages.": "Les messages de ce salon sont sécurisés avec le chiffrement de bout en bout. Seuls vous et le(s) destinataire(s) avez les clés pour lire ces messages.", + "Securely back up your keys to avoid losing them. Learn more.": "Sauvegardez vos clés de façon sécurisée pour éviter de les perdre. En savoir plus.", + "Not now": "Pas maintenant", + "Don't ask me again": "Ne plus me demander", + "Nothing appearing? Not all clients support interactive verification yet. .": "Rien n'apparaît ? Certains clients ne prennent pas encore en charge la vérification interactive. .", + "I don't want my encrypted messages": "Je ne veux pas de mes messages chiffrés", + "Manually export keys": "Exporter manuellement les clés", + "You'll lose access to your encrypted messages": "Vous perdrez l’accès à vos messages chiffrés", + "Are you sure you want to sign out?": "Voulez-vous vraiment vous déconnecter ?", + "Warning: you should only set up key backup from a trusted computer.": "Attention : vous ne devriez configurer la sauvegarde des clés que depuis un ordinateur de confiance.", + "Hide": "Masquer", + "We'll store an encrypted copy of your keys on our server. Protect your backup with a passphrase to keep it secure.": "Nous conserverons une copie chiffrée de vos clés sur notre serveur. Protégez votre sauvegarde avec une phrase de passe pour qu'elle reste sécurisée.", + "For maximum security, this should be different from your account password.": "Pour une sécurité maximale, ceci devrait être différent du mot de passe de votre compte.", + "Set up with a Recovery Key": "Configurer une clé de récupération", + "Please enter your passphrase a second time to confirm.": "Veuillez saisir votre phrase de passe une seconde fois pour la confirmer.", + "Your recovery key is a safety net - you can use it to restore access to your encrypted messages if you forget your passphrase.": "Votre clé de récupération est une mesure de précaution. Vous pouvez l'utiliser pour récupérer l’accès à vos messages chiffrés si vous oubliez votre phrase de passe.", + "Keep your recovery key somewhere very secure, like a password manager (or a safe)": "Conservez votre clé de récupération dans un endroit très sécurisé, comme un gestionnaire de mots de passe (ou un coffre-fort)", + "Your keys are being backed up (the first backup could take a few minutes).": "Vous clés sont en cours de sauvegarde (la première sauvegarde peut prendre quelques minutes).", + "Okay": "OK", + "Secure your backup with a passphrase": "Protégez votre sauvegarde avec une phrase de passe", + "Confirm your passphrase": "Confirmez votre phrase de passe", + "Recovery key": "Clé de récupération", + "Success!": "Terminé !" } From c1521d9b2daee51bb5f5d0c7839f2443c40fe102 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Wed, 13 Feb 2019 12:00:06 +0000 Subject: [PATCH 06/43] Translated using Weblate (Bulgarian) Currently translated at 100.0% (1546 of 1546 strings) Translation: Riot Web/matrix-react-sdk Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/ --- src/i18n/strings/bg.json | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/src/i18n/strings/bg.json b/src/i18n/strings/bg.json index 06e36d8283..31b8d5b209 100644 --- a/src/i18n/strings/bg.json +++ b/src/i18n/strings/bg.json @@ -1727,5 +1727,40 @@ "This homeserver does not support login using email address.": "Този сървър не поддържа влизане в профил посредством имейл адрес.", "Guest access is disabled on this homeserver.": "Достъпът за гости е изключен на този сървър.", "Registration has been disabled on this homeserver.": "Регистрацията е изключена на този сървър.", - "Unable to query for supported registration methods.": "Неуспешно взимане на поддържаните методи за регистрация." + "Unable to query for supported registration methods.": "Неуспешно взимане на поддържаните методи за регистрация.", + "Show recent room avatars above the room list (refresh to apply changes)": "Показвай снимки на скоро-използваните стаи над списъка със стаите (презаредете за да влезе в сила)", + "Are you sure? You will lose your encrypted messages if your keys are not backed up properly.": "Сигурни ли сте? Ако нямате работещо резервно копие на ключовете, ще загубите достъп до шифрованите съобщения.", + "Encrypted messages are secured with end-to-end encryption. Only you and the recipient(s) have the keys to read these messages.": "Шифрованите съобщения са защитени с шифроване от край до край. Само Вие и получателят (получателите) имате ключове за четенето им.", + "Restore from Backup": "Възстанови от резервно копие", + "This device is backing up your keys. ": "Това устройство прави резервни копия на ключовете. ", + "This device is not backing up your keys.": "Това устройство не прави резервно копия на ключовете.", + "Back up your keys before signing out to avoid losing them.": "Направете резервно копие на ключовете преди изход от профила, за да не ги загубите.", + "Use key backup": "Използвай резервно копие на ключовете", + "Your keys are not being backed up from this device.": "Това устройство не прави резервно копие на ключовете Ви.", + "Start using Key Backup": "Започни използване на резервни копия за ключове", + "Use Key Backup": "Използвай резервно копие на ключовете", + "Never lose encrypted messages": "Никога не губете шифровани съобщения", + "Messages in this room are secured with end-to-end encryption. Only you and the recipient(s) have the keys to read these messages.": "Съобщенията в тази стая са защитени с шифроване от край до край. Само Вие и получателят (получателите) имате ключове за разчитането им.", + "Securely back up your keys to avoid losing them. Learn more.": "Правете защитено резервно копие на ключовете, за да не ги загубите. Научи повече.", + "Not now": "Не сега", + "Don't ask me again": "Не ме питай пак", + "Nothing appearing? Not all clients support interactive verification yet. .": "Нищо не се появява? Не всички клиенти поддържат интерактивно потвърждение. .", + "I don't want my encrypted messages": "Не искам шифрованите си съобщения", + "Manually export keys": "Експортирай ключове ръчно", + "You'll lose access to your encrypted messages": "Ще загубите достъп до шифрованите си съобщения", + "Are you sure you want to sign out?": "Сигурни ли сте, че искате да излезете от профила?", + "Warning: you should only set up key backup from a trusted computer.": "Внимание: настройването на резервно копие на ключовете трябва да се прави само от доверен компютър.", + "Hide": "Скрий", + "We'll store an encrypted copy of your keys on our server. Protect your backup with a passphrase to keep it secure.": "Ще съхраним шифровано копие на ключовете на сървърът ни. Предпазете резервното копие с парола.", + "For maximum security, this should be different from your account password.": "За максимална сигурност, по-добре паролата да е различна от тази за акаунта Ви.", + "Set up with a Recovery Key": "Настрой с ключ за възстановяване", + "Please enter your passphrase a second time to confirm.": "Въведете паролата отново за потвърждение.", + "Your recovery key is a safety net - you can use it to restore access to your encrypted messages if you forget your passphrase.": "Ключът за възстановяване дава допълнителна сигурност - може да го използвате за да възстановите достъпа до шифрованите съобщения, в случай че забравите паролата.", + "Keep your recovery key somewhere very secure, like a password manager (or a safe)": "Пазете ключът за възстановяване на много сигурно място, например в password manager програма или сейф", + "Your keys are being backed up (the first backup could take a few minutes).": "Прави се резервно копие на ключовете Ви (първото копие може да отнеме няколко минути).", + "Okay": "Добре", + "Secure your backup with a passphrase": "Защитете резервното копие с парола", + "Confirm your passphrase": "Потвърдете паролата", + "Recovery key": "Ключ за възстановяване", + "Success!": "Успешно!" } From 5e714ab14a5eab91bf9bd3c708493e5cc7925fed Mon Sep 17 00:00:00 2001 From: Besnik Bleta Date: Wed, 13 Feb 2019 16:53:37 +0000 Subject: [PATCH 07/43] Translated using Weblate (Albanian) Currently translated at 99.6% (1540 of 1546 strings) Translation: Riot Web/matrix-react-sdk Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/ --- src/i18n/strings/sq.json | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/src/i18n/strings/sq.json b/src/i18n/strings/sq.json index 7fa8895c15..1299656c1c 100644 --- a/src/i18n/strings/sq.json +++ b/src/i18n/strings/sq.json @@ -1705,5 +1705,40 @@ "No thanks, I'll download a copy of my decryption keys before I log out": "Jo, faleminderit, do të shkarkoj një kopje të kyçeve të mi të shfshehtëzimeve, përpara se të bëj daljen", "Disinvite this user from community?": "T’i hiqet ftesa për në bashkësi këtij përdoruesi?", "The homeserver URL %(hsUrl)s doesn't seem to be valid URL. Please enter a valid URL including the protocol prefix.": "URL-ja e shërbyesit Home %(hsUrl)s s’duket të jetë URL e vlefshme. Ju lutemi, jepni një URL të vlefshme, përfshi prefiksin e protokollit.", - "A verification email will be sent to your inbox to confirm setting your new password.": "Te mesazhet tuaj do të dërgohet një email verifikimi, për të ripohuar caktimin e fjalëkalimit tuaj të ri." + "A verification email will be sent to your inbox to confirm setting your new password.": "Te mesazhet tuaj do të dërgohet një email verifikimi, për të ripohuar caktimin e fjalëkalimit tuaj të ri.", + "Show recent room avatars above the room list (refresh to apply changes)": "Shfaq avatarë dhome së fundi mbi listën e dhomave (që të zbatohen ndryshimet, rifreskojeni)", + "Are you sure? You will lose your encrypted messages if your keys are not backed up properly.": "Jeni i sigurt? Do të humbni mesazhet tuaj të fshehtëzuar, nëse kopjeruajtja për kyçet tuaj nuk bëhet si duhet.", + "Encrypted messages are secured with end-to-end encryption. Only you and the recipient(s) have the keys to read these messages.": "Mesazhet e fshehtëzuar sigurohen me fshehtëzim skaj-më-skaj. Vetëm ju dhe marrësi(t) kanë kyçet për të lexuar këto mesazhe.", + "Restore from Backup": "Riktheje prej Kopjeruajtje", + "This device is backing up your keys. ": "Kjo pajisje po bën kopjeruajtje të kyçeve tuaja. ", + "This device is not backing up your keys.": "Kjo pajisje nuk kopjeruan kyçe tuajt.", + "Back up your keys before signing out to avoid losing them.": "Kopjeruajini kyçet tuaj, përpara se të dilni, që të shmangni humbjen e tyre.", + "Use key backup": "Përdor kopjeruajtje kyçesh", + "Your keys are not being backed up from this device.": "Kyçet tuaj nuk po kopjeruhen nga kjo pajisje.", + "Start using Key Backup": "Fillo të përdorësh Kopjeruajtje Kyçesh", + "Use Key Backup": "Përdor Kopjeruajtje Kyçesh", + "Never lose encrypted messages": "Mos humbni kurrë mesazhe të fshehtëzuar", + "Messages in this room are secured with end-to-end encryption. Only you and the recipient(s) have the keys to read these messages.": "Mesazhet në këtë dhomë janë të siguruar përmes fshehtëzimi skaj-më-skaj. Vetëm ju dhe marrësi(t) kanë kyçet për të lexuar këto mesazhe.", + "Securely back up your keys to avoid losing them. Learn more.": "Kopjeruajini kyçet tuaj në mënyrë të sigurt, për të shmangur humbjen e tyre. Mësoni më tepër.", + "Not now": "Jo tani", + "Don't ask me again": "Mos më pyet sërish", + "Nothing appearing? Not all clients support interactive verification yet. .": "S’duket gjë? Jo të tërë klientët mbulojnë verifikim ndërveprues ende. .", + "I don't want my encrypted messages": "Nuk i dua mesazhet e mia të fshehtëzuar", + "Manually export keys": "Eksporto dorazi kyçet", + "You'll lose access to your encrypted messages": "Do të humbni hyrje te mesazhet tuaj të fshehtëzuar", + "Are you sure you want to sign out?": "Jeni i sigurt se doni të dilni?", + "Warning: you should only set up key backup from a trusted computer.": "Kujdes: duhet të ujdisni kopjeruajtje kyçesh vetëm nga një kompjuter i besuar.", + "Hide": "Fshihe", + "We'll store an encrypted copy of your keys on our server. Protect your backup with a passphrase to keep it secure.": "Do të depozitojmë në shërbyesin tonë një kopje të fshehtëzuar të kyçeve tuaj. Mbrojeni kopjeruajtjen tuaj me një frazëkalim, për ta mbajtur të parrezikuar.", + "For maximum security, this should be different from your account password.": "Për maksimumin e sigurisë, ky do të duhej të ishte i ndryshëm nga fjalëkalimi juaj për llogarinë.", + "Set up with a Recovery Key": "Rregullojeni me një Kyç Rikthimesh", + "Please enter your passphrase a second time to confirm.": "Ju lutemi, që të ripohohet, rijepeni frazëkalimin tuaj.", + "Your recovery key is a safety net - you can use it to restore access to your encrypted messages if you forget your passphrase.": "Kyçi juaj i rikthimeve është një rrjet sigurie - mund ta përdorni për rikthim hyrjeje te mesazhet tuaj të fshehtëzuar, nëse harroni frazëkalimin tuaj.", + "Keep your recovery key somewhere very secure, like a password manager (or a safe)": "Mbajeni kyçin tuaj të rikthimeve diku në një vend shumë të sigurt, bie fjala, nën një përgjegjës fjalëkalimesh (ose në një kasafortë)", + "Your keys are being backed up (the first backup could take a few minutes).": "Kyçet tuaj po kopjeruhen (kopjeruajtja e parë mund të hajë disa minuta).", + "Okay": "Në rregull", + "Secure your backup with a passphrase": "Sigurojeni kopjeruajtjen tuaj me një frazëkalim", + "Confirm your passphrase": "Ripohoni frazëkalimin tuaj", + "Recovery key": "Kyç Rikthimesh", + "Success!": "Sukses!" } From 9aa3640e9308737d68290aebc0a04994e2cbfc05 Mon Sep 17 00:00:00 2001 From: Nad Chishtie Date: Wed, 13 Feb 2019 19:44:45 +0000 Subject: [PATCH 08/43] Tweaked more icons. --- res/img/feather-icons/e2e/lock-verified.svg | 2 +- res/img/feather-icons/e2e/lock-warning.svg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/res/img/feather-icons/e2e/lock-verified.svg b/res/img/feather-icons/e2e/lock-verified.svg index 4cd4684ea2..819dfacc49 100644 --- a/res/img/feather-icons/e2e/lock-verified.svg +++ b/res/img/feather-icons/e2e/lock-verified.svg @@ -1,6 +1,6 @@ - + diff --git a/res/img/feather-icons/e2e/lock-warning.svg b/res/img/feather-icons/e2e/lock-warning.svg index 507c532f9d..de2bded7f8 100644 --- a/res/img/feather-icons/e2e/lock-warning.svg +++ b/res/img/feather-icons/e2e/lock-warning.svg @@ -3,7 +3,7 @@ - + From 4c29a8422d4458998683e13a9747cb2bc810bd43 Mon Sep 17 00:00:00 2001 From: tleydxdy Date: Wed, 13 Feb 2019 18:57:16 +0000 Subject: [PATCH 09/43] 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/ --- src/i18n/strings/zh_Hans.json | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/src/i18n/strings/zh_Hans.json b/src/i18n/strings/zh_Hans.json index 479f8d68bb..9dbcad953f 100644 --- a/src/i18n/strings/zh_Hans.json +++ b/src/i18n/strings/zh_Hans.json @@ -1325,5 +1325,22 @@ "Capitalization doesn't help very much": "大写字母并没有很大的作用", "All-uppercase is almost as easy to guess as all-lowercase": "全大写的密码通常比全小写的更容易猜测", "Reversed words aren't much harder to guess": "把单词倒过来不会比原来的难猜很多", - "You can also set a custom identity server, but you won't be able to invite users by email address, or be invited by email address yourself.": "您也可以自定义身份服务器,但是您将不能用电子邮箱地址邀请或被邀请。" + "You can also set a custom identity server, but you won't be able to invite users by email address, or be invited by email address yourself.": "您也可以自定义身份服务器,但是您将不能用电子邮箱地址邀请他人或被邀请。", + "Whether or not you're logged in (we don't record your username)": "您是否已经登入(我们不会记录您的用户名)", + "The file '%(fileName)s' exceeds this homeserver's size limit for uploads": "文件 %(fileName)s 超过主服务器的文件大小限制", + "Upgrades a room to a new version": "将聊天室升级到新版本", + "Gets or sets the room topic": "获取或设置聊天室话题", + "This room has no topic.": "此聊天室没有话题。", + "Sets the room name": "设置聊天室名称", + "%(senderDisplayName)s upgraded this room.": "%(senderDisplayName)s 升级了此聊天室。", + "%(senderDisplayName)s made the room public to whoever knows the link.": "%(senderDisplayName)s 将此聊天室对知道此聊天室链接的人公开。", + "%(senderDisplayName)s made the room invite only.": "%(senderDisplayName)s 将此聊天室改为仅限邀请。", + "%(senderDisplayName)s changed the join rule to %(rule)s": "%(senderDisplayName)s 将加入规则改为 %(rule)s", + "%(displayName)s is typing …": "%(displayName)s 正在打字…", + "%(names)s and %(count)s others are typing …|other": "%(names)s 与其他 %(count)s 位正在打字…", + "%(names)s and %(count)s others are typing …|one": "%(names)s 与另一位正在打字…", + "%(names)s and %(lastPerson)s are typing …": "%(names)s 和 %(lastPerson)s正在打字…", + "Unrecognised address": "无法识别地址", + "User %(user_id)s may or may not exist": "用户 %(user_id)s 不一定存在", + "Predictable substitutions like '@' instead of 'a' don't help very much": "可预见的替换如将 '@' 替换为 'a' 并不会有太大效果" } From 1c2d9d7222ae867b614e182f185c09ab5300ea87 Mon Sep 17 00:00:00 2001 From: "Markel @wakutiteo" Date: Wed, 13 Feb 2019 20:45:19 +0000 Subject: [PATCH 10/43] 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/ --- src/i18n/strings/es.json | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/src/i18n/strings/es.json b/src/i18n/strings/es.json index 1a55796e6c..fb0c6c7eab 100644 --- a/src/i18n/strings/es.json +++ b/src/i18n/strings/es.json @@ -1097,11 +1097,11 @@ "Username available": "Nombre de usuario disponible", "This will be your account name on the homeserver, or you can pick a different server.": "Este será el nombre de su cuenta en el servidor doméstico, o puede elegir un servidor diferente.", "If you already have a Matrix account you can log in instead.": "Si ya tiene una cuenta de Matrix puede conectarse: log in.", - "Share Room": "Compartir Sala", + "Share Room": "Compartir sala", "Link to most recent message": "Enlazar a mensaje más reciente", - "Share User": "Compartir Usuario", + "Share User": "Compartir usuario", "Share Community": "Compartir Comunidad", - "Share Room Message": "Compartir Mensaje de Sala", + "Share Room Message": "Compartir el mensaje de la sala", "Link to selected message": "Enlazar a mensaje seleccionado", "COPY": "COPIAR", "You are currently blacklisting unverified devices; to send messages to these devices you must verify them.": "Está actualmente prohibiendo dispositivos sin verificar; para enviar mensajes a los mismos deber verificarlos.", @@ -1267,5 +1267,20 @@ "%(senderName)s removed the main address for this room.": "%(senderName)s eliminó la dirección principal para esta sala.", "Riot now uses 3-5x less memory, by only loading information about other users when needed. Please wait whilst we resynchronise with the server!": "Riot ahora utiliza de 3 a 5 veces menos memoria, porque solo carga información sobre otros usuarios cuando es necesario. Por favor, ¡aguarda mientras volvemos a sincronizar con el servidor!", "Updating Riot": "Actualizando Riot", - "Unable to query for supported registration methods": "No es posible consultar por los métodos de registro compatibles" + "Unable to query for supported registration methods": "No es posible consultar por los métodos de registro compatibles", + "Room version:": "Versión de la sala:", + "Developer options": "Opciones de desarrollador", + "Room version": "Versión de la sala", + "Room information": "Información de la sala", + "Room Topic": "Tema de la sala", + "Theme": "Tema", + "2018 theme": "Tema 2018", + "Voice & Video": "Voz y video", + "Gets or sets the room topic": "Obtiene o establece el tema de la sala", + "This room has no topic.": "Esta sala no tiene tema.", + "Sets the room name": "Establece el nombre de la sala", + "Upload profile picture": "Subir imagen de perfil", + "Phone numbers": "Números de teléfono", + "Email addresses": "Correos electrónicos", + "Language and region": "Idioma y región" } From 3cd605c443ca550d6959077285e30d22c0303fb3 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Thu, 14 Feb 2019 11:11:09 +0000 Subject: [PATCH 11/43] Update dependencies --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 034db77b3f..d760c2291f 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "linkifyjs": "^2.1.6", "lodash": "^4.13.1", "lolex": "2.3.2", - "matrix-js-sdk": "1.0.0-rc.1", + "matrix-js-sdk": "1.0.0-rc.2", "optimist": "^0.6.1", "pako": "^1.0.5", "prop-types": "^15.5.8", From e88b11472530787858f6b084a80341f3de537a6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20C?= Date: Thu, 14 Feb 2019 11:15:26 +0000 Subject: [PATCH 12/43] 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/ --- src/i18n/strings/fr.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/i18n/strings/fr.json b/src/i18n/strings/fr.json index 1940a7999b..54407ef11a 100644 --- a/src/i18n/strings/fr.json +++ b/src/i18n/strings/fr.json @@ -92,7 +92,7 @@ "Current password": "Mot de passe actuel", "Curve25519 identity key": "Clé d’identité Curve25519", "/ddg is not a command": "/ddg n'est pas une commande", - "Deactivate Account": "Désactiver le compte", + "Deactivate Account": "Fermer le compte", "Deactivate my account": "Désactiver mon compte", "Decrypt %(text)s": "Déchiffrer %(text)s", "Decryption error": "Erreur de déchiffrement", @@ -1526,7 +1526,6 @@ "2018 theme": "Thème 2018", "Account management": "Gestion du compte", "Deactivating your account is a permanent action - be careful!": "La désactivation du compte est une action permanente. Soyez prudent !", - "Deactivate Account": "Fermer le compte", "For help with using Riot, click here.": "Pour obtenir de l'aide sur l'utilisation de Riot, cliquez ici.", "For help with using Riot, click here or start a chat with our bot using the button below.": "Pour obtenir de l'aide sur l'utilisation de Riot, cliquez ici ou commencez une discussion avec notre bot en utilisant le bouton ci-dessous.", "Start a chat with Riot Bot": "Commencer une discussion avec le bot Riot", @@ -1773,5 +1772,8 @@ "Secure your backup with a passphrase": "Protégez votre sauvegarde avec une phrase de passe", "Confirm your passphrase": "Confirmez votre phrase de passe", "Recovery key": "Clé de récupération", - "Success!": "Terminé !" + "Success!": "Terminé !", + "Allow Peer-to-Peer for 1:1 calls": "Autoriser les connexions pair-à-pair pour les appels individuels", + "Default theme": "Thème par défaut", + "Welcome": "Bienvenue" } From c3f81e8358bc3401d0803727e8aee3cd5ff3d3b2 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Thu, 14 Feb 2019 11:15:36 +0000 Subject: [PATCH 13/43] Prepare changelog for v1.0.0-rc.2 --- CHANGELOG.md | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb4490d058..ad31549fe7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,62 @@ +Changes in [1.0.0-rc.2](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v1.0.0-rc.2) (2019-02-14) +============================================================================================================= +[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v1.0.0-rc.1...v1.0.0-rc.2) + + * Update from Weblate. + [\#2635](https://github.com/matrix-org/matrix-react-sdk/pull/2635) + * use throttle as its more responsive + [\#2632](https://github.com/matrix-org/matrix-react-sdk/pull/2632) + * update range when items size changes + [\#2631](https://github.com/matrix-org/matrix-react-sdk/pull/2631) + * Fix registration after clicking email link + [\#2630](https://github.com/matrix-org/matrix-react-sdk/pull/2630) + * Re-check key backup status when settings opened + [\#2626](https://github.com/matrix-org/matrix-react-sdk/pull/2626) + * Improve room list rendering performance + [\#2629](https://github.com/matrix-org/matrix-react-sdk/pull/2629) + * Adjust top left menu items + [\#2628](https://github.com/matrix-org/matrix-react-sdk/pull/2628) + * Normalised icon strokes to 1px + [\#2627](https://github.com/matrix-org/matrix-react-sdk/pull/2627) + * Security: Force TURN setting was inverted + [\#2623](https://github.com/matrix-org/matrix-react-sdk/pull/2623) + * Add redesigned dark theme + [\#2619](https://github.com/matrix-org/matrix-react-sdk/pull/2619) + * Fix mx_RoomTile_name weighting + [\#2610](https://github.com/matrix-org/matrix-react-sdk/pull/2610) + * Add divider between tabs and regular buttons in room header + [\#2621](https://github.com/matrix-org/matrix-react-sdk/pull/2621) + * Update from Weblate. + [\#2622](https://github.com/matrix-org/matrix-react-sdk/pull/2622) + * Change taking a community off the left-left panel less scary + [\#2609](https://github.com/matrix-org/matrix-react-sdk/pull/2609) + * Fixes and styling related to e2e icons and dialogs + [\#2620](https://github.com/matrix-org/matrix-react-sdk/pull/2620) + * Fix: stickers layout + [\#2618](https://github.com/matrix-org/matrix-react-sdk/pull/2618) + * Fix: dont assume settings label only has one line + [\#2616](https://github.com/matrix-org/matrix-react-sdk/pull/2616) + * Labs feature: recent room breadcrumbs + [\#2615](https://github.com/matrix-org/matrix-react-sdk/pull/2615) + * Fix: roomlist reordering lags + [\#2612](https://github.com/matrix-org/matrix-react-sdk/pull/2612) + * Change text in e2e UX to new copy + [\#2617](https://github.com/matrix-org/matrix-react-sdk/pull/2617) + * Add display name / avatar to incoming sas dialog + [\#2613](https://github.com/matrix-org/matrix-react-sdk/pull/2613) + * Restore backup on new recovery method dialog + [\#2614](https://github.com/matrix-org/matrix-react-sdk/pull/2614) + * Welcome page cleanup + [\#2611](https://github.com/matrix-org/matrix-react-sdk/pull/2611) + * Scale up settings UI to be easier to read + [\#2604](https://github.com/matrix-org/matrix-react-sdk/pull/2604) + * !important shouldn't have a space + [\#2608](https://github.com/matrix-org/matrix-react-sdk/pull/2608) + * Add legacy verification button on wait + [\#2607](https://github.com/matrix-org/matrix-react-sdk/pull/2607) + * Update from Weblate. + [\#2606](https://github.com/matrix-org/matrix-react-sdk/pull/2606) + Changes in [1.0.0-rc.1](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v1.0.0-rc.1) (2019-02-08) ============================================================================================================= [Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v0.14.8...v1.0.0-rc.1) From 5c5593d030055c53a900899cd6f42308a247d697 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Thu, 14 Feb 2019 11:15:37 +0000 Subject: [PATCH 14/43] v1.0.0-rc.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d760c2291f..fd2865efd5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "matrix-react-sdk", - "version": "1.0.0-rc.1", + "version": "1.0.0-rc.2", "description": "SDK for matrix.org using React", "author": "matrix.org", "repository": { From d9fdd3a127d325f7f0378c43612a46959ba09bd6 Mon Sep 17 00:00:00 2001 From: Szimszon Date: Thu, 14 Feb 2019 12:06:55 +0000 Subject: [PATCH 15/43] 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/ --- src/i18n/strings/hu.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/i18n/strings/hu.json b/src/i18n/strings/hu.json index 56e9aaa4a3..79e9ba95fc 100644 --- a/src/i18n/strings/hu.json +++ b/src/i18n/strings/hu.json @@ -113,7 +113,7 @@ "Custom": "Egyedi", "Custom level": "Egyedi szint", "/ddg is not a command": "/ddg nem egy parancs", - "Deactivate Account": "Fiók zárolása", + "Deactivate Account": "Fiók bezárása", "Deactivate my account": "Fiókom felfüggesztése", "Decline": "Elutasít", "Decrypt %(text)s": "%(text)s visszafejtése", @@ -1525,7 +1525,6 @@ "2018 theme": "2018-as téma", "Account management": "Fiók menedzsment", "Deactivating your account is a permanent action - be careful!": "A fiók felfüggesztése végleges - légy óvatos!", - "Deactivate Account": "Fiók bezárása", "For help with using Riot, click here.": "A Riot használatában való segítséghez kattints ide.", "For help with using Riot, click here or start a chat with our bot using the button below.": "A Riot használatában való segítségér kattints ide vagy kezdj beszélgetni a botunkkal az alábbi gombra kattintva.", "Start a chat with Riot Bot": "Csevegés kezdése a Riot Bottal", @@ -1773,5 +1772,8 @@ "Secure your backup with a passphrase": "Védd a mentést egy jelmondattal", "Confirm your passphrase": "Erősítsd meg a jelmondatot", "Recovery key": "Visszaállítási Kulcs", - "Success!": "Sikeres!" + "Success!": "Sikeres!", + "Allow Peer-to-Peer for 1:1 calls": "Ponttól-pontig kapcsolat engedélyezése az 1:1 hívásokban", + "Default theme": "Alapértelmezett stílus", + "Welcome": "Üdvözöllek" } From 107eb974d43fb6af795a9af20df6eb15c8bcf985 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 14 Feb 2019 13:28:22 +0100 Subject: [PATCH 16/43] 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. --- src/components/views/elements/LazyRenderList.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/components/views/elements/LazyRenderList.js b/src/components/views/elements/LazyRenderList.js index 1c1cc127d6..d7d2a0ab99 100644 --- a/src/components/views/elements/LazyRenderList.js +++ b/src/components/views/elements/LazyRenderList.js @@ -73,12 +73,6 @@ export default class LazyRenderList extends React.Component { } } - shouldComponentUpdate(nextProps, nextState) { - const itemsChanged = nextProps.items !== this.props.items; - const rangeChanged = nextState.renderRange !== this.state.renderRange; - return itemsChanged || rangeChanged; - } - render() { const {itemHeight, items, renderItem} = this.props; From e5e355ed2d2140f72c54eb0ba351c918b54d1cc3 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 14 Feb 2019 12:35:09 +0000 Subject: [PATCH 17/43] Remove the white screen of welcome If there's no home page configured, view the first room. --- src/components/structures/LoggedInView.js | 13 ++-------- src/components/structures/MatrixChat.js | 7 ++++- src/utils/pages.js | 31 +++++++++++++++++++++++ 3 files changed, 39 insertions(+), 12 deletions(-) create mode 100644 src/utils/pages.js diff --git a/src/components/structures/LoggedInView.js b/src/components/structures/LoggedInView.js index 2303083d98..2e1b91fe0e 100644 --- a/src/components/structures/LoggedInView.js +++ b/src/components/structures/LoggedInView.js @@ -31,6 +31,7 @@ import sessionStore from '../../stores/SessionStore'; import MatrixClientPeg from '../../MatrixClientPeg'; import SettingsStore from "../../settings/SettingsStore"; import RoomListStore from "../../stores/RoomListStore"; +import { getHomePageUrl } from '../../utils/pages'; import TagOrderActions from '../../actions/TagOrderActions'; import RoomListActions from '../../actions/RoomListActions'; @@ -459,17 +460,7 @@ const LoggedInView = React.createClass({ case PageTypes.HomePage: { - const pagesConfig = this.props.config.embeddedPages; - let pageUrl = null; - if (pagesConfig) { - pageUrl = pagesConfig.homeUrl; - } - if (!pageUrl) { - // This is a deprecated config option for the home page - // (despite the name, given we also now have a welcome - // page, which is not the same). - pageUrl = this.props.config.welcomePageUrl; - } + const pageUrl = getHomePageUrl(this.props.config); pageElement = { + dis.dispatch({action: 'view_next_room'}); + }); } } }, diff --git a/src/utils/pages.js b/src/utils/pages.js new file mode 100644 index 0000000000..d63ca3f2c7 --- /dev/null +++ b/src/utils/pages.js @@ -0,0 +1,31 @@ +/* +Copyright 2019 New Vector Ltd + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +export function getHomePageUrl(appConfig) { + const pagesConfig = appConfig.embeddedPages; + let pageUrl = null; + if (pagesConfig) { + pageUrl = pagesConfig.homeUrl; + } + if (!pageUrl) { + // This is a deprecated config option for the home page + // (despite the name, given we also now have a welcome + // page, which is not the same). + pageUrl = appConfig.welcomePageUrl; + } + + return pageUrl; +} From b242d03f7ff1a8ba54894a43d4f473bf9fda08bd Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 14 Feb 2019 12:52:38 +0000 Subject: [PATCH 18/43] lint --- src/components/structures/MatrixChat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index 3ac987d078..8bc1fbdd07 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -1199,7 +1199,7 @@ export default React.createClass({ } else { if (MatrixClientPeg.get().isGuest()) { dis.dispatch({action: 'view_welcome_page'}); - } else if (getHomePageUrl(this.props.config)){ + } else if (getHomePageUrl(this.props.config)) { dis.dispatch({action: 'view_home_page'}); } else { this.firstSyncPromise.promise.then(() => { From 790e752b7a4f0603406ec80e0324f925dbc559ec Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 14 Feb 2019 16:11:38 +0100 Subject: [PATCH 19/43] clear min-height on scroll --- src/components/structures/ScrollPanel.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/components/structures/ScrollPanel.js b/src/components/structures/ScrollPanel.js index 1df5e876e8..25cccd2dd8 100644 --- a/src/components/structures/ScrollPanel.js +++ b/src/components/structures/ScrollPanel.js @@ -211,6 +211,12 @@ module.exports = React.createClass({ // forget what we wanted, so don't overwrite the saved state unless // this appears to be a user-initiated scroll. if (sn.scrollTop != this._lastSetScroll) { + // when scrolling, we don't care about disappearing typing notifs shrinking the timeline + // this might cause the scrollbar to resize in case the max-height was not correct + // but that's better than ending up with a lot of whitespace at the bottom of the timeline. + // we need to above check because when showing the typing notifs, an onScroll event is also triggered + this.clearBlockShrinking(); + this._saveScrollState(); } else { debuglog("Ignoring scroll echo"); From 9e260ad96b170654ddd3cb40a4b289bfa7d2bf67 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 14 Feb 2019 16:19:58 +0100 Subject: [PATCH 20/43] make sure we're at the bottom, although that seems to always be the case in this branch? --- src/components/structures/ScrollPanel.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/structures/ScrollPanel.js b/src/components/structures/ScrollPanel.js index 25cccd2dd8..a1a7d08e0b 100644 --- a/src/components/structures/ScrollPanel.js +++ b/src/components/structures/ScrollPanel.js @@ -215,7 +215,9 @@ module.exports = React.createClass({ // this might cause the scrollbar to resize in case the max-height was not correct // but that's better than ending up with a lot of whitespace at the bottom of the timeline. // we need to above check because when showing the typing notifs, an onScroll event is also triggered - this.clearBlockShrinking(); + if (!this.isAtBottom()) { + this.clearBlockShrinking(); + } this._saveScrollState(); } else { From 89792459ffcb227d3f04761696c733c9c60e7a1c Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 14 Feb 2019 16:51:45 +0100 Subject: [PATCH 21/43] fix close button being half off screen --- res/css/views/elements/_ImageView.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/res/css/views/elements/_ImageView.scss b/res/css/views/elements/_ImageView.scss index 9bf23b1025..52b6a63699 100644 --- a/res/css/views/elements/_ImageView.scss +++ b/res/css/views/elements/_ImageView.scss @@ -77,7 +77,8 @@ limitations under the License. .mx_ImageView_cancel { position: absolute; - top: 0px; + // hack for mx_Dialog having a top padding of 40px + top: 40px; right: 0px; padding: 35px; cursor: pointer; From 2a3b05a321a7ebcb1cae81e335fccda07d78ae41 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Thu, 14 Feb 2019 15:52:13 +0000 Subject: [PATCH 22/43] Update help buoy text and issue links --- src/components/views/dialogs/RedesignFeedbackDialog.js | 10 ++++------ src/i18n/strings/en_EN.json | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/src/components/views/dialogs/RedesignFeedbackDialog.js b/src/components/views/dialogs/RedesignFeedbackDialog.js index c428aca16a..8f345bdd92 100644 --- a/src/components/views/dialogs/RedesignFeedbackDialog.js +++ b/src/components/views/dialogs/RedesignFeedbackDialog.js @@ -20,14 +20,12 @@ import { _t } from '../../../languageHandler'; export default (props) => { const existingIssuesUrl = "https://github.com/vector-im/riot-web/issues" + - "?q=is%3Aopen+is%3Aissue+label%3Aredesign+sort%3Areactions-%2B1-desc"; - const newIssueUrl = "https://github.com/vector-im/riot-web/issues/new" + - "?assignees=&labels=redesign&template=redesign_issue.md&title="; + "?q=is%3Aopen+is%3Aissue+sort%3Areactions-%2B1-desc"; + const newIssueUrl = "https://github.com/vector-im/riot-web/issues/new"; const description1 = - _t("Thanks for testing the Riot Redesign. " + - "If you run into any bugs or visual issues, " + - "please let us know on GitHub."); + _t("If you run into any bugs or have feedback you'd like to share, " + + "please let us know on GitHub."); const description2 = _t("To help avoid duplicate issues, " + "please view existing issues " + "first (and add a +1) or create a new issue " + diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index fe41beb7ae..74857e77e4 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -1106,7 +1106,7 @@ "Manually export keys": "Manually export keys", "You'll lose access to your encrypted messages": "You'll lose access to your encrypted messages", "Are you sure you want to sign out?": "Are you sure you want to sign out?", - "Thanks for testing the Riot Redesign. If you run into any bugs or visual issues, please let us know on GitHub.": "Thanks for testing the Riot Redesign. If you run into any bugs or visual issues, please let us know on GitHub.", + "If you run into any bugs or have feedback you'd like to share, please let us know on GitHub.": "If you run into any bugs or have feedback you'd like to share, please let us know on GitHub.", "To help avoid duplicate issues, please view existing issues first (and add a +1) or create a new issue if you can't find it.": "To help avoid duplicate issues, please view existing issues first (and add a +1) or create a new issue if you can't find it.", "Report bugs & give feedback": "Report bugs & give feedback", "Go back": "Go back", From 7845a6350655bf4c1fc01676390968ab4206f3dd Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 14 Feb 2019 15:53:52 +0000 Subject: [PATCH 23/43] 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 --- res/css/views/context_menus/_TopLeftMenu.scss | 4 ---- res/img/feather-icons/gift.svg | 1 - src/components/views/context_menus/TopLeftMenu.js | 10 ---------- src/i18n/strings/en_EN.json | 1 - 4 files changed, 16 deletions(-) delete mode 100644 res/img/feather-icons/gift.svg diff --git a/res/css/views/context_menus/_TopLeftMenu.scss b/res/css/views/context_menus/_TopLeftMenu.scss index b3ef703144..272a882051 100644 --- a/res/css/views/context_menus/_TopLeftMenu.scss +++ b/res/css/views/context_menus/_TopLeftMenu.scss @@ -31,10 +31,6 @@ limitations under the License. mask-image: url('$(res)/img/feather-icons/home.svg'); } - li.mx_TopLeftMenu_icon_welcome::after { - mask-image: url('$(res)/img/feather-icons/gift.svg'); - } - li.mx_TopLeftMenu_icon_settings::after { mask-image: url('$(res)/img/feather-icons/settings.svg'); } diff --git a/res/img/feather-icons/gift.svg b/res/img/feather-icons/gift.svg deleted file mode 100644 index c225b50f9d..0000000000 --- a/res/img/feather-icons/gift.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/src/components/views/context_menus/TopLeftMenu.js b/src/components/views/context_menus/TopLeftMenu.js index 8583f631f2..56f5ba5c6f 100644 --- a/src/components/views/context_menus/TopLeftMenu.js +++ b/src/components/views/context_menus/TopLeftMenu.js @@ -25,8 +25,6 @@ import MatrixClientPeg from '../../../MatrixClientPeg'; export class TopLeftMenu extends React.Component { constructor() { super(); - this.viewHomePage = this.viewHomePage.bind(this); - this.viewWelcomePage = this.viewWelcomePage.bind(this); this.openSettings = this.openSettings.bind(this); this.signIn = this.signIn.bind(this); this.signOut = this.signOut.bind(this); @@ -67,9 +65,6 @@ export class TopLeftMenu extends React.Component { return
{homePageSection} -
    -
  • {_t("Welcome")}
  • -
  • {_t("Settings")}
@@ -82,11 +77,6 @@ export class TopLeftMenu extends React.Component { this.closeMenu(); } - viewWelcomePage() { - dis.dispatch({action: 'view_welcome_page'}); - this.closeMenu(); - } - openSettings() { dis.dispatch({action: 'view_user_settings'}); this.closeMenu(); diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index fe41beb7ae..ef705dab78 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -1221,7 +1221,6 @@ "View Community": "View Community", "Hide": "Hide", "Sign in": "Sign in", - "Welcome": "Welcome", "Login": "Login", "powered by Matrix": "powered by Matrix", "Robot check is currently unavailable on desktop - please use a web browser": "Robot check is currently unavailable on desktop - please use a web browser", From 84b53faf9e74b8bf37c48f4b9bb2a0f07ab761f9 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 14 Feb 2019 17:00:47 +0100 Subject: [PATCH 24/43] make e2e icons on message transparent --- res/css/views/rooms/_EventTile.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/res/css/views/rooms/_EventTile.scss b/res/css/views/rooms/_EventTile.scss index a8f34565b5..24a23a0f98 100644 --- a/res/css/views/rooms/_EventTile.scss +++ b/res/css/views/rooms/_EventTile.scss @@ -278,6 +278,10 @@ limitations under the License. /* End to end encryption stuff */ +.mx_EventTile_e2eIcon:hover { + opacity: 1; +} + .mx_EventTile_e2eIcon { display: block; position: absolute; @@ -289,6 +293,7 @@ limitations under the License. mask-size: 14px; mask-repeat: no-repeat; mask-position: 0; + opacity: 0.2; } .mx_EventTile_e2eIcon_undecryptable, .mx_EventTile_e2eIcon_unverified { From 37d1191c72b54c31a38c897a3332e1bc36172307 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 14 Feb 2019 09:00:52 -0700 Subject: [PATCH 25/43] Add credit for cover photo usage Fixes https://github.com/vector-im/riot-web/issues/8374 --- .../views/settings/tabs/HelpSettingsTab.js | 21 +++++++++++++++++++ src/i18n/strings/en_EN.json | 1 + 2 files changed, 22 insertions(+) diff --git a/src/components/views/settings/tabs/HelpSettingsTab.js b/src/components/views/settings/tabs/HelpSettingsTab.js index 524bddf3b1..4ad62451cb 100644 --- a/src/components/views/settings/tabs/HelpSettingsTab.js +++ b/src/components/views/settings/tabs/HelpSettingsTab.js @@ -126,6 +126,26 @@ export default class HelpSettingsTab extends React.Component { ); } + _renderCredits() { + // Note: This is not translated because it is legal text. + // Also,   is ugly but necessary. + return ( +
+ {_t("Credits")} + +
+ ); + } + render() { let faqText = _t('For help with using Riot, click here.', {}, { 'a': (sub) => {sub}, @@ -211,6 +231,7 @@ export default class HelpSettingsTab extends React.Component {
{this._renderLegal()} + {this._renderCredits()}
{_t("Advanced")}
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index fe41beb7ae..e98ad402a0 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -528,6 +528,7 @@ "Deactivating your account is a permanent action - be careful!": "Deactivating your account is a permanent action - be careful!", "Deactivate Account": "Deactivate Account", "Legal": "Legal", + "Credits": "Credits", "For help with using Riot, click here.": "For help with using Riot, click here.", "For help with using Riot, click here or start a chat with our bot using the button below.": "For help with using Riot, click here or start a chat with our bot using the button below.", "Chat with Riot Bot": "Chat with Riot Bot", From 93350c43a5610e3909f21eabceb492ae58b8e194 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 14 Feb 2019 16:07:44 +0000 Subject: [PATCH 26/43] Put back this bind - it's an unrelated fix --- src/components/views/context_menus/TopLeftMenu.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/views/context_menus/TopLeftMenu.js b/src/components/views/context_menus/TopLeftMenu.js index 56f5ba5c6f..e3d8ef8d91 100644 --- a/src/components/views/context_menus/TopLeftMenu.js +++ b/src/components/views/context_menus/TopLeftMenu.js @@ -25,6 +25,7 @@ import MatrixClientPeg from '../../../MatrixClientPeg'; export class TopLeftMenu extends React.Component { constructor() { super(); + this.viewHomePage = this.viewHomePage.bind(this); this.openSettings = this.openSettings.bind(this); this.signIn = this.signIn.bind(this); this.signOut = this.signOut.bind(this); From 96619afc7c11e2087a8525ba5d563a97367481e3 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 14 Feb 2019 09:09:07 -0700 Subject: [PATCH 27/43] Fix icons being cut off in settings Fixes https://github.com/vector-im/riot-web/issues/8578 --- res/css/structures/_TabbedView.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/css/structures/_TabbedView.scss b/res/css/structures/_TabbedView.scss index 6e435b8e75..29e7c401e6 100644 --- a/res/css/structures/_TabbedView.scss +++ b/res/css/structures/_TabbedView.scss @@ -64,7 +64,7 @@ limitations under the License. background-color: $tab-label-icon-bg-color; mask-repeat: no-repeat; mask-size: 16px; - width: 14px; + width: 16px; height: 22px; mask-position: center; content: ''; From 5c41e1f8dfd8b0364f7bdbf5942d2c1c6f35982f Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Thu, 14 Feb 2019 09:33:46 -0700 Subject: [PATCH 28/43] Turn on pin unread rooms for everyone --- src/settings/Settings.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/settings/Settings.js b/src/settings/Settings.js index 4108848033..bb3cf9330c 100644 --- a/src/settings/Settings.js +++ b/src/settings/Settings.js @@ -324,12 +324,12 @@ export const SETTINGS = { "pinMentionedRooms": { supportedLevels: LEVELS_ACCOUNT_SETTINGS, displayName: _td("Pin rooms I'm mentioned in to the top of the room list"), - default: false, + default: true, }, "pinUnreadRooms": { supportedLevels: LEVELS_ACCOUNT_SETTINGS, displayName: _td("Pin unread rooms to the top of the room list"), - default: false, + default: true, }, "enableWidgetScreenshots": { supportedLevels: LEVELS_ACCOUNT_SETTINGS, From 8220bb0428112edac960837f1f77251f9bf37e98 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Thu, 14 Feb 2019 11:57:09 +0000 Subject: [PATCH 29/43] 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/ --- src/i18n/strings/bg.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/i18n/strings/bg.json b/src/i18n/strings/bg.json index e92648a0d2..627f4309c6 100644 --- a/src/i18n/strings/bg.json +++ b/src/i18n/strings/bg.json @@ -686,7 +686,7 @@ "This setting cannot be changed later!": "Тази настройка не може да бъде променена по-късно!", "Unknown error": "Неизвестна грешка", "Incorrect password": "Неправилна парола", - "Deactivate Account": "Деактивация на профила", + "Deactivate Account": "Затвори акаунта", "Deactivate my account": "Деактивирай моя профил", "Device name": "Име на устройство", "Device key": "Ключ на устройство", @@ -1185,7 +1185,7 @@ "Encrypting": "Шифроване", "Encrypted, not sent": "Шифровано, неизпратено", "Share Link to User": "Сподели връзка с потребител", - "Share room": "Сподели стая", + "Share room": "Сподели стаята", "Share Room": "Споделяне на стая", "Link to most recent message": "Създай връзка към най-новото съобщение", "Share User": "Споделяне на потребител", @@ -1515,7 +1515,6 @@ "2018 theme": "Тема 2018", "Account management": "Управление на акаунта", "Deactivating your account is a permanent action - be careful!": "Деактивирането на акаунта е необратимо действие - внимавайте!", - "Deactivate Account": "Затвори акаунта", "For help with using Riot, click here.": "За помощ при използването на Riot, кликнете тук.", "For help with using Riot, click here or start a chat with our bot using the button below.": "За помощ при използването на Riot, кликнете тук или започнете чат с бота ни използвайки бутона по-долу.", "Chat with Riot Bot": "Чати с Riot Bot", @@ -1762,5 +1761,7 @@ "Secure your backup with a passphrase": "Защитете резервното копие с парола", "Confirm your passphrase": "Потвърдете паролата", "Recovery key": "Ключ за възстановяване", - "Success!": "Успешно!" + "Success!": "Успешно!", + "Allow Peer-to-Peer for 1:1 calls": "Позволи използването на директна връзка (P2P) за 1:1 повиквания", + "Default theme": "Тема по подразбиране" } From 54f069fb29596fee1fad3009eb9e93ccc368dc0b Mon Sep 17 00:00:00 2001 From: Samu Voutilainen Date: Thu, 14 Feb 2019 09:46:04 +0000 Subject: [PATCH 30/43] 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/ --- src/i18n/strings/fi.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/i18n/strings/fi.json b/src/i18n/strings/fi.json index 3670efc173..071de3b409 100644 --- a/src/i18n/strings/fi.json +++ b/src/i18n/strings/fi.json @@ -1078,5 +1078,6 @@ "%(count)s of your messages have not been sent.|one": "Viestiäsi ei lähetetty.", "%(oldDisplayName)s changed their display name to %(displayName)s.": "%(oldDisplayName)s asetti näyttönimekseen %(displayName)s.", "Learn more about how we use analytics.": "Lue lisää analytiikkakäytännöistämme.", - "There's no one else here! Would you like to invite others or stop warning about the empty room?": "Täällä ei ole muita! Haluaisitko kutsua muita tai lopettaa tyhjästä huoneesta huomauttamisen?" + "There's no one else here! Would you like to invite others or stop warning about the empty room?": "Täällä ei ole muita! Haluaisitko kutsua muita tai lopettaa tyhjästä huoneesta huomauttamisen?", + "The version of Riot.im": "Riot.im:n versio" } From 5dd10a4a5ca29d70f594d9cc8d1e0e26cb3f8f3d Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Thu, 14 Feb 2019 16:52:59 +0000 Subject: [PATCH 31/43] Update dependencies --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index fd2865efd5..a9fac6677e 100644 --- a/package.json +++ b/package.json @@ -79,7 +79,7 @@ "linkifyjs": "^2.1.6", "lodash": "^4.13.1", "lolex": "2.3.2", - "matrix-js-sdk": "1.0.0-rc.2", + "matrix-js-sdk": "1.0.0", "optimist": "^0.6.1", "pako": "^1.0.5", "prop-types": "^15.5.8", From d9f4c2929ef2ff1a5537eb0a6ab0eeffe79425df Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Thu, 14 Feb 2019 16:55:19 +0000 Subject: [PATCH 32/43] Prepare changelog for v1.0.0 --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ad31549fe7..d52105f9f9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,30 @@ +Changes in [1.0.0](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v1.0.0) (2019-02-14) +=================================================================================================== +[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v1.0.0-rc.2...v1.0.0) + + * Update from Weblate. + [\#2646](https://github.com/matrix-org/matrix-react-sdk/pull/2646) + * Remove 'welcome' from top-left menu + [\#2641](https://github.com/matrix-org/matrix-react-sdk/pull/2641) + * Turn on pin unread rooms for everyone + [\#2645](https://github.com/matrix-org/matrix-react-sdk/pull/2645) + * Update help buoy text and issue links + [\#2640](https://github.com/matrix-org/matrix-react-sdk/pull/2640) + * Fix icons being cut off in settings + [\#2644](https://github.com/matrix-org/matrix-react-sdk/pull/2644) + * Add credit for cover photo usage + [\#2643](https://github.com/matrix-org/matrix-react-sdk/pull/2643) + * make e2e icons on message transparent + [\#2642](https://github.com/matrix-org/matrix-react-sdk/pull/2642) + * fix close button being half off screen + [\#2639](https://github.com/matrix-org/matrix-react-sdk/pull/2639) + * Fix excessive timeline whitespace + [\#2638](https://github.com/matrix-org/matrix-react-sdk/pull/2638) + * Remove the white screen of welcome + [\#2637](https://github.com/matrix-org/matrix-react-sdk/pull/2637) + * always rerender room tiles + [\#2636](https://github.com/matrix-org/matrix-react-sdk/pull/2636) + Changes in [1.0.0-rc.2](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v1.0.0-rc.2) (2019-02-14) ============================================================================================================= [Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v1.0.0-rc.1...v1.0.0-rc.2) From 321dd49db4fbe360fc2ff109ac117305c955b061 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Thu, 14 Feb 2019 16:55:19 +0000 Subject: [PATCH 33/43] v1.0.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a9fac6677e..0b7646dda7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "matrix-react-sdk", - "version": "1.0.0-rc.2", + "version": "1.0.0", "description": "SDK for matrix.org using React", "author": "matrix.org", "repository": { From 840f3cede8afda157c0c960eaef6a9c4c9ada77f Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Thu, 14 Feb 2019 18:04:15 +0100 Subject: [PATCH 34/43] highlight e2e icon on event when hovering whole event --- res/css/views/rooms/_EventTile.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/res/css/views/rooms/_EventTile.scss b/res/css/views/rooms/_EventTile.scss index 24a23a0f98..6a847e58bc 100644 --- a/res/css/views/rooms/_EventTile.scss +++ b/res/css/views/rooms/_EventTile.scss @@ -277,8 +277,7 @@ limitations under the License. } /* End to end encryption stuff */ - -.mx_EventTile_e2eIcon:hover { +.mx_EventTile:hover .mx_EventTile_e2eIcon { opacity: 1; } From 85930fca702d2c08efcb3740d312f90b2c7008f3 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Fri, 15 Feb 2019 03:31:55 -0800 Subject: [PATCH 35/43] Bring back the lowered opacity for offline/unavailable avatars. At some point during the riot redesign, the bit of css that lowered the opacity for offline/unavailable contacts was removed. This makes it impossible to discern presence for a contact unless you hover your cursor over their avatar. It's very handy to be able to see presence at a glance without any hovering, so this PR reintroduces the lowered opacity. I've also slightly decreased the opacity level from 0.66 to 0.5 to make it slightly more noticable. --- res/css/views/rooms/_EntityTile.scss | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/res/css/views/rooms/_EntityTile.scss b/res/css/views/rooms/_EntityTile.scss index 80b8126b54..7fb61989f9 100644 --- a/res/css/views/rooms/_EntityTile.scss +++ b/res/css/views/rooms/_EntityTile.scss @@ -81,7 +81,6 @@ limitations under the License. color: $primary-fg-color; } -/* .mx_EntityTile_unavailable .mx_EntityTile_avatar, .mx_EntityTile_unavailable .mx_EntityTile_name, .mx_EntityTile_unavailable .mx_EntityTile_name_hover, @@ -89,7 +88,7 @@ limitations under the License. .mx_EntityTile_offline_beenactive .mx_EntityTile_name, .mx_EntityTile_offline_beenactive .mx_EntityTile_name_hover { - opacity: 0.66; + opacity: 0.5; } .mx_EntityTile_offline_neveractive .mx_EntityTile_avatar, @@ -105,7 +104,6 @@ limitations under the License. { opacity: 0.25; } -*/ .mx_EntityTile_subtext { font-size: 11px; From dedaf0f5a2288705673a6cf70dd577519f37d8f3 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 15 Feb 2019 12:36:54 +0100 Subject: [PATCH 36/43] disable lazy list rendering if extraTiles are provided --- src/components/structures/RoomSubList.js | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/components/structures/RoomSubList.js b/src/components/structures/RoomSubList.js index f7f74da728..d72f84b47f 100644 --- a/src/components/structures/RoomSubList.js +++ b/src/components/structures/RoomSubList.js @@ -282,7 +282,7 @@ const RoomSubList = React.createClass({ this.setState({scrollTop: this.refs.scroller.getScrollTop()}); }, - _getRenderItems: function() { + _getList: function() { // try our best to not create a new array // because LazyRenderList rerender when the items prop // is not the same object as the previous value @@ -296,6 +296,12 @@ const RoomSubList = React.createClass({ return list.concat(extraTiles); }, + _canUseLazyListRendering() { + // for now disable lazy rendering as they are already rendered tiles + // not rooms like props.list we pass to LazyRenderList + return !this.props.extraTiles || !this.props.extraTiles.length; + }, + render: function() { const len = this.props.list.length + this.props.extraTiles.length; const isCollapsed = this.state.hidden && !this.props.forceExpand; @@ -310,7 +316,7 @@ const RoomSubList = React.createClass({ return
{this._getHeaderJsx(isCollapsed)}
; - } else { + } else if (this._canUseLazyListRendering()) { return
{this._getHeaderJsx(isCollapsed)} @@ -319,7 +325,16 @@ const RoomSubList = React.createClass({ height={ this.state.scrollerHeight } renderItem={ this.makeRoomTile } itemHeight={34} - items={this._getRenderItems()} /> + items={ this.props.list } /> + +
; + } else { + const roomTiles = this.props.list.map(r => this.makeRoomTile(r)); + const tiles = roomTiles.concat(this.props.extraTiles); + return
+ {this._getHeaderJsx(isCollapsed)} + + { tiles }
; } From c39c0e48344aea9b9776e2c6578c197b768c5ea0 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 15 Feb 2019 12:37:22 +0100 Subject: [PATCH 37/43] fix for the ... button not being aligned for group invite tiles --- res/css/views/rooms/_RoomTile.scss | 4 ++++ src/components/views/groups/GroupInviteTile.js | 1 + 2 files changed, 5 insertions(+) diff --git a/res/css/views/rooms/_RoomTile.scss b/res/css/views/rooms/_RoomTile.scss index 6b2e2573e5..f2557f7849 100644 --- a/res/css/views/rooms/_RoomTile.scss +++ b/res/css/views/rooms/_RoomTile.scss @@ -191,3 +191,7 @@ limitations under the License. .mx_RoomTile.mx_RoomTile_transparent:focus { background-color: $roomtile-transparent-focused-color; } + +.mx_GroupInviteTile .mx_RoomTile_name { + flex: 1; +} diff --git a/src/components/views/groups/GroupInviteTile.js b/src/components/views/groups/GroupInviteTile.js index 9e28ff5adf..44441f4754 100644 --- a/src/components/views/groups/GroupInviteTile.js +++ b/src/components/views/groups/GroupInviteTile.js @@ -150,6 +150,7 @@ export default React.createClass({ const classes = classNames('mx_RoomTile mx_RoomTile_highlight', { 'mx_RoomTile_menuDisplayed': this.state.menuDisplayed, 'mx_RoomTile_selected': this.state.selected, + 'mx_GroupInviteTile': true, }); return ( From 05ddee6a6be247096e173c4f8bcb6b682860b46c Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 15 Feb 2019 12:56:11 +0100 Subject: [PATCH 38/43] remove dead code --- src/components/structures/RoomSubList.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/components/structures/RoomSubList.js b/src/components/structures/RoomSubList.js index d72f84b47f..78cc5bd58f 100644 --- a/src/components/structures/RoomSubList.js +++ b/src/components/structures/RoomSubList.js @@ -282,20 +282,6 @@ const RoomSubList = React.createClass({ this.setState({scrollTop: this.refs.scroller.getScrollTop()}); }, - _getList: function() { - // try our best to not create a new array - // because LazyRenderList rerender when the items prop - // is not the same object as the previous value - const {list, extraTiles} = this.props; - if (!extraTiles || !extraTiles.length) { - return list; - } - if (!list || list.length) { - return extraTiles; - } - return list.concat(extraTiles); - }, - _canUseLazyListRendering() { // for now disable lazy rendering as they are already rendered tiles // not rooms like props.list we pass to LazyRenderList From 5e3c598d315ab3a4ba3a1e1d1361a9f33b70de4d Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 15 Feb 2019 13:52:48 +0100 Subject: [PATCH 39/43] Prepare changelog for v1.0.1 --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d52105f9f9..6e2d021254 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +Changes in [1.0.1](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v1.0.1) (2019-02-15) +=================================================================================================== +[Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v1.0.0...v1.0.1) + + * Fix community invites crashing the app + [\#2650](https://github.com/matrix-org/matrix-react-sdk/pull/2650) + Changes in [1.0.0](https://github.com/matrix-org/matrix-react-sdk/releases/tag/v1.0.0) (2019-02-14) =================================================================================================== [Full Changelog](https://github.com/matrix-org/matrix-react-sdk/compare/v1.0.0-rc.2...v1.0.0) From c8fa30d8eee722a2b68ce0008d7e8a73e540ef35 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 15 Feb 2019 13:52:48 +0100 Subject: [PATCH 40/43] v1.0.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0b7646dda7..fba17bb9c9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "matrix-react-sdk", - "version": "1.0.0", + "version": "1.0.1", "description": "SDK for matrix.org using React", "author": "matrix.org", "repository": { From 91c91c5ca9cec166d90b71211a4f14b61ffcdf93 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Fri, 15 Feb 2019 15:14:59 +0000 Subject: [PATCH 41/43] Restore previous redacted message look in dark theme --- res/themes/dark/css/_dark.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/res/themes/dark/css/_dark.scss b/res/themes/dark/css/_dark.scss index c0d0f15613..f3bb483e30 100644 --- a/res/themes/dark/css/_dark.scss +++ b/res/themes/dark/css/_dark.scss @@ -103,6 +103,10 @@ $panel-divider-color: $header-panel-border-color; $widget-menu-bar-bg-color: $search-bg-color; +// event redaction +$event-redacted-fg-color: #606060; +$event-redacted-border-color: #000000; + // event timestamp $event-timestamp-color: $text-secondary-color; From 1e01f1b52a97a00bd80e24dd0b11ce573f681aad Mon Sep 17 00:00:00 2001 From: Aaron Raimist Date: Fri, 15 Feb 2019 09:47:38 -0600 Subject: [PATCH 42/43] Fix typo "Scisors" -> "Scissors" Signed-off-by: Aaron Raimist --- src/components/views/verification/VerificationShowSas.js | 2 +- src/i18n/strings/en_EN.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/verification/VerificationShowSas.js b/src/components/views/verification/VerificationShowSas.js index bca68e92d3..a2531800e5 100644 --- a/src/components/views/verification/VerificationShowSas.js +++ b/src/components/views/verification/VerificationShowSas.js @@ -140,7 +140,7 @@ _td("Light bulb"); _td("Book"); _td("Pencil"); _td("Paperclip"); -_td("Scisors"); +_td("Scissors"); _td("Padlock"); _td("Key"); _td("Hammer"); diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 10baa72164..9afcc07147 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -382,7 +382,7 @@ "Book": "Book", "Pencil": "Pencil", "Paperclip": "Paperclip", - "Scisors": "Scisors", + "Scissors": "Scissors", "Padlock": "Padlock", "Key": "Key", "Hammer": "Hammer", From 459f9d4fbcef354dff0cc3a04829290eebf3aeb7 Mon Sep 17 00:00:00 2001 From: Aaron Raimist Date: Fri, 15 Feb 2019 21:56:42 -0600 Subject: [PATCH 43/43] Set h3-color in dark theme This is things like "INVITED" in memberlist Signed-off-by: Aaron Raimist --- res/themes/dark/css/_dark.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/res/themes/dark/css/_dark.scss b/res/themes/dark/css/_dark.scss index f3bb483e30..11a6b5e728 100644 --- a/res/themes/dark/css/_dark.scss +++ b/res/themes/dark/css/_dark.scss @@ -67,6 +67,8 @@ $menu-selected-color: $room-highlight-color; $avatar-initial-color: #ffffff; $avatar-bg-color: $bg-color; +$h3-color: $primary-fg-color; + $dialog-background-bg-color: $header-panel-bg-color; $lightbox-background-bg-color: #000;