Commit graph

14886 commits

Author SHA1 Message Date
J. Ryan Stinnett
f15b133bed
Merge pull request #2850 from matrix-org/travis/1.0.6-fire/2843
Add MemberInfo for 3pid invites and support revoking those invites
2019-04-01 09:25:39 +01:00
J. Ryan Stinnett
83931a4a42 Clarify when memory stores are being used
This adds logging for the cases where memory only stores are being used. It also
reorganises the sync store path to match the crypto store.

Part of https://github.com/vector-im/riot-web/issues/9309
2019-03-29 16:17:55 -06:00
J. Ryan Stinnett
4c65587469 Check the local storage fallback for crypto store
This adds additional consistency checks to examine the local storage fallback
for the crypto store as well as the primary IndexedDB variant.

Part of https://github.com/vector-im/riot-web/issues/9309
2019-03-29 16:17:47 -06:00
Travis Ralston
9c502fda95 Set title attribute on images in lightbox
Part of https://github.com/vector-im/riot-web/issues/9324
2019-03-29 16:12:53 -06:00
Travis Ralston
82bc92c326 Don't send options we don't need to fetch 2019-03-29 16:11:00 -06:00
Travis Ralston
662a0e4785 Download PDFs as blobs to avoid empty grey screens
Fixes https://github.com/vector-im/riot-web/issues/8605

The grey screen of sadness comes up when Chrome tries to open the PDF but doesn't have the right CSP headers. To avoid this, we'll just force a download of the PDF through `fetch` and `Blob`. 

There are a few cases where the user might still get a grey screen though: namely if they open the URL in a new tab or when the event content is lying about the file type, or the file is too large to blobify.

`fetch` works in Chrome, Firefox, and our packaged Electron version.
2019-03-29 16:10:55 -06:00
Travis Ralston
db66d27969
Merge pull request #2847 from matrix-org/travis/pdf-blob
Download PDFs as blobs to avoid empty grey screens
2019-03-29 16:05:07 -06:00
Travis Ralston
42cfe74f70 Add common utility for checking 3pid invites
We just need to make sure they are structurally sound - actual validation is done by other parties.
2019-03-29 15:52:58 -06:00
Travis Ralston
5beec37c43 Add MemberInfo for 3pid invites and support revoking those invites
Fixes https://github.com/vector-im/riot-web/issues/625
Fixes https://github.com/vector-im/riot-web/issues/6411
Fixes https://github.com/vector-im/riot-web/issues/5490
2019-03-29 15:52:47 -06:00
Travis Ralston
b6f0b8324d
Merge pull request #2848 from matrix-org/travis/electron-save-as
Set title attribute on images in lightbox
2019-03-29 15:49:34 -06:00
Travis Ralston
8d14dc4e26 Don't send options we don't need to fetch 2019-03-29 15:48:33 -06:00
Travis Ralston
fc28f094fe Set title attribute on images in lightbox
Part of https://github.com/vector-im/riot-web/issues/9324
2019-03-29 14:55:56 -06:00
Travis Ralston
62ba7dde94 Download PDFs as blobs to avoid empty grey screens
Fixes https://github.com/vector-im/riot-web/issues/8605

The grey screen of sadness comes up when Chrome tries to open the PDF but doesn't have the right CSP headers. To avoid this, we'll just force a download of the PDF through `fetch` and `Blob`. 

There are a few cases where the user might still get a grey screen though: namely if they open the URL in a new tab or when the event content is lying about the file type, or the file is too large to blobify.

`fetch` works in Chrome, Firefox, and our packaged Electron version.
2019-03-29 14:12:48 -06:00
Travis Ralston
05e47766b4
Merge pull request #2843 from matrix-org/travis/cancel-3pid
Add MemberInfo for 3pid invites and support revoking those invites
2019-03-29 12:06:46 -06:00
Travis Ralston
86e4d29582 Merge remote-tracking branch 'origin/develop' into travis/cancel-3pid 2019-03-29 11:47:46 -06:00
Travis Ralston
07cc640089 Add common utility for checking 3pid invites
We just need to make sure they are structurally sound - actual validation is done by other parties.
2019-03-29 11:45:07 -06:00
J. Ryan Stinnett
328f0cd6bf Notify user when crypto data is missing
If we have account data in local storage but nothing in the crypto store, it
generally means the browser has evicted IndexedDB out from under us. This adds a
modal to explain the situation and offer to completely clear storage to get
things back to normal.

Fixes https://github.com/vector-im/riot-web/issues/9109
2019-03-29 16:06:08 +00:00
Bruno Windels
e7852ad1b4
Merge pull request #2846 from matrix-org/bwindels/atbottomfix
round scrollTop upwards to prevent never detecting bottom
2019-03-29 15:57:24 +00:00
Bruno Windels
1f084b2ffc
Merge pull request #2845 from matrix-org/bwindels/notifier-this
Notifier is how singleton is known outside of this module
2019-03-29 15:45:38 +00:00
Bruno Windels
8e4a06db77 round scrollTop upwards to prevent never detecting bottom 2019-03-29 16:41:10 +01:00
J. Ryan Stinnett
13e922dc93
Merge pull request #2844 from jryans/notifier-delay-prepared
Delay `Notifier` check until we have push rules
2019-03-29 15:31:16 +00:00
Bruno Windels
39355c8270 Notifier is how singleton is known outside of this module, use this inside 2019-03-29 16:27:37 +01:00
J. Ryan Stinnett
6e79cbc092 Delay Notifier check until we have push rules
The `Notifier` class expects push rules to be available, so it can explode in
strange ways if called too early. This changes to wait until the sync is in the
`PREPARED` state (when push rules should be ready) before using the `Notifier`.

Fixes https://github.com/vector-im/riot-web/issues/9323
2019-03-29 15:19:39 +00:00
Bruno Windels
a326c83016
Merge pull request #2842 from matrix-org/bwindels/bacat-scrolling-merged-develop
BACAT Scrolling
2019-03-29 14:02:15 +00:00
Bruno Windels
f157838864 dispatch supports async dispatching on its own 2019-03-29 14:32:26 +01:00
Gary
95e8299134 Translated using Weblate (Dutch)
Currently translated at 100.0% (1559 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-03-29 10:44:33 +00:00
Nathan Follens
b839afdbd7 Translated using Weblate (Dutch)
Currently translated at 100.0% (1559 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-03-29 10:44:33 +00:00
Joachim Nielandt
94605995d0 Translated using Weblate (Dutch)
Currently translated at 100.0% (1559 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-03-29 10:44:19 +00:00
Nathan Follens
8784ac07ff Translated using Weblate (Dutch)
Currently translated at 100.0% (1559 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-03-29 10:44:19 +00:00
Nathan van Beelen
f7d93acda8 Translated using Weblate (Dutch)
Currently translated at 100.0% (1559 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-03-29 10:44:03 +00:00
Nathan Follens
d59c388fff Translated using Weblate (Dutch)
Currently translated at 100.0% (1559 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-03-29 10:44:02 +00:00
Nathan van Beelen
dd3e9a9d72 Translated using Weblate (Dutch)
Currently translated at 100.0% (1559 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-03-29 10:43:49 +00:00
Nathan Follens
31c2874ea8 Translated using Weblate (Dutch)
Currently translated at 100.0% (1559 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-03-29 10:43:49 +00:00
Gary
d4a369f559 Translated using Weblate (Dutch)
Currently translated at 100.0% (1559 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-03-29 10:43:37 +00:00
Nathan Follens
50afdcfeff Translated using Weblate (Dutch)
Currently translated at 100.0% (1559 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-03-29 10:43:37 +00:00
J. A. Durieux
3df06fd70b Translated using Weblate (Dutch)
Currently translated at 100.0% (1559 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-03-29 10:43:20 +00:00
Nathan Follens
cef4c8d6ed Translated using Weblate (Dutch)
Currently translated at 100.0% (1559 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-03-29 10:43:20 +00:00
Nathan van Beelen
de43f78c19 Translated using Weblate (Dutch)
Currently translated at 100.0% (1559 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-03-29 10:42:41 +00:00
Nathan Follens
01326f10af Translated using Weblate (Dutch)
Currently translated at 100.0% (1559 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-03-29 10:42:41 +00:00
Samu Voutilainen
8d42d6837e Translated using Weblate (Finnish)
Currently translated at 97.3% (1518 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-03-29 06:29:14 +00:00
Tuomas Hietala
c2e92a478f Translated using Weblate (Finnish)
Currently translated at 97.3% (1518 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-03-29 06:29:14 +00:00
Travis Ralston
0258f61f63 Fix typo preventing custom status from deregistering listeners on tiles 2019-03-28 21:02:24 -06:00
Travis Ralston
99dc2c4738 Add MemberInfo for 3pid invites and support revoking those invites
Fixes https://github.com/vector-im/riot-web/issues/625
Fixes https://github.com/vector-im/riot-web/issues/6411
Fixes https://github.com/vector-im/riot-web/issues/5490
2019-03-28 21:02:24 -06:00
Vladimir Hodakov
60aead1dd5 Translated using Weblate (Russian)
Currently translated at 88.0% (1373 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-03-28 22:03:24 +00:00
sergio
aff5e1f50d Translated using Weblate (Russian)
Currently translated at 88.0% (1373 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-03-28 22:03:24 +00:00
i47320673
1669984f92 Translated using Weblate (Russian)
Currently translated at 88.0% (1373 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2019-03-28 22:03:24 +00:00
Gary
0bf8db35be Translated using Weblate (Dutch)
Currently translated at 87.8% (1370 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-03-28 21:55:39 +00:00
Nathan Follens
fdc259926d Translated using Weblate (Dutch)
Currently translated at 87.8% (1370 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-03-28 21:55:39 +00:00
Joachim Nielandt
1614bb66e8 Translated using Weblate (Dutch)
Currently translated at 87.2% (1360 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-03-28 21:27:14 +00:00
Nathan Follens
a32a700d63 Translated using Weblate (Dutch)
Currently translated at 87.2% (1360 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/nl/
2019-03-28 21:27:14 +00:00