Commit graph

1153 commits

Author SHA1 Message Date
Josh Perez
5e6eeecede
Removes Backbone.View and jQuery 2023-01-02 13:34:41 -08:00
Fedor Indutny
41d144bc98
Use @indutny/sneequals for memoization 2022-12-23 12:25:15 -08:00
Fedor Indutny
55a1c5f6c5
Use proxy-compare for message bubbles 2022-12-22 16:32:03 -08:00
Fedor Indutny
f92f81dfd6
Cache some volatile conversation properties 2022-12-22 16:13:23 -08:00
Josh Perez
0b83ab497d
Removes ReactWrapperView 2022-12-21 22:07:45 -05: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
Scott Nonnenberg
1a68c3db62
conversation_view: Move the last of the small functions to redux 2022-12-20 22:25:10 -05:00
Fedor Indutny
57eed10a38
Add "pni" capability in staging 2022-12-20 12:29:17 -08:00
Josh Perez
d8ea9856ec
Moves show all media to react pane 2022-12-20 09:50:23 -08:00
Scott Nonnenberg
1e282ee5d0
ConversationView: Pull various functions out of getMessageActions 2022-12-19 17:04:47 -08:00
Josh Perez
e142cb47f5
Moves various panels out to ConversationView react 2022-12-14 17:10:09 -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
f2f1c3c021
Standardize on showConversation function, delete unused functions 2022-12-14 11:05:32 -08:00
Josh Perez
ebeb6a7a6d
A hybrid panel system for React & Backbone 2022-12-14 10:41:04 -08:00
Josh Perez
b138774454
Moves saveAttachment to a redux action 2022-12-14 10:12:04 -08:00
Fedor Indutny
fdfc0539a3
Allow case sensitive usernames 2022-12-13 16:37:20 -07:00
Fedor Indutny
19e51862ba
Don't show duplicate modals on signal.me links 2022-12-13 14:55:33 -08:00
David Sanders
16c9c17cc2 Fix EACCES error code name 2022-12-13 11:00:51 -08:00
Josh Perez
494fe2f9f0
Fixes lint 2022-12-12 20:26:28 -05:00
Jamie Kyle
f0a5180019 fix lint 2022-12-12 15:35:32 -08:00
Patrick Demers
5df5cde48c do not spit url between Read More chunks by expanding chunk to end of url 2022-12-12 14:49:20 -05:00
Josh Perez
635a59a473
Moves showLightbox to redux 2022-12-09 21:02:22 -05:00
Josh Perez
7c68f9ef1a
Moves showStickerPackPreview to globalModals 2022-12-09 11:01:46 -08:00
Josh Perez
2378776e1b
Moves sendMessage and friends to redux 2022-12-08 02:43:48 -05:00
Scott Nonnenberg
452e0b7b31
ConversationView: Move attachments processing into redux 2022-12-07 20:26:59 -05:00
Scott Nonnenberg
ff6750e4fd
ConversationView: Move setPin to redux 2022-12-06 17:00:02 -08:00
Josh Perez
105162dc66
Moves blockAndReportSpam to redux 2022-12-06 11:03:09 -08:00
Scott Nonnenberg
92a512a16d
ConversationView: Move call/mute functions into redux 2022-12-06 09:31:44 -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
Josh Perez
a0730dfaa4
Onboarding story removal improvements 2022-12-05 09:34:26 -08:00
Alvaro
e41252b35e
Added clearer debug logging to createOrLookup 2022-12-02 17:05:27 -08:00
Josh Perez
1109415dc1
Add global setting for sent media quality 2022-12-02 18:54:37 -05:00
Fedor Indutny
30d1b29021
Add desktop.groupCallOutboundRing2.beta flag 2022-11-30 14:35:37 -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
Jim Gustafson
2d620c380e
Update to RingRTC v2.22.0 2022-11-28 20:09:08 -08:00
Fedor Indutny
37d383f344
Improve story DOE flow 2022-11-28 18:07:26 -08:00
Josh Perez
5e9744d62a
Start story duration when it is a text story 2022-11-28 17:35:15 -08:00
Scott Nonnenberg
a8ce959405
Use implicit content hint for sender key distribution messages 2022-11-28 15:30:42 -08:00
Josh Perez
77f92b6cc3
Add emoji button to text story creation 2022-11-28 13:52:16 -05:00
Fedor Indutny
b4b477e44c
Update TypeScript to 4.9.3 2022-11-22 17:46:21 -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
98ef4c627a
Update eslint to 8.27.0 2022-11-17 16:45:19 -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
4e624c7286
Remove unnecessary windows 7 shim 2022-11-14 17:07:38 -08:00
Fedor Indutny
e6ebfe4fca
Update typescript to 4.8.4 2022-11-14 11:35:37 -08:00
Alvaro
6b42a69947
Extract ListView controller from ConversationList 2022-11-14 10:48:51 -08:00
Alvaro
9a2cbf9a51
Added debug log entry before enqueuing DOE job 2022-11-11 15:09:10 -08:00
Scott Nonnenberg
5100d17ed2
SafetyNumberChangeDialog: Introduce awareness of stories 2022-11-10 23:10:30 -05:00
Alvaro
45069673ce
Fixed all connections count and renamed MY_STORIES_ID and EditMyStoriesPrivacyModal 2022-11-10 08:51:39 -07:00
Fedor Indutny
be6e988a95
Hydrate body ranges for story replies 2022-11-09 20:59:36 -08:00
Jamie Kyle
9f85db3fd8
stories: muted by default, muted on app blur 2022-11-09 23:24:42 -05:00
Josh Perez
4a5da95c1d
Fixes storybook 2022-11-09 13:11:45 -08:00
Fedor Indutny
d00898fdfc
Retry log rotation on EPERM/EACCESS 2022-11-09 12:04:54 -08:00
Josh Perez
19a42ed719
Onboarding story 2022-11-08 21:38:19 -05:00
Fedor Indutny
94f318ea08
Add extra check to markConversationRead 2022-11-08 17:33:25 -08:00
Josh Perez
9229fca569
Rev stories feature flag 2022-11-08 12:55:51 -08:00
Alvaro
d0fb25f758
Show and sort active groups when sending a story 2022-11-08 13:01:59 -07:00
Alvaro
4445ef80eb
Implement group story reply deletion 2022-11-04 07:22:07 -06: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
Jamie Kyle
97b7f3dbc1
Update story settings modal design, add group details page 2022-11-01 10:34:23 -07:00
Fedor Indutny
7f0a66847b
Remove LegacyCDS 2022-10-26 16:17:14 -07:00
Josh Perez
7b9807d464
Pause story while attempting to DOE 2022-10-25 21:39:17 -04:00
Fedor Indutny
d6afae64d9
Check stories capability when sending replies 2022-10-25 17:03:51 -07:00
Fedor Indutny
3702a67975
Story view receipts setting 2022-10-25 15:18:42 -07:00
Scott Nonnenberg
0134990275
Don't access RemoteConfig directly from 'dumb' components 2022-10-24 13:46:36 -07:00
Alvaro
ba55285c74
Using the group story timestamp when adding to the conversation job queue 2022-10-21 18:38:49 -06:00
Scott Nonnenberg
5dea03f713
Include story=true when deleting your story for everyone 2022-10-20 15:10:10 -07:00
Scott Nonnenberg
1c89168301
Phased rollout by country code; starting w/ desktop.stories remote flag 2022-10-20 14:02:22 -07:00
Fedor Indutny
f5e94f2069
Use correct endpoint to lookup by username 2022-10-19 13:41:47 -07:00
Josh Perez
3e57899006
Delete sent stories when you turn off stories 2022-10-19 12:35:56 -04:00
Fedor Indutny
00f82a6d39
Discriminator in username 2022-10-18 10:12:02 -07:00
Scott Nonnenberg
d03b53d47e
Include story=true on SKDM only when sending to distribution list 2022-10-17 10:39:10 -07:00
Alvaro
bf4e697a0a
Fixed story replies modal and calling pip interactions 2022-10-17 09:58:49 -07:00
Scott Nonnenberg
0e49f7906d
Story send: Send sync message even in partial failure 2022-10-14 18:22:04 -06:00
Jamie Kyle
9ee0502553
stories: use web animations api to simplify progress bar/playback 2022-10-13 14:40:43 -07:00
Josh Perez
b2792639aa
DOE stories when they are part of deleted lists 2022-10-13 10:14:50 -06:00
Scott Nonnenberg
6d535cd026
sendToGroup/_shouldFailSend: Don't fail send on 401 2022-10-12 15:50:38 -06:00
Scott Nonnenberg
c08608e5d0
Expand beta check for stories availability 2022-10-12 10:39:05 -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
Josh Perez
3bfeffe502
Handle storyMessageRecipient updates before handling story messages 2022-10-07 09:30:54 -07:00
Scott Nonnenberg
5e63d8aadf
Pipe device number through for sync'd sent story messages 2022-10-05 13:49:43 -07:00
Josh Perez
b0203e8909
Do not allow send to announcement only groups 2022-10-05 15:43:37 -04:00
Fedor Indutny
ebafc933b9
Use X-Signal-Receive-Stories header 2022-10-04 17:48:25 -07:00
Alvaro
c52fe3f377
Story - add caption 2022-10-04 17:17:15 -06:00
Fedor Indutny
8b705d3b55
Sync storiesDisabled flag on AccountRecord 2022-10-04 10:53:36 -07:00
Alvaro
44db76531e
markStoryRead: More logging in unusual cases 2022-10-03 16:10:20 -07:00
Fedor Indutny
b65890b07d
Update to latest pino 2022-10-03 15:53:41 -07:00
Jamie Kyle
6d56f8b8aa
support icu messageformat for translations 2022-10-03 14:19:54 -07:00
Alvaro
f533517672
Don't fallback to client-fanout on timeout, and more logs 2022-09-30 13:33:24 -07:00
Scott Nonnenberg
2b2594c20a
Stories: Fix sender key persistence, pipe story: true into sends 2022-09-30 09:59:36 -07:00
Josh Perez
67c706a7ef
Ensure deleting conversation deletes story replies 2022-09-29 17:57:11 -07:00
Fedor Indutny
f64426fbe0
Fix outside click in story replies 2022-09-29 13:13:45 -07:00
Scott Nonnenberg
5957c111cf
Move to smartling for translation services 2022-09-27 14:01:06 -07:00
Fedor Indutny
698c7a7739
Fix click handling for stories 2022-09-27 13:24:21 -07:00
Scott Nonnenberg
5ed5483dd7
Eliminate unknown groups and contacts from search results 2022-09-26 13:18:11 -07:00
Alvaro
77bf3a8669
Don't scroll to the bottom of story replies 2022-09-22 13:18:26 -07:00
Alvaro
4308739bc0
Fixes expirationTimer i18n 2022-09-21 17:57:44 -06:00
Fedor Indutny
59da9c7ae5
Stop using deprecated PniCredential 2022-09-21 09:18:48 -07:00
Fedor Indutny
53e17e8e08
Update to esbuild 0.15.8 2022-09-20 16:52:32 -07:00
Scott Nonnenberg
450051e541
Only process signal domain links if they have hash/path/query 2022-09-19 13:42:37 -07:00
Fedor Indutny
62647a357f
Support unregisteredAtTimestamp in storage service 2022-09-19 11:47:49 -07:00
Jamie Kyle
bbf4e74239
Init Danger/Endanger with Backbone/package.json versions rules 2022-09-16 11:32:28 -07:00
Jamie Kyle
01587b0f39
Accept multiple images and videos in attachment picker 2022-09-15 14:40:48 -07:00
Alvaro
6cfe2a09df
Consecutive playback and per-conversation playback rate 2022-09-15 14:10:46 -06:00
Jamie Kyle
eb10aafd7c
tsc:allowUnreachableCode, eslint:no-unreachable, assert->assertDev 2022-09-15 13:17:15 -06:00
Fedor Indutny
635840cd99
Properly handle closing click events in modals 2022-09-14 18:58:35 -07:00
Jamie Kyle
0086216c9d
Add eqeqeq rule but require == for null 2022-09-14 14:40:44 -07:00
jamiebuilds-signal
64a4d2e717
Improved reliability of strictAssert 2022-09-14 09:40:50 -07:00
Fedor Indutny
1a54d438c2
Separate flag for cdsi in beta channel 2022-09-13 21:07:47 -07:00
jamiebuilds-signal
5a8f484a03
Enable brace-style eslint rules 2022-09-13 14:48:09 -07:00
Alvaro
383a0fd17f
Added the time remaining for disappearing messages and stories 2022-09-09 11:35:00 -07:00
Fedor Indutny
2b5f0ffc10
Update Inter to 3.19 2022-08-31 12:57:21 -07:00
Fedor Indutny
7632f31cf2
Show internal error toast on CDS errors 2022-08-30 17:03:42 -07:00
Fedor Indutny
e5f6de946f
Update electron to 20.1.0 2022-08-29 09:28:41 -07:00
Josh Perez
eadef45290
Fix story group replies rendering 2022-08-25 12:10:56 -04:00
Fedor Indutny
2237f08507
Fix signal.me links 2022-08-24 10:33:48 -07:00
Josh Perez
413b6dbd5c
Assert that retried UUID is still part of dlist 2022-08-23 12:37:16 -04:00
Jordan Rose
a52bb25731
Typing while the emoji picker is up should enter search mode 2022-08-22 16:31:35 -07:00
Josh Perez
70bdbe33d5
Group stories should have a different timestamp 2022-08-19 14:12:05 -07:00
Josh Perez
f7f65de322
Improvements to the MyStories row 2022-08-19 11:36:47 -07:00
Josh Perez
0fb45f045d
Handle Safety Number changes while sending a story 2022-08-19 14:05:31 -04:00
Fedor Indutny
d036803df9
Mirror CDS requests 2022-08-18 17:31:12 -07:00
Fedor Indutny
757af2cbbe
Include ACI+Access Keys pairs with CDSI requests 2022-08-18 13:44:53 -07:00
Josh Perez
936ce91b2e
Move getUntrustedContacts out of conversation_view 2022-08-16 16:59:11 -07:00
Fedor Indutny
00cfd92dd0
Send and receive PniSignatureMessage 2022-08-15 14:53:33 -07:00
Josh Perez
1d0b1d806a
Only accept video/mp4 for story uploads 2022-08-12 16:44:10 -07:00
Alvaro
3991b06256
Increased the distance to support contacts that may have even longer titles 2022-08-12 12:10:52 -04:00
Josh Perez
f09b214016
Adjust story duration 2022-08-11 14:03:56 -07:00
Josh Perez
5b6874b882
Download your own story attachments. Hydrate story replies on receive 2022-08-10 11:48:52 -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
Josh Perez
2f5dd73e58
Send stories to groups capability 2022-08-08 23:26:21 -04:00
Alvaro
aa2bb68d4a
Increased fuse search distance from 100 (default) to 150 2022-08-08 16:41:20 -06: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
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