Commit graph

11613 commits

Author SHA1 Message Date
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
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
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
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
Matthew Hodgson
1157320cba s/canonical address/main address/g for consistency 2018-09-20 11:41:59 +01:00
Kévin C
63dd155ad0 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 10:26:30 +00:00
Szimszon
19da696058 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 10:25:44 +00:00
Weblate
e15c581f6a Merge remote-tracking branch 'origin/develop' into develop 2018-09-20 09:34:18 +00:00
Victor Grousset
4d34f5f966 Translated using Weblate (Esperanto)
Currently translated at 87.5% (1100 of 1257 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2018-09-20 09:34:17 +00:00
Matthew Hodgson
a8d224736c
Merge pull request #2171 from matrix-org/matthew/canonical_aliases
show canonical aliases in timeline, and set/remove implicit ones
2018-09-20 10:34:12 +01:00
Slavi Pantaleev
805c856324 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (1257 of 1257 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/bg/
2018-09-20 08:14:16 +00:00
Matthew Hodgson
0f806d5b99 Merge branch 'develop' into matthew/canonical_aliases 2018-09-20 01:45:08 +01:00
Matthew Hodgson
e9806bb147 autocomplete domains on aliases 2018-09-20 01:38:25 +01:00
Matthew Hodgson
1aa85c69e4 fix vector-im/riot-web#7293 2018-09-20 01:23:29 +01:00
Matthew Hodgson
c6fa8ea24c show canonical aliases in timeline, and set/remove implicit ones 2018-09-20 01:07:01 +01:00
Weblate
abe6d72125 Merge remote-tracking branch 'origin/develop' into develop 2018-09-19 11:35:23 +00:00
Bruno Windels
b431292f6e
Merge pull request #2168 from matrix-org/bwindels/fixstalerr
Fix stale RR and improve LL reliability in RoomView & MemberList.
2018-09-19 13:35:17 +02:00
Bruno Windels
920e0d397c Merge branch 'develop' into bwindels/fixstalerr 2018-09-19 12:15:41 +02:00
Bruno Windels
93d34e7b3d fix lint 2018-09-19 12:00:29 +02:00
random
909e4052bc Translated using Weblate (Italian)
Currently translated at 100.0% (1257 of 1257 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/it/
2018-09-19 09:21:23 +00:00
Weblate
4d3afd1dc1 Merge remote-tracking branch 'origin/develop' into develop 2018-09-19 09:05:12 +00:00
Victor Grousset
1020580653 Translated using Weblate (Esperanto)
Currently translated at 87.5% (1100 of 1257 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2018-09-19 09:05:11 +00:00
Bruno Windels
42c148f330
Merge pull request #2170 from matrix-org/bwindels/disablelle2etests
pass --travis flag to e2e tests to disable tests known not to work Travis CI
2018-09-19 11:05:05 +02:00
Bruno Windels
8d9850b7e7 pass --travis flag to e2e tests to disable tests known not to work on travis CI because of dinosaur ubuntu version 2018-09-19 10:57:47 +02:00
Kévin C
e5b151ea26 Translated using Weblate (French)
Currently translated at 100.0% (1257 of 1257 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2018-09-18 21:48:21 +00:00
Szimszon
c2c735d521 Translated using Weblate (Hungarian)
Currently translated at 100.0% (1257 of 1257 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/hu/
2018-09-18 18:48:51 +00:00
Bruno Windels
e951a22d31 fix tests 2018-09-18 17:09:14 +02:00
Weblate
042bbca473 Merge remote-tracking branch 'origin/develop' into develop 2018-09-18 10:14:50 +00:00