Commit Graph

11688 Commits (dfb4c594a8d2fef801228d778f9fa53e9a3c2079)

Author SHA1 Message Date
Peter Vágner ded35e43a0
A11y: repurpose more divs into AccessibleButtons.
With this more of the
controls that look like buttons can be operated via the keyboard and
navigated to by screen reader users. This includes editor buttons such
as File upload, Audio / Video call, Right pannel hide button, Jump to
the bottom timeline button, and some more buttons found in the user
settings.
Also I have added alt texts to some images that in turn label buttons
which these happen to be packed in and removed some untranslated alt
texts from decorative non-actionable images that might add more
verbosity when talking about screen reader user experience.
2018-10-02 13:55:24 +02:00
David Baker 3cc4ea5ecb
Merge pull request #2188 from aaronraimist/promise-defer-scalarauthclient
Fix Promise.defer warning in ScalarAuthClient.js
2018-10-02 12:14:18 +01:00
Aaron Raimist ef3d1a611a
Fix Promise.defer warning in ScalarAuthClient.js
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-01 19:57:27 -05:00
Bruno Windels 862d67c0f7 Merge branch 'master' into develop 2018-10-01 16:10:13 +02:00
Bruno Windels c4d39eebe7 v0.13.5 2018-10-01 16:07:31 +02:00
Bruno Windels d2d48a0b20 Prepare changelog for v0.13.5 2018-10-01 15:51:23 +02:00
Bruno Windels f8ffb15577 update matrix-js-sdk version to latest release 2018-10-01 15:49:01 +02:00
Matthew Hodgson bccfb5dafc better englishing 2018-10-01 13:27:32 +01:00
David Baker 3751074244
Merge pull request #2180 from matrix-org/travis/3pid-required
Communicate early that a 3pid is required during registration if needed
2018-10-01 11:55:53 +01:00
Matthew Hodgson df943a79df
Merge pull request #2185 from matrix-org/matthew/reword-rageshake
try to encourage people to attach logs to bugs
2018-09-28 22:19:15 +01:00
Matthew Hodgson 6652d2b0e6 try to encourage people to attach logs to bugs 2018-09-28 21:05:05 +01:00
Travis Ralston a1cb6d64cf
Merge pull request #2182 from matrix-org/travis/warn-disconnect-early
Show the 'homeserver unavailable' warning when the first sync fails
2018-09-28 07:55:07 -06:00
Bruno Windels 5765d59132
Merge pull request #2083 from matrix-org/t3chguy/is_url
allow passing initial is_url like hs_url in query params
2018-09-28 13:20:50 +01:00
Bruno Windels a933bbb2c4
Merge pull request #2177 from matrix-org/dbkr/update_karma
Update karma
2018-09-28 13:01:40 +01:00
Matthew Hodgson c0b89866de
Merge pull request #2184 from matrix-org/matthew/fudge-hangup-reason
fudge hangup reasons
2018-09-28 01:09:55 +01:00
Matthew Hodgson d839629aea fudge hangup reasons 2018-09-27 23:51:33 +01:00
Travis Ralston d74efd09ab Track how far the user travels before dismissing their user settings
Fixes https://github.com/vector-im/riot-web/issues/7158

Because the onClick was on a fullpage div, the browser was firing it regardless of how far the mouse moved. The onClick event itself doesn't give us any sort of travel distance, or a start point we can use to determine if they clicked a scrollbar or something. This means we have to rely on good ol' fashioned mouse down and up events to see if the user moved their mouse during their click. 

If the user's click starts in a valid container, we record the coordinates. This is so we can easily identify when the user clicks inside something like the settings container itself. When the user releases their mouse, we determine how far they moved their mouse - if the distance is within some threshold (~5 pixels in this case) then we can count it as a click. Because we've already filtered on the component they started their click in, we can safely rely on the presence of coordinates as a flag that they are in the right container, combined with the fact that they can't stray too far before their click not counting anyways.
2018-09-27 16:13:51 -06:00
Travis Ralston 16b2fb7fe6 Show the 'homeserver unavailable' warning when the first sync fails
Fixes https://github.com/vector-im/riot-web/issues/7380
2018-09-27 14:31:55 -06:00
Travis Ralston cf0c12f679
Merge pull request #2181 from matrix-org/travis/fix-i18n-script-1
Provide more helpful errors when i18n generation fails
2018-09-27 12:08:12 -06:00
Travis Ralston fb262596b2 Provide more helpful errors when i18n generation fails
Also fix TextForEvent.js so it doesn't break the script. Using a variable here is not recognized, so the object has been moved inline instead.
2018-09-27 11:55:57 -06:00
Travis Ralston de132a8f8e Communicate early that a 3pid is required during registration if needed
Fixes https://github.com/vector-im/riot-web/issues/7297
2018-09-27 11:53:45 -06:00
Bruno Windels 1b224c2205 v0.13.5-rc.1 2018-09-27 13:51:12 +01:00
Bruno Windels bd88bf9303 Prepare changelog for v0.13.5-rc.1 2018-09-27 13:51:11 +01:00
Bruno Windels 99a5989c03 bump matrix-js-sdk 2018-09-27 13:48:36 +01:00
Bruno Windels 1b4570ffa1
Merge pull request #2178 from matrix-org/bwindels/resynconlltoggle
resync when LL is toggled, show message when enabled
2018-09-27 09:49:39 +01:00
Bruno Windels 9c78610c62 Merge branch 'develop' into bwindels/resynconlltoggle 2018-09-26 18:22:24 +01:00
Bruno Windels f4860cfe63 update copyright notice 2018-09-26 18:22:05 +01:00
Bruno Windels b9f57d8f11
Merge pull request #2179 from RiotTranslateBot/weblate-riot-web-matrix-react-sdk
Update from Weblate.
2018-09-26 18:12:28 +01:00
Bruno Windels 83c2bd7313 Translated using Weblate (English (United States))
Currently translated at 65.0% (819 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/en_US/
2018-09-26 16:27:44 +00:00
Bruno Windels e0c5b0d5ed translations 2018-09-26 17:23:51 +01:00
Bruno Windels fd2ab406d4 update copy 2018-09-26 16:48:04 +01:00
Bruno Windels 130f3cc2ff only get component when needed 2018-09-26 16:30:35 +01:00
Bruno Windels 824ad5e318 delete sync data when LL is toggled, show message when enabling 2018-09-26 16:25:21 +01:00
David Baker 8febf24d6b Update karma
To fix a bunch of vulns in the many packages it depends on
2018-09-26 11:54:30 +01:00
Will Hunt 41336a9de6
Oops, missing deferred 2018-09-26 02:06:02 +01:00
Will Hunt ceaa3aaca4
Use createObjectURL instead of readAsDataURL for videos 2018-09-26 02:04:55 +01:00
Weblate 914f2622e3 Merge remote-tracking branch 'origin/develop' into develop 2018-09-25 20:16:41 +00:00
csybr 0c8b920db8 Translated using Weblate (Norwegian Nynorsk)
Currently translated at 96.9% (1220 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2018-09-25 20:16:41 +00:00
Victor Grousset 9a48284064 Translated using Weblate (Esperanto)
Currently translated at 87.3% (1100 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2018-09-25 20:16:40 +00:00
Simó Albert i Beltran 5cbe432795 Translated using Weblate (Catalan)
Currently translated at 79.9% (1006 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ca/
2018-09-25 20:16:40 +00:00
Matthew Hodgson d3d4768ff0
Merge pull request #2175 from matrix-org/travis/build-process
Split npm start into an init and watch script
2018-09-25 21:16:36 +01:00
Travis Ralston c5a2e0b988 Split npm start into an init and watch script
This is to better support riot-web's build process without losing the functionality supplied by `npm start`. The watch script no longer performs an initial build and thus `start:init` has been created for this purpose.
2018-09-25 11:07:46 -06:00
Slavi Pantaleev 72a535ddac Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1259 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-09-24 12:53:34 +00:00
Jeff Huang 0fd360d35d Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1259 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2018-09-21 00:55:56 +00:00
Silvano 879f11b88b Translated using Weblate (Italian)
Currently translated at 100.0% (1259 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2018-09-20 23:12:33 +00:00
Kévin C 83f939d5be Translated using Weblate (French)
Currently translated at 100.0% (1259 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-09-20 20:55:10 +00:00
Osoitz f2d1bf46e2 Translated using Weblate (Basque)
Currently translated at 100.0% (1259 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eu/
2018-09-20 15:10:48 +00:00
Krombel a1a0dd5691 Translated using Weblate (German)
Currently translated at 100.0% (1259 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2018-09-20 14:34:11 +00:00
Szimszon 95cfedb906 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1259 of 1259 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-09-20 11:09:46 +00:00
Weblate e08af42647 Merge remote-tracking branch 'origin/develop' into develop 2018-09-20 10:42:11 +00:00