Commit graph

2082 commits

Author SHA1 Message Date
Scott Nonnenberg
48229332ea
Introduce focus traps for ModalHost, add button role to DropZone 2021-10-04 10:14:00 -07:00
Josh Perez
b8467da933
Fix avatar popup zIndex 2021-10-01 20:01:44 -04:00
Josh Perez
bfe5a5edae
Do not process records if there are none to process 2021-10-01 20:01:30 -04:00
Evan Hahn
893a77a3ad
Fix render loop in <Modal>, clean up ref merger code 2021-10-01 16:53:00 -07:00
Evan Hahn
b239502813
Fix license header file enumeration 2021-10-01 16:52:36 -05:00
Josh Perez
c99066de9b
Disallow multiline in About editing 2021-10-01 14:27:34 -05:00
Scott Nonnenberg
9a1430a460
Typescriptify main.js 2021-10-01 13:49:59 -05:00
Josh Perez
e033fd2cf3
Fix background bleed through on color bubbles 2021-10-01 09:16:44 -07:00
Fedor Indutny
3534408c97
Fix various clipping issues with message buttons 2021-09-30 16:24:23 -05:00
Josh Perez
19e700aba3
Lightbox improvements 2021-09-30 17:18:56 -04:00
Josh Perez
31d1f25b18
Adds error dialog when voice recorder cannot start 2021-09-30 13:13:47 -07:00
Josh Perez
cf0da96791
Save image/jpeg images as .jpg 2021-09-30 12:43:27 -04:00
Evan Hahn
ffe7cc578b
Update v5.19 release notes 2021-09-30 09:38:59 -07:00
Evan Hahn
14b42f0f11
Remove unused "inactive" class from inbox view 2021-09-30 09:37:55 -07:00
Fedor Indutnyy
8c16341d44 Update release notes for 5.19 2021-09-29 17:16:16 -07:00
Fedor Indutny
a2dff82de2
Coalesce typing indicators when blocked 2021-09-29 15:46:35 -07:00
Fedor Indutny
1f0e38f649
Use physical keys for voice message shortcut 2021-09-29 15:21:51 -07:00
Fedor Indutny
3e31a7405b Use physical keys+layout for shortcuts 2021-09-29 14:21:15 -07:00
Josh Perez
b6cfe0933d
Adds open/close animations to dialogs and modals 2021-09-29 16:59:37 -04:00
Evan Hahn
fc066e05df
Don't show "group call started" notifications for muted conversations 2021-09-29 15:29:40 -05:00
Josh Perez
603c315c82
Moves AudioCapture into react 2021-09-29 13:23:06 -07:00
Evan Hahn
c170d04ffa
Enable customization of preferred reactions for everyone 2021-09-29 13:21:26 -07:00
Scott Nonnenberg
1e3de45af6
Fix blank avatars, duplicate recent media, static message details 2021-09-29 13:18:27 -07:00
Fedor Indutny
5c1776e00e
Autofocus "choose group member" modal input 2021-09-29 14:29:02 -05:00
Fedor Indutny
bdf1287403
Subscribe to theme change in settings 2021-09-29 11:37:30 -07:00
Evan Hahn
64fc234490
Use new audio device module in alpha and beta 2021-09-29 13:30:42 -05:00
Evan Hahn
f3e07e5376
Remove redundant incoming call bar code 2021-09-29 13:30:22 -05:00
Fedor Indutny
eec669f284
Remove unused code from WebAPI 2021-09-28 16:38:55 -07:00
Fedor Indutny
cd710bb8d2
Add jitter support to BackOff class 2021-09-28 15:12:43 -07:00
Fedor Indutny
29de067c0e
Consistent sorting for messages in reducer 2021-09-28 15:11:01 -07:00
Fedor Indutny
0291830d16
Annotate WebAPI logs with request subtype 2021-09-28 13:55:50 -07:00
Josh Perez
68cef84c29
Massively zoom in on images, adds panning 2021-09-28 13:27:35 -07:00
Evan Hahn
942ce16610
In prerelease, enable background throttling when not on a call 2021-09-28 14:00:22 -05:00
Fedor Indutny
2f7226e200
Remove key caching from Timeline 2021-09-28 11:32:54 -07:00
Evan Hahn
e11f11782c
Add alt text for link screen QR code 2021-09-28 12:17:12 -05:00
Evan Hahn
e32503eed4
Import AudioDevice and VideoFrameSource directly from RingRTC 2021-09-28 11:37:03 -05:00
Evan Hahn
ed222fee9a
Poll for devices when joining a group call 2021-09-28 11:35:40 -05:00
Fedor Indutny
377cdb3281
Fix flaky TaskWithTimeout test 2021-09-28 09:31:12 -07:00
Evan Hahn
7b9a68b7f9
Upgrade zkgroup to v0.8.1 2021-09-28 09:30:30 -07:00
Fedor Indutnyy
5dafb4c11c Merge "Fix logging typo" 2021-09-27 13:21:57 -07:00
Scott Nonnenberg
2f68defa4b
AvatarPreview: Use avatarPath directly if provided 2021-09-27 12:16:42 -07:00
Fedor Indutny
8d1ab9fd69
Consistent scheduling of sendToGroup 2021-09-27 11:29:06 -07:00
Fedor Indutny
af387095be
API to suspend/resume tasks with timeout 2021-09-27 11:22:46 -07:00
Scott Nonnenberg
cf4c81b11c
Clear stale sender certificates 2021-09-27 10:31:34 -07:00
Josh Perez
9888e6d38f
Move common utils out of conversation view 2021-09-27 11:29:00 -05:00
Evan Hahn
9791fa43ef
Improve handling of 413 HTTP responses 2021-09-27 09:44:09 -05:00
Evan Hahn
8b98035cbf
Remove unused "messageRetry" send type 2021-09-24 15:14:54 -07:00
Fedor Indutny
a6e3d5cbae
Display thumbnails for video attachments 2021-09-24 13:47:47 -07:00
Evan Hahn
47634acc3d
Fix inversion of audio notification preference 2021-09-24 15:11:16 -05:00
Josh Perez
1c3c971cf4 Moves DraftAttachments into redux 2021-09-24 16:03:32 -04:00
Evan Hahn
f81f61af4e
Draw attention even if notifications are otherwise disabled 2021-09-24 14:01:29 -05:00
Fedor Indutny
af66a5b265
Truncate lastHeartbeat to day millis 2021-09-24 10:01:46 -07:00
Evan Hahn
7adfd1a4e7
Fix compile error: use bytesToUuid in calling service 2021-09-24 09:32:01 -07:00
Evan Hahn
9aa0de5b6c
When a group call starts, show an OS notification 2021-09-24 09:01:01 -05:00
Josh Perez
68b711b360
Auto close toasts onClick 2021-09-23 22:08:01 -04:00
Fedor Indutny
4ef0bf96cc
Uint8Array migration 2021-09-23 17:49:05 -07:00
Quentin Hibon
9d38470046
Fix logging typo 2021-09-23 23:07:51 +02:00
Evan Hahn
bf572cab9c
Properly initialize session reset send states 2021-09-23 13:21:35 -07:00
Evan Hahn
d2ef82686d
Notification improvements 2021-09-23 13:16:09 -05:00
Evan Hahn
04a4e6e5ff
Upgrade RingRTC to v2.13.1 2021-09-23 08:49:33 -07:00
Fedor Indutny
dbd427396c
Convert js/modules/types/contact.js to TypeScript 2021-09-23 09:26:25 -05:00
Josh Perez
e6d952d105
Removes ToastView, new React toast 2021-09-22 16:59:54 -04:00
Fedor Indutny
024a3521e1
Fix quote content-type for GIFs 2021-09-22 13:15:48 -05:00
Scott Nonnenberg
24497ca0f1 Update release notes for 5.18 2021-09-22 09:02:50 -07:00
Fedor Indutny
b9d6497cb1
Better types for WebAPI 2021-09-21 17:58:03 -07:00
Josh Perez
c05d23e628
Modernize ContactModal 2021-09-21 15:37:10 -07:00
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