Commit graph

1826 commits

Author SHA1 Message Date
Evan Hahn
c6aa668a9b
Log errors when jobs fail 2021-08-25 16:58:33 -07:00
Fedor Indutny
fff4e9e97f
Simplify envelope drop due to stopped processing 2021-08-25 16:10:09 -07:00
Evan Hahn
0e7f641dc1
Let users ring members when starting a group call
Co-Authored-By: Josh Perez <60019601+josh-signal@users.noreply.github.com>
2021-08-25 16:42:51 -05:00
Josh Perez
4afe4649ec
Fixes save in lightbox 2021-08-25 14:08:32 -07:00
Josh Perez
e76f603233
Moves identicon svg to TS 2021-08-24 17:17:51 -07:00
Josh Perez
347f542ac0
Derive default conversation color from storage 2021-08-24 17:15:12 -07:00
Josh Perez
8f4a2026e4
Adds additional logging to profile sharing enable/disable 2021-08-24 16:37:17 -07:00
Scott Nonnenberg
9f1bd94627
New version startup: clear remote expiration, hydrate from remote config 2021-08-24 16:36:43 -07:00
Josh Perez
2fe142b6d3
Allows clicking on label to edit checkbox 2021-08-24 14:48:38 -07:00
Josh Perez
28f5a2bd1c
Fixes view once videos in lightbox 2021-08-24 14:47:14 -07:00
Fedor Indutny
b7ccd12245
Run resumed zone jobs concurrently 2021-08-24 14:07:40 -07:00
Josh Perez
e15227aa7c
Remove pending update listeners prior to setting a new one 2021-08-24 14:01:55 -07:00
Josh Perez
c304cb84fe
Restores ESC to close preferences 2021-08-24 14:00:56 -07:00
Josh Perez
424d8785b6
Restyle relink dialog 2021-08-24 13:59:44 -07:00
Josh Perez
8045a83374
Refine the clear all data experience 2021-08-24 15:57:34 -05:00
Fedor Indutny
488ac22860
Display dialog on corrupted database 2021-08-24 13:31:06 -07:00
Evan Hahn
48cc2b5f11
Preserve blob content type when stripping EXIF data 2021-08-24 14:38:20 -05:00
Fedor Indutny
fab883c2a6
Don't hide call controls when hovered 2021-08-24 11:38:03 -07:00
Fedor Indutny
9012091d21
Start unauthenticated socket timer after request 2021-08-24 08:58:40 -07:00
Josh Perez
4371996362
Reduce the amount of storage service conflicts 2021-08-23 19:17:36 -04:00
Evan Hahn
52328c2634
Add type for ConversationModel#getGroupV1Info 2021-08-23 16:15:34 -07:00
Josh Perez
d5d808651a
Improved Lightbox experience 2021-08-23 16:14:53 -07:00
Josh Perez
d80e738fb1
Fix 'install now' click after download 2021-08-23 15:45:11 -07:00
Josh Perez
81c57107ce
Do not transcode images if they meet the size thresholds 2021-08-23 14:24:52 -07:00
Evan Hahn
aae221a641
Cancel link preview loading when unloading conversation view 2021-08-23 11:40:49 -07:00
Josh Perez
be378d2b23
Add missing translations 2021-08-23 09:19:18 -05:00
Evan Hahn
9a54a8672d
Speed up lint-deps slightly 2021-08-23 09:18:21 -05:00
Josh Perez
353fea5d66
Disables auto-download updates on Linux 2021-08-20 16:41:58 -05:00
Josh Perez
0e2885a5a6
Properly cancel image encoding 2021-08-20 13:33:06 -07:00
Evan Hahn
70d059beeb
Keep reaction poppers visible at all times 2021-08-20 14:36:27 -05:00
Scott Nonnenberg
f11c366f53
AccountManager: Simplify key rotation pre-check 2021-08-20 11:27:12 -07:00
Evan Hahn
79c976668b
Receive rings for group calls 2021-08-20 09:06:15 -07:00
Fedor Indutny
fe040a2873
Rename ContactType to EmbeddedContactType 2021-08-19 20:56:39 -05:00
Josh Perez
e9308bbafb
New option for control over update downloads 2021-08-19 15:56:29 -07:00
Fedor Indutny
80c1ad6ee3
Don't mutate state in TimelineItem 2021-08-19 13:14:41 -07:00
Fedor Indutny
1cc7c5dc2d
Move getAlwaysRelayCalls to window.Events 2021-08-19 11:41:24 -07:00
Evan Hahn
4b810d5c3e
<ConversationHero>: only call onHeightChange when certain props change 2021-08-19 11:36:09 -05:00
Fedor Indutny
65f0f87bad
Speed-up senderKey membership check 2021-08-19 08:52:08 -07:00
Josh Perez
aecb11247f
Removes old feature flags 2021-08-18 18:04:38 -07:00
Evan Hahn
778c8b4220
Conversation header: fix check if anyone else is in the call 2021-08-18 17:14:30 -07:00
Fedor Indutny
f5a85a0488
Disable websocket in sticker-creator 2021-08-18 17:13:32 -07:00
Evan Hahn
1965228e54
Call lobby: don't flip avatar when video is off 2021-08-18 16:06:26 -05:00
Josh Perez
91af0dad78
Faster preferences window 2021-08-18 13:08:14 -07:00
Fedor Indutny
ac55b8d643
Close database in renderer 2021-08-18 09:52:48 -07:00
Evan Hahn
f3ba979246
Attempt to fix <ConversationHero> re-rendering 2021-08-18 09:38:47 -07:00
Fedor Indutny
7a8363c7c8
Additional render optimizations 2021-08-18 08:34:22 -05:00
Fedor Indutny
6343e7c902
Do not initialize receivedAtCounter in connect 2021-08-17 16:15:45 -07:00
Fedor Indutny
d222376b8f
Run WAL checkpoint on exit 2021-08-17 14:55:34 -07:00
Evan Hahn
763c35e546
Update call lobby UI to match new designs 2021-08-17 16:45:18 -05:00
Evan Hahn
ed83061651
Improve @mentions tokenization 2021-08-17 13:55:25 -05:00
Fedor Indutny
6dcceb81ac
Use stable keys for rendering timeline 2021-08-17 11:41:12 -07:00
Scott Nonnenberg
4a6d28e118
MessageReceiver: Drop blocked senders only after processing SKDMs 2021-08-17 11:40:55 -07:00
Scott Nonnenberg
5f3af9f123
sendToGroup: Save conversation before removing senderKey 2021-08-17 11:35:49 -07:00
Fedor Indutny
784e5d5eee
Sort sender key devices for future optimization 2021-08-17 08:45:57 -07:00
Evan Hahn
75f0cd50be
Send viewed receipt when you start listening to an audio message 2021-08-17 08:43:26 -07:00
Fedor Indutny
caf544b3a1
Fetch hasGroupLink from Redux in conversation details 2021-08-17 09:10:27 -05:00
Evan Hahn
502dad8f6f
Handle maxGroupCallRingSize remote config flag 2021-08-17 09:01:27 -05:00
Fedor Indutny
f5a3d4bc8a
Fix various read sync inconsistencies 2021-08-16 17:16:00 -07:00
Evan Hahn
5075fa241f
ConversationView: some simple type improvements 2021-08-16 14:35:54 -07:00
Josh Perez
b72d7b436e
Fixes license headers test, adds them in 2021-08-16 16:03:10 -05:00
Fedor Indutny
e7be409961
Fix late view/read sync logic 2021-08-16 10:18:16 -07:00
Fedor Indutny
962515031d
Reduce number of SQL queries during conversation update 2021-08-16 11:56:27 -05:00
Evan Hahn
b054802758
Make isEditingAvatar impossible unless you're on the right step 2021-08-16 09:33:27 -05:00
Evan Hahn
6c25f3a463
Fix broken link previews 2021-08-13 16:21:14 -05:00
Fedor Indutny
b2e2e6d8eb
Fallback to sent_at when serverTimestamp is empty 2021-08-13 09:02:28 -07:00
Evan Hahn
b7447cda29
Better housekeeping for link previews 2021-08-13 10:01:56 -05:00
Evan Hahn
b0750e5f4e
Show "unplayed" dot on incoming audio messages 2021-08-12 13:15:55 -05:00
Evan Hahn
9fd191ae00
Add more logging for view-once message interactions 2021-08-12 09:20:22 -07:00
Fedor Indutny
d41e61a96b
Optimize render part 2 2021-08-11 16:06:20 -07:00
Scott Nonnenberg
3f1adec614
removeAllConfiguration: Use json_remove instead of json_patch 2021-08-11 13:11:31 -07:00
Fedor Indutny
61b7eebfcf
Modernize Benchmarks CI 2021-08-11 12:29:07 -07:00
Fedor Indutny
12c78c742f
Optimize rendering 2021-08-11 09:23:21 -07:00
Scott Nonnenberg
81f06e2404
Sender Key: Hardcode senderKey to true, during link and thereafter 2021-08-10 17:41:27 -07:00
Fedor Indutny
0d3e3851e2
Send profileKeys less frequently 2021-08-10 17:16:12 -07:00
Scott Nonnenberg
f431f15a5e
Calling: Clear activeCall only for incoming prering/ringing calls 2021-08-10 19:16:18 -04:00
Scott Nonnenberg
1d91f59368
Bless new 'My Daily Life' sticker pack by Plastic Thing 2021-08-10 19:15:58 -04:00
Scott Nonnenberg
f985d55d5c
Calling: Never show lobby for incoming call 2021-08-10 10:15:35 -07:00
Fedor Indutny
8703b0e020
Reduce log file size 2021-08-09 15:04:17 -07:00
Josh Perez
9078919545
Transcode heic/heif images 2021-08-09 13:06:21 -07:00
Fedor Indutny
440fb69efc
Better logging for early read syncs 2021-08-09 12:59:14 -07:00
Fedor Indutny
46b1e8d0e7
Cache onHeightChange property of message 2021-08-06 14:43:18 -07:00
Josh Perez
78447a0018
Improvements to Avatar rendering 2021-08-06 17:35:25 -04:00
Scott Nonnenberg
35625f4200
Groups: Force a fetch right now if our update runs into a conflict 2021-08-06 14:25:15 -07:00
Scott Nonnenberg
7ce89414bf
Support for alpha build channel 2021-08-06 14:21:01 -07:00
Fedor Indutny
c0ab1dff11
Change conversation color assert to warning 2021-08-06 12:36:54 -07:00
Fedor Indutny
669005ace7
Fix multirecipient sends 2021-08-06 12:19:00 -07:00
Fedor Indutny
cc5da98565
Ignore empty e164 in storage service 2021-08-06 11:20:11 -07:00
Scott Nonnenberg
5069f48cf0
Message Send Log: Increase retention length 2021-08-05 20:17:23 -04:00
Josh Perez
12d2b1bf7c
Avatar defaults and colors 2021-08-05 20:17:05 -04:00
Fedor Indutny
a001882d58
Change Phone Number notifications 2021-08-05 16:34:49 -07:00
Evan Hahn
4b82ac387b
Incoming call bar design updates 2021-08-05 18:31:34 -05:00
Scott Nonnenberg
3d8976d030
requestResend: Show decryption error toast only for RESENDABLE/DEFAULT 2021-08-05 10:25:59 -07:00
Josh Perez
db0c9f0f49
Allows you to turn off announcements only if already on 2021-08-05 10:23:50 -07:00
Scott Nonnenberg
ebb87b12d5
Standardize feature flag for internal testing 2021-08-05 10:00:33 -07:00
Evan Hahn
0af53ef120
Fix extra prop in <AvatarPopup> 2021-08-05 11:14:57 -05:00
Evan Hahn
b95a6b6cb1
Fix React warning in <CallingButton> stories 2021-08-05 10:22:00 -05:00
Evan Hahn
6b290a0f0c
@mentions notifications 2021-08-05 07:35:33 -05:00
Scott Nonnenberg
3bbe859452
Partially revert "Sender Key: Prepare for testing in beta"
Partial revert of commit ab5a12fded
2021-08-04 16:49:05 -07:00
Fedor Indutny
674ea824c2
Update electron, electron-builder, @electron/fuses 2021-08-04 15:15:38 -07:00
Fedor Indutny
c68fd3d727
confirmCode endpoint shouldn't reconnect socket 2021-08-04 13:12:35 -07:00
Scott Nonnenberg
f048066693
Sender Key: Flags to disable, send to unrestricted 2021-08-03 18:02:35 -07:00
Fedor Indutny
d5810d6bac
Support more WebSocket endpoints 2021-08-03 17:37:17 -07:00
Scott Nonnenberg
0fb3951078
_maybeMigrateSession: Directly update cache or save session if needed 2021-08-03 15:42:23 -07:00
Scott Nonnenberg
a78d30cb5a
Simplify signed prekey handling - always save for 30 days, always save five 2021-08-03 15:26:00 -07:00
Fedor Indutny
6d04bfdf67
Fix undefined log function 2021-08-03 12:05:20 -05:00
Evan Hahn
3b476fb60d
Fix tooltip placement bugs by upgrading Popper 2021-08-03 12:04:49 -05:00
Rik Smeets
26b7652492 Don't close emoji picker when Ctrl key is pressed
See [#5431][0].

[0]: https://github.com/signalapp/Signal-Desktop/pull/5431
2021-08-03 10:05:22 -05:00
Evan Hahn
f33a0db32c
Convert the loading window to TypeScript 2021-08-03 09:28:45 -05:00
Scott Nonnenberg
310f0dc88f
Sender Key: Proper 409-handling, save new members earlier 2021-08-02 17:42:00 -07:00
Scott Nonnenberg
ab5a12fded
Sender Key: Prepare for testing in beta 2021-08-02 19:12:49 -05:00
Fedor Indutny
c5de4c6284
Revert "Process read syncs after batches of messages"
This reverts commit eccace481b.
2021-08-02 15:47:33 -07:00
Fedor Indutny
6637fc2b95
Migrate sourceDevice from TEXT to INTEGER 2021-08-02 14:55:31 -07:00
Evan Hahn
eccd682920
Remove unused ConversationModel#getName 2021-08-02 14:26:54 -07:00
Scott Nonnenberg
bcb9d2d2f3
Modernize DeliveryIssueDialog, fix outline clipping in Modal 2021-08-02 14:19:18 -07:00
Fedor Indutny
21ffb7c054 Unseal envelope in a separate step for better logs 2021-08-02 14:17:56 -07:00
Fedor Indutny
907e1d32ec
Handle message render errors in timeline 2021-08-02 13:55:47 -07:00
Evan Hahn
1891375c6c
Remove "delete for everyone" option from failed messages 2021-08-02 12:26:48 -07:00
Fedor Indutny
f82639dc3a
Suspend AudioContext to save resources 2021-08-02 13:31:01 -05:00
Evan Hahn
73bcd3b531
Remove the word "receipt" from read syncs code 2021-08-02 11:47:59 -05:00
Fedor Indutny
926283a114
Fix uncaught error in markMessageRead 2021-07-30 15:13:52 -07:00
Fedor Indutny
eccace481b
Process read syncs after batches of messages 2021-07-30 15:39:41 -05:00
Scott Nonnenberg
bf7da5ca2e
DeliveryIssueDialog: Add learn more button linking to support 2021-07-30 13:30:59 -07:00
Evan Hahn
d0bf9f929b
Remove unused getExpiresAt function 2021-07-30 14:54:34 -05:00
Scott Nonnenberg
0ab09711a4
Track performance of message sends 2021-07-30 11:37:03 -07:00
Evan Hahn
2d3b1918b3
Decrease GPU usage when window is invisible 2021-07-30 13:35:43 -05:00
Scott Nonnenberg
9fb8114691
Sender Key: Track registrationIds in senderKeyState 2021-07-30 11:35:25 -07:00
Evan Hahn
689542a9b4
Show additional data in debug log header 2021-07-30 09:43:16 -07:00
Fedor Indutny
03874a788f
Use smaller batches for receipts and syncs 2021-07-29 18:08:04 -07:00
Evan Hahn
8775c711ae
Mark many of SendMessage's arguments as readonly 2021-07-29 12:00:11 -07:00
Fedor Indutny
93f60ee5a6
Don't forget to cleanup in-memory sticker pack 2021-07-29 11:59:26 -07:00
Fedor Indutny
d4a30a0165
Properly handle connection timeout on unauthenticated websocket 2021-07-29 09:25:21 -07:00
Evan Hahn
8cadc40975
Replace MessageModel#isUnread with isMessageUnread utility 2021-07-29 09:29:07 -05:00
Fedor Indutny
0acefaa656
Add assert to messages endpoint 2021-07-29 01:20:18 -07:00
Fedor Indutny
4a402126b4
Make sure to restore registration before relink 2021-07-29 01:19:26 -07:00
Evan Hahn
b826097237
Show window titlebar in test 2021-07-28 16:46:25 -07:00
Fedor Indutny
6e4a3561f1
Redecode unknown protobuf fields before writing 2021-07-28 16:44:58 -07:00
Fedor Indutny
1c1d0e2da0
Move to websocket for requests to signal server 2021-07-28 14:37:09 -07:00
Evan Hahn
8449f343a6
Fix send sync message bugs 2021-07-28 13:53:18 -05:00
Scott Nonnenberg
4b92e12f83
Group Details: Show unregistered users in member list 2021-07-28 13:52:49 -05:00
Josh Perez
e7a2365905
Fix image contentType when transcoding 2021-07-27 20:09:10 -04:00
Fedor Indutny
b7e5efe0a3
Fix rendering of links with emoji 2021-07-27 16:39:57 -07:00
Fedor Indutny
4c933a1f5a
Fix overly-verbose errors in message details 2021-07-27 16:11:38 -07:00
Scott Nonnenberg
114a9b6969
Delivery Issues: Show simpler message when displayed in a group 2021-07-27 13:30:41 -07:00
Fedor Indutny
85004699f5
MessageReceiver: Unwrap envelopes earlier in the processing chain 2021-07-27 12:55:39 -07:00
Evan Hahn
14929fb408
Show "unplayed" dot on outgoing audio messages 2021-07-27 10:42:25 -05:00
Scott Nonnenberg
67d13e9ba8
More logging in addDeliveryIssue, properly wait in getProfiles 2021-07-26 17:00:16 -07:00
Scott Nonnenberg
276c153ec4
sendToGroup: Ensure key distribution messages are always online:false 2021-07-26 16:48:43 -07:00
Scott Nonnenberg
eba182f8d0
Better logging for sealed sender, sender key distribution 2021-07-23 15:37:04 -07:00
Evan Hahn
18140c4a9d
Retry outbound read syncs for up to 24 hours 2021-07-23 15:02:36 -07:00
Evan Hahn
fc33e9be41
Add stories for <CallingNotification> 2021-07-23 16:34:48 -05:00