J. Ryan Stinnett
1455687384
Auto-fix lint errors
2021-05-27 14:45:06 +01:00
J. Ryan Stinnett
75b41d65c1
Merge pull request #192 from aaronraimist/close-fullscreen-macos
...
Prevent black screen when closing window while in full screen mode on macOS
2021-05-05 16:54:48 +01:00
Aaron Raimist
cc5dc4d801
Prevent black screen when closing window while in full screen mode on macOS
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2021-05-04 21:55:32 -05:00
J. Ryan Stinnett
20e4459bb5
Merge pull request #180 from tomvaneyck/hardware-media
...
Disables HardwareMediaKeyHandling
2021-04-30 13:01:53 +01:00
Germain
7e69c81e62
Merge pull request #188 from vector-im/gsouquet-i18n-td
2021-04-27 15:50:19 +01:00
Germain Souquet
b9510d0a0b
use _t over _td for consistency with element-web
2021-04-26 14:50:18 +01:00
Germain Souquet
105070716e
Make application react to element-web language change
2021-04-26 13:58:29 +01:00
Germain Souquet
658304cc51
Wrap all strings in _td function for i18n
2021-04-23 16:56:17 +01:00
Germain Souquet
b7dd4e53a3
Ensure new passphrase is stored in keytar
2021-04-23 15:35:09 +01:00
Germain Souquet
1fa6671a17
Remove change passphrase logic and rely on keytar
2021-04-23 15:17:50 +01:00
Germain Souquet
3f9495f19d
Fix event index passphrase change process
2021-04-21 12:20:29 +01:00
Germain
5ae736e861
Merge pull request #185 from vector-im/gsouquet-exit-shortcut
...
Fix exit shortcuts for non QWERTY keyboards
2021-04-15 17:25:44 +01:00
Germain Souquet
29d22aefd7
Fix exit shortcuts for non QWERTY keyboards
2021-04-15 16:50:35 +01:00
J. Ryan Stinnett
ce26e7964d
Merge pull request #179 from SimonBrandner/disable-spell-check
...
Fix disabling spellchecker
2021-04-07 12:07:50 +01:00
Tom Van Eyck
14a65fb0af
Clarify HardwareMediaKeyHandling disable flag.
...
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
Signed-off-by: Tom Van Eyck <tom.vaneyck@telenet.be>
2021-04-03 14:26:08 +02:00
Tom Van Eyck
cdbda52d9a
Disabled HardwareMediaKeyHandling, fixes vector-im/element-web#15704
...
Signed-off-by: Tom Van Eyck <tom.vaneyck@telenet.be>
2021-04-02 16:52:30 +02:00
Šimon Brandner
55dffc8c52
Fix disabling spellchecker
...
This is quite ugly. We have to use the store here to get this working since spellCheckerEnabled isn't persistent
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-04-02 12:07:33 +02:00
Germain Souquet
adfb4a424a
remove unused imports
2021-04-01 09:30:15 +01:00
Germain Souquet
5fc871492e
make shortcut pressed variable more explanatory
2021-03-31 17:18:39 +01:00
Germain Souquet
84990559ec
Avoid exit listener to hijack other application shortcuts
2021-03-31 08:58:24 +01:00
Germain Souquet
d986555517
Only prompt exit warning for keyboard shortcuts
2021-03-29 12:10:27 +01:00
Germain Souquet
3d18ff16d1
Attempt to minimise the window first rather than exiting
2021-03-25 14:50:33 +00:00
Germain Souquet
9cdea580d3
Remove checkbox options for exit dialog
2021-03-25 14:34:02 +00:00
Germain Souquet
68587e84ed
Add user settings for warn before exit
2021-03-25 14:15:04 +00:00
Germain Souquet
c9c0ceb757
Add prompt to warn before quitting the application
2021-03-25 12:46:10 +00:00
Šimon Brandner
121bba1f35
Set an empty array to disable spell-checker
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-03-03 14:49:07 +01:00
Šimon Brandner
9ca19d7de6
Use getSpellCheckLanguages() instead of a setting
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-18 20:12:47 +01:00
Šimon Brandner
dce524f5bc
Use try-catch
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-02-18 18:39:51 +01:00
Šimon Brandner
48d66c0031
Merge branch 'feature-multi-language-spell-check' of https://github.com/SimonBrandner/element-desktop into feature-multi-language-spell-check
2021-02-18 18:30:37 +01:00
Šimon Brandner
36438479fc
Merge branch 'develop' into feature-multi-language-spell-check
2021-02-18 18:25:21 +01:00
Šimon Brandner
f51acb78e0
Update src/electron-main.js
...
Co-authored-by: J. Ryan Stinnett <jryans@gmail.com>
2021-02-18 18:05:37 +01:00
J. Ryan Stinnett
5ad0967b07
Enable context isolation, bridge expected IPC
...
This enables Electron's context isolation mode as recommended in their guidance.
We use the context bridge feature to regain access to only the IPC channels we
expect to have access to.
2021-01-13 15:21:00 +00:00
Šimon Brandner
0d00f3ea6c
Fix more formatting
2020-12-01 20:27:09 +01:00
Šimon Brandner
2ef3c8c1ab
Fix formatting
2020-12-01 20:22:51 +01:00
Šimon Brandner
e373c03b2a
Cleanup
2020-12-01 20:19:12 +01:00
Šimon Brandner
107efba6f3
Added getAvailableSpellCheckLanguages case
2020-11-29 20:50:57 +01:00
Edward Betts
82c88ca654
Correct spelling mistakes
2020-11-14 21:54:07 +00:00
Damir Jelić
8add8d7717
electron-main: Fix some lint issues.
2020-10-13 17:07:39 +02:00
Damir Jelić
1d811b6f4b
electron-main: Use keytar to for the seshat passphrase.
...
This will also change the passphrase for existing setups if no
passphrase is found in the secret store.
2020-10-13 15:59:21 +02:00
Damir Jelić
50a4069893
electron-main: Refactor out the randomArray method.
2020-10-13 15:58:35 +02:00
David Baker
94086f247a
Remove ' (Riot)' from app name
...
And remove the hacks to make the user data path different from the
app name. Also add the profile dir to the legacy user data dir too.
Fixes https://github.com/vector-im/riot-web/issues/14619
Fixes https://github.com/vector-im/riot-web/issues/14623
2020-07-21 17:57:54 +01:00
David Baker
9d15c1bbd0
Don't forget nightly when computing userData path
...
We were assuming we were always 'Element'
2020-07-15 20:21:06 +01:00
David Baker
769d4cf647
Merge remote-tracking branch 'old-origin/develop' into dbkr/update_more_icons
2020-07-15 13:53:04 +01:00
David Baker
b06bba2c69
More icon updates
2020-07-15 13:50:00 +01:00
David Baker
5f01bbd9e0
Fix lint error
2020-07-15 11:41:30 +01:00
David Baker
4a488c9ab2
Add old app name in brackets
...
And fix user data path to be non-bracketed version always.
2020-07-07 18:57:29 +01:00
David Baker
c048dff4de
Apply 1 suggestion(s) to 1 file(s)
2020-07-02 13:42:45 +00:00
David Baker
85dd2504db
Rebrand step 2
...
* Continue to use Riot user data directory if it exists and the new
one doesn't, so users stay logged in.
* Move the auto-launcher over to new name.
* Look for keytar password under both names.
2020-07-02 13:30:11 +01:00
David Baker
386e0be08d
This one's easy too
2020-07-01 15:40:23 +01:00
David Baker
466a871094
Rebrand step 1: s/riot/element/ in the places where it's reasonably simple
2020-07-01 15:30:53 +01:00