Commit Graph

202 Commits (a0c205e4c92bcf874483589c4063608189d5186d)

Author SHA1 Message Date
David Baker a0c205e4c9 v0.17.9 2019-01-22 11:44:13 +00:00
David Baker e94e712d49 v0.17.9-rc.1 2019-01-17 11:07:42 +00:00
David Baker 62a49af23f Only serve origin migrator whilst migrating
as per comment
2018-12-21 22:21:06 +00:00
David Baker 751a1dc543 Add tool to migrate logins between origins
App checks at startup for an existing session, if there isn't one,
it will start the tool to check for a login in the file:// origin.
If there is one, it will copy the login over to the vector://vector
origin.

In principle this could also be used to migrate logins between
other origins on the web if this were ever required.

This includes a minified copy of the browserified js-sdk with
a getAllEndToEndSessions() function added to the crypto store
(https://github.com/matrix-org/matrix-js-sdk/pull/812). This is
not great, but for a short-lived tool this seems better than
introducing more entry points into webpack only used for the
electron app.
2018-12-21 19:14:25 +00:00
David Baker b6d70f4434 Missing include 2018-12-19 12:25:32 +00:00
David Baker fc4e1485ad Electron: Load app from custom protocol
This puts the app into its own origin so it doesn't have access
to the filesystem via file:// URIs.

Next step: migrate over localstorage & indexeddb data from the old
origin...
2018-12-19 12:04:40 +00:00
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 60d3076038 Update to new electron single instance API 2018-12-18 18:10:09 +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
David Baker 7c4f67b1a1 v0.17.8 2018-12-10 13:46:57 +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 6ba471421f v0.17.8-rc.1 2018-12-06 11:20:33 +00:00
David Baker 58f927538f v0.17.7 2018-11-22 16:56:41 +00:00
David Baker 07ed2e8d0a v0.17.6 2018-11-19 15:23:08 +00:00
David Baker a4a6f070e4 v0.17.6-rc.2 2018-11-15 15:38:42 +00:00
David Baker 154e8bdb50 v0.17.6-rc.1 2018-11-15 12:21:16 +00:00
David Baker cc4d0af713 Merge branch 'master' into develop 2018-11-13 19:02:34 +00:00
David Baker a1e5c72eb9 v0.17.5 2018-11-13 18:52:59 +00:00
David Baker 061838bdab Merge branch 'master' into develop 2018-11-13 18:19:10 +00:00
David Baker 71403980cc v0.17.4 2018-11-13 18:09:48 +00:00
David Baker 409c48efcb Merge branch 'master' into develop 2018-10-29 14:27:46 +00:00
David Baker 4574415e97 v0.17.3 2018-10-29 14:20:59 +00:00
Michael Telatynski c80f5ddcd1 Correct the author of the electron app
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2018-10-27 11:04:05 +01:00
David Baker a9a45dc32b v0.17.3-rc.1 2018-10-24 11:30:44 +01:00
Bruno Windels 221f75542a v0.17.2 2018-10-19 16:51:26 +02:00
David Baker 2518976326 v0.17.1 2018-10-18 18:38:54 +01:00
David Baker 1fc8592ef6 v0.17.0 2018-10-16 10:59:18 +01:00
David Baker 005e4aa1bd Phased rollout of lazyloading 2018-10-16 10:43:15 +01:00
David Baker 74f2266d89 v0.17.0-rc.1 2018-10-11 16:02:48 +01:00
Bruno Windels 957fde964b v0.16.5 2018-10-01 16:48:52 +02:00
Bruno Windels 582b67c42e v0.16.5-rc.1 2018-09-27 14:48:40 +01:00
Bruno Windels 44791a65b8 Revert "v0.16.5-rc.1"
This reverts commit 81dfe506ac.
2018-09-27 14:46:42 +01:00
Bruno Windels 81dfe506ac v0.16.5-rc.1 2018-09-27 14:42:14 +01:00
David Baker d8aaae6d42 v0.16.4 2018-09-10 11:42:20 +01:00
David Baker 42bac1620e v0.16.4-rc.1 2018-09-07 14:39:20 +01:00
David Baker c150d97eaf v0.16.3 2018-09-03 14:29:48 +01:00
David Baker 9e4aa50567 v0.16.3-rc.2 2018-08-31 13:50:57 +01:00
David Baker 2bef30635c v0.16.3-rc.1 2018-08-30 14:39:12 +01:00
David Baker 656d0e0ff4 v0.16.2 2018-08-23 15:32:22 +01:00
David Baker 2ba60a7893 v0.16.1 2018-08-20 13:58:47 +01:00
David Baker c46963807e v0.16.1-rc.1 2018-08-16 15:46:28 +01:00
David Baker 6e0aeeea83 v0.16.0 2018-07-30 12:14:55 +01:00
David Baker f248da3e08 v0.16.0-rc.2 2018-07-24 19:40:52 +01:00
David Baker ea00df0466 v0.16.0-rc.1 2018-07-24 18:33:53 +01:00
David Baker 847df2f75b v0.15.7 2018-07-09 13:19:14 +01:00
David Baker d7ebd88804 v0.15.7-rc.2 2018-07-06 15:59:20 +01:00
David Baker 7e3cb3ba31 v0.15.7-rc.1 2018-07-04 11:27:21 +01:00
David Baker 84fbee085d v0.15.6 2018-06-29 12:01:17 +01:00
David Baker 62653d39b3 v0.15.6-rc.2 2018-06-22 18:13:00 +01:00