Commit graph

197 commits

Author SHA1 Message Date
Germain Souquet
1d79f97a7a Add user settings for warn before exit 2021-03-25 14:15:34 +00:00
J. Ryan Stinnett
4f0fccfe96
Merge pull request #15851 from SimonBrandner/feature-multi-language-spell-check
Add multi language spell check
2021-03-02 14:38:29 +00:00
Šimon Brandner
86d7652d93
Merge branch 'feature-multi-language-spell-check' of https://github.com/SimonBrandner/element-web into feature-multi-language-spell-check 2021-03-02 14:58:58 +01:00
Šimon Brandner
c745991a9a
Remove duplicate supportsMultiLanguageSpellCheck()
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-02 14:58:40 +01:00
Šimon Brandner
0f7a42258c
Add a comment
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-03-02 14:53:04 +01:00
Šimon Brandner
8cf2ab436d
Use getSpellCheckLanguages() instead of a setting
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-18 20:12:51 +01:00
Šimon Brandner
5f15ee4ea5
Mark macOS as false
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-18 19:05:40 +01:00
Šimon Brandner
9953bc3b22
Merge branch 'develop' into feature-multi-language-spell-check 2021-02-18 18:16:37 +01:00
Michael Telatynski
e15d1c1501
Update src/vector/platform/WebPlatform.ts 2021-02-11 16:27:30 +00:00
Ibragim/Parviz Bekliev
92a5787528 Migrating from Node's deprecated url API to browser's URL
Related to https://github.com/vector-im/element-web/pull/16292

Signed-off-by: Bekliev Parviz <nightkon95@gmail.com>
2021-02-11 18:59:59 +03:00
J. Ryan Stinnett
0bbcda09af Move into constructor 2021-01-15 12:35:42 +00:00
J. Ryan Stinnett
e077d9ca5f Move service worker into platform 2021-01-15 12:25:21 +00:00
J. Ryan Stinnett
58eca1aa7d Use isolated IPC API
This adjusts to match changes on the desktop side where we now use Electron's
context isolation feature to expose only the IPC channels and methods we
actually expect to use.
2021-01-13 15:39:18 +00:00
Alexandru M Stan
35d1c0d980 webplatform: Fix notification closing
After a notification arrives, when the user focuses on element, the
notification never goes away (unless directly interacted with), this was a bug.

displayNotification was never returning the notification handle, which means
that matrix-react-sdk later on had no way to .close it.

Closes #16026

Signed-off-by: Alexandru M Stan <alex@hypertriangle.com>
2020-12-24 02:01:40 -08:00
Šimon Brandner
24cc106d90 Merge branch 'develop' into feature-multi-language-spell-check 2020-12-03 12:04:46 +01:00
Šimon Brandner
6844c8f92e Hide spell-check settings if not using Electron 2020-12-02 20:15:00 +01:00
Michael Telatynski
a63bd875bc
Merge pull request #15771 from vector-im/t3chguy/socials
Extend Platform to support idpId for SSO flows
2020-12-02 15:48:56 +00:00
Šimon Brandner
1c9d25986a Cleanup 2020-12-01 20:19:14 +01:00
Šimon Brandner
a8a422105b Added getAvailableSpellCheckLanguages() method 2020-11-29 20:52:19 +01:00
J. Ryan Stinnett
f1e89bf833 Replace various instances of Riot with Element 2020-11-25 17:01:19 +00:00
J. Ryan Stinnett
d05c022d4f Rebrand some GitHub links 2020-11-25 14:16:55 +00:00
Michael Telatynski
1e1a14c9a9 Extend Platform to support idpId for SSO flows 2020-11-19 11:07:44 +00:00
Damir Jelić
0507cd2d90 electron-platform: Use camel case for the user/device id. 2020-10-13 17:04:40 +02:00
Damir Jelić
5350c5e551 electron-platform: Pass the user/devce id pair when initializing the event index. 2020-10-13 16:36:38 +02:00
Michael Telatynski
1edbe36547 Revert "Tidy up Service Worker, only run Workbox in production"
This reverts commit c47532fe

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-01 14:04:32 +01:00
Michael Telatynski
87c42934ea Revert "Disable workbox when running in webpack dev server, not in dev mode"
This reverts commit 11e676ce

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-01 14:04:21 +01:00
Michael Telatynski
daa755017e Revert "consolidate"
This reverts commit aa2f3918

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-10-01 14:04:11 +01:00
Michael Telatynski
aa2f3918cc consolidate
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-09-30 17:36:57 +01:00
Michael Telatynski
11e676cee0 Disable workbox when running in webpack dev server, not in dev mode
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-09-30 17:35:12 +01:00
Michael Telatynski
c47532fe2a Tidy up Service Worker, only run Workbox in production
Moves ServiceWorker load into Platform so its not done by Electron

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-09-24 13:01:34 +01:00
Michael Telatynski
ae8595690d delint 2020-08-29 01:14:51 +01:00
Michael Telatynski
e371f01bb5 Try to close notification on all platforms which support it, not just electron 2020-08-12 12:16:29 +01:00
Travis Ralston
b2d4432ba9 Fix SSO session ID paramater 2020-07-16 08:11:04 -06:00
Travis Ralston
1b60743910 Use the right protocol for SSO URLs 2020-07-15 17:05:17 -06:00
J. Ryan Stinnett
b720c8a138 Merge remote-tracking branch 'origin/develop' into element 2020-07-15 10:35:45 +01:00
Michael Telatynski
18aab5f655 Remove redundant enum
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-07-15 09:46:39 +01:00
J. Ryan Stinnett
715a4f8dac Restore device name 2020-07-15 09:38:55 +01:00
J. Ryan Stinnett
0fa2941188 Use a safe but sane device name 2020-07-14 21:54:44 +01:00
J. Ryan Stinnett
ffab08bd60 Update various brand instances in code 2020-07-13 17:32:17 +01:00
J. Ryan Stinnett
5b31589b3a Use brand name from config in all strings 2020-07-13 14:12:44 +01:00
Bruno Windels
ac4770597d Update develop 2020-07-06 09:27:29 +02:00
Bruno Windels
6da70bdfbd create unique device names 2020-06-30 17:29:31 +02:00
Bruno Windels
8e3d1407c0 dont leak domain for now 2020-06-30 17:06:10 +02:00
Michael Telatynski
87527d7b16 Show expiring toast on completed downloads
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-29 11:41:18 +01:00
Damir Jelić
cfee2a43fb Merge branch 'poljar/eventindex-user-version' into develop 2020-06-19 09:53:43 +02:00
Damir Jelić
55c1f01f4c ElectronPlatform: Add support to set and get the index user version. 2020-06-17 17:18:44 +02:00
Damir Jelić
a968389c85 ElectronPlatform: Implement the isRoomIndexed method. 2020-06-08 16:41:55 +02:00
Michael Telatynski
34dab73150 Fix riot-desktop manual update check getting stuck on Downloading...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-07 13:19:29 +01:00
Hubert Chathi
d86fd9e753
Merge pull request #13846 from vector-im/uhoreg/keytar
make IPC calls to get pickle key
2020-06-03 16:54:40 -04:00
Michael Telatynski
801946782b
Merge pull request #13889 from vector-im/t3chguy/sso-query
Fix login loop where the sso flow returns to `#/login`
2020-06-03 20:28:04 +01:00