Commit graph

65 commits

Author SHA1 Message Date
Fedor Indutny
8557de20c2
Fix download progress reporting for force update 2024-11-12 17:04:10 -05:00
Fedor Indutny
84b7cb4116
Refactor force-update updater mode 2024-11-11 11:57:55 -08:00
ayumi-signal
ab3c18513a
Fix win32 arm translation check 2024-10-31 09:48:25 -07:00
ayumi-signal
ef275e6ef6
Add experimental win32 arm64 build support 2024-10-29 15:29:30 -07:00
Fedor Indutny
2c0ccb2e36
Remove failed updater on double failure
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2024-08-14 14:10:34 -07:00
Fedor Indutny
091b50c414
Lazy import proxy-agent 2024-03-20 11:05:10 -07:00
ayumi-signal
c319a089d2
Fix updater onRestartCancelled state 2024-02-26 22:03:07 -08:00
ayumi-signal
9d2a043191
Retry updater when in-call app close is cancelled 2024-02-26 16:18:50 -08:00
Fedor Indutny
e1a12d2b99
Fix FullOnly updater fallback 2024-02-23 10:54:29 -08:00
Fedor Indutny
fe27910221
Jitter updater poll timeout 2024-02-14 10:27:31 -08:00
Fedor Indutny
02468d8a56
Fix boolean treatment in updater 2023-12-13 09:20:58 -08:00
Fedor Indutny
69aa212352
Add default update fields to package.json 2023-12-12 22:30:16 +01:00
Fedor Indutny
31bbec19ee
Pass through vendor json in the updater 2023-12-12 12:52:54 -08:00
Fedor Indutny
12a2ec8dd4
Install downloaded updates while in tray 2023-12-12 03:15:36 +01:00
Fedor Indutny
a1ab62f878
New state for Update Dialog 2023-03-15 09:57:27 -07:00
Fedor Indutny
a9395ddecc
Use electron API to detect Rosetta 2023-03-07 09:04:42 -08:00
Fedor Indutny
1e7d658109
Graceful rimraf in updater 2023-03-02 09:57:36 -08:00
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
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
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
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
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
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
Josh Perez
e15227aa7c
Remove pending update listeners prior to setting a new one 2021-08-24 14:01:55 -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
Evan Hahn
dd0ea6b3fe Upgrade TypeScript to the latest version, v4.1.3 2021-01-25 18:28:57 -08:00