Commit Graph

301 Commits

Author SHA1 Message Date
Fedor Indutny 6281d52ec6
Storage service tests and benches in ts/test-mock 2022-02-11 14:32:51 -08:00
Fedor Indutny 0174687542
Use esbuild 2022-02-11 13:38:52 -08:00
Evan Hahn 60d348e7cb
Open all Signal links in app 2022-02-02 10:29:01 -08:00
Evan Hahn 1c43e7501c
Simplify spellcheck download URL, disable spellcheck in most windows 2022-01-28 16:27:18 -06:00
Fedor Indutny 0cf28344a6
Enable background throttling for alpha users 2022-01-26 12:17:46 -08:00
Fedor Indutny 3aa488c3d5
Avoid calling `tray.destroy()` when quitting 2022-01-24 16:18:53 -08:00
Josh Perez 7a502ea776
Remove env vars 2022-01-24 12:37:24 -08:00
Fedor Indutny 1a313b88f8
Fix crash report location on Windows 2022-01-19 17:50:16 -08:00
Fedor Indutny 145d9287d9
Add tentative prefix to crash report uploads 2022-01-14 13:50:45 -08:00
Fedor Indutny 7486312e4e
Start worker threads after second instance check 2022-01-14 10:23:46 -06:00
Fedor Indutny 91f1b62bc7
Detect startup after recent crashes 2022-01-11 12:02:46 -08:00
Evan Hahn d9b951bfcb
Update base config logging, removal, and tests 2022-01-11 11:12:55 -08:00
Josh Perez 5a3c9c7332
Use app.getLocale to setup spellchecker locale 2022-01-11 11:05:22 -08:00
Evan Hahn 206f461370
Move menu tests to TypeScript 2022-01-11 09:28:04 -08:00
Evan Hahn 09af7eeece
Add workaround for fullscreen debug log causing unresponsive app 2022-01-07 09:30:47 -06:00
Scott Nonnenberg c72c5a0bdc
Protocol filter: Support home path mapped to UNC share 2022-01-06 09:53:29 -08:00
Fedor Indutny 46ddcc50f9
Update electron to 16.0.6 2022-01-03 17:43:42 -08:00
Fedor Indutny 9f15f26828
Support running test-electron manually 2021-12-17 15:12:42 -08:00
Evan Hahn 3fa911598b
Use Signal's spellcheck dictionary files 2021-12-17 14:24:54 -08:00
Fedor Indutny fed84be0b6
Fix crashes when playing media on legacy OS 2021-12-10 15:27:42 -08:00
Evan Hahn 0e3d12c457
Prevent display sleep while on a call 2021-12-10 16:53:10 -06:00
Fedor Indutny bbc13d058e
Update electron to 16.0.4 2021-12-09 09:06:04 +01:00
Josh Perez 69edaeabfb
Do not show window if launched as hidden 2021-12-06 18:19:47 +01:00
Josh Perez 27f4dc6177
Adjusts app min width to account for larger left pane 2021-12-01 12:19:10 -06:00
Fedor Indutny 7c1ce3366d
Move StandaloneRegistration to React 2021-11-30 09:51:53 -08:00
Jordan Rose 7edf3763a8
Hang up any active calls when quitting 2021-11-30 09:36:20 -06:00
Fedor Indutny 599c7afe8b
Initialize `locale` earlier to avoid races 2021-11-29 10:04:14 -08:00
Evan Hahn 5619eeca83
Upgrade Prettier to 2.4.1 2021-11-11 16:43:05 -06:00
Fedor Indutny 631e36dc0a
Use `invoke`/`handle` in `settingsChannel` 2021-11-09 16:56:56 -08:00
David Sanders 50dc534164 Simplify permissions popup IPC 2021-11-09 07:35:31 -08:00
Fedor Indutny 409bf1fc82
WebSocket API for CDS 2021-11-08 15:32:31 -08:00
Fedor Indutny 519ca05911
Update electron to 15.3.0 2021-11-08 22:43:37 +01:00
Evan Hahn f647c4e053
Display user badges 2021-11-02 16:01:13 -07:00
Fedor Indutny 76d8b5e375
Get rid of `electron.remote` 2021-10-27 10:54:16 -07:00
David Sanders 79b3b6408e Fix microphone permission checking for audio recording
See [#5580][0].

[0]: https://github.com/signalapp/Signal-Desktop/pull/5580
2021-10-27 11:16:09 -05:00
Evan Hahn 74fde10ff5
Prefer `import type` when importing types 2021-10-26 14:15:33 -05:00
Scott Nonnenberg be862afd1a
base_config: Don't throw if loaded config file is empty 2021-10-25 14:41:44 -05:00
Scott Nonnenberg 191bfee18c
Show What's New dialog in app via Help -> Go to release notes 2021-10-22 17:41:45 -07:00
Fedor Indutny 2c51c3fe84
Use console logger when regular is not available 2021-10-21 12:49:53 -07:00
Scott Nonnenberg 2e9eaa855a
main/second-instance: If logger isn't ready, skip further checks 2021-10-20 15:40:12 -05:00
Fedor Indutny 50c9b1bf7f
Cache system-tray-setting in ephemeral config 2021-10-20 14:56:49 -05:00
Evan Hahn 0b57bcd36c
DRY out path getters 2021-10-19 16:24:03 -07:00
Josh Perez d4e2911450
Resize debug log, rename save button 2021-10-15 11:11:59 -07:00
Evan Hahn fe98f90d70
Only enable background throttling in development 2021-10-14 11:09:30 -07:00
Evan Hahn 940f009987
Bullet-proof tray icon against nonexistent icon file 2021-10-07 13:09:56 -07:00
Josh Perez fa66ddde0f
Context isolation for the debug log window 2021-10-06 09:16:51 -07:00
Scott Nonnenberg bd380086a4
Send related emoji along with Sticker, fix SendMessage types 2021-10-05 17:10:08 -05:00
Scott Nonnenberg 9a1430a460
Typescriptify main.js 2021-10-01 13:49:59 -05:00
Fedor Indutny 4ef0bf96cc
Uint8Array migration 2021-09-23 17:49:05 -07:00
Josh Perez 829e42ca6e
Move i18n setup to TypeScript 2021-09-17 20:30:08 -04:00
Josh Perez 91af0dad78
Faster preferences window 2021-08-18 13:08:14 -07:00
Fedor Indutny 61b7eebfcf
Modernize Benchmarks CI 2021-08-11 12:29:07 -07:00
Scott Nonnenberg 7ce89414bf
Support for alpha build channel 2021-08-06 14:21:01 -07:00
Josh Perez 12d2b1bf7c
Avatar defaults and colors 2021-08-05 20:17:05 -04:00
Fedor Indutny c3bdf3d411
Show lightbox for GIFs 2021-07-14 16:39:52 -07:00
Fedor Indutny 759ced3417
Updater debug utility 2021-06-30 14:27:18 -07:00
Evan Hahn 8b30fc17cd
Officially support the system tray on Linux, in beta only 2021-06-29 14:29:40 -05:00
Evan Hahn af1f2ea449
Officially support the system tray on Windows 2021-06-29 12:18:03 -05:00
Scott Nonnenberg 24960d481e
Move all files under /app to typescript 2021-06-18 10:04:27 -07:00
Jordan Rose 0615e5528f
Improve menu bar on macOS 2021-06-14 12:01:49 -07:00
Fedor Indutny 33595646c1
Add user path to logging exceptions 2021-06-01 11:15:23 -07:00
Fedor Indutny 0e19c17160
Initialize IPC channels early 2021-06-01 11:06:38 -07:00
Josh Perez ceffc2380c Add screensharing behind a feature flag 2021-05-20 17:37:19 -07:00
Evan Hahn 18abe93022 Remove many instances of deprecated url.parse 2021-05-20 17:37:07 -07:00
Fedor Indutny 37c8c1727f Types, better-sqlite3, and worker_threads for our sqlite 2021-04-08 23:53:18 -04:00
Alex Hirsch 901a54b149
Tray: Use 32x32 icon on Windows
See [#5072][0].

[0]: https://github.com/signalapp/Signal-Desktop/pull/5072
2021-04-02 15:29:04 -05:00
Fedor Indutny 1934120e46 Disable Dev Tools in production releases
`--enable-dev-tools` will bring it back.
2021-03-19 16:53:51 -04:00
Evan Hahn 3306c82992 Fix "URI malformed" crashes on Windows 2021-02-22 14:01:40 -08:00
Scott Nonnenberg 2f90d6aca9
Manually manage full-text search table 2021-02-04 12:46:55 -08:00
Evan Hahn bc37b5c907
Add an assertion when updating conversations; update cleanData 2021-02-04 11:54:03 -08:00
Evan Hahn a8787e7c9e
Convert logging infrastructure to TypeScript 2021-01-27 13:13:33 -08:00
Evan Hahn f404904a49 Convert dock_icon.js to TypeScript 2021-01-25 18:29:01 -08:00
Evan Hahn a2f285d243
Put group calling behind a remote feature flag 2020-12-07 14:35:14 -06:00
Brandon Outlaw 2013378136
MacOS – Add shortcut for Window -> Show (#4632) 2020-11-10 16:30:56 -08:00
Evan Hahn 8bfaf598af Add license headers across the project 2020-11-04 13:03:13 -06:00
Vin Howe 526ab4fe29
Add menu option for copying supported images in lightbox (#4614) 2020-11-02 16:47:46 -08:00
hashes4merkle b8dbd5970d
Fixing spelling errors (#4615) 2020-11-02 16:46:49 -08:00
jimio-signal 1c057323ba Point to support flow instead of github 2020-10-26 15:48:44 -07:00
Scott Nonnenberg bc3b61db1d Add p-queue timeouts; fix search crash; improve promise rejection logging 2020-09-21 15:42:51 -04:00
Evan Hahn 6d2e994f9f Windows: mark downloads as "from the internet" 2020-09-21 15:42:50 -04:00
Chris Svenningsen 8a2c17f65f Apply new ESLint rules to legacy code 2020-09-09 17:34:57 -07:00
Chris Svenningsen 5b1536cc02 Initial move towards new ESLint config supporting TS
Co-authored-by: Sidney Keese <sidney@carbonfive.com>
2020-09-01 17:11:16 -04:00
Evan Hahn f8fc23a7a3 Improve nested path detection across app 2020-08-28 15:42:25 -04:00
Peter Thatcher d3a27a6442 Calling support 2020-07-30 13:08:47 -07:00
Scott Nonnenberg 2529c7f9e3 Ensure that 'Join the Beta' menu item shows in production 2020-07-27 14:39:19 -07:00
Ken Powers b842b69660 Help Menu changes 2020-06-23 17:30:33 -07:00
Scott Nonnenberg 6b094e1514 Refactor: Move data-access code to Typescript w/ shared interface 2020-04-15 14:45:11 -07:00
Ken Powers 14b11041ea
Spellcheck: Fallback to all xx-YY locales when xx isn't available 2020-04-15 13:44:46 -07:00
Ken Powers 90130e3be0 Don't start Signal if DB version is greater than we expect 2020-04-06 17:12:16 -07:00
Ken Powers 750e50812c Introduce dialog for long database migrations 2020-03-25 16:47:42 -07:00
Ken Powers 4a8f5db0a4 Use Electron Spellchecker 2020-03-24 17:03:22 -07:00
Ken Powers a90246cbe5 Passive UUID support
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2020-03-24 16:59:35 -07:00
Scott Nonnenberg a840e2e5b1 Remove legacy import flow 2020-03-04 17:12:56 -08:00
Scott Nonnenberg 1726e1b77a
Fix windows fast-glob usage in lint-deps test task
* Introduce normalize-path wherever we use fastGlob

* CI: Update yarn version; install yarn via npm on windows

* Add more logging to Grunt file spectron usage

* Lock core.js to what it was resolving to before: 2.4.1

* test/index.html: Remove nonexistent test file

* test/index.html: Remove missing registration.js

* preload.js: Introduce client-side logging for load failures

* Gruntfile: Introduce better debuggability if prod test fails

* Reintroduce glob for searches inside asar
2020-02-26 17:53:39 -08:00
Ken Powers 8d9ccd3c0a
Ensure proper file permissions on startup
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2020-02-21 15:40:04 -08:00
Scott Nonnenberg 68ee557dcf
Update SQLCipher to 4.3.0 2020-02-19 16:11:06 -05:00
Josh Perez afddc852cc
Add interpolation for fallback dialog messages 2020-02-13 10:14:08 -08:00
Scott Nonnenberg 3938eb9801
A set of fixes and upgrades
* writeToDownloads: Add missing await
* Remove window.isFocused() - not used anywhere!
* Update typescript, p-queue, make necessary changes to fix build
* Slow down sender certificate retries with no existing cert
* Slow down signed prekey refreshes when unlinked - 5s -> 5m
* Update protobufjs to 4.1.2
2020-02-07 14:37:04 -05:00
Scott Nonnenberg 55eff02872 Reintroduce file chooser dialog for every attachment save 2020-01-15 17:23:02 -05:00
Scott Nonnenberg 8a51ca9e71 Lint fix 2020-01-14 12:32:49 -08:00