Dariusz Niemczyk
85a81af1da
Replace console.warn with logger.warn
...
Related https://github.com/vector-im/element-web/issues/18425
2021-10-19 10:14:31 +02:00
Dariusz Niemczyk
dc9f77a509
Replace console.log with logger.log
...
Related https://github.com/vector-im/element-web/issues/18425
2021-10-19 10:14:31 +02:00
Dariusz Niemczyk
db01bfc0fd
Replace console.error with logger.error
...
Related https://github.com/vector-im/element-web/issues/18425
2021-10-19 10:14:31 +02:00
Dariusz Niemczyk
515a8d2097
Fix wrong type call for window.location.reload
2021-10-19 10:14:31 +02:00
Michael Telatynski
1aa2efd2ce
Merge pull request #18490 from vector-im/t3chguy/fix/18088
2021-09-16 10:16:23 +01:00
Michael Telatynski
5a561b674f
Fix space keyboard shortcuts conflicting with native zoom shortcuts
2021-09-14 16:02:15 +01:00
Michael Telatynski
55338701ea
Delabs Spaces, keeping it as a default-on preference for the time being
2021-08-11 14:52:43 +01:00
Michael Telatynski
1cffed2336
Dismiss electron download toast when clicking Open
2021-07-27 15:04:55 +01:00
Michael Telatynski
e136afe2eb
Conform to new typescript eslint rules
2021-07-19 22:47:32 +01:00
Michael Telatynski
43695fbc58
Merge branch 'develop' into fix/space-shortcut-local/17776
2021-07-15 13:53:06 +01:00
Michael Telatynski
2877ef8fcf
Fix skinning
2021-07-15 08:29:18 +01:00
Michael Telatynski
f65231268d
Cache value of feature_spaces* flags as they cause page refresh so are immutable
2021-07-15 08:26:50 +01:00
Michael Telatynski
2983215dee
Improve and consolidate typing
2021-07-10 15:43:48 +01:00
J. Ryan Stinnett
491b179971
Auto-fix lint errors
2021-06-30 13:28:31 +01:00
Šimon Brandner
f8da8254ce
Better handling space shortcuts
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-28 15:17:26 +02:00
Šimon Brandner
76d9f26a16
Fix space shortcuts on non-English layouts
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-06-25 16:04:12 +02:00
Michael Telatynski
e2a109667a
Merge branch 'develop' of github.com:vector-im/element-web into t3chguy/ts/5.1
...
Conflicts:
src/vector/platform/ElectronPlatform.tsx
2021-06-23 14:54:06 +01:00
Michael Telatynski
f461c900cf
Improve typing of Event Index Manager / Seshat
2021-06-19 15:37:06 +01:00
Michael Telatynski
9e4eebed26
Change spaces shortcut to have 1 = space 1, 0 = home
2021-06-18 08:24:36 +01:00
Michael Telatynski
f7ea7b948a
Wire space switch shortcut via dispatcher to prevent app load explosion due to skinning
2021-05-24 18:23:04 +01:00
Michael Telatynski
aa1145960a
Spaces keyboard shortcuts first cut
2021-05-24 18:08:31 +01:00
Germain Souquet
dc4cc02682
Change lang type to allow for multiple locales
2021-04-26 13:54:17 +01:00
Germain Souquet
f5c2d51f1e
Implement IPC call to Electron to set language
2021-04-23 17:14:40 +01:00
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