Commit graph

2362 commits

Author SHA1 Message Date
Fedor Indutny
48836d5761
Update @react-spring/web to 9.4.1 2022-01-13 10:31:13 -08:00
Fedor Indutny
31c6a2fc0d
More frequent message cleanup 2022-01-13 10:30:51 -08:00
Scott Nonnenberg
b1c48b6c34 Add release notes for 5.29 2022-01-12 14:52:33 -08:00
Fedor Indutny
e5111c4565
Fix flaky test-release test 2022-01-12 11:15:58 -08:00
Evan Hahn
0a90380ac8
Remove "can resize left pane" flags 2022-01-12 11:35:47 -06:00
Evan Hahn
a5a73e869c
Convert remaining main process tests to TypeScript 2022-01-11 17:10:35 -08:00
Evan Hahn
0c12607e79
Fix "did reaction fully send?" logic 2022-01-11 16:50:11 -08:00
Evan Hahn
2dded88081
Add comments explaining Fabric listeners 2022-01-11 17:18:19 -06:00
Evan Hahn
3a463d3bfc
Use durations utility in parseRetryAfter 2022-01-11 17:17:41 -06:00
Fedor Indutny
91f1b62bc7
Detect startup after recent crashes 2022-01-11 12:02:46 -08:00
Scott Nonnenberg
02a732c511
getProfiles: Fetch a maximum of three profiles at at a time 2022-01-11 11:40:20 -08:00
Evan Hahn
d9b951bfcb
Update base config logging, removal, and tests 2022-01-11 11:12:55 -08:00
Evan Hahn
206f461370
Move menu tests to TypeScript 2022-01-11 09:28:04 -08:00
Jordan Rose
a014337e72
In non-production builds, copy the linking QR code on double-click 2022-01-10 13:32:32 -06:00
Scott Nonnenberg
06165cb742
Include sender keys in SignalProtocolStore zones 2022-01-07 18:12:13 -08:00
Scott Nonnenberg
a17e157e7b
Fix messages_unread index 2022-01-07 12:51:19 -08:00
Fedor Indutny
fa8ff2ae4c
Fix messages_preview index 2022-01-07 11:51:41 -08:00
Fedor Indutny
f49df88877
Update last conversation message after loading 2022-01-07 10:20:29 -08:00
Evan Hahn
f8bbf5c998
Group calls: mute in the lobby if joining a large call 2022-01-07 12:01:23 -06:00
Evan Hahn
577d9a41cc
Log read sync and view sync timestamps 2022-01-06 16:14:16 -06:00
Evan Hahn
5eee11e89c
Respect changing PPI during screen share 2022-01-06 16:00:11 -06:00
Fedor Indutny
e98b281644
Use serverTimestamp for delivery receipts 2022-01-06 12:12:53 -08:00
Evan Hahn
b7c2e6d3e8
Remove M1 support from 5.28 release notes 2022-01-06 11:24:46 -08:00
Scott Nonnenberg
7d397167cd
updateSharedGroups: Make one database query, check for membership, sort 2022-01-06 09:20:54 -06:00
Evan Hahn
fc3ebe40a7
Switch to low QR code error correction 2022-01-05 18:08:28 -06:00
Evan Hahn
eb8687bd81
Add "Need help?" link to link screen 2022-01-05 16:13:33 -06:00
Scott Nonnenberg
62e9a1570a
Enable notifications for disappearing messages on macOS 12.0.1 and above 2022-01-05 13:52:06 -08:00
Evan Hahn
c8d32f0327
Switch to qrcode-generator library 2022-01-05 09:59:59 -08:00
Evan Hahn
ea5571b025
Update release notes for 5.28 release 2022-01-04 17:44:26 -06:00
Evan Hahn
2f90608e1b
Improve "send anyway" experience when starting app 2022-01-04 14:24:18 -08:00
Scott Nonnenberg
54e252ecc2
Re-enable reaction notifications and improve message modifier typing 2022-01-04 09:27:16 -06:00
Fedor Indutny
14861aff50
Process manifest before persisting its version 2022-01-04 09:22:48 -06:00
Fedor Indutny
46ddcc50f9
Update electron to 16.0.6 2022-01-03 17:43:42 -08:00
Evan Hahn
dca2364ba4
Fix media editor undo state bugs 2022-01-03 17:29:19 -06:00
Evan Hahn
7273e580bd
Quiet React warning in mute modal 2022-01-03 13:44:45 -08:00
Fedor Indutny
2d596ac8b2
Switch SQL to main process on disconnect 2022-01-03 13:44:04 -08:00
Fedor Indutny
9d04daff5f
Fix message_user_initiated 2021-12-21 22:49:40 +01:00
Fedor Indutny
f5312b9463
Fix getUnreadReactionsAndMarkRead 2021-12-21 21:01:09 +01:00
Evan Hahn
327a38a552
Fix capitalization in media editor variable name 2021-12-21 00:31:38 +01:00
Scott Nonnenberg
0163ef203b
loadAndScroll: Use one transaction to pull all data: old/new/metrics 2021-12-20 22:05:13 +01:00
Scott Nonnenberg
60a53656af
Optimize a few queries 2021-12-20 22:04:02 +01:00
Fedor Indutny
b08691b35b
Default to system theme-setting 2021-12-20 10:58:21 -06:00
Fedor Indutny
67339001a8
Fix getHtmlDocument for compressed documents 2021-12-20 17:45:57 +01:00
Fedor Indutny
3228e22428
Fix batching in getUnreadReactionsAndMarkRead 2021-12-20 16:15:36 +01:00
Fedor Indutny
9f15f26828
Support running test-electron manually 2021-12-17 15:12:42 -08:00
Evan Hahn
3fa911598b
Use Signal's spellcheck dictionary files 2021-12-17 14:24:54 -08:00
Fedor Indutny
8070b8b14f
Block WebAPI during active registration 2021-12-17 22:26:50 +01:00
Fedor Indutny
9e9e5274cf
Fuse electron at build time 2021-12-17 09:50:42 -08:00
Evan Hahn
770c80b9ee
Remove several @ts-ignores 2021-12-16 17:14:21 -08:00
Evan Hahn
e0bd9f6958
Remove old desktop.screensharing2 feature flag 2021-12-16 17:12:31 -08:00
Fedor Indutny
afd6f3bc20
Compact universal builds for macOS 2021-12-16 16:11:18 -08:00
Evan Hahn
ed96e603ab
Wait for ConversationController load in receipt and sync jobs 2021-12-16 09:45:56 -08:00
Scott Nonnenberg
29c3b8af89
Fix groupV2 change rendering in notifications and left pane 2021-12-16 09:44:54 -08:00
Evan Hahn
364f00f37a
Redesign device link screens 2021-12-16 16:02:22 +01:00
Scott Nonnenberg
a023fc1bb0
Usernames: Fetch own username from /whoami not /profile 2021-12-15 12:02:55 -08:00
Scott Nonnenberg
42cb570029
messages table: introduce new computed isStory field for index usage 2021-12-15 09:17:14 +01:00
Fedor Indutny
e57ca66fd0
Update yarn.lock 2021-12-14 17:00:01 -08:00
Evan Hahn
97d42d5e7b
Enable media editor for everyone 2021-12-14 16:53:15 -08:00
Evan Hahn
71e9498961
Remove ADM2 feature flag 2021-12-14 20:24:43 +01:00
Evan Hahn
c32917284a
Increase SystemTrayService test timeout to help CI reliability 2021-12-14 19:13:06 +01:00
Evan Hahn
41334bce0b
Media editor: saving an image with a pending crop applies that crop 2021-12-14 09:08:44 -08:00
Scott Nonnenberg
e74376b997
Remove Grunt in favor of ts/scripts 2021-12-14 10:43:46 -06:00
Evan Hahn
4e947211b2
Add release notes for v5.27.0-beta.1 release 2021-12-14 10:38:23 -06:00
Fedor Indutny
71ca3c0764
Drop old unprocessed envelopes 2021-12-13 17:25:44 -08:00
Evan Hahn
465b387a13
Update TypeScript ESLint dependencies 2021-12-13 17:15:24 -08:00
Fedor Indutny
e60773cdf3
Display M1/Intel in About screen 2021-12-13 17:04:29 -06:00
Fedor Indutny
73c702515b
Remove unnecessary casts in conversations.ts 2021-12-13 12:23:52 -06:00
Evan Hahn
43f843f9fc
Use assert.isRejected instead of custom assertRejects 2021-12-13 18:38:40 +01:00
Jordan Rose
683823a114
Group calls: Make renderVideoFrame generate less garbage 2021-12-10 18:21:28 -06:00
Fedor Indutny
fed84be0b6
Fix crashes when playing media on legacy OS 2021-12-10 15:27:42 -08:00
Evan Hahn
2fe5ec6ab2
Convert IdleDetector to TypeScript 2021-12-10 15:20:24 -08:00
Evan Hahn
ebcd3e3e43
Remove unused getAllPrivateConversations SQL function 2021-12-10 15:15:00 -08:00
Evan Hahn
0e3d12c457
Prevent display sleep while on a call 2021-12-10 16:53:10 -06:00
Scott Nonnenberg
34fd945f83
No Backbone in data layer; server/client interfaces are now similar 2021-12-10 16:51:54 -06:00
Evan Hahn
064bbfe97a
Media editor: add explicit "done" button to tools 2021-12-10 08:41:31 -06:00
Scott Nonnenberg
161b0e5379
Refactor sender key sends to allow distribution lists 2021-12-09 18:15:59 -08:00
Fedor Indutny
61a6f1b4cf
Reduce logging from rotateSignedPreKey 2021-12-09 11:45:21 -08:00
Evan Hahn
7abe36a166
Update collapsed left pane designs to minimize empty space 2021-12-09 12:50:13 -06:00
Evan Hahn
00fa07a070
Media editor: Remove buggy "click outside canvas" logic 2021-12-09 12:04:30 -06:00
Evan Hahn
2f88e4bdf5
Remove crop rect from media editor on export 2021-12-09 09:10:50 -06:00
Fedor Indutny
bbc13d058e
Update electron to 16.0.4 2021-12-09 09:06:04 +01:00
Scott Nonnenberg
ba043c422b
Theme: Don't update on startup of every new version 2021-12-08 16:32:00 -08:00
Scott Nonnenberg
d72c816af9
Revert "Proper Japanese fonts"
This reverts commit d9990c162e.
2021-12-08 14:23:05 -08:00
Scott Nonnenberg
fdc9885baa
Migration and data access functions for stories 2021-12-08 20:52:46 +01:00
Evan Hahn
9f4a01c535
Always show audio mute icon in group calls 2021-12-08 09:22:37 -06:00
Evan Hahn
f9e98836b0
Retry delivery and read receipts for up to 24 hours 2021-12-07 14:41:40 -08:00
Josh Perez
e81821f4a6
Fixes media editing undo 2021-12-07 14:37:18 -08:00
Josh Perez
d9990c162e
Proper Japanese fonts 2021-12-07 14:36:47 -08:00
Scott Nonnenberg
983477c354
Startup: If we don't have core data available, show 'link device' screen 2021-12-07 20:20:40 +01:00
Josh Perez
00e4a4c1fd
Use the right image dimensions when saving canvas 2021-12-07 12:09:25 -06:00
Josh Perez
d658dc9025
Wrap calling button text 2021-12-07 10:00:26 -06:00
Josh Perez
93310de194
Always bring modified item to front in canvas 2021-12-07 09:56:02 -06:00
Scott Nonnenberg
e8a2d1f2c9
Tell Chromium not to change gain during recording 2021-12-07 09:21:55 +01:00
Scott Nonnenberg
b1ebc0f483
Show sender and device number in decryption error toast 2021-12-06 16:21:30 -08:00
Evan Hahn
01549b11d1
Don't request video for invisible group call participants 2021-12-06 17:06:13 -06:00
Fedor Indutny
b4b65c4f00
Add v2 implementation of CDS HSM 2021-12-06 23:54:20 +01:00
Evan Hahn
56a8e79413
Remove Fabric's optional dependencies 2021-12-06 13:58:07 -08:00
Josh Perez
4c85c04d45
Adds all message actions to context menu 2021-12-06 13:52:47 -08:00
Fedor Indutny
b8cd326bc9
Improve Rosetta detection 2021-12-06 10:10:15 -08:00
Scott Nonnenberg
44872ac961
handleReaction: don't fetch/save across an await boundary 2021-12-06 18:22:44 +01:00
Josh Perez
5c8f740c2a
Check filename extension for heic/heif images 2021-12-06 18:20:27 +01:00
Josh Perez
978f57f076
Add some logging around setting preferred reaction emojis 2021-12-06 11:39:48 -05:00
Josh Perez
2136c5311b
Fix default conversation color overrides 2021-12-03 18:10:03 -08:00
Fedor Indutny
4a011b71d9
Don't notarize releases in parallel 2021-12-04 00:07:19 +01:00
Fedor Indutny
e46a1979c4
Use different z-index for app-loading-screen 2021-12-04 00:04:34 +01:00
Fedor Indutny
874a019227
M1 Support 2021-12-03 23:49:15 +01:00
Josh Perez
dccd3fbf73
Media editor minor improvements 2021-12-03 14:28:56 -06:00
Jim Gustafson
38cdb9b289
Update to RingRTC v2.16.0 2021-12-03 14:22:58 -06:00
Josh Perez
b87e05b1de
Fixes canvas re-renders 2021-12-03 13:05:11 -05:00
Evan Hahn
c0dcce7c82
Clean up AccountManager#registerSecondDevice 2021-12-03 18:46:44 +01:00
Fedor Indutny
ca1aef660f
Generate PNI key on standalone registration 2021-12-02 18:06:32 -08:00
Josh Perez
13de35bea2
Fix video forwarding 2021-12-02 17:05:32 -08:00
Evan Hahn
c88cb62464
Hide "delete for everyone" button for pending messages 2021-12-02 13:28:19 -08:00
Jordan Rose
ee8d0196b1
Don't show a notification for non-ringing calls in muted groups 2021-12-02 14:49:31 -06:00
Josh Perez
5cca047910
Media editing improvements 2021-12-02 10:55:07 -06:00
Josh Perez
4701aeb79e
Release notes for v5.26 2021-12-02 10:51:04 -06:00
Evan Hahn
ee93168028
Clean up contact utility file name 2021-12-01 15:37:37 -08:00
Evan Hahn
6313b05da7
Add "can resize left pane" feature flags 2021-12-01 16:41:25 -06:00
Josh Perez
cd91ed6f45
Do not allow attachments if there are link previews 2021-12-01 21:19:54 +01:00
Fedor Indutny
84407cb005
Use human-readable names for websockets 2021-12-01 19:55:17 +01:00
Evan Hahn
e030b3d18c
Require badge props in <Avatar> to ensure no missing spots 2021-12-01 18:24:00 +01:00
Josh Perez
7affe313f0
Add image editor 2021-11-30 20:14:25 -06:00
Fedor Indutny
86d09917a3
Capture draft attachment's dimensions 2021-11-30 15:32:55 -08:00
Fedor Indutny
951796a389
Fix Redux update on conversation trigger 2021-11-30 17:16:13 -06:00
Fedor Indutny
518ebc315e
Ensure that message heights are always recomputed 2021-11-30 20:34:56 +01:00
Fedor Indutny
77924918df
Don't treat TimeoutError as a decryption error 2021-11-30 20:34:05 +01:00
Fedor Indutny
348012ef4c
Add PNI endpoints to WebAPI 2021-11-30 20:33:51 +01:00
Fedor Indutny
7c1ce3366d
Move StandaloneRegistration to React 2021-11-30 09:51:53 -08:00
Evan Hahn
67b17ec317
Hide "become a sustainer" button if you're already a sustainer 2021-11-30 17:29:57 +01:00
Jordan Rose
7edf3763a8
Hang up any active calls when quitting 2021-11-30 09:36:20 -06:00
Scott Nonnenberg
563f016245
When you send a message, scroll it into view 2021-11-30 12:25:24 +01:00
Evan Hahn
a7ca634e87
Show badges in contact spoofing dialog 2021-11-30 11:07:24 +01:00
Josh Perez
29b4148889
Add 100 character buffer to read more 2021-11-29 16:42:26 +01:00
Josh Perez
c9678c4877
Include badgeIds when writing profile data 2021-11-24 13:48:25 -05:00
Fedor Indutny
76a30a5196
Use throwOnTimeout option for PQueue 2021-11-23 23:01:03 +01:00
Fedor Indutny
a52530262f
Revert "When you send a message, scroll it into view"
This reverts commit a3525c16ef.
2021-11-23 14:09:07 +01:00
Scott Nonnenberg
3601279287
sendToGroup: Flow errors during key-fetching back up to original sender 2021-11-20 09:58:38 -06:00
Scott Nonnenberg
58e3dd9028
Conversation details label: Differentiate between group and 1:1 chat 2021-11-20 09:48:27 -06:00
Evan Hahn
d8b230e348
Tweak avatar badge sizing/placement 2021-11-20 09:41:48 -06:00
Evan Hahn
e490d91cc4
Add badges to avatars in group dialogs 2021-11-20 09:41:21 -06:00
Scott Nonnenberg
7bb37dc63b
Draft attachments: Show image as generic attachment if too big 2021-11-19 13:19:42 -08:00
Fedor Indutny
4afe1475d5
Add separator to envelope log id 2021-11-19 09:21:29 -08:00
Scott Nonnenberg
a3525c16ef
When you send a message, scroll it into view 2021-11-19 09:19:55 -08:00
Scott Nonnenberg
39e10efa39
Conversation last message/activity: Use IS/IS NOT to better handle NULL 2021-11-18 15:15:38 -08:00
Evan Hahn
e5b40aa2ef
Show badges on group invites screen 2021-11-18 23:27:48 +01:00
Evan Hahn
864f9c8631
Tweak badge image logic for new server responses 2021-11-18 23:26:38 +01:00
Scott Nonnenberg
834023779e
onRetryRequest: Send only after session archive or found senderKey 2021-11-18 23:22:24 +01:00
Fedor Indutny
b48477a19c
Use full name in ChangeNumberNotification 2021-11-18 23:11:33 +01:00
Evan Hahn
25cdebe15e
Rev user badges feature flag 2021-11-18 13:25:17 -08:00
Fedor Indutny
d5ae3c94dd
Don't add change number notifications to ourselves 2021-11-18 21:26:53 +01:00