Commit Graph

14873 Commits (6e6e7483764ccc206e4de076feafcc202f0dd676)

Author SHA1 Message Date
David Baker 6e6e748376 Logging tweaks
To try & diagnose https://github.com/vector-im/riot-web/issues/7769

Null check on e before looking for the `name` property and log it
separately rather than appending it to a string (not that this will
help if it's undefined, but it's more useful in general).
2019-04-02 12:31:18 +01:00
David Baker b6faaf419c PR feedback 2019-04-02 10:50:17 +01:00
David Baker 0add3d0825 Translate into peoplecounting 2019-04-01 16:52:06 +01:00
David Baker fedd4598b5 Space
The final frontier
2019-04-01 16:50:23 +01:00
David Baker 5b2cee2fc1 Implement redesigned upload confirmation screens
Also fairly significant refactor of the uploading code: there are
a number of different ways of triggerring a file upload and each
went through a different code path (the media config size limit
worked on one of those paths). Basically take a lot of code out
of the views and put it into ContentMessages.

Sorry about the size of this patch.

https://github.com/vector-im/riot-web/issues/7565
2019-04-01 16:42:41 +01:00
David Baker f3e8722504 Merge branch 'master' into develop 2019-04-01 13:48:54 +01:00
David Baker 33f2401e63 v1.0.6 2019-04-01 13:43:49 +01:00
David Baker 9cba85e3f4 Prepare changelog for v1.0.6 2019-04-01 13:43:48 +01:00
David Baker 6cde0eb1b2 released js-sdk 2019-04-01 13:38:06 +01:00
David Baker 9e704a9636
Merge pull request #2857 from RiotTranslateBot/weblate-riot-web-matrix-react-sdk
Update from Weblate
2019-04-01 13:21:07 +01:00
Kévin C 5e42350538 Translated using Weblate (French)
Currently translated at 99.1% (1569 of 1582 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-04-01 12:18:36 +00:00
Weblate 8c05da6b72 remove empty translation 2019-04-01 12:18:17 +00:00
Kévin C 4e81a99aa4 Translated using Weblate (French)
Currently translated at 99.6% (1576 of 1582 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-04-01 12:14:01 +00:00
Kévin C 232d0468be Translated using Weblate (French)
Currently translated at 99.2% (1570 of 1582 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-04-01 12:11:33 +00:00
Kévin C 7ca17f9eff Translated using Weblate (French)
Currently translated at 99.2% (1570 of 1582 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-04-01 12:11:33 +00:00
David Baker 582141941f Deleted translation using Weblate (English (United Kingdom)) 2019-04-01 11:01:50 +00:00
Weblate 731f11057d Merge branch 'origin/develop' into Weblate. 2019-04-01 08:42:50 +00:00
Kenneth Larsson a8f9e92196 Translated using Weblate (Swedish)
Currently translated at 81.0% (1264 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/sv/
2019-04-01 08:42:47 +00:00
Peter Vágner d7ee49e13e Translated using Weblate (Slovak)
Currently translated at 96.6% (1507 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/sk/
2019-04-01 08:42:42 +00:00
sergio 383f5eaa3f 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-04-01 08:42:42 +00:00
Karol Kosek daa79940be Translated using Weblate (Polish)
Currently translated at 73.3% (1144 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2019-04-01 08:42:42 +00:00
csybr afea41288b Translated using Weblate (Norwegian Nynorsk)
Currently translated at 67.6% (1054 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/nn/
2019-04-01 08:42:42 +00:00
tea 133b1340b1 Translated using Weblate (Italian)
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/it/
2019-04-01 08:42:41 +00:00
random 3e4777ff61 Translated using Weblate (Italian)
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/it/
2019-04-01 08:42:41 +00:00
Szimszon c60df950dd Translated using Weblate (Hungarian)
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/hu/
2019-04-01 08:42:19 +00:00
Krombel 7d0c996b75 Translated using Weblate (German)
Currently translated at 96.2% (1500 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/de/
2019-04-01 08:42:18 +00:00
Kévin C b27e26e5d0 Translated using Weblate (French)
Currently translated at 99.8% (1557 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/fr/
2019-04-01 08:42:15 +00:00
Samu Voutilainen 15bb063fa4 Translated using Weblate (Finnish)
Currently translated at 97.4% (1519 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/fi/
2019-04-01 08:42:14 +00:00
Carmen Bianca Bakker 09034641de Translated using Weblate (Esperanto)
Currently translated at 78.5% (1225 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2019-04-01 08:42:14 +00:00
Nathan Follens 10b19cbb9d 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-04-01 08:41:58 +00:00
Jeff Huang 98d3ffaebb Translated using Weblate (Chinese (Traditional))
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/zh_Hant/
2019-04-01 08:41:58 +00:00
pogback 0e3bfc3693 Translated using Weblate (Chinese (Simplified))
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/zh_Hans/
2019-04-01 08:41:58 +00:00
Slavi Pantaleev 49d815ad56 Translated using Weblate (Bulgarian)
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/bg/
2019-04-01 08:41:57 +00:00
Osoitz 397f2e87e6 Translated using Weblate (Basque)
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/eu/
2019-04-01 08:41:55 +00:00
Besnik Bleta 921b83bbc3 Translated using Weblate (Albanian)
Currently translated at 99.6% (1554 of 1559 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: http://translate.riot.im/projects/riot-web/matrix-react-sdk/sq/
2019-04-01 08:41:51 +00:00
J. Ryan Stinnett dad77c9307
Merge pull request #2853 from matrix-org/travis/1.0.6-fire/2840
Handle storage fallback cases in consistency check
2019-04-01 09:28:25 +01:00
J. Ryan Stinnett debf77cdda
Merge pull request #2852 from matrix-org/travis/1.0.6-fire/2848
Set title attribute on images in lightbox
2019-04-01 09:27:56 +01:00
J. Ryan Stinnett ae71fd1c0b
Merge pull request #2851 from matrix-org/travis/1.0.6-fire/2847
Download PDFs as blobs to avoid empty grey screens
2019-04-01 09:27:45 +01:00
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