Commit graph

2795 commits

Author SHA1 Message Date
Scott Nonnenberg
0ff2272d13
getMessagePropStatus: Move back to isOutgoing for in/out check 2022-06-01 11:40:36 -07:00
Evan Hahn
ab9a50357b
Convert libphonenumber utilities to TypeScript, removing unused ones 2022-06-01 10:48:16 -07:00
Evan Hahn
9c8fd2a714
Convert IndexedDB code to TypeScript 2022-06-01 09:51:30 -07:00
Scott Nonnenberg
638e3e3a58
Remove inboxCollection, ensure falsey active_at removes from badge count 2022-05-31 18:26:57 -07:00
Evan Hahn
c58f1eb503
Convert message schema migrator to TypeScript 2022-05-31 16:56:25 -07:00
Evan Hahn
2a2f44a73a
Convert message cleanup services to TypeScript 2022-05-31 16:53:14 -07:00
Scott Nonnenberg
16d180efac
Send just sync message if we've already sent to all recipients 2022-05-31 16:20:45 -07:00
Fedor Indutny
a88560183b
Preload fonts, load scripts after body 2022-05-31 14:42:18 -07:00
Evan Hahn
8b9543aa67
Convert sticker tests to TypeScript 2022-05-31 21:34:28 +00:00
Evan Hahn
994e4606ba
Try making stream timeout tests more reliable 2022-05-31 13:02:48 -07:00
Scott Nonnenberg
d446aa9e6b
Move to uuids for untrusted conversations needing verification 2022-05-31 12:46:56 -07:00
Evan Hahn
d3f9b656dd
Convert Whisper.View tests to TypeScript 2022-05-31 18:47:08 +00:00
Evan Hahn
06dec4fec1
Convert i18n tests to TypeScript 2022-05-31 17:29:01 +00:00
Scott Nonnenberg
49bb1321e3
Sort groups you've left to the bottom of search 2022-05-31 09:28:31 -07:00
Scott Nonnenberg
fcd0a186e0
If group avatar is the same, but URL changed, capture that new URL 2022-05-31 09:27:03 -07:00
Scott Nonnenberg
6f2b01d98b
Restore useful bubble for incoming messages with errors 2022-05-31 09:26:07 -07:00
Evan Hahn
6668348197
Rewrite WallClockListener as onTimeTravel 2022-05-31 09:22:31 -07:00
Evan Hahn
11cfb4f76f
Remove old Whisper.Database module 2022-05-27 15:12:01 -07:00
Scott Nonnenberg
6b66dad493
When floating loading spinner isn't visible, don't render it 2022-05-26 12:18:17 -07:00
Fedor Indutnyy
e1c6067f92 Release notes for 5.45.x 2022-05-25 13:48:50 -07:00
Fedor Indutny
83b3ae9387
Expiration timer shouldn't count as unread on link 2022-05-25 13:48:23 -07:00
Fedor Indutny
7138daf5ef
Support keepMutedChatsArchived flag 2022-05-25 13:44:05 -07:00
Scott Nonnenberg
e281fbe0e0
Fix left pane summary for gift badges 2022-05-25 12:39:31 -07:00
Fedor Indutny
fcc60202c2
Populate sourceDevice field of ManifestRecord 2022-05-25 12:20:45 -07:00
Scott Nonnenberg
68f705e6ad
Reset MessageReceiver processed count after reporting it 2022-05-25 11:15:09 -07:00
Fedor Indutny
bf6d9c6cda
Fix uncaught exception in logging 2022-05-25 11:04:01 -07:00
Fedor Indutny
80c90540f6
Restore call view mode after presentation end 2022-05-25 11:03:27 -07:00
Fedor Indutny
dfc310805a
Allow manually retrying attachment downloads 2022-05-23 16:07:41 -07:00
Evan Hahn
59b45399e4
Improve logic for app badge count 2022-05-23 15:21:14 -07:00
Fedor Indutny
3be95e821e
Pass abortSignal to sendToGroup 2022-05-23 15:08:13 -07:00
Fedor Indutny
7afe3fcca2
Combine two redux batches in send flow 2022-05-23 15:04:33 -07:00
Fedor Indutny
494287a570
Fix audio indicator svg glitch 2022-05-23 15:00:01 -07:00
Fedor Indutny
9f8ea5b202
Take activeAt in account when using fuse.js index 2022-05-23 12:09:40 -07:00
Evan Hahn
28ab6e11f6
isMuted -> isConversationMuted 2022-05-23 18:37:53 +00:00
Evan Hahn
3f0ed541f6
Improvements to group calling video requests 2022-05-23 10:16:13 -07:00
Fedor Indutny
5c72c785a0
Stop retrying message send on 400 response 2022-05-23 09:27:40 -07:00
Fedor Indutny
6452ff9d1e
Add extra padding to audio indicator 2022-05-20 18:42:12 -07:00
Fedor Indutny
e6223b6a11
Dynamic audio level indicator 2022-05-18 23:28:51 -04:00
Fedor Indutny
e69857fc13
Mark messages as failed when running out of time 2022-05-18 13:44:51 -07:00
Fedor Indutny
e86a312b74
Disable part of the migration 58 2022-05-18 09:44:43 -07:00
Scott Nonnenberg
a114e4e210
Gift Badges: A few tweaks 2022-05-16 12:54:38 -07:00
Rashad Sookram
0a0b5a7bfe
Show loading state while joining a group call 2022-05-16 07:59:10 -07:00
Scott Nonnenberg
dfd1190e8b
Groups: Show in left pane more often, proper join message 2022-05-16 07:53:54 -07:00
Fedor Indutny
de9deb444a
Revert "Let CallingAudioIndicator background linger"
This reverts commit a924591a8c.
2022-05-12 14:03:43 -07:00
Fedor Indutny
f084834d67
Bless "Day by Day" sticker pack 2022-05-11 19:45:51 -07:00
Scott Nonnenberg
105508c50f
Update unread count when creating important local notifications 2022-05-11 19:45:20 -07:00
Josh Perez
ddde85cdd8
Soft assert for hydrating story context 2022-05-11 16:47:19 -07:00
Fedor Indutny
a924591a8c
Let CallingAudioIndicator background linger 2022-05-11 16:02:09 -07:00
Fedor Indutny
b30c7f9c46
Dark theme loading screen 2022-05-11 15:58:14 -07:00
Scott Nonnenberg
af2c884c9f
Timeline: Use messageChangeCounter to mark messages read less often 2022-05-11 15:41:45 -07:00
Scott Nonnenberg
69d0ed3309
Always provide isGroup/storyId to message-fetching functions 2022-05-11 15:20:47 -07:00
Josh Perez
253ab7517d
Always repair unexpired stories 2022-05-11 14:02:26 -07:00
Scott Nonnenberg
0ba6a0926e
Support for incoming gift badges 2022-05-11 13:59:58 -07:00
Scott Nonnenberg
6b4bea6330
Timeline: When scrolling far into history, discard newest messages 2022-05-10 13:19:58 -07:00
Josh Perez
0ca66d6e95
Adjust story replies for direct conversations 2022-05-10 15:02:21 -04:00
Josh Perez
fa7b7fcd08
Adds keyboard shortcuts for calling 2022-05-10 11:14:08 -07:00
Fedor Indutny
1b052ad16b
Report process cpu/memory usage in debug log 2022-05-09 18:12:04 -07:00
Fedor Indutny
8f675cdc16
Change background of the "muted" icon 2022-05-09 16:51:57 -07:00
Scott Nonnenberg
4c9134f5a5
Ensure source is not required for incoming sync messages 2022-05-09 11:55:11 -07:00
Josh Perez
144d594e31
Remove announcementGroup capability checks 2022-05-09 11:15:46 -07:00
Josh Perez
dcf0c5284d
Adds some logging to detect story playback order 2022-05-09 12:38:32 -04:00
Josh Perez
85c8ff76dc
Adds playback bar to story viewer 2022-05-06 12:02:44 -07:00
Josh Perez
85df5cf1d8
Updates button styles for replies and views 2022-05-06 09:17:33 -07:00
Scott Nonnenberg
300cee2e24
JobQueue: If job data does not parse, delete it from database 2022-05-05 11:55:15 -07:00
Josh Perez
3f35e8c9d0
Disable jumbomoji for story replies 2022-05-05 10:09:38 -07:00
Scott Nonnenberg
232004cdd1
sendNormalMessage: Only send just sync message in Note to Self, groups 2022-05-05 09:27:56 -07:00
Josh Perez
fb21285ce3 Merge branch 'main' into pr/5866 2022-05-04 21:28:12 -04:00
Josh Perez
c6c6087357
Fixes bugs with the story viewer 2022-05-04 14:45:32 -04:00
Josh Perez
36c5de4600
Animated floating emojis 2022-05-04 10:43:22 -07:00
Josh Perez
7d8464757b
Story viewing improvements 2022-05-03 16:50:44 -07:00
Scott Nonnenberg
d4e0f6a38d
Update conversation.unreadCount in just one place, from database 2022-05-03 13:24:31 -07:00
Scott Nonnenberg
364d690cf3
On database error: Escape copies error and quits, additional logging 2022-05-03 12:06:47 -07:00
Scott Nonnenberg
dad4fffb4e
Notarization: Update electron-notarize and start using notarytool 2022-05-03 10:07:16 -07:00
Josh Perez
ff87caf526
Fixes going to oldest unread story when viewing 2022-05-03 12:02:43 -04:00
Scott Nonnenberg
87a5ddc437
MediaGallery: Localize Media and Documents tab headers 2022-05-02 16:42:07 -07:00
Josh Perez
a77861e5c4
Fix video playback in StoryViewer for multiple videos 2022-05-02 09:24:41 -07:00
Scott Nonnenberg
e078a2ae54
Ensure that seenStatus is always updated along with readStatus 2022-04-29 16:42:47 -07:00
Josh Perez
4090e968b6
Log better errors when unable to show attachments 2022-04-29 14:48:26 -04:00
Josh Perez
6e7092c294
Functional context menu in story viewer 2022-04-29 13:43:24 -04:00
Fedor Indutny
d6b58d23d6
Increment unprocessed attempts when fetching 2022-04-28 15:28:30 -07:00
Josh Perez
6d576ed901
Allow multiple reactions to stories 2022-04-28 18:06:28 -04:00
Fedor Indutny
42554ebaf0
Confirm group call update messages 2022-04-28 14:41:56 -07:00
Dennis Ameling (he/him)
3445e06b00 Apply reasonCategory to exceptions 2022-04-28 21:06:58 +02:00
Dennis Ameling (he/him)
dc66af4331 Update node-gyp to 9.0.0 2022-04-28 21:06:56 +02:00
Josh Perez
84411fee38
View next unread story improvements 2022-04-28 11:59:09 -07:00
Scott Nonnenberg
9d3498d938
Fix collapsed corners for link previews and image attachments 2022-04-27 16:03:50 -07:00
Fedor Indutny
65dc9d6afb
Fix "Cannot Update" dialog's retry button 2022-04-27 16:02:41 -07:00
Fedor Indutny
99de97a099
Update electron to 18.1.0 2022-04-27 14:15:57 -07:00
Fedor Indutny
b116c45375
Bump fuse.js treshold value 2022-04-27 13:09:54 -07:00
Fedor Indutny
de0450efe7
Add filter commands for finding conversations 2022-04-27 11:52:43 -07:00
Fedor Indutny
472df5821a
Cache paths resolved by createPathGetter 2022-04-27 11:40:58 -07:00
Scott Nonnenberg
25282e3afa
getTotalUnreadForConversation: Add missing isGroup parameter 2022-04-27 10:41:24 -07:00
Fedor Indutny
5d65e3b36c
Revert update to electron 18.1.0
* Revert "Update electron-builder to 23.0.8"

This reverts commit c8842d94ec.

* Revert "Update to electron@18.1.0"

This reverts commit 5f3a62cbb6.
2022-04-26 18:15:43 -07:00
Fedor Indutny
b7f0ec61b9
Resolve attachments folder before using it 2022-04-26 17:31:01 -07:00
Fedor Indutny
50100906f3
Fix flaky GV2 mock test 2022-04-26 17:30:44 -07:00
Fedor Indutny
0a24ca8d88
Fix handling of 206 status code in updater 2022-04-26 16:58:29 -07:00
Fedor Indutny
c8842d94ec
Update electron-builder to 23.0.8 2022-04-25 17:15:10 -07:00
Scott Nonnenberg
1d26424f22
Challenge: If no retry-after header on 428, don't start timer for retry 2022-04-25 16:05:23 -07:00
Scott Nonnenberg
9921a07a0b
Prepare for branch move: development -> main 2022-04-25 15:53:31 -07:00
Fedor Indutny
decf65078c
Fix screen reader interaction with message audio 2022-04-25 14:12:22 -07:00
Scott Nonnenberg
4c1b27c150
sendProfileKey: Be resilient to more kinds of errors 2022-04-25 14:03:47 -07:00
Josh Perez
2f44e33c9c
Move link notification to the conversation hero 2022-04-25 14:03:24 -07:00
Fedor Indutny
40f16b98e2
Transcode link preview images 2022-04-25 13:56:59 -07:00
Fedor Indutny
fd610a6300
Don't post extraneous verified change notification 2022-04-25 13:54:13 -07:00
Scott Nonnenberg
5e0534310e
Message.tsx: Don't handle clicks outside of container 2022-04-25 10:26:45 -07:00
Josh Perez
d8708e4e73
Ensure that we resolve attachments before displaying them 2022-04-25 10:25:50 -07:00
Josh Perez
72f979ea1d
Fix story reply box interactions 2022-04-22 23:16:13 -04:00
Fedor Indutny
7775f7d806
Ignore PNI key upload errors for now 2022-04-22 12:02:23 -07:00
Josh Perez
9973c661d0
Attach storyContext to group story replies 2022-04-22 11:45:45 -07:00
Josh Perez
4602cef6da
Full width/height stories 2022-04-22 14:36:34 -04:00
Scott Nonnenberg
3a1df01c9e
New 'unseenStatus' field for certain secondary message types 2022-04-22 11:35:14 -07:00
Josh Perez
6c68c00578
Use useRefMerger in Input to avoid re-renders 2022-04-21 16:20:41 -04:00
Fedor Indutnyy
ed013bf51c Release notes for 5.41.x 2022-04-21 11:43:38 -07:00
Josh Perez
4896ce32c3
Sync story read status from primary 2022-04-20 17:29:37 -07:00
Fedor Indutny
da45f26d37
Drop verified syncs, use storage service for event 2022-04-20 19:41:52 -04:00
Josh Perez
8c4b875dca
Prune the story progress effect's dependency list 2022-04-20 19:38:38 -04:00
Josh Perez
774246b6e2
Drop story replies from group timeline 2022-04-20 16:33:38 -07:00
Fedor Indutny
e5ba00b798
Initial GV2 mock tests 2022-04-20 12:35:53 -07:00
Scott Nonnenberg
34a27accfc
Timeline: Mark messages read sooner, and a little more often 2022-04-20 12:31:54 -07:00
Fedor Indutny
7821a872bd
Drop ContactRecords for our own ACI/PNI 2022-04-19 20:10:10 -07:00
Fedor Indutny
e8d268b466
Clear previous pending pni identity events 2022-04-18 16:33:17 -07:00
Josh Perez
d776deae01
Hidden stories list/unhide stories 2022-04-15 18:31:18 -04:00
Josh Perez
85027e7ce5
Release notes for v5.40.x 2022-04-15 18:18:47 -04:00
Josh Perez
e3d537cbd3
Render group stories 2022-04-14 20:08:46 -04:00
Scott Nonnenberg
14ab7b9e0d
Fetch profiles for conversations needing verification, more logging too 2022-04-14 15:27:16 -07:00
Fedor Indutny
6856e246e2
Don't update our own profile key from group state 2022-04-14 15:26:47 -07:00
Josh Perez
908ecda64f Merge signalapp/Signal-Desktop#5610 2022-04-14 14:49:05 -04:00
Scott Nonnenberg
f572abf57d
Show expiration timer for incoming messages even if unread 2022-04-14 11:06:37 -07:00
Josh Perez
b550f64a4b Merge signalapp/Signal-Desktop#5633 2022-04-14 13:04:19 -04:00
Josh Perez
4015259def
Adds captions in the viewer 2022-04-14 13:02:12 -04:00
Fedor Indutny
247149c58e Support search for E164 without candidate contacts 2022-04-13 15:02:41 -07:00
Scott Nonnenberg
37c44fb631
Support for server-configurable maximum attachment size 2022-04-13 10:47:39 -07:00
Scott Nonnenberg
677548f3a3
getSuggestedFilename: January 2nd to fix test failure in some time zones 2022-04-13 10:45:49 -07:00
Fedor Indutny
610ebdd1e3
Batch storage item read requests 2022-04-12 17:50:17 -07:00
Chris Eager
2f5e4f1b98
Update message reporting to use sender ACI instead of E164 2022-04-12 12:54:04 -07:00
Scott Nonnenberg
8f630a52b5
Job Queue: Don't wait unless it's our first time in verify loop 2022-04-12 12:41:12 -07:00
Scott Nonnenberg
a013e43299
Contact presence: Check for array with items, not truthiness 2022-04-12 12:37:10 -07:00
Josh Perez
1a9547c98f
Repair video playback in viewer 2022-04-12 12:29:30 -07:00
Fedor Indutny
42108c9ca9
Flush last conversation message save on shutdown 2022-04-12 11:16:58 -07:00
Josh Perez
0ccbf5e4bd
Move FocusTrap into the parent to allow scrolling list 2022-04-12 07:45:20 -07:00
Scott Nonnenberg
302604f67e
Restore ability to message someone from embedded contact 2022-04-11 17:26:09 -07:00
Fedor Indutny
f77175f6b3
Fix spurious assert in groups.ts 2022-04-11 14:31:38 -07:00
Josh Perez
9f7ee9ae79
Force set expirationStartTimestamp on story messages 2022-04-11 14:28:01 -07:00
Scott Nonnenberg
7f89f6162f
Disable forward for messages with embedded contact 2022-04-11 13:57:44 -07:00
Fedor Indutny
6d816d01ad
Better tool for symbolication of crash reports 2022-04-11 11:46:02 -07:00
dependabot[bot]
c82ce8f15f
Upgrade moment to v2.29.2 2022-04-11 11:33:36 -07:00
Scott Nonnenberg
9e54f55c22
Ensure that waitForAll functions catch and log thrown errors 2022-04-11 10:53:57 -07:00
Scott Nonnenberg
45fcf827dd
Don't apply custom color style if message is deleted for everyone 2022-04-11 09:45:50 -07:00
Yusuf Sahin HAMZA
e150353f3f Improve archive helper text 2022-04-08 18:32:15 -04:00
Josh Perez
28c1346a25
Allow outside click for focustrap 2022-04-08 14:50:26 -04:00