Commit Graph

132 Commits

Author SHA1 Message Date
Michael Telatynski a77ed6e844
Merge branch 'develop' into t3chguy/poc_riot_desktop_sso_multi_profile 2020-04-14 17:03:00 +01:00
Michael Telatynski 2346829055 Add riot-desktop shortcuts for forward/back matching browsers&slack
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-11 18:58:00 +01:00
Michael Telatynski 15bb819c8a Instead of encrypting, pass the HS an opaque token which we locally resolve in a map to our profile data
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-09 21:17:37 +01:00
Michael Telatynski 4afd29f62c add comment
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-09 16:23:41 +01:00
Michael Telatynski 6fdeca93b6 Make the riot-desktop callback args more generic and encrypt the args
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-09 16:21:52 +01:00
Michael Telatynski 67cf1e7536 rejig
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-04 00:48:26 +01:00
Michael Telatynski 8ca9e4ccb1 Fix Electron SSO handling to support multiple profiles
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-04-04 00:22:15 +01:00
Michael Telatynski 3d266cb237 Register Mac electron specific Cmd+, shortcut to User Settings
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-03-19 23:42:10 +00:00
Michael Telatynski bb6afd7c30 backport riot-desktop implementation into riot-web 2020-03-02 20:16:41 +00:00
Michael Telatynski 0d9be8c255 Remove will-navigate as we expect it to be broken like pre-8.0.2 2020-03-02 11:09:06 +00:00
J. Ryan Stinnett 1043b0eb11 Remove will-navigate comment after Electron fix
Electron 8.0.2 and later (which we're now using) resolves this issue with
`will-navigate`.
2020-02-28 11:42:08 +00:00
Damir Jelić 7aff020d4d Merge branch 'poljar/seshat-ui' into develop 2020-01-24 14:40:54 +01:00
Damir Jelić e1e3bba290 ElectronPlatform: Replace the indexSize method with the getStats method. 2020-01-21 13:35:29 +01:00
Damir Jelić e556bb242f ElectronPlatform: Add the indexSize method. 2020-01-21 13:35:29 +01:00
Damir Jelić a2e256b4c9 ElectronPlatform: Add the ability to load file events from the event index. 2020-01-17 10:11:57 +01:00
besendorf a6015d46f4
Updates URL for Electron Command Line Switches
old URL is not accessible anymore
2020-01-09 15:48:12 +01:00
Michael Telatynski 443d3812d1
Merge pull request #11690 from vector-im/t3chguy/context_menu_accelerators
Add accelerators to context menu options like cut&paste in electron
2019-12-19 19:27:24 +00:00
Damir Jelić 6ead268ef0 electron-main: Provide a better error message if Seshat isn't installed.
This closes #11637.
2019-12-19 12:45:32 +01:00
Michael Telatynski 5fbe74e20d Add accelerators to context menu options like cut&paste in electron 2019-12-19 11:16:33 +00:00
David Baker 04402b325a Remove more origin migrator bits 2019-12-09 15:01:10 +00:00
David Baker bd57ff793f Remove rest of the origin migrator 2019-12-09 14:54:36 +00:00
David Baker 33284302b9 try & explain better 2019-12-09 13:44:42 +00:00
David Baker 89d622b8b2 Remove the code that calls the origin migrator
This will have done its job now, everyone's had long enough to
install a newer version of Riot and migrate to the new origin.

Laves the code on the backend that handles it for the time being,
as per comment.
2019-12-09 11:57:43 +00:00
Matthew Hodgson fe7813958a actually log the reason why seshat fails to load... 2019-11-27 01:45:11 +00:00
Damir Jelić 222fea969d Merge branch 'poljar/seshat-pr' into develop 2019-11-26 18:47:58 +01:00
Damir Jelić b17a403bcd electron-main: No need to normalize the path. 2019-11-19 13:34:00 +01:00
Damir Jelić 0813aff1bd electron-main: Remove an extra newline. 2019-11-19 12:36:11 +01:00
Travis Ralston 6bf03415ac Let the user's homeserver config override the build config
Specifically for the desktop app to prevent the warning about too many homeservers defined.
2019-11-18 09:11:05 -07:00
Damir Jelić dd2c210cfb electron-main: Rework the event index initialization and deletion. 2019-11-14 16:14:48 +01:00
Damir Jelić 7147af8f80 ElectronPlatform: Don't scope the event index per user. 2019-11-14 14:14:59 +01:00
Damir Jelić b90a94bdd9 electron-main: Enable encryption for Seshat. 2019-11-14 12:13:40 +01:00
Damir Jelić e9352fca9a electron-main: Switch to matrix-seshat. 2019-11-14 12:12:54 +01:00
Damir Jelić 437c59f087 electron-main: Check for seshat existence instead of erroring out. 2019-11-13 17:05:32 +01:00
Damir Jelić 449eca6fb4 electron-main: Add a missing break. 2019-11-13 15:59:59 +01:00
Damir Jelić c3c5756c7a ElectronPlatform: Implement the EventIndexManager for Seshat. 2019-11-13 15:55:07 +01:00
Damir Jelić a6839afc1f electron-main: Use a capital letter for the seshat import. 2019-11-08 13:57:41 +01:00
Damir Jelić 94196eb11b electron-main: Use camle-case for the send_error method. 2019-11-08 13:45:06 +01:00
Michael Telatynski 03887f9d1b Fix close window behaviour on Macos 2019-11-04 18:02:33 +00:00
Michael Telatynski eab6ffe7db
Merge pull request #11258 from vector-im/t3chguy/hide_tray_icon
Add ability to hide tray icon on non-Mac (which has no tray icon)
2019-10-30 16:31:47 +00:00
Michael Telatynski cb5ef44d3f Remove outdated workaround which on modern electron makes window not show 2019-10-30 14:33:20 +00:00
Michael Telatynski 9820e59559 Merge hide-to-tray-icon with show-tray-icon 2019-10-30 14:32:28 +00:00
David Baker cc840df352 Fix bug preventing display from sleeping after a call
Calls often transition from connected to connected after transitioning
into the connected state (when the ICE layer connects) so we ended up
creating two wake locks and then only stopping one of them.

Don't make another wake lock if we already have one.

Hopefully fixes https://github.com/vector-im/riot-web/issues/6814
2019-10-30 10:58:34 +00:00
Michael Telatynski 4b0fa940bb revert icon path change 2019-10-29 12:00:40 +00:00
Michael Telatynski 1498872214 Add ability to hide tray icon on non-Mac (which has no tray icon) 2019-10-29 11:37:42 +00:00
Damir Jelić 1dbdd0a366 ElectronPlatform: Add support for a event index using Seshat. 2019-10-11 16:05:14 +02:00
RiotRobot 6bd089c350 Merge branch 'master' into develop 2019-09-19 17:54:39 +01:00
David Baker 42b756952e
Typo
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2019-09-19 17:42:43 +01:00
David Baker 6464bfe850 Remove the other listener when one fires 2019-09-19 17:41:08 +01:00
David Baker 835d7bfb9d Fix origin migrator for SSO logins
For some reason this was trying to close the same window twice
when the app was reloaded after an SSO login. Possibly also a
problem on electron < 6 - presumably a race condition.
2019-09-19 17:20:54 +01:00
Michael Telatynski 906045b215
Merge pull request #10530 from vector-im/t3chguy/electron_help
Add --help to electron app
2019-08-09 17:02:51 +01:00