Commit graph

77 commits

Author SHA1 Message Date
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
5ee24bf279
Fix one more updater bug on macos 2023-12-04 22:57:08 +01:00
Fedor Indutny
572eecc322
Use feed.json with macos updater 2023-12-04 12:56:34 -08:00
Fedor Indutny
3ea7fe6226
Provide file url to autoUpdater on macos 2023-12-04 20:11:17 +01:00
Fedor Indutny
42a0c1d931
Revert "Provide file url to autoUpdater on macos" 2023-11-30 11:24:48 -08:00
Fedor Indutny
09ec45a125
Provide file url to autoUpdater on macos 2023-11-28 16:35:41 -08:00
Fedor Indutny
56ba8fea4d
Support Happy Eyeballs in proxy-agent 2023-08-30 01:58:48 +02:00
Fedor Indutny
557b86f52e
Use electron's DNS resolver, prioritizing ipv4 connections 2023-05-30 16:57:16 -07:00
Fedor Indutny
4131234b78
Add notice on Ubuntu < 20.04 2023-05-11 12:22:15 -07:00
Fedor Indutny
7e05893e1a
Fallback to dns.resolve4/6 on getaddrinfo failure 2023-03-21 17:43:55 -07: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
Fedor Indutny
949efca190
Fix unhandled rejection in differential updater 2023-02-13 13:27:12 -07: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
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