Commit Graph

263 Commits

Author SHA1 Message Date
Fedor Indutny 986d8a66bc Show challenge when requested by server 2021-05-05 17:09:29 -07:00
Fedor Indutny caf1d4c4da GIF attachments 2021-04-29 14:27:37 -07:00
Scott Nonnenberg 86d2a4b5dd decrypt/encrypt with libsignal-client, remove libsignal-protocol-javascript 2021-04-29 14:27:35 -07:00
Fedor Indutny 1ca121aef5 Bundle sql worker with webpack 2021-04-14 14:15:26 -07:00
Fedor Indutny a4ff7ae240 Report more performance stats 2021-04-13 16:43:56 -07:00
Fedor Indutny 4fd3ed7242 Bundle preload.js 2021-04-09 00:06:14 -04:00
Fedor Indutny 05ea4a4ff8 Don't pass false query value for enableCI
`?enableCI=false` in the main window URL is treated as truthy value so
don't pass it at all.
2021-03-29 15:18:58 -07:00
Fedor Indutny 990e501850 First pass on CI support 2021-03-25 19:02:53 -07:00
Fedor Indutny 919259c960 Use non-subtle crypto in libsignal-protocol 2021-03-23 17:50:02 -07:00
Josh Perez d82ce07942 Improve cold start performance 2021-03-19 16:57:35 -04:00
Scott Nonnenberg 7e629edd21 Move SignalProtocolStore to TypeScript 2021-03-19 16:53:52 -04:00
Scott Nonnenberg d0e3a2ce29 background.ts/conversation_view.ts modules, Whisper.View/ToastView in TS 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
Scott Nonnenberg 98e7e65d25 Automatic session reset 2021-03-19 16:53:51 -04:00
Scott Nonnenberg bc0f4387fe Backwards compatibility updates for libsignal-client 2021-02-12 10:38:49 -08:00
Evan Hahn bc37b5c907 Add an assertion when updating conversations; update cleanData 2021-02-04 11:54:03 -08:00
Evan Hahn ddebbf8121 Hide title bar on macOS 2021-02-01 12:01:25 -08:00
Scott Nonnenberg a48b3e381e Support for joining New Groups via invite links 2021-01-29 14:16:48 -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
Josh Perez bba50c8427 Log app startup time 2021-01-25 18:29:00 -08:00
Scott Nonnenberg d1355d5874 Show 'you were removed from group' if dropped during migration 2021-01-25 18:29:00 -08:00
Scott Nonnenberg 272e6cc614 Group V2 invite links: in-conversation messages 2021-01-25 18:28:58 -08:00
Evan Hahn 8ace4b6321 Improve window activity detection, improving notification delivery 2021-01-25 18:28:57 -08:00
Evan Hahn a2f285d243 Put group calling behind a remote feature flag 2020-12-07 14:35:14 -06:00
Evan Hahn 23fed9ce63 Group calling SFU URL should be configurable 2020-12-07 13:40:11 -06:00
Evan Hahn 31c2fe56f4 yarn test-electron: automatically pick up test files 2020-12-04 13:54:46 -08:00
Scott Nonnenberg 6832b8acca Timeline: repair oldest/newest metrics if we fetch nothing 2020-12-04 14:41:40 -06:00
Evan Hahn 5302b97066 Only allow group calling in beta versions 2020-11-30 18:48:24 -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
Evan Hahn 022c4bd0f4 Initial group calling support 2020-11-23 14:45:44 -05:00
Evan Hahn 3468de255d Redux state: Allow multiple calls to be stored 2020-11-06 09:36:37 -08:00
Evan Hahn e9642ae66f Test calling's toggle actions, run tests in Electron 2020-11-04 13:03:13 -06:00
Evan Hahn 8bfaf598af Add license headers across the project 2020-11-04 13:03:13 -06:00
Evan Hahn cb9a7f79d1 Rewrite Message model tests in TypeScript 2020-11-04 13:00:41 -06:00
Vin Howe 526ab4fe29 Add menu option for copying supported images in lightbox (#4614) 2020-11-02 16:47:46 -08:00
Scott Nonnenberg b914b59969 Disable obsolete feature flags 2020-10-12 18:10:08 -04:00
Evan Hahn 313faab774 Outbound link previews 2020-10-12 18:10:08 -04:00
Chris Svenningsen b5df9b4067 Migrate messages, conversations, conversation_view, background to TS
Co-authored-by: Sidney Keese <sidney@carbonfive.com>
2020-10-12 18:10:07 -04:00
Josh Perez 22ba54ce5c Don't count muted convos in badge count by default 2020-09-21 15:42:51 -04:00
Josh Perez d87335f5a6 Support server-determined build expiration 2020-09-09 17:34:57 -07:00
Scott Nonnenberg 7a02cc815d Support for new GroupV2 groups 2020-09-09 17:34:57 -07:00
Ken Powers 8290881bd8 Support for Contact Discovery Service 2020-09-09 17:34:57 -07:00
Danny Lin c8261814fd Add setting to toggle notification attention drawing (#4457)
In many GNU/Linux setups, drawing attention when a notification arrives
causes the Signal window to steal focus immediately and interrupt the
user from what they were doing before the notification arrived. GNOME
Shell is the most prominent example of this behavior, but there are
likely other cases as well. Suddenly stealing focus on external events
like this can even pose a security problem in some cases, e.g. if the
user is in the middle of a typing a sudo password on one monitor while a
notification arrives and focuses Signal on another monitor. See #4452
for more information.

Disabling attention drawing entirely for Linux is also problematic
because some users rely on it as the sole indication of a new message,
as seen in #3582 and #3611.

Commit f790694559 improved the situation
by adding a hidden "--disable-flash-frame" command-line argument, but
this argument is undocumented and manually adding command-line arguments
to the application's .desktop file is not user-friendly.

This commit adds a settings option for whether to draw attention when a
new notification arrives to make it easy for all Linux users to obtain
the appropriate behavior without relying on an undocumented
command-line argument.

Fixes #4452.
2020-08-24 14:45:31 -07:00
Scott Nonnenberg bab59ba2a1 Force social graph to pull down updates after beta.11 install 2020-07-30 13:27:44 -07:00
Josh Perez 8502d23576 Social Graph: read-only state sync with primary device 2020-07-30 13:10:05 -07:00
Peter Thatcher d3a27a6442 Calling support 2020-07-30 13:08:47 -07:00
Ken Powers 83574eb067 Message Requests 2020-07-30 13:08:44 -07:00
Scott Nonnenberg fb0a98ccb7 Enable support for versioned profiles 2020-06-23 17:38:32 -07:00
Ken Powers 480e1808ba Enable React with any Emoji 2020-06-10 14:39:45 -07:00