Commit graph

2138 commits

Author SHA1 Message Date
Fedor Indutny
87b56fcfd0
Use logger interface in main sql worker 2021-09-16 14:54:06 -07:00
Evan Hahn
9ff1c1e50d
Recompute hero row size when it appears 2021-09-16 14:47:08 -07:00
Evan Hahn
11855d1585
Make onHeightChange a required prop of <ConversationHero> 2021-09-16 14:44:00 -07:00
Evan Hahn
f9095d372a
Upgrade electron-mocha to v10.1.0 2021-09-16 14:00:52 -07:00
Evan Hahn
fda21edd23
Remove unnecessary disables of consistent-return lint rule 2021-09-16 15:25:55 -05:00
Fedor Indutny
f937eba94e
Update socket status more eagerly 2021-09-16 13:18:42 -07:00
Evan Hahn
3cf6ea882b
Remove unnecessary any casts from ts/Crypto.ts 2021-09-16 09:28:29 -07:00
Evan Hahn
eed7aff925
Remove unnecessary props from <ContactName> 2021-09-16 11:15:43 -05:00
Josh Perez
43685d15c6
Context isolation for About, ScreenShare, Preferences 2021-09-16 11:52:56 -04:00
Fedor Indutny
59ca63cd2e
Use audio.ended in MessageAudio.tsx 2021-09-16 08:02:23 -07:00
Josh Perez
a5f44bc46c
Only log to console if process.stdout is available 2021-09-16 07:33:17 -07:00
Evan Hahn
20be8a11fe
Read and write preferred reactions to storage 2021-09-15 11:59:51 -07:00
Fedor Indutny
3f7957c20d
Self-repairing message counter 2021-09-15 11:45:22 -07:00
Fedor Indutny
5780c3d4b8
Fix socket management for unlinkAndDisconnect 2021-09-15 11:44:27 -07:00
Fedor Indutny
039bd072ed
Extra tests for SignalProtocolStore migration 2021-09-15 11:43:34 -07:00
Evan Hahn
ce1daef9f3
Fix <UniversalTimerNotification> stories 2021-09-15 09:04:42 -07:00
Evan Hahn
487d71464a
Remove FontFace type definitions 2021-09-15 08:50:17 -05:00
Scott Nonnenberg
29a3a2ac58
WhatsNew: Save build creation time, use as displayed date 2021-09-13 14:00:32 -05:00
Evan Hahn
240585ef94
Allow duplicates in reaction palette 2021-09-13 10:04:45 -07:00
Fedor Indutny
5a57e2b704
Fix action propagation to timeline items 2021-09-12 19:36:41 -07:00
Evan Hahn
bfa0bbf7da
Add "call back", "call again" buttons to timeline 2021-09-10 16:59:41 -07:00
Evan Hahn
d94f1151b1
Respect "rules of hooks" in <SmartCustomizingPreferredReactionsModal> 2021-09-10 15:50:56 -07:00
Evan Hahn
4ef56667e2
Move MAX_MESSAGE_SIZE assertion 2021-09-10 13:16:53 -07:00
Evan Hahn
57c41ad5f1
Log message send errors, if present 2021-09-10 13:13:45 -07:00
Scott Nonnenberg
9d4edb5893
WebsocketResources: Increase maximum outgoing message size 2021-09-10 13:43:53 -05:00
Evan Hahn
0e0982147c
Show recent emoji in the customize reaction emoji picker 2021-09-10 11:43:17 -07:00
Scott Nonnenberg
5fb78e1986
ConversationDetails: Prevent block/leave of group if only admin 2021-09-10 11:18:37 -07:00
Evan Hahn
84ac7dd2df
To fix Storybook, make <Message> take renderReactionPicker 2021-09-10 11:00:31 -07:00
Evan Hahn
58c18ac420
Design updates to calling lobby 2021-09-10 12:24:05 -05:00
Fedor Indutny
091f3653e7
Ensure conversation id in storeSession 2021-09-10 10:17:32 -07:00
Evan Hahn
87747ebae2
Attach GV2 info to sync messages, if present 2021-09-10 10:02:55 -07:00
Evan Hahn
fbedda194c
Handle missing conversation in SQL migration 41 2021-09-10 09:19:45 -07:00
Scott Nonnenberg
6efb6da937
Render disappearing message countdown even if deleted for everyone 2021-09-10 09:23:04 -05:00
Fedor Indutny
c7e7d55af4
UUID-keyed lookups in SignalProtocolStore 2021-09-09 19:38:11 -07:00
Evan Hahn
e2392433e0
Preferred reactions: store raw emoji, gate on feature flag 2021-09-09 16:47:30 -07:00
Evan Hahn
9b45b3dae2
Fix comment above StorageAccessType 2021-09-09 17:08:56 -05:00
Evan Hahn
8064560a5f
Update to new provisioning URL scheme 2021-09-09 17:08:19 -05:00
Evan Hahn
99daad3f3f
Fix outbound ring cancelation in lobby 2021-09-09 16:15:05 -05:00
Fedor Indutny
cd809a9922
Add changeNumber capability 2021-09-09 13:53:58 -07:00
Evan Hahn
4f1188e213
Save skin tone changes in reaction picker 2021-09-09 13:53:26 -07:00
Fedor Indutny
1a682fa297
Recompute row heights on coalesced updates 2021-09-09 13:47:11 -07:00
Evan Hahn
759c043c12
Make <ReactionPicker> skin tone story more obvious 2021-09-09 09:32:16 -07:00
Evan Hahn
f28456c160
Let users customize the preferred reaction palette 2021-09-09 09:29:01 -07:00
Fedor Indutny
7a5385e00a
Flush message counter on shutdown 2021-09-08 16:28:18 -07:00
Scott Nonnenberg
bd47720864
ConversationView.hasFiles: Exclude pending attachments by default 2021-09-08 16:23:44 -07:00
Fedor Indutny
7510be0caf
Detect database corruption consistently 2021-09-08 13:39:14 -07:00
Evan Hahn
1184098b42
Fix reactions i18n key 2021-09-08 09:25:16 -07:00
Scott Nonnenberg
9ada9f6a47
Fix Connecting spinner in dark mode, maintain draft attachment order 2021-09-07 17:11:17 -07:00
Evan Hahn
561bc0695f
Update reaction picker visuals 2021-09-07 14:30:58 -07:00
Fedor Indutny
1a3f87f7f6
Fix call order when closing sqlite in renderer 2021-09-07 14:21:55 -07:00
Evan Hahn
a3eed6191e
Ensure messages are sent in order, even with errors 2021-09-07 15:39:14 -05:00
Evan Hahn
634f4a8bb7
Fix error in <ConversationListItem> 2021-09-07 15:38:37 -05:00
Evan Hahn
7f34bedd87
Styling adjustments to timeline notifications 2021-09-07 12:55:03 -07:00
Fedor Indutny
4bed918cf8
Reorder IPC callbacks for settings window 2021-09-07 14:42:17 -05:00
Fedor Indutny
5c7972893c
Add missing strings to _locales folder 2021-09-07 14:41:14 -05:00
Scott Nonnenberg
71b50aae00
Message: Don't propagate sender avatar click event 2021-09-07 14:38:32 -05:00
Evan Hahn
0c741adbe4
Fix when outbound message expire timers are set 2021-09-07 11:36:19 -05:00
Evan Hahn
cc52a94c76
Make sure RingRTC has our UUID 2021-09-07 09:21:17 -07:00
Evan Hahn
bae84b6b67
Prevent outbound group ring if the feature flag is disabled 2021-09-07 09:20:13 -07:00
Scott Nonnenberg
c6278aa173
Lightbox: A number of tweaks 2021-09-07 09:12:26 -07:00
Evan Hahn
82f1920ce2
Support ?? operator in Storybook 2021-09-03 14:39:46 -07:00
Scott Nonnenberg
36f86af616 Release Notes for 5.17 2021-09-02 17:45:03 -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
Fedor Indutny
63dda5bf19
Use isNumber in handleDataMessage 2021-09-02 16:47:23 -07:00
Scott Nonnenberg
1dda705c52
Mandatory profile sharing: Don't disable react/reply in GroupV2 groups 2021-09-02 16:29:46 -07:00
Fedor Indutny
0793aa6b43
Track zoom factor changes through IPC 2021-09-02 16:29:16 -07:00
Evan Hahn
3e18a8a337
Don't ring large groups 2021-09-02 15:34:38 -07:00
Evan Hahn
1f45bce0a2
When a job fails, respect the Retry-After header if applicable 2021-09-02 17:31:21 -05:00
Fedor Indutny
c7873dd7ea
Reconnect websocket on e164 change 2021-09-02 16:47:42 -05:00
Fedor Indutny
30075f18fc
Fix lightbox for tap-to-view GIFs 2021-09-02 16:38:46 -05:00
Evan Hahn
ddc591e962
Add stories for timeline notifications with long names 2021-09-02 16:23:27 -05:00
Scott Nonnenberg
5bf3720d1d
Update to libsignal-client@0.9.0, handle new invalid registration error 2021-09-02 13:44:34 -07:00
Scott Nonnenberg
9ca9f743c3
One lightbox at a time; proper dismiss of "read more" screen; proper in-progress draft HEIC images 2021-09-02 14:35:23 -05:00
Evan Hahn
01b015680b
Move getMessageById next to getMessagesById 2021-09-02 10:44:54 -07:00
Evan Hahn
8e0b94e720
Use missingCaseError in groupMediaItemsByDate 2021-09-02 10:43:56 -07:00
Evan Hahn
808ade2a8c
Fix rendering of long names in <DeliveryIssueNotification> 2021-09-02 12:34:00 -05:00
Fedor Indutny
c7b7a355ba
Clear sender certificate on E164 change 2021-09-02 10:12:11 -07:00
Evan Hahn
d88128b146
Remove extra license header comment from a story 2021-09-02 10:08:08 -07:00
Evan Hahn
c251726698
Fix rendering of long names in <ProfileChangeNotification> 2021-09-02 11:07:30 -05:00
Evan Hahn
f82012f129
Strip Exif data without Sharp 2021-09-02 08:59:42 -07:00
Scott Nonnenberg
30c3b7630c
Settings window: Don't show until everything is rendered 2021-09-02 10:48:53 -05:00
Evan Hahn
bf25a5db0b
Properly remove data from written draft attachments 2021-09-01 15:53:00 -07:00
Evan Hahn
ce922eed7d
Hide "leave group" button if you've already left 2021-09-01 16:08:33 -05:00
Fedor Indutny
0cb340fd1e
Set contenteditable earlier in mentions blot 2021-09-01 15:42:12 -05:00
Evan Hahn
15cad32862
Update groupMediaItemsByDate test to (hopefully) improve reliability 2021-09-01 13:33:08 -07:00
Scott Nonnenberg
b36f40fe89
maybeAddAttachment: Add pending attachment for all file types 2021-09-01 08:55:54 -05:00
Fedor Indutny
1858b15588
Hide previous/next buttons in fullscreen lightbox 2021-08-31 20:19:18 -05:00
Fedor Indutny
6f3191117f
Batch deleteSentProtoRecipient queries 2021-08-31 14:35:01 -07:00
Evan Hahn
a85dd1be36
Retry outbound "normal" messages for up to a day 2021-08-31 13:58:39 -07:00
Fedor Indutny
62cf51c060
Pass mode in unlinkAndDisconnect event listener 2021-08-31 13:34:32 -07:00
Evan Hahn
02518d2e16
Remove unnecessary Array.from from markConversationRead 2021-08-31 09:47:15 -07:00
Evan Hahn
41c78240fd
Handle null values in read sync jobs 2021-08-30 17:59:34 -05:00
Fedor Indutny
798533a417
Keep UI settings on heartbeat expiration 2021-08-30 14:39:57 -07:00
Scott Nonnenberg
dcf29078f4
ConversationView: Improve types 2021-08-30 14:32:56 -07:00
Evan Hahn
480e5b58c7
Handle missing Retry-After header with challenge errors 2021-08-30 11:39:25 -05:00
Evan Hahn
7f50fcdb54
Improve performance when rendering many emoji 2021-08-30 11:39:03 -05:00
Evan Hahn
6f242eca57
Handle signal.me links 2021-08-28 08:27:38 -05:00
Evan Hahn
ed11361b64
Speed up left pane message preview for long messages 2021-08-27 13:49:45 -07:00
Fedor Indutny
a43abe628a
Update TypeScript to 4.4.2 2021-08-27 15:21:42 -05:00
Evan Hahn
853e27e9eb
Fix incorrect comment in JobQueue#add 2021-08-27 15:20:16 -05:00
Josh Perez
c6b4f14f3b
Fixes no group description unless admin 2021-08-26 16:12:07 -05:00
Josh Perez
9f87543388
Style the left pane scrollbar 2021-08-26 16:05:43 -05:00
Josh Perez
2b08cbfdfe
Streamlined system messages 2021-08-26 13:51:55 -07:00
Josh Perez
1973224adb
Fixes flakey CI 2021-08-26 13:42:25 -07:00
Evan Hahn
d2503ffeff
Update release notes for v5.16 release 2021-08-26 13:41:43 -07:00
Evan Hahn
9e9a815a2b
ESLint: allow for..of 2021-08-26 13:18:00 -05:00
Scott Nonnenberg
ff4aa228f6
Move to desktop.sendSenderKey3 feature flag 2021-08-26 11:34:33 -05:00
Fedor Indutny
4c6c869c86
Drop extraneous db query 2021-08-26 09:17:57 -07:00
Evan Hahn
598513e037
Fix unintentional removal of group call without ringer 2021-08-26 08:45:11 -07:00
Fedor Indutny
9236f59524
Log additional latency information on sends 2021-08-26 08:36:08 -07:00
Evan Hahn
418ce2eb51
ConversationView shouldn't load link previews after unload 2021-08-26 08:34:58 -07:00
Evan Hahn
f86f753df9
Add durations utility for computing durations 2021-08-26 09:10:58 -05:00
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
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
Evan Hahn
75cb7b6b13
Improve type for ConversationModel#setProfileAvatar 2021-07-01 16:43:58 -07:00
Fedor Indutny
c186517e42
Updater: Log additional information from ShipIt 2021-07-01 16:40:19 -07:00
Scott Nonnenberg
3b444479c0
Include new database corruption check for SQL errors 2021-06-30 15:06:50 -07:00
Fedor Indutny
759ced3417
Updater debug utility 2021-06-30 14:27:18 -07:00
Fedor Indutny
e7e9021e3f
Fix duplicate key in Linkify 2021-06-30 12:25:02 -07:00
Fedor Indutny
71572db7a9
Get native theme through IPC not remote 2021-06-30 11:57:43 -07:00
Fedor Indutny
773aa9af19
Better emoji support in linkify/previews 2021-06-30 10:00:02 -07:00
Evan Hahn
65ad608aa7
Move message selector tests to the right place 2021-06-29 17:51:57 -07:00
Evan Hahn
92cbfc4437
Improve readability of image captions 2021-06-29 14:13:36 -07:00
Evan Hahn
dc78165043
Fix types when creating ephemeral messages for DOE and reactions 2021-06-29 16:05:56 -05:00
Evan Hahn
f87a3a2cb7
Add "viewed" receipt type to protos 2021-06-29 15:11:10 -05:00
Fedor Indutny
2cd4160422
Unify audio playback under App component 2021-06-29 12:58:29 -07:00
Evan Hahn
8b30fc17cd
Officially support the system tray on Linux, in beta only 2021-06-29 14:29:40 -05:00
Evan Hahn
af1f2ea449
Officially support the system tray on Windows 2021-06-29 12:18:03 -05:00
Fedor Indutny
23acbf284e
Create missing index for markRead 2021-06-29 09:45:31 -07:00
Evan Hahn
79aba6bff4
A couple cleanups in createSentMessage 2021-06-29 09:41:42 -05:00
Fedor Indutny
d11283f0f1
Update RingRTC to v2.10.6 2021-06-29 09:39:53 -05:00
Evan Hahn
a3315bcb68
Skip double save with sync message that has errors 2021-06-28 16:04:42 -07:00
Evan Hahn
4495a1ac67
Add reduce iterables utility 2021-06-28 14:46:33 -07:00
Evan Hahn
7cf7b1fca5
Upgrade zkgroup to v0.7.3 2021-06-28 12:16:55 -07:00
Evan Hahn
c69b2d3ace
Add type for second parameter of createSentMessage 2021-06-28 12:15:48 -07:00
Fedor Indutny
cd28e71bc6
Default disappearing message timeout fixes 2021-06-25 16:52:56 -07:00
Evan Hahn
1d3e06e3f5
Fix: clean up batcher timeouts in all cases 2021-06-25 11:25:50 -07:00