Commit graph

2984 commits

Author SHA1 Message Date
Josh Perez
7d2b91368d
Normalize the distribution list and UUIDs iOS sends us 2022-07-29 13:16:36 -04:00
Josh Perez
4a39264188
Use video screenshot as background blur in story viewer 2022-07-29 13:13:01 -04:00
Scott Nonnenberg
08b2aeb237
Move back to libsignal-client v0.18.1 2022-07-29 09:17:59 -07:00
Evan Hahn
d25e3c37ed
Stop exporting BLESSED_PACKS 2022-07-29 07:36:16 -07:00
Josh Perez
32e694d8a4
When reacting to a group story keep the modal open 2022-07-28 17:17:00 -07:00
Josh Perez
0350692034
Group stories show group avatar in story list viewer 2022-07-28 17:16:30 -07:00
Josh Perez
e7b3de8b28
Removes sender name on story group sends in list 2022-07-28 17:15:56 -07:00
Josh Perez
f09e6dcc7d
Update views/replies chevron in story viewer 2022-07-28 17:15:20 -07:00
Josh Perez
e1b60b927a
Make story timestamps always relative time 2022-07-28 17:13:39 -07:00
Josh Perez
473d57fb74
Delete a distribution lists members when list is deleted 2022-07-28 17:13:22 -07:00
Josh Perez
d7ec2e9d82
Adds ErrorBoundary around stories 2022-07-28 17:10:07 -07:00
Josh Perez
37f9346f57
Ensure we are always using conversationId for story actions 2022-07-28 15:33:07 -04:00
dependabot[bot]
68adb736d3
Upgrade terser to v4.8.1 2022-07-28 11:59:41 -07:00
Fedor Indutny
79b48115e6 Handle PniChangeNumber 2022-07-28 14:50:10 -04:00
Josh Perez
9fbbb7a8d2
Release notes for v5.53 2022-07-27 21:00:52 -04:00
Scott Nonnenberg
3187468ba7
Always use - (not _) when dealing with locales 2022-07-26 13:06:34 -07:00
Scott Nonnenberg
67ddec65d9
Message.tsx: Use role=row for container, not role=button 2022-07-25 17:19:00 -07:00
mooons
e22a08563e Generalize macOS arm64 platform name 2022-07-25 17:18:46 -07:00
Scott Nonnenberg
78ad890a20
Conversation.getProps: Allow for our own ACI to be missing 2022-07-25 14:08:31 -07:00
Scott Nonnenberg
1062126077 Request our PNI along with group credential fetch 2022-07-25 13:25:43 -07:00
Josh Perez
06476de6c9
Adds debugging information to stories 2022-07-25 11:55:44 -07:00
Josh Perez
badf9d7dda
Stories improvements 2022-07-21 18:38:27 -07:00
Josh Perez
5dfe30d235
Add story entry points around the app 2022-07-21 17:44:35 -07:00
Josh Perez
1d5b361159
Drop incoming story messages if stories are turned off 2022-07-21 19:05:55 -04:00
Scott Nonnenberg
026f574fdb
Replace mentions with text when forwarding 2022-07-21 09:26:11 -07:00
Scott Nonnenberg
1f65a4491f
Use concurrency of one for queues with no options 2022-07-20 19:40:53 -07:00
Scott Nonnenberg
4cd05dc6c9
validateUnsealedEnvelope: On expire, log serverTimestamp vs. expiration 2022-07-20 17:15:26 -07:00
Josh Perez
e321e1fea8
Edit distribution lists via story settings menu 2022-07-20 20:07:09 -04:00
Scott Nonnenberg
c91bb0f0c3 Remove unused lint-deps exceptions 2022-07-20 16:12:51 -07:00
Josh Perez
581b841098
Add unread count to the stories badge 2022-07-20 19:06:15 -04:00
Josh Perez
ea058371ed
Use casual for mock data 2022-07-20 17:29:09 -04:00
Josh Perez
0d2e6493f5
Add a stories toggle to Preferences 2022-07-19 20:47:05 -04:00
Josh Perez
4d67c6b056
Protections on viewStory after we've unmounted 2022-07-19 13:38:32 -07:00
Fedor Indutny
dc02633d9b
Titlebar fixes 2022-07-18 17:23:34 -07:00
Fedor Indutny
5c2016ec40
Refresh PNI on startup 2022-07-18 15:32:00 -07:00
Fedor Indutny
a4cf2e0948
Always refetch profile key credential if expired 2022-07-18 13:05:41 -07:00
Scott Nonnenberg
2f252b8e26
Repair broken attachments with non-array 'data' fields 2022-07-18 13:01:43 -07:00
Scott Nonnenberg
a0424be5bb
Wait for enqueueMessageForSend before resetting message input box 2022-07-18 12:30:18 -07:00
Scott Nonnenberg
1bb91758e6
Spell check: Restore english region support 2022-07-15 15:37:19 -07:00
Scott Nonnenberg
99d507a74d
Ensure that the GroupV1 Migration dialog shows 2022-07-15 14:50:02 -07:00
Scott Nonnenberg
a2eac80034 Enable fullfsync mode in the database 2022-07-15 14:47:24 -07:00
Scott Nonnenberg
bfc56dd175
Introduce new Profile Fetch service, with centralized queueing 2022-07-13 17:46:46 -07:00
Josh Perez
5639c1adea
DOE for stories 2022-07-13 16:09:18 -07:00
Josh Perez
d7307934bc
Adjust some types 2022-07-12 17:37:21 -07:00
Josh Perez
9ce4b8977d
Show toast when reacting/replying to a Story 2022-07-12 09:41:41 -07:00
Scott Nonnenberg
fc98d54326
Ensure that outgoing gift badges can be Viewed 2022-07-12 09:39:18 -07:00
Scott Nonnenberg
14591358f1
Simplify expireTimer change handling, queue for contact sync 2022-07-11 17:32:26 -07:00
Scott Nonnenberg
50222558bf
Remove emoji, mentions and links when calculating text direction 2022-07-11 16:34:55 -07:00
Fedor Indutny
07cc399550
Lazily fetch profiles when modifying groups 2022-07-11 11:50:14 -07:00
Josh Perez
712c9597c5
Fixes story reaction notification text 2022-07-11 11:35:55 -07:00
Scott Nonnenberg
0888b57744
Attachment downloads: Use filename if we have it, ignore index = 1 2022-07-08 16:10:16 -07:00
Scott Nonnenberg
1dc27a6144
enqueueMessageForSend: Capture storage service change on unarchive 2022-07-08 16:09:46 -07:00
Josh Perez
06b606cec3
Story creator improvements 2022-07-08 14:14:01 -07:00
Josh Perez
46aee24faa
Fix incoming story context quotes 2022-07-08 13:54:27 -07:00
Fedor Indutny
a450e13a99
Fetch PNI group credentials 2022-07-08 13:46:25 -07:00
Scott Nonnenberg
b9ba732724
Background message migration: Process just one batch at a time 2022-07-08 13:35:08 -07:00
Evan Hahn
d37d191811
Update comment about maximum number of server locales 2022-07-08 09:14:21 -07:00
Josh Perez
664181cf9c
Fixes getStoryView selector 2022-07-07 14:59:08 -07:00
Fedor Indutny
4a15df5904
Properly close emoji picker when picking emoji 2022-07-07 14:39:22 -07:00
Josh Perez
fcf75fdd1c
Fix video playback controls flicker 2022-07-07 14:07:00 -07:00
Josh Perez
778f3721a6
Do not update unread count for story messages 2022-07-07 09:48:05 -07:00
Fedor Indutny
565425c8b6
Correct identifier for story records 2022-07-06 17:34:13 -07:00
Fedor Indutny
3111b804de
Add an extra assert to Data.saveMessage 2022-07-06 15:53:25 -07:00
Josh Perez
3e644f45cf
Fixes story viewing behavior 2022-07-06 15:06:20 -04:00
Josh Perez
2d6d817f58
Fix story quote custom color 2022-07-06 12:34:01 -04:00
Fedor Indutny
5d1702c2fe
Localize accelerators in custom menu 2022-07-06 09:23:37 -07:00
Scott Nonnenberg
064f3dd0e0
updateSchema: Be resilient to invalid images 2022-07-05 17:28:00 -07:00
Scott Nonnenberg
5fcf97b43b
Introduce logging for unexpected incoming urgent values 2022-07-05 15:20:30 -07:00
Fedor Indutny
f92be05b15
Titlebar fixes 2022-07-05 09:44:53 -07:00
Scott Nonnenberg
f273333046
showMessageDetail: Add a backup in addition to transitionend handler 2022-07-05 09:30:55 -07:00
Scott Nonnenberg
06190b1434
Introduce new urgent property for outgoing messages 2022-07-01 09:55:13 -07:00
Josh Perez
6cd1e3fdfc
Start downloading story thumbnails 2022-06-30 22:36:40 -07:00
Josh Perez
9155784d56
Sync my stories with primary device 2022-06-30 20:52:03 -04:00
Scott Nonnenberg
d99e29dd25
Ensure expireTimer updates in Note to Self are never unread 2022-06-30 17:18:18 -07:00
Fedor Indutny
40cbf61226
Close emoji picker when picking emoji 2022-06-30 13:47:23 -07:00
Scott Nonnenberg
8b30d24c18
CompositionInput: Use sendingRef to ensure we don't double-submit 2022-06-29 22:05:41 -04:00
Scott Nonnenberg
6a509bab72
Forward: Ensure we get the latest attachments with hydrated data 2022-06-28 14:24:42 -07:00
Scott Nonnenberg
101d53c4ea
getUUID: Return undefined if uuid is falsey 2022-06-27 17:37:56 -07:00
Fedor Indutny
e0f479ca81
Fix sending to embedded contact 2022-06-27 17:37:05 -07:00
Scott Nonnenberg
054e443071
Spellcheck: Use full locale, otherwise all which match base 2022-06-27 13:44:13 -07:00
Scott Nonnenberg
c35f901387
models/messages.initialize: If no ourConversationId, skip migration 2022-06-27 10:27:20 -07:00
Scott Nonnenberg
09124446a6
updateCallHistoryForGroupCall: If exists, update left pane preview 2022-06-27 10:10:09 -07:00
Scott Nonnenberg
4568527232
Increase backstop queue timeouts across the app 2022-06-27 09:46:43 -07:00
Josh Perez
c28313bd0c
Adds interaction tests for components 2022-06-24 12:52:48 -04:00
Scott Nonnenberg
72bb01346f
Check that size is number, not truthiness of size 2022-06-23 15:42:19 -07:00
Fedor Indutnyy
d065afa277 Release notes for 5.48.x 2022-06-23 13:36:56 -07:00
Josh Perez
0a0a25498d
Repair old unexpired stories 2022-06-23 16:36:11 -04:00
Fedor Indutny
96b864d6a9
Monkey-patch os.hostname on Windows 7 2022-06-23 12:15:27 -07:00
Scott Nonnenberg
7b1721b0d0
Use different copy for outgoing gift badges 2022-06-23 09:15:26 -07:00
Fedor Indutny
6b231346d9
Fix management of selectedMessage in redux 2022-06-23 09:12:17 -07:00
Fedor Indutny
6ad091bfe3
Shift titlebar on Windows 11 2022-06-23 08:40:36 -07:00
Scott Nonnenberg
b8d6a591d5
Reintroduce 'expired' event, simplify handling of View Once media 2022-06-22 17:21:38 -07:00
Scott Nonnenberg
07ee7f46b7
Fix Gift Badge expiration 2022-06-21 18:17:17 -07:00
Fedor Indutny
7c4344f43a
Fix PiP positioning 2022-06-21 08:59:47 -07:00
Fedor Indutny
8b87fe23e2
Fix UA string 2022-06-20 17:31:32 -07:00
Fedor Indutny
35e5eb847a
Better logging for expiration timer updates 2022-06-20 15:43:16 -07:00
Fedor Indutny
63679f5af6
Increment and store message migration attempts 2022-06-20 14:18:23 -07:00
Scott Nonnenberg
d547ef362e
Fetch latest group data on unblock of a group 2022-06-20 11:55:34 -07:00
Scott Nonnenberg
7dd9cabbbd
Update unread count on conversation open 2022-06-20 11:38:52 -07:00
Fedor Indutny
9407654262
Counteract zoom-level changes in custom titlebar 2022-06-20 11:26:31 -07:00
dependabot[bot]
9ac917849e
Upgrade sharp to v0.30.5 2022-06-17 15:33:46 -07:00
Josh Perez
3581f78913
Revert "Counteract zoom-level changes in custom titlebar"
This reverts commit 635aab838f.
2022-06-17 09:48:17 -07:00
Josh Perez
d970d427f8
Create text stories 2022-06-16 17:48:57 -07:00
Fedor Indutny
973b2264fe
Add to group by username 2022-06-16 17:38:28 -07:00
Fedor Indutny
635aab838f
Counteract zoom-level changes in custom titlebar 2022-06-16 16:49:59 -07:00
Josh Perez
aa23c2def2
Removes Inbox Backbone view 2022-06-16 15:12:50 -04:00
Josh Perez
bc612ca2c3
Release notes for v5.47.x 2022-06-16 13:15:43 -04:00
Fedor Indutny
8b32811440
Add extra pixel to titlebar on Windows 11 2022-06-15 11:21:03 -07:00
Fedor Indutny
4b8cb9f040
Fix minor UI issues with composer 2022-06-15 10:53:08 -07:00
Fedor Indutny
253e050262
CDSI Support 2022-06-14 18:15:33 -07:00
Scott Nonnenberg
038ec9e05d
Introduce new auto-updating staging channel 2022-06-14 15:08:38 -07:00
Scott Nonnenberg
71d6a1d383
Conversation details: Unblock option for groups, update unblock style 2022-06-14 10:09:32 -07:00
Scott Nonnenberg
68f27c1c7c
Fix sticker creator in our new typescriptified world 2022-06-13 18:48:07 -07:00
Fedor Indutny
f2af71f8b5
Fix minor UI issues 2022-06-13 16:37:29 -07:00
Scott Nonnenberg
2464e0a9c1
Convert signal.js and preload.js to Typescript 2022-06-13 14:39:35 -07:00
Scott Nonnenberg
e18510e41c
Message: If collapsed in group, remove top margin on link previews 2022-06-13 14:29:10 -07:00
Josh Perez
410bc52fd0
Moves group link management actions to redux 2022-06-13 14:42:19 -04:00
Scott Nonnenberg
5c8b4bca7e
On send, disable message field before doing anything async 2022-06-13 09:30:14 -07:00
Fedor Indutny
531c208918
Remove title from the Windows titlebar 2022-06-10 12:26:10 -07:00
Fedor Indutny
6aeddb9301
Order unprocessed envelopes by receivedAtCounter 2022-06-10 09:09:21 -07:00
Scott Nonnenberg
924c271b13
Convert js/modules/types/message to Typescript 2022-06-09 18:10:20 -07:00
Fedor Indutny
9975758fde
Make sure windows with titlebar have OS class 2022-06-09 09:21:17 -07:00
Fedor Indutny
5634601554
Use patched frameless-titlebar on Windows 2022-06-08 15:00:32 -07:00
Scott Nonnenberg
79c52847cd Fix StickerButton
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
2022-06-08 14:40:08 -07:00
Josh Perez
f1b05afe62 Merge signalapp/Signal-Desktop#5904 2022-06-06 22:06:07 -04:00
Vladislav Gorenkin
01efed8ec3 Open first search candidate on pressing "enter" key 2022-06-06 22:05:38 -04:00
Josh Perez
42eb4013d0
Upgrade react and storybook 2022-06-06 17:48:02 -07:00
Fedor Indutny
6476a4fe73
Erased messages should not stall attachment jobs 2022-06-06 15:13:21 -07:00
Evan Hahn
10a0abb8c2
Remove unused activeConfirmationView 2022-06-06 14:04:16 +00:00
Evan Hahn
f50a6abe36
Remove unused eslint-disables 2022-06-03 14:07:51 -07:00
Evan Hahn
63189f3f91
Convert ReactWrapperView to TypeScript 2022-06-03 09:33:39 -07:00
Evan Hahn
6bae8a24de
Convert protocol_wrapper.js to TypeScript 2022-06-03 09:30:03 -07:00
Evan Hahn
d61b68279b
Remove unused GroupMemberConversation type declaration 2022-06-03 15:51:43 +00:00
Scott Nonnenberg
d753fe8fcb
getUnreadByConversationAndMarkRead: Only query incoming messages 2022-06-02 18:09:13 -07:00
Fedor Indutny
ecdc583f2a
Add debug log url when submitting it to Support 2022-06-02 16:24:35 -07:00
Scott Nonnenberg
e09d148c1d
On Sender Key distribution message failure, don't update send status 2022-06-02 14:25:55 -07:00
Scott Nonnenberg
e4aeea6167 Add release notes for 5.46.x 2022-06-01 15:38:22 -07:00
Evan Hahn
53d4a31311
Convert app loading message code to TypeScript 2022-06-01 12:57:30 -07:00
Evan Hahn
d4bba46b2c
Convert "reliable trigger" to TypeScript 2022-06-01 12:54:51 -07:00
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