Commit Graph

3055 Commits

Author SHA1 Message Date
Fedor Indutny 15714f35ef
Rename remote config flag 2022-08-17 15:06:17 -07:00
Josh Perez 5ec78374d1
Use just the timestamp for story expiration 2022-08-17 10:56:41 -07:00
Fedor Indutny 16222f6092
Reset pniCredential when our E164 changes 2022-08-17 09:22:59 -07:00
Josh Perez 936ce91b2e
Move getUntrustedContacts out of conversation_view 2022-08-16 16:59:11 -07:00
Fedor Indutny 96c4cc4bcf
Introduce desktop.pnp.storageService flag 2022-08-16 16:58:17 -07:00
Fedor Indutny 647335086d
Use ourPni when creating our own contact 2022-08-16 16:52:34 -07:00
Fedor Indutny 5a3c04d630
Additional logging for calling service 2022-08-16 16:52:09 -07:00
Scott Nonnenberg 932043c58f
Make attachments more resilient, decrease websocket keepalive 2022-08-16 16:49:47 -07:00
Josh Perez ce77465d23
Mark stories as viewed if we have a view sync during modifyTargetMessage 2022-08-16 16:45:03 -07:00
Fedor Indutny 201c6f9078
Stop using textarea in DebugLogWindow 2022-08-16 16:19:28 -07:00
Fedor Indutny d0264c844f
Fix handling of STICKER_PACK unknown records 2022-08-16 00:05:09 -07:00
Fedor Indutny 00cfd92dd0
Send and receive PniSignatureMessage 2022-08-15 14:53:33 -07:00
Alvaro 95be24e8f7
Make ESC key dismiss MediaEditor and TextStoryCreator modals 2022-08-15 13:35:30 -06:00
Josh Perez 385eb63fd5
Add a log indicating when a reaction was added to a story 2022-08-15 11:47:45 -07:00
Scott Nonnenberg 7399086939
Group Credentials: Request six days of data to account for clock skew 2022-08-15 09:34:27 -07:00
Josh Perez 1d0b1d806a
Only accept video/mp4 for story uploads 2022-08-12 16:44:10 -07:00
Josh Perez 6da4b03a1e
Single context menu open at a time 2022-08-12 14:32:27 -07:00
Fedor Indutny 0a299ec7e5
Fix assertion in mergeStickerPackRecord 2022-08-12 15:44:09 -04:00
Scott Nonnenberg da28b4d6cd
getUnverified/getUntrusted: Return conversation array, not collection 2022-08-12 15:43:24 -04:00
Alvaro 3991b06256
Increased the distance to support contacts that may have even longer titles 2022-08-12 12:10:52 -04:00
Scott Nonnenberg a160fb7963
Unarchive conversations when we add a calling event to it 2022-08-11 17:28:55 -07:00
Josh Perez 584b39baa8
Avoid race conditions when queueing a story for download 2022-08-11 15:26:26 -07:00
Josh Perez 0a81376ca0
Do not accept stories without a name and no deletedAtTimestamp 2022-08-11 18:03:22 -04:00
Josh Perez f09b214016
Adjust story duration 2022-08-11 14:03:56 -07:00
Josh Perez f9c2e9b0af
softAssert that messageId is always a UUID 2022-08-11 14:02:25 -07:00
Fedor Indutny 465bdad2bf
Open inbox when linking and suddenly offline 2022-08-11 13:28:31 -07:00
Josh Perez f7b2627991
Fixes isHidden prop from not being present in StoryView 2022-08-11 12:38:24 -07:00
Josh Perez 7126cbd5e4
Do not allow MyStories to be deleted 2022-08-11 12:18:48 -07:00
Fedor Indutny 68a0c44e19
Register pnpChangeNumber capability 2022-08-11 09:52:24 -07:00
Fedor Indutny 32237d7008
Cancel throttled refreshRemoteConfig on link 2022-08-10 16:38:52 -07:00
Alvaro 4f1613e82e
Adding some <Emojify/> that were missing 2022-08-10 14:46:43 -07:00
Josh Perez 5b6874b882
Download your own story attachments. Hydrate story replies on receive 2022-08-10 11:48:52 -07:00
Scott Nonnenberg 269d170275
A number of additional merging fixes 2022-08-10 11:39:04 -07:00
Josh Perez ccc89545c5
Lets users send stories to groups 2022-08-10 14:37:19 -04:00
Alvaro d4b74db05c
Don't create preview icon for links with no image (quotes) 2022-08-10 10:48:33 -07:00
Josh Perez 35f682f4dc
Pass deletedAtTimestamp into dlist db call 2022-08-10 12:31:15 -04:00
Scott Nonnenberg 5d45197fe2
Remove restriction on maybeMergeContacts, combineConversations fixes 2022-08-09 16:46:01 -07:00
Josh Perez 0fc5976117
For distribution lists make sure we only use convos with uuid 2022-08-09 16:45:39 -07:00
Scott Nonnenberg faf6c41332
Early preparations for PNP Contact Merging 2022-08-09 14:39:00 -07:00
Josh Perez 2f5dd73e58
Send stories to groups capability 2022-08-08 23:26:21 -04:00
Fedor Indutny 62962e4950
Support iasVersion 4 2022-08-08 18:09:44 -07:00
Alvaro aa2bb68d4a
Increased fuse search distance from 100 (default) to 150 2022-08-08 16:41:20 -06:00
Scott Nonnenberg 46428b5af6
Don't use original filenames when saving multi-attachment messages 2022-08-08 12:04:47 -07:00
Scott Nonnenberg fde917c983
A few fixes for the emoji bundled with stickers 2022-08-08 11:21:00 -07:00
Josh Perez 7a1686b915
Add a permanent add story button to MyStories 2022-08-05 16:24:49 -07:00
Josh Perez 71382b8f65
Do not count DOE stories in the unread count 2022-08-05 13:17:14 -04:00
Evan Hahn f735a9cfa7
Always respect DOE from your own devices 2022-08-05 09:05:30 -07:00
Josh Perez 5dc42122a8
Use <Message /> for group story replies 2022-08-04 21:29:44 -04:00
Josh Perez dca848389c
Sync stories sent to a group 2022-08-04 21:13:26 -04:00
Josh Perez 808118d1e4
Grab new story duration whenever messageId changes 2022-08-04 21:08:15 -04:00
Josh Perez 726e67ce95
Place calls on top of story viewer, pause stories while in call 2022-08-04 21:07:46 -04:00
Josh Perez 190db3580d
Drop incoming messages with a story context and no matching story 2022-08-04 15:15:53 -07:00
Scott Nonnenberg 276435f035
RoutineProfileRefresher: Track instances, only start() once, min sleep 2022-08-04 14:43:47 -07:00
Josh Perez 41081cb620
Filter out groups from signal connections 2022-08-04 13:26:29 -07:00
Josh Perez 7bc6bbc668
Send story images/video 2022-08-04 12:23:24 -07:00
Josh Perez fcf7406dd4
Adds error states to story images 2022-08-03 20:38:41 -04:00
Josh Perez 782838c591
Sync MyStories using the ID not the name 2022-08-03 20:10:05 -04:00
Scott Nonnenberg 9328a56430 Update strings 2022-08-03 14:27:34 -07:00
Scott Nonnenberg 2596e5f61c Add release notes for v5.54 2022-08-03 14:16:17 -07:00
Josh Perez 8f47259b1b
Aligns context menu buttons correctly 2022-08-03 13:54:02 -07:00
Fedor Indutny b47a906211
Stickers in storage service 2022-08-03 10:10:49 -07:00
Fedor Indutny d8a7e99c81
Consistent log lines for WebAPI requests 2022-08-03 09:23:29 -07:00
Josh Perez 9eff67446f
Send text attachment stories 2022-08-02 15:31:55 -04:00
Fedor Indutny 2b0d3cab40
Remove `source` from Envelope 2022-08-02 09:19:21 -07:00
Scott Nonnenberg 3d94bf953c
AttachmentDownloads: Wait for job completion, validate active job list 2022-08-01 19:25:53 -07:00
Scott Nonnenberg 2b648b79a4
Upgrade to libsignal-client v0.19.2 2022-08-01 18:31:24 -07:00
Josh Perez 3af478837d
Drop duplicate stories 2022-07-29 16:01:33 -07:00
Josh Perez c3bb3b152e
Update selectedStoryData whenever its story changes 2022-07-29 13:22:55 -07:00
Josh Perez 58aaf1d0e7
Improvements to sound on/off in story viewer 2022-07-29 15:27:02 -04:00
Josh Perez f1c9db543e
Ensure MyStories is part of the stories pane list 2022-07-29 15:26:40 -04:00
Josh Perez 76cff75730
Ensure we never fetch a deleted story 2022-07-29 11:12:47 -07:00
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