Commit graph

392 commits

Author SHA1 Message Date
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
Fedor Indutny
f536421390
Better merging for changed keys in storage service 2022-03-21 15:06:34 -07:00
Fedor Indutnyy
0e31659682 Merge https://github.com/signalapp/Signal-Desktop/pull/5788 2022-03-17 09:36:51 -07:00
Josh Perez
3620309f22
Show story replies in the timeline 2022-03-16 10:30:14 -07:00
Fedor Indutny
36ce4f27a2
Optimize profile avatar uploads and sync urls 2022-03-15 17:14:20 -07:00
Scott Nonnenberg
703bb8a3a3
Introduce new 'Block request' button in timeline 2022-03-15 17:11:28 -07:00
Dimitris Apostolou
718d0a7046
Fix typos 2022-03-13 11:10:17 +02:00
Evan Hahn
72c6c57186
If not enough messages are loaded (on tall screens), fix jankiness 2022-03-11 14:31:21 -08:00
Fedor Indutny
4a00ea46bc
Allow requesting profile without profileKey 2022-03-09 12:23:21 -08:00
Evan Hahn
effe5aae6f
Assume everyone is GV2-capable 2022-03-04 13:48:44 -06:00
Evan Hahn
0c31ad25ef
Remove React Virtualized from <Timeline> 2022-03-03 14:23:10 -06:00
Evan Hahn
cfa0711909
Put "is speaking?" threshold in remote config; lower default 2022-03-01 17:39:09 -06:00
Scott Nonnenberg
fcb96bf92a
Simplify OutgoingIdentityKeyError, use it in getKeysForIdentifier 2022-02-25 15:39:24 -08:00
Fedor Indutny
033b4830d1
Use checkAccountExistence 2022-02-25 15:20:48 -08:00
Evan Hahn
41b4cce6ec
Show local speaking indicator for group calls 2022-02-25 09:24:05 -06:00
Jon Chambers
45289f519a
Accept HTTP/429 as a "rate-limited" status code 2022-02-24 16:26:58 -08:00
Fedor Indutny
5453d10572
Improve conversion between typed arrays 2022-02-22 17:05:53 -08:00
Scott Nonnenberg
30783c887c
Introduce new conversationJobQueue 2022-02-16 10:36:21 -08:00
Fedor Indutny
0174687542
Use esbuild 2022-02-11 13:38:52 -08:00
Evan Hahn
f5a4cd9ce8
Peek group calls when opening conversations and leaving calls 2022-02-08 13:18:51 -06:00
Evan Hahn
5ce26eb91a
Speaking indicator for group calls
Co-authored-by: Peter Thatcher <peter@signal.org>
Co-authored-by: Jim Gustafson <jim@signal.org>
Co-authored-by: Josh Perez <60019601+josh-signal@users.noreply.github.com>
2022-02-08 12:30:33 -06:00
Scott Nonnenberg
397753bbfe
sendContentMessageToGroup: Comprehensive error check before failover 2022-01-31 13:51:24 -08:00
Evan Hahn
a34291f9dc
Two CI tweaks 2022-01-27 16:28:41 -08:00
Evan Hahn
1e1cb26f08
Update badge placement on 52x52 avatars 2022-01-24 15:59:55 -06:00
Scott Nonnenberg
06165cb742
Include sender keys in SignalProtocolStore zones 2022-01-07 18:12:13 -08:00
Evan Hahn
f8bbf5c998
Group calls: mute in the lobby if joining a large call 2022-01-07 12:01:23 -06:00
Fedor Indutny
f5312b9463
Fix getUnreadReactionsAndMarkRead 2021-12-21 21:01:09 +01:00
Scott Nonnenberg
60a53656af
Optimize a few queries 2021-12-20 22:04:02 +01:00
Fedor Indutny
71ca3c0764
Drop old unprocessed envelopes 2021-12-13 17:25:44 -08:00
Scott Nonnenberg
34fd945f83
No Backbone in data layer; server/client interfaces are now similar 2021-12-10 16:51:54 -06:00
Scott Nonnenberg
161b0e5379
Refactor sender key sends to allow distribution lists 2021-12-09 18:15:59 -08:00
Fedor Indutny
bbc13d058e
Update electron to 16.0.4 2021-12-09 09:06:04 +01:00
Scott Nonnenberg
fdc9885baa
Migration and data access functions for stories 2021-12-08 20:52:46 +01:00
Evan Hahn
c88cb62464
Hide "delete for everyone" button for pending messages 2021-12-02 13:28:19 -08:00
Fedor Indutny
348012ef4c
Add PNI endpoints to WebAPI 2021-11-30 20:33:51 +01:00
Evan Hahn
67b17ec317
Hide "become a sustainer" button if you're already a sustainer 2021-11-30 17:29:57 +01:00