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
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
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
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
Fedor Indutny
bbc13d058e
Update electron to 16.0.4
2021-12-09 09:06:04 +01: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
Scott Nonnenberg
9a1430a460
Typescriptify main.js
2021-10-01 13:49:59 -05:00
Josh Perez
a5f44bc46c
Only log to console if process.stdout is available
2021-09-16 07:33:17 -07:00
Evan Hahn
689542a9b4
Show additional data in debug log header
2021-07-30 09:43:16 -07:00
Evan Hahn
af1f2ea449
Officially support the system tray on Windows
2021-06-29 12:18:03 -05:00
Evan Hahn
e5f9c0db28
Fix crash when quickly closing debug log window
2021-05-20 17:37:08 -07:00
Fedor Indutny
fe505a7f2f
Fix hanging "Clear All Data" on Windows
2021-05-20 17:37:08 -07:00
Fedor Indutny
fc3004a183
Make test-node report errors
2021-04-08 23:51:54 -04:00
Josh Perez
b31a44aa76
Do not continue writing after stream has closed
2021-03-26 09:48:46 -07:00
Josh Perez
58bdf36254
Use classical rotation scheme for log rotation
2021-03-19 16:57:35 -04:00
Josh Perez
d85a43fe93
Replace bunyan with pino
2021-03-19 16:57:35 -04:00
Josh Perez
d82ce07942
Improve cold start performance
2021-03-19 16:57:35 -04:00
Evan Hahn
a8787e7c9e
Convert logging infrastructure to TypeScript
2021-01-27 13:13:33 -08:00