Scott Nonnenberg
4fc7c69a73
Add more logging in update scenarios
2023-01-23 08:56:39 -08:00
Fedor Indutny
ac50af52d2
Unsupported OS Dialog
2023-01-18 15:31:10 -08:00
Jamie Kyle
3705b959d6
Remove end year from licenses
2023-01-03 11:55:46 -08:00
Nikita Karamov
7cd566726f
Replace mkdirp with native fs.mkdir
...
Prior to this change, Signal-Desktop was using a rather ancient version
of `mkdirp`, which was meant for Node.js versions without native support
for this kind of functionality. Starting with Node v10, `fs.mkdir()` can
perform recursive directory creation.
Since Signal-Desktop doesn't utilize any advantages of using such an old
version of `mkdirp` [1] (let alone any version of `mkdirp`), we can
replace it with the native methods of `fs` (or `fs/promises`).
This transition slightly reduces the amount of packages needed to be
downloaded and included in the final app since it now relies on the
built-in API of Node.js.
2022-12-13 11:01:10 -08:00
David Sanders
16c9c17cc2
Fix EACCES error code name
2022-12-13 11:00:51 -08:00
Scott Nonnenberg
0134990275
Don't access RemoteConfig directly from 'dumb' components
2022-10-24 13:46:36 -07:00
Scott Nonnenberg
038ec9e05d
Introduce new auto-updating staging channel
2022-06-14 15:08:38 -07:00
Fedor Indutny
65dc9d6afb
Fix "Cannot Update" dialog's retry button
2022-04-27 16:02:41 -07:00
Fedor Indutny
0a24ca8d88
Fix handling of 206 status code in updater
2022-04-26 16:58:29 -07:00
Fedor Indutny
37d06ec7b9
Graceful handling of single-range diff download
2022-04-07 19:14:41 -07:00
Fedor Indutny
55c5f15cd9
Add Cannot_Update_Require_Manual dialog type
2022-04-06 11:27:17 -07:00
Fedor Indutny
13f4948d4b
Introduce requireManualUpdate
yaml flag
2022-03-29 15:46:18 -07:00
Fedor Indutny
acda5b2cb3
Graceful renames, better errors in updater
2022-03-28 12:05:44 -07:00
Jordan Rose
5a107e1bc3
Update for @signalapp/libsignal-client rename
2022-03-24 14:47:21 -07:00
Fedor Indutny
df7cdfacc7
Don't mkdir restore dir in updater
2022-03-04 11:59:47 -08:00
Fedor Indutny
26100ea562
Make updates atomic again
2022-03-03 14:34:51 -08:00
Fedor Indutny
fe9cdfbed9
Fix error handling during piping in updater
2022-03-02 11:48:07 -08:00
Fedor Indutny
da7a76e03f
Pass go headers through in updater/differential
2022-03-02 10:06:58 -08:00
Fedor Indutny
19441cd3f3
Optimize number of range requests in updater
2022-03-01 14:44:29 -08:00
Fedor Indutny
163777f751
Move assert to a different Updater method
2022-02-25 11:02:09 -08:00
Fedor Indutny
29c2f77d40
Display differential download size in UI
2022-02-25 10:44:03 -08:00
Fedor Indutny
f58d1332c4
Differential updates
2022-02-24 13:01:41 -08:00
Fedor Indutny
b8cd326bc9
Improve Rosetta detection
2021-12-06 10:10:15 -08:00
Fedor Indutny
874a019227
M1 Support
2021-12-03 23:49:15 +01: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
Fedor Indutny
76d8b5e375
Get rid of electron.remote
2021-10-27 10:54:16 -07:00
Evan Hahn
74fde10ff5
Prefer import type
when importing types
2021-10-26 14:15:33 -05:00
Fedor Indutny
1466f9f1b2
Update got/form-data to latest
2021-10-06 09:25:22 -07:00
Fedor Indutny
f2ba9e1a9b
Force update should skip version check
2021-10-05 10:50:48 -07:00
Scott Nonnenberg
9a1430a460
Typescriptify main.js
2021-10-01 13:49:59 -05:00
Fedor Indutny
a43abe628a
Update TypeScript to 4.4.2
2021-08-27 15:21:42 -05:00
Evan Hahn
f86f753df9
Add durations
utility for computing durations
2021-08-26 09:10:58 -05:00
Josh Perez
e15227aa7c
Remove pending update listeners prior to setting a new one
2021-08-24 14:01:55 -07:00
Josh Perez
d80e738fb1
Fix 'install now' click after download
2021-08-23 15:45:11 -07:00
Josh Perez
e9308bbafb
New option for control over update downloads
2021-08-19 15:56:29 -07:00
Scott Nonnenberg
7ce89414bf
Support for alpha build channel
2021-08-06 14:21:01 -07:00
Fedor Indutny
8a413beaf2
Use socket timeout on updater downloads
2021-07-15 17:57:34 -07:00
Fedor Indutny
c186517e42
Updater: Log additional information from ShipIt
2021-07-01 16:40:19 -07:00
Fedor Indutny
759ced3417
Updater debug utility
2021-06-30 14:27:18 -07:00
Scott Nonnenberg
e6bab06510
Receive support for Sender Key
...
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
2021-05-20 17:37:08 -07:00
Jack Lloyd
a769402c0c
Use the libsignal-client for curve operations
2021-01-27 14:39:09 -08:00
Evan Hahn
dd0ea6b3fe
Upgrade TypeScript to the latest version, v4.1.3
2021-01-25 18:28:57 -08:00
Evan Hahn
8bfaf598af
Add license headers across the project
2020-11-04 13:03:13 -06:00
Chris Svenningsen
b4e9c278d3
Migrate to eslint
2020-09-21 15:42:51 -04:00
Josh Perez
d87335f5a6
Support server-determined build expiration
2020-09-09 17:34:57 -07:00
Evan Hahn
f8fc23a7a3
Improve nested path detection across app
2020-08-28 15:42:25 -04:00
Scott Nonnenberg
d75eee015f
Show notifications when a user's profile name changes
2020-07-30 13:27:44 -07:00
Josh Perez
5119193093
Prevent multiple concurrent update installers
...
* Exit early if we are already installing on Windows
* Setup a single handler for updating
* Guard against undefined updateFilePath
2020-07-27 14:39:19 -07:00
Scott Nonnenberg
6b094e1514
Refactor: Move data-access code to Typescript w/ shared interface
2020-04-15 14:45:11 -07:00