Commit graph

427 commits

Author SHA1 Message Date
Jamie Kyle
395c67f6c4
Refactor AttachmentCrypto 2024-02-05 15:17:28 -08:00
ayumi-signal
d97aa68716
Calling missing media keys indicator 2024-01-23 11:08:21 -08:00
Fedor Indutny
38914a45cb
Custom Discriminator in EditUsernameModalBody 2024-01-18 20:53:24 +01:00
Scott Nonnenberg
0cc6228ede
Delete for Everyone: Don't allow unrestricted deletes in Note to Self 2024-01-03 08:46:39 -08:00
Fedor Indutny
e46b1f7958
Ignore delivery receipts for outgoing reactions 2023-12-19 09:57:15 -05:00
trevor-signal
c8099171e2
Update message receipt processing & add tests 2023-12-18 12:27:18 -08:00
Scott Nonnenberg
8c71ed2590
Properly clean up story replies on expiration or delete 2023-12-18 11:58:07 -05:00
Fedor Indutny
47c49d0a20
Persist reaction.receivedAtDate 2023-12-07 17:30:20 -08:00
Fedor Indutny
7bad05f5a0
Support PNI in QualifiedAddress.parse 2023-12-07 13:52:27 -08:00
ayumi-signal
d6db3f7943
Raise Hand in Group Calls 2023-12-06 13:52:29 -08:00
trevor-signal
c3248be854
Simplify sqlJoin required arguments 2023-11-22 14:48:53 -08:00
trevor-signal
b7ab1d7207
Store plaintext hash with newly sent or received attachments 2023-11-17 15:02:02 -05:00
Scott Nonnenberg
48245eeea6
On send, pull data from target edit if sending edit 2023-11-17 13:16:48 -05:00
ayumi-signal
4603832258
Calling Reactions 2023-11-16 11:55:35 -08:00
trevor-signal
cf5b3f78b5
Add paginated calling grid for group calls 2023-11-13 09:56:48 -05:00
Scott Nonnenberg
99b2bc304e
Use streams to download attachments directly to disk
Co-authored-by: trevor-signal <131492920+trevor-signal@users.noreply.github.com>
2023-10-30 09:24:28 -07:00
ayumi-signal
0ecbc7518a
Upgrade libsignal to 0.32.1 2023-10-20 16:55:35 -07:00
ayumi-signal
c892febdbc
Bump DOE timer from 3h to 24h 2023-10-13 14:54:36 -07:00
Jamie Kyle
502ea174ab
Upgrade Storybook
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2023-10-11 12:06:43 -07:00
Fedor Indutny
8172840535
Fix deadlock in saveIdentity 2023-10-05 02:39:09 +02:00
Josh Perez
7d35216fda
Replace MessageController with MessageCache 2023-10-03 17:12:57 -07:00
Jamie Kyle
bc67d421ab
Track acceptedTime during call, fix call screen duration 2023-09-20 10:00:01 -04:00
Josh Perez
d0296ececa
Improvements to the media editor 2023-09-14 10:04:48 -07:00
Fedor Indutny
ccb5eb0dd2
Atomic linking 2023-08-28 17:41:32 -07:00
Fedor Indutny
e05de1aa6f
Fix reaction field name in migration 88 2023-08-29 00:03:32 +02:00
Fedor Indutny
3e7e8328f7 Fix aci value in mentions 2023-08-21 09:30:33 -07:00
Jamie Kyle
ef0a3de636 Fix legacy call-history messages without a callId
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2023-08-21 09:30:33 -07:00
Fedor Indutny
8b0da36caa Migrate schema to service ids 2023-08-21 09:30:33 -07:00
Fedor Indutny
366b875fd2 Introduce Service Id Types
Co-authored-by: Scott Nonnenberg <scott@signal.org>
2023-08-21 09:30:32 -07:00
Jamie Kyle
af0beb6d8e
Allow searching calls with legacy conversation id as peerId 2023-08-09 09:48:55 -07:00
Jamie Kyle
1eaabb6734
Calls Tab & Group Call Disposition 2023-08-08 17:53:06 -07:00
Scott Nonnenberg
3299b8f323
Remove obsolete capabilities, improve routine profile fetch 2023-08-08 01:12:57 +02:00
Scott Nonnenberg
40c21b1666
Improved windows notifications 2023-08-01 09:06:29 -07:00
Scott Nonnenberg
716f852970
New getRecentStoryReplies function to clean up replies in multiple convos 2023-07-21 15:10:32 -07:00
Fedor Indutny
46c063b203
Remove unstable test 2023-07-21 00:35:12 +02:00
Fedor Indutny
e1d2dbd8ff
Username Link QR Code 2023-07-20 05:14:08 +02:00
Fedor Indutny
a2b05333f7 Fix part of storybook stories 2023-07-19 16:21:32 -07:00
Scott Nonnenberg
b6445a6af0 Support for loading, storing, and using kyber keys in decryption 2023-07-19 16:21:30 -07:00
Josh Perez
0b885d5feb
Update mentions regex to cover diacritics 2023-07-10 19:36:35 +02:00
trevor-signal
9c6fb29edb
Include @mentioned names in search results 2023-06-26 14:25:48 -04:00
Josh Perez
d2b06413f3
Removes diacritics from @mentions 2023-06-14 14:24:34 -07:00
Scott Nonnenberg
efc237d106
Additional logging, more reliable contact/group sync fetch 2023-06-14 13:51:49 -07:00
Scott Nonnenberg
62e648da27
getTitle: Return nothing instead of an invalid phone number 2023-06-09 10:46:59 -07:00
Fedor Indutny
7abd2280bc
Simplify WebSocket keepalive logic 2023-06-06 17:36:38 -07:00
trevor-signal
d012779e87
Show mentioned badges & enable scrolling to mentions in conversations 2023-05-23 14:59:07 -07:00
trevor-signal
36432b3a3d
Improve handling of invalid conversations 2023-05-19 09:28:59 -04:00
Josh Perez
46942ece00
Send proper sync message for edit msg in all contexts 2023-05-09 18:25:37 -07:00
Jamie Kyle
0e490542a7
RTL 2023-04-20 10:03:43 -07:00
Josh Perez
1f2cde6d04
Send edited messages support
Co-authored-by: Fedor Indutnyy <indutny@signal.org>
2023-04-20 09:31:59 -07:00
Jamie Kyle
3a069323a4
Hide message contents in notifications for message requests 2023-04-10 15:19:48 -07:00
Jamie Kyle
822b162136
Merge delete for me/everyone into one modal 2023-04-10 14:38:34 -07:00
Jamie Kyle
c956c0e025
Remove ts/util/index.ts 2023-04-10 14:30:33 -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
Jamie Kyle
5e647c55d1
Fully migrate to ICU 2023-03-29 17:03:25 -07:00
Jamie Kyle
c02c8d9640
Normalize i18n() calls to prepare for ICU migration 2023-03-28 11:26:46 -07:00
Fedor Indutny
dd16be13b0
Handle PNI+PNI+E164 triple 2023-03-23 17:52:46 -07:00
Jamie Kyle
1d549a9991
Multi-select forwarding and deleting 2023-03-20 15:23:53 -07:00
Jamie Kyle
58f4082c4a
Force save for call disposition 2023-03-17 13:38:57 -07:00
Josh Perez
4591b56f7f
Enables sandbox on about window 2023-03-14 11:55:31 -04:00
Fedor Indutny
64827af27f
Fix modal text on username gone error 2023-03-08 17:38:52 -08:00
Fedor Indutny
5d07167222
Use libsignal-client validation for nicknames 2023-03-08 16:58:54 -08: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
0e655ceeed
Voice notes mini-player 2023-02-24 15:18:57 -08:00
Fedor Indutny
486ada8b6c
Handle 409/410 when confirming username 2023-02-14 09:39:47 -08:00
Fedor Indutny
8ed13b2247
Username hashing 2023-02-08 09:14:59 -08:00
Alvaro
e51f582bfb
Removed hard limit on unprocessed messages in cache 2023-02-02 11:39:07 -08:00
Fedor Indutny
63d6b14516
Split ACI contact when it is unregistered 2023-02-01 13:32:46 -08:00
Alvaro
ce8a1f5930
Don't use the term gift 2023-01-23 13:42:40 -07:00
Scott Nonnenberg
7c1f186c05
sendToGroup: Don't fail send if we get 401 from multi_recipient/ request 2023-01-20 17:50:34 -07:00
Josh Perez
74abe0c1ef
Do not fire SELECTED_CONVERSATION_CHANGED more than once 2023-01-05 15:34:47 -08:00
Jamie Kyle
465b4cb0fb
Treat 413 and 429 as rate limits everywhere 2023-01-05 15:29:02 -07:00
Josh Perez
198d6f7e26
Make composer duck aware of the conversation it is in 2023-01-04 16:22:36 -08:00
Jamie Kyle
3705b959d6
Remove end year from licenses 2023-01-03 11:55:46 -08:00
Fedor Indutny
dec23725e5
Use ReadonlyArrays in conversation model and redux 2022-12-21 16:07:02 -08:00
Fedor Indutny
ed271d92ea
Add no-misused/floating-promises lint rule 2022-12-21 10:41:48 -08:00
Jamie Kyle
15efbde23d
Move ToastType to its own file to avoid importing electron in storybooks 2022-12-14 16:48:36 -08:00
Scott Nonnenberg
f366454893
updatePNI: Cleanup only for obsolete PNI 2022-12-12 14:06:16 -08:00
Scott Nonnenberg
a49a6f2057
Notifications for a few merge-related scenarios 2022-12-05 14:46:54 -08:00
Fedor Indutny
9d8ad21819
Remove underscore 2022-11-29 16:53:39 -08:00
Alvaro
4294429bc2
Made StoryDataType sourceDevice required 2022-11-23 12:52:36 -08: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
6be69a7ba8
Use DurationInSeconds for expireTimer 2022-11-16 13:18:02 -07:00
Fedor Indutny
e6ebfe4fca
Update typescript to 4.8.4 2022-11-14 11:35:37 -08:00
Scott Nonnenberg
5100d17ed2
SafetyNumberChangeDialog: Introduce awareness of stories 2022-11-10 23:10:30 -05:00
Fedor Indutny
9ce8d5e68f
Fix storage service handling of contact status 2022-11-07 15:21:12 -08:00
Fedor Indutny
8f62442822
Allow link-only stories, download previews 2022-10-31 14:28:28 -07:00
Josh Perez
42362a2772
Close viewer after viewing a single story 2022-10-26 18:03:43 -07:00
Josh Perez
0308f208d8
Fix flakey viewStory test 2022-10-25 15:23:24 -07:00
Evan Hahn
ad42d98774
"cancelation" → "cancellation" in test title 2022-10-25 13:12:52 -07:00
Josh Perez
471a9e2e98
Show group replies icon for stories with replies 2022-10-22 02:26:16 -04:00
Fedor Indutny
e14c3241c5
Refresh stories in redux when data changes 2022-10-20 12:16:37 -07:00
Fedor Indutny
00f82a6d39
Discriminator in username 2022-10-18 10:12:02 -07:00
Josh Perez
4882248041
Story viewer navigation improvements 2022-10-17 12:33:07 -04:00
Scott Nonnenberg
6d535cd026
sendToGroup/_shouldFailSend: Don't fail send on 401 2022-10-12 15:50:38 -06:00
Jamie Kyle
25bc16300c
Notify story creator for replies 2022-10-11 10:59:02 -07:00
Alvaro
958f13b9f2
Fixed bug that was causing story playback to not play all unread 2022-10-07 22:02:46 -04:00
Evan Hahn
5219cdf2c9
Make 1 the minimum registration ID 2022-10-05 09:35:56 -07:00
Jamie Kyle
6d56f8b8aa
support icu messageformat for translations 2022-10-03 14:19:54 -07:00
Josh Perez
67c706a7ef
Ensure deleting conversation deletes story replies 2022-09-29 17:57:11 -07:00
Fedor Indutny
373f121887
Extend cleanSignedPreKeys to support PNI 2022-09-27 09:33:56 -07:00
Scott Nonnenberg
a7253be213
getUnreadByConversationAndMarkRead: Take 'now' param for reliable tests 2022-09-22 16:49:06 -07:00
Josh Perez
0be580e8e5
Fixes story play order 2022-09-21 20:55:23 -04: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
Alvaro
383a0fd17f
Added the time remaining for disappearing messages and stories 2022-09-09 11:35:00 -07:00
Fedor Indutny
757af2cbbe
Include ACI+Access Keys pairs with CDSI requests 2022-08-18 13:44:53 -07:00
Scott Nonnenberg
74374e4313
maybeMergeContacts/create: Put PNI into UUID field if no ACI 2022-08-17 16:12:38 -07:00
Scott Nonnenberg
932043c58f
Make attachments more resilient, decrease websocket keepalive 2022-08-16 16:49:47 -07:00
Fedor Indutny
00cfd92dd0
Send and receive PniSignatureMessage 2022-08-15 14:53:33 -07:00
Josh Perez
584b39baa8
Avoid race conditions when queueing a story for download 2022-08-11 15:26:26 -07:00
Alvaro
d4b74db05c
Don't create preview icon for links with no image (quotes) 2022-08-10 10:48:33 -07:00
Scott Nonnenberg
5d45197fe2
Remove restriction on maybeMergeContacts, combineConversations fixes 2022-08-09 16:46:01 -07:00
Scott Nonnenberg
faf6c41332
Early preparations for PNP Contact Merging 2022-08-09 14:39:00 -07:00
Scott Nonnenberg
276435f035
RoutineProfileRefresher: Track instances, only start() once, min sleep 2022-08-04 14:43:47 -07:00
Fedor Indutny
2b0d3cab40
Remove source from Envelope 2022-08-02 09:19:21 -07:00
Scott Nonnenberg
2b648b79a4
Upgrade to libsignal-client v0.19.2 2022-08-01 18:31:24 -07:00
Scott Nonnenberg
08b2aeb237
Move back to libsignal-client v0.18.1 2022-07-29 09:17:59 -07:00
Fedor Indutny
79b48115e6 Handle PniChangeNumber 2022-07-28 14:50:10 -04:00
Scott Nonnenberg
bfc56dd175
Introduce new Profile Fetch service, with centralized queueing 2022-07-13 17:46:46 -07:00
Scott Nonnenberg
50222558bf
Remove emoji, mentions and links when calculating text direction 2022-07-11 16:34:55 -07:00
Fedor Indutny
a450e13a99
Fetch PNI group credentials 2022-07-08 13:46:25 -07:00
Scott Nonnenberg
5fcf97b43b
Introduce logging for unexpected incoming urgent values 2022-07-05 15:20:30 -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
Josh Perez
aa23c2def2
Removes Inbox Backbone view 2022-06-16 15:12:50 -04:00
Fedor Indutny
6aeddb9301
Order unprocessed envelopes by receivedAtCounter 2022-06-10 09:09:21 -07:00
Evan Hahn
d4bba46b2c
Convert "reliable trigger" to TypeScript 2022-06-01 12:54:51 -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
Scott Nonnenberg
6f2b01d98b
Restore useful bubble for incoming messages with errors 2022-05-31 09:26:07 -07:00
Fedor Indutny
80c90540f6
Restore call view mode after presentation end 2022-05-25 11:03:27 -07:00
Fedor Indutny
e6223b6a11
Dynamic audio level indicator 2022-05-18 23:28:51 -04: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
Scott Nonnenberg
6b4bea6330
Timeline: When scrolling far into history, discard newest messages 2022-05-10 13:19:58 -07:00
Scott Nonnenberg
e078a2ae54
Ensure that seenStatus is always updated along with readStatus 2022-04-29 16:42:47 -07:00
Fedor Indutny
d6b58d23d6
Increment unprocessed attempts when fetching 2022-04-28 15:28:30 -07:00
Scott Nonnenberg
25282e3afa
getTotalUnreadForConversation: Add missing isGroup parameter 2022-04-27 10:41:24 -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
Josh Perez
d8708e4e73
Ensure that we resolve attachments before displaying them 2022-04-25 10:25:50 -07:00
Scott Nonnenberg
3a1df01c9e
New 'unseenStatus' field for certain secondary message types 2022-04-22 11:35:14 -07:00
Josh Perez
774246b6e2
Drop story replies from group timeline 2022-04-20 16:33:38 -07:00
Scott Nonnenberg
bb250d4fb5
startCall: wait for startOutgoingDirectCall before updating lobby 2022-03-31 18:06:35 -07:00
Josh Perez
3b5cc26fec
Adds logic around downloading stories 2022-03-28 18:10:08 -07:00
Jordan Rose
5a107e1bc3
Update for @signalapp/libsignal-client rename 2022-03-24 14:47:21 -07:00
Fedor Indutny
ca3f8b7df0
Store receivedAtCounter separately for unprocessed 2022-03-24 14:28:56 -07:00
Fedor Indutny
2eaacac151
Use --force-long with pbjs 2022-03-23 13:49:27 -07:00