Commit graph

454 commits

Author SHA1 Message Date
Evan Hahn
f9095d372a
Upgrade electron-mocha to v10.1.0 2021-09-16 14:00:52 -07:00
Jim Gustafson
9ffa29ca0d
Update to RingRTC v2.13.0 2021-09-12 11:58:50 -05:00
Evan Hahn
49434d7a81
Update eslint-plugin-mocha to 9.0.0 2021-09-10 09:22:13 -07:00
Fedor Indutny
a67335272c
Update Electron to 13.3.0 2021-09-09 16:43:00 -05:00
Evan Hahn
82f1920ce2
Support ?? operator in Storybook 2021-09-03 14:39:46 -07:00
Scott Nonnenberg
ee5f276e0c
Update proxy-agent to 5.0.0, move @types/pino to dev dependencies 2021-09-02 17:29:15 -07:00
Scott Nonnenberg
5bf3720d1d
Update to libsignal-client@0.9.0, handle new invalid registration error 2021-09-02 13:44:34 -07:00
Evan Hahn
eed873d4e0
Update RingRTC to v2.12.0 2021-09-01 17:31:43 -05:00
Evan Hahn
9890a51f25
Upgrade @typescript-eslint dependencies to v4.30.0 2021-08-31 09:47:57 -07:00
Scott Nonnenberg
dcf29078f4
ConversationView: Improve types 2021-08-30 14:32:56 -07:00
Fedor Indutny
a43abe628a
Update TypeScript to 4.4.2 2021-08-27 15:21:42 -05:00
Evan Hahn
f0c7804929
Upgrade p-queue to v6.6.2 2021-08-23 12:12:05 -05:00
Evan Hahn
79c976668b
Receive rings for group calls 2021-08-20 09:06:15 -07:00
Fedor Indutny
19f4bdd337
Update signal-client to 0.8.4 2021-08-18 17:04:40 -07:00
Evan Hahn
fe12ca936f
Update better-sqlite3 types 2021-08-17 11:17:16 -05:00
Evan Hahn
520a213bf6
Update RingRTC to v2.11.0 2021-08-17 11:16:48 -05:00
Josh Perez
9078919545
Transcode heic/heif images 2021-08-09 13:06:21 -07:00
Fedor Indutny
674ea824c2
Update electron, electron-builder, @electron/fuses 2021-08-04 15:15:38 -07:00
Evan Hahn
402dda0e67
Remove tar dependency\ 2021-08-03 15:20:17 -07:00
dependabot-preview[bot]
7b22428a6f
Bump tar from 4.4.8 to 4.4.15 2021-08-03 16:31:16 -05:00
Evan Hahn
3b476fb60d
Fix tooltip placement bugs by upgrading Popper 2021-08-03 12:04:49 -05:00
Jim Gustafson
eceae64d41
Update to RingRTC v2.10.7 2021-07-27 14:25:54 -05:00
Evan Hahn
dd346f496d
Upgrade @typescript-eslint dependencies to squash warning 2021-07-23 10:13:09 -07:00
Evan Hahn
ceb2f594e3
Upgrade Sinon to v11.1.1 2021-07-22 14:53:49 -05:00
Fedor Indutny
c3bdf3d411
Show lightbox for GIFs 2021-07-14 16:39:52 -07:00
Fedor Indutny
570fb182d4
Fully move to protobufjs 2021-07-13 11:54:53 -07:00
Evan Hahn
3827f05db9
Upgrade to TypeScript v4.3.5 2021-07-07 11:37:55 -05:00
Evan Hahn
f46fbf99df
Upgrade Electron to v13.1.6 2021-07-06 12:29:11 -07:00
Fedor Indutny
299fe2af36
More protobufjs use 2021-07-02 14:21:24 -05:00
Scott Nonnenberg
3b444479c0
Include new database corruption check for SQL errors 2021-06-30 15:06:50 -07:00
Fedor Indutny
d11283f0f1
Update RingRTC to v2.10.6 2021-06-29 09:39:53 -05:00
Evan Hahn
7cf7b1fca5
Upgrade zkgroup to v0.7.3 2021-06-28 12:16:55 -07:00
Josh Perez
01eabf9ec6
Option to send photos as high quality 2021-06-25 11:08:16 -05:00
Evan Hahn
672d060172
Upgrade from Electron v13.1.2 to v13.1.3 2021-06-21 17:49:31 -07:00
Scott Nonnenberg
24960d481e
Move all files under /app to typescript 2021-06-18 10:04:27 -07:00
dependabot-preview[bot]
2674e2f9f9
Upgrade merge-deep to v3.0.3 2021-06-14 14:53:09 -07:00
dependabot-preview[bot]
ca81a2adc2
Upgrade dns-packet to v1.3.4 2021-06-14 14:52:15 -07:00
Fedor Indutny
df0aadc8a4
Update electron to 13.1.2 2021-06-10 13:53:43 -07:00
Jim Gustafson
5a3d2f7807
Update to RingRTC v2.10.5 2021-06-09 15:29:19 -07:00
Evan Hahn
a374772dc8
Upgrade Backbone to v1.4.0 2021-06-07 09:43:42 -07:00
Fedor Indutny
6e2d0ff2ae
update electron to 13.1.0 2021-06-04 14:27:06 -07:00
dependabot-preview[bot]
2e3f0831bd
Bump ws from 6.2.1 to 6.2.2
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-06-04 08:22:47 -05:00
Evan Hahn
d98345f20f
Update RingRTC to v2.10.4 2021-06-03 09:01:07 -07:00
Fedor Indutny
0f4a1d6e28
Update @signalapp/signal-client to 0.8.1 2021-06-02 13:47:25 -07:00
Josh Perez
373ffe4663
Screen sharing improvements 2021-06-01 12:47:55 -07:00
Scott Nonnenberg
ee513a1965
Support for message retry requests 2021-05-28 12:11:19 -07:00
Evan Hahn
05f9224273
Update Babel dependencies to allow import type 2021-05-27 08:44:06 -07:00
Scott Nonnenberg
e6f1ec2b6b
Send support for Sender Key 2021-05-25 15:40:04 -07:00
Josh Perez
ceffc2380c Add screensharing behind a feature flag 2021-05-20 17:37:19 -07:00
Fedor Indutny
028b4f162b update @signalapp/signal-client to 0.5.2 2021-05-20 17:37:18 -07:00
Scott Nonnenberg
4ce4569afb Upgrade a number of sub-dependencies 2021-05-20 17:37:09 -07:00
Fedor Indutny
94d2c56ab9 Introduce in-memory transactions for sessions 2021-05-20 17:37:09 -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
Scott Nonnenberg
c62b5a900e
Update proxy-agent to v4.0.1 2021-05-10 15:38:39 -07:00
dependabot-preview[bot]
bfc1524b49
Upgrade bl to v1.2.3 2021-05-07 13:19:30 -07:00
dependabot-preview[bot]
64314bc10b
Upgrade hosted-git-info to v2.8.9 2021-05-07 13:17:43 -07:00
Fedor Indutny
2347bb334c
Update Electron to 12.0.7 2021-05-07 15:10:19 -05:00
dependabot-preview[bot]
97fe907483
Upgrade websocket-extensions to v0.1.4 2021-05-07 12:04:35 -07:00
dependabot-preview[bot]
16034f9358
Upgrade underscore to v1.12.1 2021-05-07 12:04:05 -07:00
dependabot-preview[bot]
0339026103
Upgrade elliptic to v6.5.4 2021-05-07 11:23:59 -07:00
dependabot-preview[bot]
166bb3a50d
Upgrade y18n to v3.2.2 2021-05-07 11:23:17 -07:00
dependabot-preview[bot]
c82c67f726
Upgrade ssri to v6.0.2 2021-05-07 11:22:39 -07:00
Fedor Indutny
dc695732bf
Use fuses to disable ELECTRON_RUN_AS_NODE 2021-05-07 11:04:38 -07:00
Josh Perez
a1e4820cb7
Upgrade to moment@2.29.1 2021-05-07 10:44:41 -05:00
Evan Hahn
cd61d8464d
Upgrade Lodash to latest version, v4.17.21 2021-05-07 09:46:09 -05:00
dependabot-preview[bot]
82a9705010
Upgrade handlebars to v4.7.7 2021-05-06 17:16:03 -05:00
dependabot-preview[bot]
378763ec53
Upgrade ua-parser-js to v0.7.28 2021-05-06 17:15:27 -05:00
dependabot-preview[bot]
bfbcdab67b
Upgrade url-parse to v1.5.1 2021-05-06 17:12:02 -05:00
Evan Hahn
f71f789c94
Upgrade Grunt to v1.4.0 2021-05-06 17:07:11 -05:00
Scott Nonnenberg
504a967be1
Revert "Update to RingRTC v2.9.6" 2021-05-06 16:30:23 -05:00
Fedor Indutny
03c68da17d
Update to electron 12.0.6 2021-05-05 15:41:32 -07:00
Evan Hahn
736075322c
Render disappearing message timers generically 2021-05-03 16:24:40 -07:00
Jim Gustafson
805eab6878 Update to RingRTC v2.9.6 2021-04-29 14:27:36 -07:00
Evan Hahn
a5a64f354f Upgrade Prettier from v2.1.2 to v2.2.1 2021-04-29 14:27:36 -07:00
Scott Nonnenberg
86d2a4b5dd decrypt/encrypt with libsignal-client, remove libsignal-protocol-javascript 2021-04-29 14:27:35 -07:00
Fedor Indutny
863e700325
deps: update better-sqlite3 2021-04-27 12:31:49 -07:00
Scott Nonnenberg
97a4361c6f yarn.lock fixup 2021-04-14 14:25:25 -07:00
Evan Hahn
31a777a130 Merge branch 'WhyNotHugo-python3' into next-beta 2021-04-14 14:15:24 -07:00
Fedor Indutny
25458be515
upgrade electron-builder to 22.10.5 2021-04-13 18:27:43 -07:00
Fedor Indutny
c6d5d852a9
Upgrade electron to 12.0.3 2021-04-13 16:18:05 -07:00
Josh Perez
ef781af0ce
Updates a11y dev deps 2021-04-13 17:33:24 -04:00
Hugo Osvaldo Barrera
207c533de1 Use a node-gyp version which supports Python3
The currently pinned version of `node-gyp` requires Python 2.  Python 2
has reached its EOL a long time ago and is unsupported by upstream.

The requirement on Python 2 is also an unnecessary barrier for new
developers to contribute to Signal.

This changeset updates the required version of node-gyp to one
compatible with Python 3.

`CONTRIBUTING.md` remains unchanged, since this dependency was not
previously mentioned anyway.

Supersedes #4407
Fixes #4783
2021-04-09 22:13:11 +02:00
Evan Hahn
23b3d34eef Upgrade Sharp to v0.28.1 2021-04-09 15:01:25 -04:00
Fedor Indutny
4fd3ed7242 Bundle preload.js 2021-04-09 00:06:14 -04:00
Fedor Indutny
c609389aaf Update to Webpack 5 2021-04-09 00:05:41 -04:00
Fedor Indutny
37c8c1727f Types, better-sqlite3, and worker_threads for our sqlite 2021-04-08 23:53:18 -04:00
Fedor Indutny
6e41009d74 Update zkgroup to the latest 2021-04-08 23:51:54 -04:00
Fedor Indutny
5bcf50ede9 Update electron to 12.0.2 2021-04-08 23:51:53 -04:00
Josh Perez
d6bb8ae35e
Adds axe-storybook-testing 2021-04-06 16:12:33 -04:00
Evan Hahn
eb97c1194a Add Zod for runtime and compile-time type checking, use it in logging code 2021-04-05 18:08:50 -04:00
Fedor Indutny
b93164a8c0 Reduce size of asar file and unpacked asar folder 2021-03-19 16:57:35 -04:00
Evan Hahn
e81c18e84c Storybook: allow optional chaining 2021-03-19 16:57:35 -04:00
Josh Perez
d85a43fe93 Replace bunyan with pino 2021-03-19 16:57:35 -04:00
Fedor Indutny
12d7f24d0f New UI for audio playback and global audio player
Introduce new UI and behavior for playing audio attachments in
conversations. Previously, playback stopped unexpectedly during window
resizes and scrolling through the messages due to the row height
recomputation in `react-virtualized`.

With this commit we introduce `<GlobalAudioContext/>` instance that
wraps whole conversation and provides an `<audio/>` element that
doesn't get re-rendered (or destroyed) whenever `react-virtualized`
recomputes messages. The audio players (with a freshly designed UI) now
share this global `<audio/>` instance and manage access to it using
`audioPlayer.owner` state from the redux.

New UI computes on the fly, caches, and displays waveforms for each
audio attachment. Storybook had to be slightly modified to accomodate
testing of Android bubbles by introducing the new knob for
`authorColor`.
2021-03-19 16:57:35 -04:00
Jim Gustafson
5447d0ad69 Update to RingRTC v2.9.4 2021-03-19 16:53:51 -04:00
Jack Lloyd
84dc166b63 Bump to using 0.3.0 release of the libsignal-client library
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2021-03-19 16:53:51 -04:00
Jim Gustafson
79ddd48c28 Update to RingRTC v2.9.3 2021-03-19 16:53:51 -04:00
Evan Hahn
fe187226bb Upgrade protobufjs to 6.10.2 2021-03-19 16:53:51 -04:00
Scott Nonnenberg
66d30f2a0d Update libsignal-client for improved win32 build 2021-02-17 11:07:18 -08:00
Scott Nonnenberg
220d906422 Update google-libphonenumber to v3.2.17 2021-02-16 12:14:54 -08:00
Scott Nonnenberg
ed786898fb
Update to Electron v11.2.3 2021-02-11 12:20:05 -06:00
Evan Hahn
24f2363ebe Upgrade Sinon to latest version, v9.2.4 2021-02-10 14:47:55 -08:00
Jim Gustafson
245f8c665d
Update to RingRTC v2.9.2 2021-02-04 11:54:18 -08:00
Evan Hahn
850482ea70
Upgrade libsignal-client to fix CI issues 2021-02-04 10:12:21 -08:00
Evan Hahn
d22add261b
Upgrade blueimp-load-image to v5.14.0 2021-01-29 14:44:57 -08:00
Jack Lloyd
a769402c0c
Use the libsignal-client for curve operations 2021-01-27 14:39:09 -08:00
Evan Hahn
a8787e7c9e
Convert logging infrastructure to TypeScript 2021-01-27 13:13:33 -08:00
Evan Hahn
c8b551edab Upgrade to Electron 11 2021-01-25 18:29:01 -08:00
Evan Hahn
ca669a2638 Update Sharp to the latest version, v0.27.0 2021-01-25 18:29:01 -08:00
Evan Hahn
c85c073669 Update Bunyan to the latest version, v1.8.15 2021-01-25 18:29:00 -08:00
Evan Hahn
38a898cdb8 Update read-last-lines to v1.8.0 2021-01-25 18:28:59 -08:00
Evan Hahn
8ccf402497 Use consistent User-Agent when uploading debug logs 2021-01-25 18:28:59 -08:00
Evan Hahn
dd0ea6b3fe Upgrade TypeScript to the latest version, v4.1.3 2021-01-25 18:28:57 -08:00
dependabot-preview[bot]
eaa65bbc63
Bump ini from v1.3.4 to v1.3.7 2020-12-14 16:09:37 -06:00
Evan Hahn
dd01942d2c
Update to RingRTC v2.8.7 2020-12-07 14:18:46 -08:00
Evan Hahn
c151d09088
Update to RingRTC v2.8.6, fixing group calling audio bugs 2020-12-07 09:25:02 -08:00
Evan Hahn
6b2e955a82
Update to RingRTC v2.8.5 2020-12-04 09:32:31 -08:00
Evan Hahn
f3f2cb2b5e
Show active speaker in group calling PiP 2020-12-01 15:52:09 -08:00
Josh Perez
af6ec26225 Upgrades to RingRTC v2.8.3 2020-11-23 14:49:32 -05:00
Josh Perez
ce68eb4dc6 Upgrades to RingRTC v2.8.2 2020-11-23 14:49:31 -05:00
Josh Perez
c6eafbb8d5 Fix tooltip bugs 2020-11-23 14:49:31 -05:00
Evan Hahn
b366967ca5 Upgrade to RingRTC v2.8.2 RC.6 2020-11-23 14:48:12 -05:00
Scott Nonnenberg
26884432a2 Update TypeScript, Prettier and typescript-eslint for new TypeScript 3.8 syntax 2020-11-23 14:45:44 -05:00
Jim Gustafson
ff0794e08b
Update to RingRTC v2.8.1 2020-11-11 15:10:41 -06:00
Evan Hahn
753e0279c6
Upgrade to Emoji v13
This adds support for the [117 new emojis added in Emoji v13](https://emojipedia.org/emoji-13.0/).
2020-11-06 09:36:20 -08:00
Evan Hahn
8c3da11996 Convert emoji actions to use redux-thunk 2020-11-04 13:03:13 -06:00
dependabot-preview[bot]
4383945c1f Bump dot-prop from 4.1.1 to 4.2.1 2020-11-04 13:03:13 -06:00
Scott Nonnenberg
5629634aff Introduced encoding dependency, needed by node-fetch 2020-11-04 13:00:40 -06:00
Jim Gustafson
a8eb281292 Update to RingRTC v2.7.3 2020-11-04 13:00:40 -06:00
Sidney Keese
fbf93374c1 Replace Draft with Quill for composition area
Co-authored-by: Sidney Keese <sidney@carbonfive.com>
2020-11-04 13:00:40 -06:00
Evan Hahn
60f2422e2a Consolidate sleep usages into a tested utility function 2020-10-26 15:48:44 -07:00
Evan Hahn
459eebcd90 Upgrade Electron to v8.5.2 2020-10-12 18:10:08 -04:00
Evan Hahn
313faab774 Outbound link previews 2020-10-12 18:10:08 -04:00
Evan Hahn
333dc17c0a Proper call requests for callee 2020-10-12 18:10:07 -04:00
Sidney Keese
dabab60f56 Remove TSLint
Co-authored-by: Chris Svenningsen <chris@carbonfive.com>
2020-10-12 18:10:07 -04:00
Evan Hahn
be705bc312 Remove unused @types/agent-base dependency 2020-10-12 18:10:07 -04:00
Jim Gustafson
32c49760f4 Update to RingRTC v2.7.1 2020-09-21 15:42:51 -04:00
Chris Svenningsen
b4e9c278d3 Migrate to eslint 2020-09-21 15:42:51 -04:00
Jim Gustafson
64c3a6eae0 Update to RingRTC v2.7.0 2020-09-21 15:42:51 -04:00
Sidney Keese
2ade4acd52 Migrate util, types, state, sticker-creator to ESLint 2020-09-21 15:42:51 -04:00
Evan Hahn
b4f0f3c685 Upgrade node-fetch to v2.6.1 2020-09-21 15:42:51 -04:00
Peter Thatcher
3c9c581854 RingRTC: Update to v2.6.0 2020-09-21 15:42:50 -04:00
dependabot-preview[bot]
c126a71864 Bump markdown-to-jsx from 6.10.3 to 6.11.4 2020-09-21 15:42:37 -04:00
dependabot-preview[bot]
ad4799b036 Bump http-proxy from 1.17.0 to 1.18.1 2020-09-21 15:42:37 -04:00
dependabot-preview[bot]
38f706f140 Bump acorn from 6.3.0 to 6.4.1 2020-09-21 15:42:36 -04:00
Ken Powers
8290881bd8 Support for Contact Discovery Service 2020-09-09 17:34:57 -07:00
Evan Hahn
2bedd41e57
Upgrade node-sass to v4.14.1 2020-09-04 11:35:42 -04:00
Jim Gustafson
315be542b8
Update to RingRTC v2.5.2 2020-09-04 09:38:08 -04:00
Chris Svenningsen
5b1536cc02 Initial move towards new ESLint config supporting TS
Co-authored-by: Sidney Keese <sidney@carbonfive.com>
2020-09-01 17:11:16 -04:00
Evan Hahn
de7a69dee9 Improve parsing of sgnl:// hrefs 2020-08-28 15:42:25 -04:00