Commit Graph

73 Commits

Author SHA1 Message Date
Fedor Indutny
5d1a9d22f0 Suffix lint rule and fixes 2025-10-16 23:46:00 -07:00
Fedor Indutny
44076ece79 Rename files 2025-10-16 23:45:44 -07:00
Fedor Indutny
3387cf6a77 Prepare for adding file suffixes 2025-10-16 23:45:44 -07:00
trevor-signal
2c1cb5ac4e Toast on main process errors 2025-09-19 16:00:46 -07:00
Fedor Indutny
40eaf078cc Qualify CJS-only module imports 2025-09-19 13:05:51 -07:00
Fedor Indutny
c02565eaa8 Enforce node: schema for builtins, import extensions 2025-09-16 17:39:03 -07:00
Fedor Indutny
40b7a02141 Update pino to 9.8.0 2025-08-07 10:24:25 -07:00
Jamie Kyle
56223905da Reduce number of log.error calls
Co-authored-by: ayumi-signal <ayumi@signal.org>
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2025-07-24 10:18:29 -07:00
Fedor Indutny
2e620496ef Fix debuglogs window 2025-07-01 15:32:20 -07:00
Fedor Indutny
489efd1aec Dev tools grepping 2025-07-01 11:09:38 -07:00
Fedor Indutny
77c7c8d6ed Fix creation of pino children 2025-06-16 16:36:59 -05:00
Fedor Indutny
353eafceb8 Add colors to Dev Tools 2025-06-16 13:39:49 -07:00
Fedor Indutny
4347964030 Scope pino lines with filename 2025-06-16 11:59:31 -07:00
Fedor Indutny
f6c19c548e Better usage of pino 2025-06-16 09:47:18 -07:00
Fedor Indutny
a3187f1527 Fix uncaught errors from ResizeObserver 2025-06-12 12:18:56 -07:00
Fedor Indutny
e4aa4de5e1 Ignore stdout errors when running from console 2024-11-18 10:25:17 -08:00
Jamie Kyle
b347a628b3 Upgrade/remove outdated dependencies 2024-11-13 17:20:36 -08:00
ayumi-signal
ef275e6ef6 Add experimental win32 arm64 build support 2024-10-29 15:29:30 -07:00
Jamie Kyle
b26466e59d Add schema utils 2024-10-02 12:03:10 -07:00
Fedor Indutny
cd44a7a033 Introduce isStagingServer util method 2024-09-04 11:12:45 -07:00
ayumi-signal
08e2716e6e Add Linux distribution version to debug logs 2023-09-05 18:03:30 -07:00
Josh Perez
e211837bcd Enables sandbox for all windows except main 2023-04-20 17:23:19 -04:00
Fedor Indutny
d1791ff6be Introduce buffered console logger 2023-03-28 15:22:06 -07:00
Jamie Kyle
e4623e2ad5 Use circular buffer instead of array for logs 2023-03-21 14:23:27 -07:00
Jamie Kyle
cdc743d834 Add source location to top-level unhandled error if available 2023-03-16 17:03:38 -07:00
Jamie Kyle
3705b959d6 Remove end year from licenses 2023-01-03 11:55:46 -08:00
Fedor Indutny
ed271d92ea Add no-misused/floating-promises lint rule 2022-12-21 10:41:48 -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
5043ac2e02 On debug log upload fail, log out top-level error message 2022-12-08 19:44:34 -07:00
Fedor Indutny
991580a1ed Improve error handling during group sends 2022-11-22 10:43:43 -08:00
Fedor Indutny
b65890b07d Update to latest pino 2022-10-03 15:53:41 -07:00
Jamie Kyle
eb10aafd7c tsc:allowUnreachableCode, eslint:no-unreachable, assert->assertDev 2022-09-15 13:17:15 -06:00
Fedor Indutny
bf6d9c6cda Fix uncaught exception in logging 2022-05-25 11:04:01 -07:00
Fedor Indutny
1b052ad16b Report process cpu/memory usage in debug log 2022-05-09 18:12:04 -07:00
Jordan Rose
5a107e1bc3 Update for @signalapp/libsignal-client rename 2022-03-24 14:47:21 -07:00
Fedor Indutny
145d9287d9 Add tentative prefix to crash report uploads 2022-01-14 13:50:45 -08:00
Fedor Indutny
91f1b62bc7 Detect startup after recent crashes 2022-01-11 12:02:46 -08:00
Fedor Indutny
bbc13d058e Update electron to 16.0.4 2021-12-09 09:06:04 +01:00
Fedor Indutny
670b995345 Add OS version to debuglog header 2021-11-16 11:36:07 -08:00
Evan Hahn
74fde10ff5 Prefer import type when importing types 2021-10-26 14:15:33 -05:00
Fedor Indutny
d359048747 Use read stream for fetching debug logs 2021-10-21 15:53:14 -07:00
Josh Perez
75dab30367 Use SignalContext instead of SignalWindow 2021-10-07 19:28:47 -04:00
Fedor Indutny
1466f9f1b2 Update got/form-data to latest 2021-10-06 09:25:22 -07:00
Josh Perez
fa66ddde0f Context isolation for the debug log window 2021-10-06 09:16:51 -07:00
Scott Nonnenberg
9a1430a460 Typescriptify main.js 2021-10-01 13:49:59 -05:00
Fedor Indutny
b64908d01d Fix sticker-creator startup issue 2021-09-21 12:17:17 -07:00
Scott Nonnenberg
250a89d953 Additional logging, new ability to force Conversation 'change' event 2021-09-20 11:51:30 -07:00
Josh Perez
65ddf0a9e8 Import log instead of using it off of window 2021-09-17 14:27:53 -04:00
Josh Perez
a5f44bc46c Only log to console if process.stdout is available 2021-09-16 07:33:17 -07:00
Josh Perez
91af0dad78 Faster preferences window 2021-08-18 13:08:14 -07:00