Commit graph

7133 commits

Author SHA1 Message Date
David Baker
b35903bb19
Merge pull request #7907 from vector-im/dbkr/electron_sandbox
Run the Desktop app in a sandbox
2018-12-19 09:48:10 +00:00
David Baker
ff45dc6430 Remove unused commented line 2018-12-19 09:29:05 +00:00
Weblate
b1c48ed346 Merge remote-tracking branch 'origin/develop' into develop 2018-12-18 19:14:28 +00:00
David Baker
5a549519a6
Merge pull request #7908 from vector-im/dbkr/electron_singleinstance_apiupdate
Update to new electron single instance API
2018-12-18 19:14:22 +00:00
David Baker
0e580635eb Update tests for new platform layout 2018-12-18 18:13:51 +00:00
David Baker
60d3076038 Update to new electron single instance API 2018-12-18 18:10:09 +00:00
David Baker
0c428efea0 lint 2018-12-18 18:03:47 +00:00
David Baker
19f1489c92 Run the Desktop app in a sandbox
* Turn off node integration in the electron renderer process
 * Enable the chromium sandbox to put the renderer into its own process
 * Expose just the ipc module with a preload script
 * Introduce a little IPC call wrapper so we can call into the
   renderer process and await on the result.
 * Use this in a bunch of places we previously used direct calls
   to electron modules.
 * Convert other uses of node, eg. use of process to derive the
   platform (just look at the user agent)
 * Strip out the desktopCapturer integration which doesn't appear
   to have ever worked (probably best to just wait until
   getDisplayMedia() is available in chrome at this point:
   https://github.com/vector-im/riot-web/issues/4880).
2018-12-18 17:42:55 +00:00
Tom Lant
b406da8755 Update issue templates 2018-12-18 11:04:34 +00:00
Tom Lant
e9fa1dd3a9 Update issue templates 2018-12-18 11:03:55 +00:00
Tom Lant
87c006da2c Update issue templates 2018-12-18 10:44:49 +00:00
Weblate
15a8560f9a Merge remote-tracking branch 'origin/develop' into develop 2018-12-18 01:22:08 +00:00
random
0daf7c9af7 Translated using Weblate (Italian)
Currently translated at 100.0% (37 of 37 strings)

Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/it/
2018-12-18 01:22:08 +00:00
J. Ryan Stinnett
17983c47d8 Link to CONTRIBUTING from JS SDK
The JS SDK's CONTRIBUTING file is a bit simpler to read. The Synapse version previously used includes mentions of Python lint tools that don't apply here.

Signed-off-by: J. Ryan Stinnett <jryans@gmail.com>
2018-12-18 01:22:03 +00:00
Weblate
6e0145eeea Merge remote-tracking branch 'origin/develop' into develop 2018-12-11 16:41:37 +00:00
Bruno Windels
df155293b1
Merge pull request #7834 from vector-im/rav/no_preserve_hs_url
Update the tests to match https://github.com/matrix-org/matrix-react-sdk/pull/2340
2018-12-11 16:41:31 +00:00
Richard van der Hoff
6ca0b3ad03 Update the tests to match https://github.com/matrix-org/matrix-react-sdk/pull/2340
See the react-sdk PR for some context.
2018-12-11 16:14:17 +00:00
Weblate
9111370349 Merge remote-tracking branch 'origin/develop' into develop 2018-12-10 13:54:18 +00:00
Akarshan Biswas
868ec82997 Translated using Weblate (Hindi)
Currently translated at 100.0% (37 of 37 strings)

Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/hi/
2018-12-10 13:54:17 +00:00
David Baker
c2038a5ccc v0.17.8 2018-12-10 13:48:11 +00:00
David Baker
cb628d0799 Prepare changelog for v0.17.8 2018-12-10 13:48:11 +00:00
David Baker
7c4f67b1a1 v0.17.8 2018-12-10 13:46:57 +00:00
David Baker
a82f9d5266 Released js-sdk & react-sdk 2018-12-10 13:46:35 +00:00
David Baker
b6493a2f82 v0.17.8-rc.1 2018-12-06 12:49:53 +00:00
David Baker
74c81d6921 v0.17.8-rc.1 2018-12-06 12:48:34 +00:00
David Baker
02eb8a284c Actually revert electron app version bump
last one was in fasct the main version file
2018-12-06 12:47:18 +00:00
David Baker
bf2d792d94 Revert electron app version bump 2018-12-06 12:45:38 +00:00
David Baker
10294ab240 react-sdk rc.2 2018-12-06 12:42:52 +00:00
David Baker
88ff92a658 v0.17.8-rc.1 2018-12-06 11:21:42 +00:00
David Baker
8d9987a6b5 Prepare changelog for v0.17.8-rc.1 2018-12-06 11:21:42 +00:00
David Baker
6ba471421f v0.17.8-rc.1 2018-12-06 11:20:33 +00:00
David Baker
5310b4c14b js-sdk & react-sdk rc.1 2018-12-06 11:20:00 +00:00
angelo-martinovic
d0a35f378b Translated using Weblate (Croatian)
Currently translated at 100.0% (37 of 37 strings)

Translation: Riot Web/riot-web
Translate-URL: https://translate.riot.im/projects/riot-web/riot-web/hr/
2018-12-05 17:37:24 +00:00
angelo-martinovic
2648fe066e Added translation using Weblate (Croatian) 2018-12-05 16:26:02 +00:00
David Baker
69567f9806
Merge pull request #7784 from RiotTranslateBot/weblate-riot-web-riot-web
Update from Weblate.
2018-12-05 16:00:19 +00:00
Weblate
0007e669fb Merge remote-tracking branch 'origin/develop' into develop 2018-12-05 15:55:37 +00:00
David Baker
7247e97ff0 Update to electron 3.0.10 2018-12-05 15:55:20 +00:00
Weblate
844dbcf740 Merge remote-tracking branch 'origin/develop' into develop 2018-11-29 21:56:33 +00:00
Travis Ralston
10671aa06e
Merge pull request #7755 from vector-im/travis/rageshake-console
Add a function to send a rageshake from the console
2018-11-29 14:56:27 -07:00
Travis Ralston
373f850002 Safely bind console.log and default withLogs to true 2018-11-29 13:13:46 -07:00
Travis Ralston
ac34ca11df Appease the linter 2018-11-27 16:11:58 -07:00
Travis Ralston
710e295b44 Add a function to send a rageshake from the console
This is mostly useful for cases when the UI is broken or the user can't access the button because they aren't logged in. This is particularly helpful for troubleshooting issues with .well-known discovery if/when they come up.

Ref: https://github.com/vector-im/riot-web/issues/4802
2018-11-27 16:03:37 -07:00
Bruno Windels
22a1a7343b Merge branch 'develop' into experimental 2018-11-26 13:11:03 +01:00
Weblate
c3b05cb34e Merge remote-tracking branch 'origin/develop' into develop 2018-11-23 07:53:16 +00:00
David Baker
b5c27ca074
Merge pull request #7738 from vector-im/revert-7737-revert-7490-lint
Re-apply "Run lint on travis builds and use modern node versions"
2018-11-23 07:53:11 +00:00
David Baker
704a599811 Put back modernizr import
In a way that hopefully makes the linter happy and makes it implicit
that it's side-effecting a global.
2018-11-22 18:27:53 +00:00
David Baker
1dfaf70562
Revert "Revert "Run lint on travis builds and use modern node versions"" 2018-11-22 18:25:55 +00:00
Weblate
dc92b126c7 Merge remote-tracking branch 'origin/develop' into develop 2018-11-22 18:18:06 +00:00
David Baker
c6f70cb72c
Merge pull request #7737 from vector-im/revert-7490-lint
Revert "Run lint on travis builds and use modern node versions"
2018-11-22 18:18:01 +00:00
David Baker
f701e2601a
Revert "Run lint on travis builds and use modern node versions" 2018-11-22 18:17:09 +00:00