Commit graph

2016 commits

Author SHA1 Message Date
Josh Perez
1d2fcde49f
Moves navigateTo to util 2021-09-21 16:45:25 -04:00
Fedor Indutny
b64908d01d
Fix sticker-creator startup issue 2021-09-21 12:17:17 -07:00
Evan Hahn
7937280971
Fix <Modal> scroll event handler 2021-09-21 09:25:21 -07:00
Evan Hahn
a68e3a6d20
Improve staged attachment designs 2021-09-20 18:23:55 -07:00
Josh Perez
4e6c415ad8
Ensure that delete logs timeout does not run after resolution 2021-09-20 20:25:29 -04:00
Evan Hahn
4e43459d34
Improve types for ConversationType's lastMessage 2021-09-20 14:20:53 -05:00
Fedor Indutny
c19a801b89
Use consistent check for timeline height recomputation 2021-09-20 14:19:55 -05:00
Scott Nonnenberg
250a89d953
Additional logging, new ability to force Conversation 'change' event 2021-09-20 11:51:30 -07:00
Josh Perez
e9ef239ff0
Move emoji loading into TS 2021-09-20 10:59:09 -07:00
Evan Hahn
48daaaa81d
Ensure getLastConversationPreview never returns expired messages 2021-09-20 10:57:59 -07:00
Josh Perez
1b9d8dcb11
Ensure that both window and SignalWindow are defined 2021-09-20 10:29:37 -07:00
Josh Perez
e86a6119cd
Moves stringToArrayBuffer into util folder 2021-09-20 12:27:15 -04:00
Josh Perez
829e42ca6e
Move i18n setup to TypeScript 2021-09-17 20:30:08 -04:00
Fedor Indutny
4dcbb7352f
CallScreen interactivity fixes 2021-09-17 20:20:29 -04:00
Josh Perez
427055ea47
Associate form control with label for choose group members 2021-09-17 19:48:57 -04:00
Fedor Indutny
b83c00f43f
Defer unprocessed item attempt update 2021-09-17 16:11:24 -07:00
Josh Perez
7b5faa1cc1
Permissions popup context iso 2021-09-17 18:24:21 -04:00
Fedor Indutny
f3715411c6
Small UI fixes for left pane dialogs 2021-09-17 17:20:49 -05:00
Josh Perez
6c906d5da8
Enables context isolation for loading window 2021-09-17 18:12:58 -04:00
Josh Perez
277992a468
Make scrollbar overlay content in left pane 2021-09-17 14:03:18 -07:00
Scott Nonnenberg
e2454ef7c5
Improve a few strings, highlight back button on focus, proper key value 2021-09-17 13:57:54 -07:00
Josh Perez
65ddf0a9e8
Import log instead of using it off of window 2021-09-17 14:27:53 -04:00
Evan Hahn
7e7078e11a Fix lint error in <Linkify> stories 2021-09-17 11:28:26 -05:00
Quentin Hibon
756af78d57 Make emoji text matching case-insensitive
See [#5186][5186].

[5186]: https://github.com/signalapp/Signal-Desktop/pull/5186
2021-09-17 11:21:33 -05:00
jojomatik
51d85e58eb Linkify additional TLDs
See [#5170][0].

[0]: #5170
2021-09-17 10:14:42 -05:00
Evan Hahn
09d729a780
Support emoji 13.1 2021-09-16 16:25:11 -07:00
Fedor Indutny
ce0ccc9b58
Disable jumbomoji in quotes 2021-09-16 15:45:32 -07:00
Josh Perez
0f9b72d1db
Ensure single upload for storage service 2021-09-16 18:25:49 -04:00
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