Commit graph

1761 commits

Author SHA1 Message Date
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
Fedor Indutny
9c6343e10d
Unify MessageReceiver and MessageReceiverInner 2021-07-23 13:47:03 -07:00
Scott Nonnenberg
b0eaae93f1
archiveSessionOnMatch: Check for ratchet key match as well 2021-07-23 10:44:21 -07:00
Fedor Indutny
fdec47d637
Use single WebAPI instance across the app 2021-07-23 10:23:50 -07:00
Evan Hahn
ceb2f594e3
Upgrade Sinon to v11.1.1 2021-07-22 14:53:49 -05:00
Evan Hahn
dd93b88550
Fix padding on group title input in left pane 2021-07-22 14:53:34 -05:00
Evan Hahn
07f0efc45f
Rename "view sync" to "view once open sync" 2021-07-22 12:07:53 -05:00
Fedor Indutny
943bb38af1
Make JobQueue an abstract class 2021-07-21 16:10:08 -05:00
Josh Perez
d9e90e9ea8
Improvements to shared library components 2021-07-21 13:45:41 -07:00
Evan Hahn
2c59c71872
Show read/viewed even after read receipts disabled 2021-07-21 12:21:16 -07:00
Josh Perez
8bcf3addc7
Adds announcement group change decryption 2021-07-21 10:58:39 -07:00
Evan Hahn
f5b0d2b5d5
Remove unused expiration-change event 2021-07-20 17:34:31 -07:00
Scott Nonnenberg
e94eaf07a9
Message.sendSyncMessage: properly handle falsey id field 2021-07-20 17:29:44 -07:00
Scott Nonnenberg
a05c3646b1
Make decryption error toast stick around until interaction 2021-07-20 13:53:12 -07:00
Josh Perez
bf6c0ce7c0
Place announcement-only groups behind feature flag 2021-07-20 15:51:38 -05:00
Fedor Indutny
dd0baf9ab4 Merge branch 'heysujal/development' into development 2021-07-20 13:25:52 -07:00
Josh Perez
56d5d283bd
Support for announcement-only groups 2021-07-20 13:18:35 -07:00
Evan Hahn
863ae9ed83
Combine DeliveryReceipts and MessageReceipts modifiers 2021-07-20 13:17:25 -07:00
Evan Hahn
1e10286210
Message details: group by send status, including viewed state 2021-07-20 14:56:50 -05:00
Fedor Indutny
e534dd64f2
Don't transcode incoming attachments 2021-07-20 12:31:23 -07:00
Fedor Indutny
886e8966ff
Drop support for signaling key 2021-07-19 18:11:07 -07:00
Fedor Indutny
31989a7706
Translate errors before rejecting in SendMessage 2021-07-19 18:10:09 -07:00
Evan Hahn
c4a09b7507
Refactor outbound delivery state, take 2
This reverts commit ad217c808d.
2021-07-19 17:44:49 -05:00
Josh Perez
aade43bfa3
Allow download of view once images if received in-call 2021-07-19 17:48:07 -04:00
Josh Perez
b392b7c7ee
Fix read more for long group descriptions 2021-07-19 17:14:41 -04:00
Scott Nonnenberg
7761d83055
Update timers whenever we mark messages read 2021-07-19 13:45:18 -07:00
Josh Perez
cd35a29638
Edit profile 2021-07-19 12:26:06 -07:00
Sujal Gupta
3ef72d537b Unescape HTML encoded entities in link preview 2021-07-19 04:34:34 +05:30
Scott Nonnenberg
f14c426170
ConversationView: Call forceSend with proper signature 2021-07-16 14:27:48 -07:00
Scott Nonnenberg
8415db499c
Initialize ConversationController earlier 2021-07-16 11:21:00 -07:00
Fedor Indutny
aa63aabbc6
Fix negative countdown for audio messages 2021-07-16 11:05:11 -07:00
Scott Nonnenberg
1e5d69739c
waitThenMaybeUpdateGroup: If group is blocked, don't fetch 2021-07-16 10:43:33 -07:00
Fedor Indutny
8a413beaf2
Use socket timeout on updater downloads 2021-07-15 17:57:34 -07:00
Scott Nonnenberg
a42c41ed01
Message Send Log to enable comprehensive resend 2021-07-15 16:48:09 -07:00
Fedor Indutny
0fe68b57b1
Fix CDS lookup 2021-07-15 16:17:22 -07:00
Josh Perez
ee4b79120e
Adds keyboard access to the finish linking phone button 2021-07-15 18:01:41 -04:00
Scott Nonnenberg
f7c85432a5
Ensure sender info propagates after sealed sender decrypt error 2021-07-15 12:13:48 -07:00
Fedor Indutny
668a4a5402
Fix sending previews without images 2021-07-15 10:47:12 -07:00
Fedor Indutny
c3bdf3d411
Show lightbox for GIFs 2021-07-14 16:39:52 -07:00
Fedor Indutny
8951665554
Clean up conversations with UUID as E164 2021-07-13 17:46:02 -07:00
Fedor Indutny
a22dcc986f
Remove libtextsecure/components.js 2021-07-13 15:28:24 -07:00
Josh Perez
0303b6715c
Shorten the submenu hover delay 2021-07-13 15:27:28 -07:00
Fedor Indutny
570fb182d4
Fully move to protobufjs 2021-07-13 11:54:53 -07:00
Fedor Indutny
20ea409d9e
Fix logging in util/deprecated.ts 2021-07-12 17:43:56 -07:00
Fedor Indutny
5da5ffe504
Add placeholder migration 36 2021-07-12 17:32:17 -07:00
Fedor Indutny
ad217c808d
Revert "Refactor outbound delivery state"
This reverts commit 9c48a95eb5.
2021-07-12 16:51:45 -07:00
Fedor Indutny
77668c3247
Close modal when both mouseup/mousedown are inside 2021-07-12 16:02:57 -04:00
Evan Hahn
d4558dc13b
Remove delete button from message details screen 2021-07-12 15:57:58 -04:00
Fedor Indutny
455820a9cf
Fix "delete and restart" after database error 2021-07-09 17:43:36 -07:00
Evan Hahn
9c48a95eb5
Refactor outbound delivery state 2021-07-09 16:38:51 -05:00
Evan Hahn
831ec98418
Audio messages: move countdown under waveform 2021-07-09 13:27:16 -07:00
Fedor Indutny
e4efa01073
Fix attachment downloads for zero cdnId 2021-07-09 13:12:29 -07:00
Fedor Indutny
ddbbe3a6b1
More protobufjs migration 2021-07-09 12:36:10 -07:00
Evan Hahn
da27a6ac64
Add array-type TypeScript ESLint rule 2021-07-08 14:55:48 -07:00
Evan Hahn
7efa4f1a8a
Speed up a link preview fetch test 2021-07-07 17:11:44 -07:00
Josh Perez
ff67d9178b
Transcode all supported image types 2021-07-07 13:06:01 -04:00
Josh Perez
a73d7b42cf
Adds keyboard support to the media quality selector 2021-07-07 13:05:03 -04:00
Evan Hahn
3827f05db9
Upgrade to TypeScript v4.3.5 2021-07-07 11:37:55 -05:00
Evan Hahn
45b599e87a
Handle incoming "viewed" sync messages 2021-07-06 13:21:05 -05:00
Evan Hahn
4cd3da8f5b
Convert ConversationModel tests to TypeScript 2021-07-02 13:40:36 -07:00
Evan Hahn
3dd850b9b8
Disable tooltip on emoji 2021-07-02 13:16:55 -07:00
Scott Nonnenberg
b50bf58418
Clear profile avatar when we discover that it has been removed 2021-07-02 13:16:23 -07:00
Fedor Indutny
299fe2af36
More protobufjs use 2021-07-02 14:21:24 -05:00
Scott Nonnenberg
615ae1ccf7
Refactor SendMessage.ts to named parameters 2021-07-02 13:34:17 -05:00
Evan Hahn
56933192ba
Clean up "can reply" logic, add tests 2021-07-01 16:57:10 -07:00
Evan Hahn
7dac480df5
Don't expire incoming expiration timer updates 2021-07-01 16:48:40 -07:00