Commit graph

655 commits

Author SHA1 Message Date
Scott Nonnenberg
9bfbee464b
Support for sending formatting messages 2023-04-14 11:16:28 -07:00
Scott Nonnenberg
4c9baaef80
Filter incoming bodyRanges, also filter before display 2023-04-11 17:16:46 -07:00
Jamie Kyle
76b9d07acf
Remove Signal.Util 2023-04-10 20:54:43 -07:00
Jamie Kyle
3a069323a4
Hide message contents in notifications for message requests 2023-04-10 15:19:48 -07:00
Fedor Indutny
531269430f
Sync contact record after key change notification 2023-04-10 14:22:02 -07:00
Scott Nonnenberg
d9d820e72a
Support for receiving formatted messages
Co-authored-by: Alvaro Carrasco <alvaro@signal.org>
2023-04-10 09:31:45 -07:00
Fedor Indutny
5773c7bc9a
Reduce timeout for newMessageQueue 2023-04-05 17:03:15 -07:00
Fedor Indutny
f61d8f38b0
Context menu for left pane list items 2023-04-05 13:48:00 -07:00
Jamie Kyle
da24cc5e95
Use ICU number/plural formatting 2023-04-03 12:03:00 -07:00
Jamie Kyle
5e647c55d1
Fully migrate to ICU 2023-03-29 17:03:25 -07:00
Jamie Kyle
11cfcb4e32
Make valid-i18n-keys rule strict and fix most exceptions 2023-03-29 10:15:54 -07:00
Jamie Kyle
c02c8d9640
Normalize i18n() calls to prepare for ICU migration 2023-03-28 11:26:46 -07:00
Josh Perez
36e21c0134
Receive support for editing messages 2023-03-27 19:48:57 -04:00
Jamie Kyle
2781e621ad
Prepare for ICU migration 2023-03-27 16:37:39 -07:00
Jamie Kyle
1d549a9991
Multi-select forwarding and deleting 2023-03-20 15:23:53 -07:00
Jamie Kyle
27b7060d09
only forceSave when we are creating a new message 2023-03-20 11:06:34 -07:00
Scott Nonnenberg
75d5e81013
Voice Notes mini-player: Show with no conversation, fix spacing 2023-03-20 11:03:21 -07:00
Jamie Kyle
58f4082c4a
Force save for call disposition 2023-03-17 13:38:57 -07:00
Jamie Kyle
fd8bd54de5
Ensure new message in addCallHistory has all attributes 2023-03-16 09:51:41 -07:00
Josh Perez
676abfbdfb
Fixes left pane sorting when messages come in from the future 2023-03-10 13:30:43 -08:00
Fedor Indutny
371c73377c
Move setVerified to conversation queue 2023-03-09 15:33:12 -08:00
Josh Perez
4d7b5cd072
Adds some logging around draft clearing 2023-03-09 09:52:40 -08:00
Josh Perez
78e3120d1a
Render replies to 1:1 text stories 2023-03-07 14:59:44 -08:00
lamemakes
db297a4c63 Fixed draft removal upon sending a sticker
Fixed draft removal upon sending a sticker
2023-03-06 15:46:24 -05:00
Fedor Indutny
5dff1768bd
Page media in Lightbox 2023-03-03 19:03:15 -08:00
Alvaro
99015d7b96
Voice notes drafts 2023-03-02 13:55:40 -07:00
Alvaro
b5849f872a
Drain jobs cleanly on shutdown 2023-02-24 11:03:17 -08:00
Jamie Kyle
85c217e803
Add more logging to addCallHistory 2023-02-16 09:57:49 -08:00
Fedor Indutny
1f95c2299e
Use ContactRecord.systemNickname 2023-02-13 14:40:11 -08:00
Fedor Indutny
329fe8f393
Periodically optimize FTS table 2023-02-09 13:13:08 -08:00
Jamie Kyle
efda924589
Move addCallHistory into conversation queue 2023-02-09 09:23:55 -08:00
Fedor Indutny
486cbe0471
Support reporting token on envelope 2023-02-07 16:55:12 -08:00
Fedor Indutny
dc8d8e529d
Disallow pinning broken conversations 2023-02-07 16:26:23 -08:00
Josh Perez
e11f961d7a
Notification for failed story sends 2023-02-07 12:33:04 -07:00
Scott Nonnenberg
7cbc35c57b
Group story replies: On send, don't set expire timer 2023-02-06 18:21:41 -08:00
Fedor Indutny
dff924c0c5
Generalize keepMutedChatsArchived check 2023-02-06 10:08:53 -08:00
Jamie Kyle
2bbcc4676e
Move receipt queues into conversation queue to handle 428s 2023-02-06 09:24:34 -08:00
Scott Nonnenberg
83eccee42e
Show quote properly when replying to 1:1 story reaction 2023-02-03 09:31:40 -08:00
Fedor Indutny
1381e8df5d
Process username changes in storage service 2023-02-02 11:03:51 -07:00
Josh Perez
ba848eec84
Fixes notification text for story reactions 2023-02-01 15:38:33 -08:00
Fedor Indutny
63d6b14516
Split ACI contact when it is unregistered 2023-02-01 13:32:46 -08:00
Fedor Indutny
e64816830b
Revert "Periodically optimize FTS table"
This reverts commit 5dfdde998b.
2023-01-30 15:55:11 -08:00
Jamie Kyle
da0a741a36
Use preferred system locales and add Farsi font stack 2023-01-24 16:54:46 -08:00
Fedor Indutny
5dfdde998b
Periodically optimize FTS table 2023-01-24 11:13:00 -08:00
Alvaro
ce8a1f5930
Don't use the term gift 2023-01-23 13:42:40 -07:00
Josh Perez
86488b97b9
Adds debugging utilities in dev/beta environments 2023-01-18 19:02:03 -05:00
Fedor Indutny
b37be94cb9
Never pass mutable data to selectors 2023-01-13 13:16:58 -08:00
Jamie Kyle
c58a723f45
Add type-alias-readonlydeep rule and make ducks mostly immutable 2023-01-13 12:07:26 -08:00
Josh Perez
9374832ea4
Enables ContextIsolation 2023-01-12 16:24:59 -08:00
Fedor Indutny
d7b09b9703
Deprecate phone number discovery notification 2023-01-12 14:18:08 -08:00
Fedor Indutny
19279cfebd
Support esnext in storybook 2023-01-12 12:58:53 -08:00
Scott Nonnenberg
0b39ff8b5f
Reactions: isSentByConversationId is only for reactions from this device 2023-01-12 12:29:04 -08:00
Scott Nonnenberg
50a0110192
Stories: Proper notifications and handling of out-of-order messages 2023-01-11 14:54:06 -08:00
Jamie Kyle
81fc9ff94d
Add more logs for call disposition 2023-01-11 12:04:03 -08:00
Jamie Kyle
e5638c0b20
Call Disposition 2023-01-09 16:52:01 -08:00
Scott Nonnenberg
b8234765bf
Update Backbone types: attributes is T - and fix failing type checks 2023-01-05 13:58:13 -08:00
Josh Perez
476006af96
Clears @mentions when clearing draft 2023-01-03 14:35:59 -08:00
Jamie Kyle
3705b959d6
Remove end year from licenses 2023-01-03 11:55:46 -08:00
Josh Perez
5e6eeecede
Removes Backbone.View and jQuery 2023-01-02 13:34:41 -08:00
Josh Perez
1b3a631903
Properly retry story messages 2022-12-22 16:48:09 -08:00
Fedor Indutny
f92f81dfd6
Cache some volatile conversation properties 2022-12-22 16:13:23 -08:00
Fedor Indutny
dec23725e5
Use ReadonlyArrays in conversation model and redux 2022-12-21 16:07:02 -08:00
Josh Perez
a80c6d89a8
Moves message details into React pane land 2022-12-21 15:44:23 -05:00
Fedor Indutny
ed271d92ea
Add no-misused/floating-promises lint rule 2022-12-21 10:41:48 -08:00
Scott Nonnenberg
1a68c3db62
conversation_view: Move the last of the small functions to redux 2022-12-20 22:25:10 -05:00
Fedor Indutny
5a98fc2f4c
Optimize Message rendering 2022-12-19 15:33:55 -07:00
Josh Perez
d4124abb01
Moves ConversationDetails to react panels 2022-12-15 22:12:05 -05:00
Scott Nonnenberg
f366454893
updatePNI: Cleanup only for obsolete PNI 2022-12-12 14:06:16 -08:00
Josh Perez
9348940ecf
Moves parts of conversation view into redux 2022-12-05 14:56:23 -08:00
Scott Nonnenberg
a49a6f2057
Notifications for a few merge-related scenarios 2022-12-05 14:46:54 -08:00
Alvaro
e41252b35e
Added clearer debug logging to createOrLookup 2022-12-02 17:05:27 -08:00
Jamie Kyle
6198b02640
Init payments message types 2022-11-30 13:47:54 -08:00
Fedor Indutny
d1b505d580
Improve handling of DOE sync messages for stories 2022-11-30 11:21:13 -08:00
Fedor Indutny
9d8ad21819
Remove underscore 2022-11-29 16:53:39 -08:00
Alvaro
5b6c624803
Only validate replies on stories from self 2022-11-28 19:53:43 -05:00
Fedor Indutny
991580a1ed
Improve error handling during group sends 2022-11-22 10:43:43 -08:00
Fedor Indutny
a2f1b469ea
Make sure that storySendMode is in group types 2022-11-19 00:31:18 -08:00
Fedor Indutny
629b5c3f6a
Better send state for unregistered recipients 2022-11-16 18:15:26 -08:00
Josh Perez
220963c789
Sending/Failed state for stories 2022-11-16 14:10:11 -08:00
Fedor Indutny
6be69a7ba8
Use DurationInSeconds for expireTimer 2022-11-16 13:18:02 -07:00
Fedor Indutny
8452a72847
Fix story reactions in 1:1 conversations 2022-11-15 18:27:29 -08:00
Fedor Indutny
be6e988a95
Hydrate body ranges for story replies 2022-11-09 20:59:36 -08:00
Josh Perez
cd1a1a00a2
Discard invalid story replies 2022-11-09 22:52:53 -05:00
Fedor Indutny
d7a2669b49
Wrap eventHandlerQueue jobs with task with timeout 2022-11-09 10:59:32 -08:00
Josh Perez
19a42ed719
Onboarding story 2022-11-08 21:38:19 -05:00
Alvaro
d0fb25f758
Show and sort active groups when sending a story 2022-11-08 13:01:59 -07:00
Fedor Indutny
9ce8d5e68f
Fix storage service handling of contact status 2022-11-07 15:21:12 -08:00
Fedor Indutny
54aa0d39b9
Store all story reactions as messages 2022-11-02 16:48:38 -07:00
Josh Perez
6700f6fa15
Clean up group story replies 2022-11-01 11:58:07 -07:00
Fedor Indutny
8f62442822
Allow link-only stories, download previews 2022-10-31 14:28:28 -07:00
Josh Perez
13785a0936
Update reaction last message notification text 2022-10-26 15:36:11 -07:00
Fedor Indutny
d6afae64d9
Check stories capability when sending replies 2022-10-25 17:03:51 -07:00
Fedor Indutny
a38b265e8b
Save conversation when toggling story status 2022-10-21 09:57:07 -07:00
Fedor Indutny
d26c5b7db8
Don't display sent stories in groups 2022-10-20 15:47:38 -07:00
Jamie Kyle
de242e5380
stories: notify participants in story replies for new replies 2022-10-20 14:39:21 -07:00
Scott Nonnenberg
58f0012f14
Stories: Start expiration on receipt 2022-10-17 16:30:03 -07:00
Josh Perez
e80d9d1f30
Reset storyReplyContext whenever a story expires 2022-10-11 13:32:00 -07:00
Jamie Kyle
25bc16300c
Notify story creator for replies 2022-10-11 10:59:02 -07:00
Fedor Indutny
95bee1c881
Sync group stories through storage service 2022-10-07 17:19:02 -07:00
Scott Nonnenberg
4ec48df5b9
Additional work to include story=true on send 2022-10-07 10:02:08 -07:00
Jamie Kyle
3e73b30a9d
Dont forward group story replies into conversation 2022-10-04 11:42:42 -07:00
Josh Perez
67c706a7ef
Ensure deleting conversation deletes story replies 2022-09-29 17:57:11 -07:00
Fedor Indutny
ffac571dd8
systemGivenName/systemFamilyName in ContactPill 2022-09-27 17:07:00 -06:00
Fedor Indutny
0ab85a6094
Fix UI in PendingInvites 2022-09-27 13:31:55 -07:00
Scott Nonnenberg
5ed5483dd7
Eliminate unknown groups and contacts from search results 2022-09-26 13:18:11 -07:00
Alvaro
22bf3ebcc0
Implemented ability to quickly add a user to a group 2022-09-26 09:24:52 -07:00
Fedor Indutny
59da9c7ae5
Stop using deprecated PniCredential 2022-09-21 09:18:48 -07:00
Scott Nonnenberg
5e9f3d5171
Unarchive conversation if another device sent a message to it 2022-09-19 13:40:03 -07:00
Fedor Indutny
62647a357f
Support unregisteredAtTimestamp in storage service 2022-09-19 11:47:49 -07:00
Alvaro
6cfe2a09df
Consecutive playback and per-conversation playback rate 2022-09-15 14:10:46 -06:00
Jamie Kyle
0086216c9d
Add eqeqeq rule but require == for null 2022-09-14 14:40:44 -07:00
Scott Nonnenberg
8899ca9724
Improve logging in handleDataMessage and contact sync 2022-09-12 17:52:55 -07:00
Scott Nonnenberg
380833447f
Stories: Don't drop 1:1 replies, always 24-hour expireTimer 2022-09-09 18:05:07 -06:00
Alvaro
383a0fd17f
Added the time remaining for disappearing messages and stories 2022-09-09 11:35:00 -07:00
Scott Nonnenberg
56ffd7bc3f
Expire Timer: If we generated change, don't mark unread 2022-09-06 17:52:07 -06:00
Fedor Indutny
2b5f0ffc10
Update Inter to 3.19 2022-08-31 12:57:21 -07:00
Alvaro
ca6300a86a
Added last-message's author to group conversation list in left pane 2022-08-25 09:16:37 -07:00
Fedor Indutny
7ce4beb270
Refactor contact sync processing 2022-08-24 22:04:42 -07:00
Josh Perez
68398823e3
Log when a story gets an expiration timer set 2022-08-24 16:34:10 -07:00
Josh Perez
0fb45f045d
Handle Safety Number changes while sending a story 2022-08-19 14:05:31 -04:00
Fedor Indutny
757af2cbbe
Include ACI+Access Keys pairs with CDSI requests 2022-08-18 13:44:53 -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
ce77465d23
Mark stories as viewed if we have a view sync during modifyTargetMessage 2022-08-16 16:45:03 -07:00
Fedor Indutny
00cfd92dd0
Send and receive PniSignatureMessage 2022-08-15 14:53:33 -07:00
Scott Nonnenberg
da28b4d6cd
getUnverified/getUntrusted: Return conversation array, not collection 2022-08-12 15:43:24 -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
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
Scott Nonnenberg
faf6c41332
Early preparations for PNP Contact Merging 2022-08-09 14:39:00 -07:00
Scott Nonnenberg
fde917c983
A few fixes for the emoji bundled with stickers 2022-08-08 11:21:00 -07:00
Josh Perez
190db3580d
Drop incoming messages with a story context and no matching story 2022-08-04 15:15:53 -07:00
Josh Perez
9eff67446f
Send text attachment stories 2022-08-02 15:31:55 -04:00
Josh Perez
3af478837d
Drop duplicate stories 2022-07-29 16:01:33 -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
2f252b8e26
Repair broken attachments with non-array 'data' fields 2022-07-18 13:01:43 -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
Scott Nonnenberg
14591358f1
Simplify expireTimer change handling, queue for contact sync 2022-07-11 17:32:26 -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
1dc27a6144
enqueueMessageForSend: Capture storage service change on unarchive 2022-07-08 16:09:46 -07:00
Fedor Indutny
a450e13a99
Fetch PNI group credentials 2022-07-08 13:46:25 -07:00
Josh Perez
778f3721a6
Do not update unread count for story messages 2022-07-07 09:48:05 -07:00
Fedor Indutny
f92be05b15
Titlebar fixes 2022-07-05 09:44:53 -07:00
Scott Nonnenberg
06190b1434
Introduce new urgent property for outgoing messages 2022-07-01 09:55:13 -07:00
Josh Perez
9155784d56
Sync my stories with primary device 2022-06-30 20:52:03 -04:00