Commit graph

248 commits

Author SHA1 Message Date
Josh Perez
235a188291
Always download link preview image 2023-01-06 16:55:12 -08:00
Jamie Kyle
3705b959d6
Remove end year from licenses 2023-01-03 11:55:46 -08:00
Fedor Indutny
ecbf84638d
Increase max attempt count for unprocessed items 2022-12-21 16:06:50 -08:00
Fedor Indutny
ed271d92ea
Add no-misused/floating-promises lint rule 2022-12-21 10:41:48 -08:00
Scott Nonnenberg
a49a6f2057
Notifications for a few merge-related scenarios 2022-12-05 14:46:54 -08:00
Alvaro
4294429bc2
Made StoryDataType sourceDevice required 2022-11-23 12:52:36 -08:00
Fedor Indutny
b26f60d2fc
Better handling of calling messages 2022-11-19 00:31:31 -08:00
Josh Perez
cf43726664
Populate sender state correctly via story sync to group 2022-11-17 11:59:00 -08:00
Fedor Indutny
6be69a7ba8
Use DurationInSeconds for expireTimer 2022-11-16 13:18:02 -07:00
Alvaro
9de31d1b1c
Allow receiving group stories from senders with profileSharing=false 2022-11-09 14:53:19 -08:00
Fedor Indutny
d7a2669b49
Wrap eventHandlerQueue jobs with task with timeout 2022-11-09 10:59:32 -08:00
Josh Perez
64fa3aac59
Use explicit allowlist setting for story receive 2022-11-02 16:56:17 -04:00
Fedor Indutny
8f62442822
Allow link-only stories, download previews 2022-10-31 14:28:28 -07:00
Fedor Indutny
3beccbfd31
Reduce timeout of some long running tasks 2022-10-25 17:03:05 -07:00
Scott Nonnenberg
1c89168301
Phased rollout by country code; starting w/ desktop.stories remote flag 2022-10-20 14:02:22 -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
Fedor Indutny
8b705d3b55
Sync storiesDisabled flag on AccountRecord 2022-10-04 10:53:36 -07:00
Fedor Indutny
e0ae5fc27c
Wait for contact sync in MessageReceiver 2022-09-20 16:53:38 -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
jamiebuilds-signal
5a8f484a03
Enable brace-style eslint rules 2022-09-13 14:48:09 -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
Fedor Indutny
c42df6312e
contactSync should depend on syncMessage.complete 2022-08-26 15:26:38 -07:00
Fedor Indutny
7ce4beb270
Refactor contact sync processing 2022-08-24 22:04:42 -07:00
Josh Perez
5ec78374d1
Use just the timestamp for story expiration 2022-08-17 10:56:41 -07:00
Fedor Indutny
00cfd92dd0
Send and receive PniSignatureMessage 2022-08-15 14:53:33 -07:00
Josh Perez
dca848389c
Sync stories sent to a group 2022-08-04 21:13:26 -04: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
Josh Perez
3af478837d
Drop duplicate stories 2022-07-29 16:01:33 -07:00
Josh Perez
7d2b91368d
Normalize the distribution list and UUIDs iOS sends us 2022-07-29 13:16:36 -04:00
Fedor Indutny
79b48115e6 Handle PniChangeNumber 2022-07-28 14:50:10 -04:00
Josh Perez
1d5b361159
Drop incoming story messages if stories are turned off 2022-07-21 19:05:55 -04:00
Scott Nonnenberg
4cd05dc6c9
validateUnsealedEnvelope: On expire, log serverTimestamp vs. expiration 2022-07-20 17:15:26 -07:00
Josh Perez
5639c1adea
DOE for stories 2022-07-13 16:09:18 -07:00
Scott Nonnenberg
14591358f1
Simplify expireTimer change handling, queue for contact sync 2022-07-11 17:32:26 -07:00
Fedor Indutny
a450e13a99
Fetch PNI group credentials 2022-07-08 13:46:25 -07:00
Josh Perez
3e644f45cf
Fixes story viewing behavior 2022-07-06 15:06:20 -04:00
Scott Nonnenberg
5fcf97b43b
Introduce logging for unexpected incoming urgent values 2022-07-05 15:20:30 -07:00
Josh Perez
9155784d56
Sync my stories with primary device 2022-06-30 20:52:03 -04:00
Fedor Indutny
35e5eb847a
Better logging for expiration timer updates 2022-06-20 15:43:16 -07:00
Josh Perez
d970d427f8
Create text stories 2022-06-16 17:48:57 -07:00
Scott Nonnenberg
2464e0a9c1
Convert signal.js and preload.js to Typescript 2022-06-13 14:39:35 -07:00
Evan Hahn
f50a6abe36
Remove unused eslint-disables 2022-06-03 14:07:51 -07:00
Scott Nonnenberg
68f705e6ad
Reset MessageReceiver processed count after reporting it 2022-05-25 11:15:09 -07:00
Scott Nonnenberg
dfd1190e8b
Groups: Show in left pane more often, proper join message 2022-05-16 07:53:54 -07:00
Fedor Indutny
d6b58d23d6
Increment unprocessed attempts when fetching 2022-04-28 15:28:30 -07:00
Fedor Indutny
da45f26d37
Drop verified syncs, use storage service for event 2022-04-20 19:41:52 -04:00
Fedor Indutny
e8d268b466
Clear previous pending pni identity events 2022-04-18 16:33:17 -07:00
Josh Perez
e3d537cbd3
Render group stories 2022-04-14 20:08:46 -04:00
Josh Perez
9f7ee9ae79
Force set expirationStartTimestamp on story messages 2022-04-11 14:28:01 -07:00
Scott Nonnenberg
9e54f55c22
Ensure that waitForAll functions catch and log thrown errors 2022-04-11 10:53:57 -07:00
Josh Perez
0f16ef5dd6
Do not try to download text attachments 2022-04-08 10:03:10 -07:00
Josh Perez
fc9bdf9398
Process text story messages 2022-04-05 21:18:07 -04:00
Scott Nonnenberg
99687a4b5b
Remove support for legacyMessage 2022-03-30 20:07:55 -07:00
Josh Perez
7316e880e8
Changes story message receiver acceptance logic 2 2022-03-29 18:38:17 -07:00
Josh Perez
9d3f0072a5 Changes story message receiver acceptance logic 2022-03-28 17:35:56 -07:00
Fedor Indutny
a0ae7c1aa2
Request and handle PniIdentity sync message 2022-03-25 10:36: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
Scott Nonnenberg
1d268da50b
Drop stories and their replies if feature flag is disabled 2022-03-21 16:17:55 -07:00
Josh Perez
d0898cb0c2
Do not set conversation expire timer on incoming story msgs 2022-03-09 18:20:01 -08:00
Josh Perez
eb91eb6fec
Process incoming story messages 2022-03-04 13:14:52 -08:00
Fedor Indutny
3b4106d9dd
Change order of syncs during linking 2022-03-02 14:53:47 -08:00
Evan Hahn
052a8e65e2
Add "clean up timer if necessary" utility 2022-02-25 10:37:15 -08:00
Scott Nonnenberg
b33b5d2a30
profileKey: Check length of incoming values, clear on failed send/fetch 2022-02-22 14:34:57 -06:00
Scott Nonnenberg
a1639f111e
envelopeTypeToCiphertextType: Handle all envelope types 2022-02-22 14:32:25 -06:00
Scott Nonnenberg
0bb0e6e9fc
MessageReceiver: Extract cipherTextBytes/Type from non-sealed messages 2022-02-16 11:41:28 -06:00
Scott Nonnenberg
2603d53891
Improve storage service migration to new field understanding 2022-01-26 15:39:25 -08:00
Scott Nonnenberg
5f34ece87c
TaskWithTimeout: After suspend, don't start timers for new tasks 2022-01-26 12:39:24 -08:00
Scott Nonnenberg
68a458ec4a
Honor preferContactAvatars field on AccountRecord 2022-01-25 09:44:45 -08:00
Fedor Indutny
3c836908aa
Revert "MessageReceiver: Pause processing of new messages on suspend"
This reverts commit d74424a3b8.
2022-01-24 15:50:32 -08:00
Scott Nonnenberg
fb31a02d88
MessateReceiver.maybeUpdateTimestamp: Annotate group identifier for log 2022-01-20 18:09:03 -08:00
Scott Nonnenberg
d74424a3b8
MessageReceiver: Pause processing of new messages on suspend 2022-01-20 14:47:06 -08:00
Scott Nonnenberg
f1586578ff
Properly handle groupIds in incoming block sync 2022-01-19 16:39:27 -08:00
Fedor Indutny
885b4d4d2e
Trigger EnvelopeEvent for unsealed envelopes 2022-01-18 17:10:53 -08:00
Scott Nonnenberg
06165cb742
Include sender keys in SignalProtocolStore zones 2022-01-07 18:12:13 -08:00
Fedor Indutny
e98b281644
Use serverTimestamp for delivery receipts 2022-01-06 12:12:53 -08:00
Fedor Indutny
77924918df
Don't treat TimeoutError as a decryption error 2021-11-30 20:34:05 +01:00
Fedor Indutny
76a30a5196
Use throwOnTimeout option for PQueue 2021-11-23 23:01:03 +01:00
Fedor Indutny
4afe1475d5
Add separator to envelope log id 2021-11-19 09:21:29 -08:00
Scott Nonnenberg
e45b3e97d0
Update protos with planned changes for stories 2021-11-15 17:20:09 -08:00
Fedor Indutny
5076972c5b
Add exhaustive UUIDKind checks to MessageReceiver 2021-11-15 16:10:18 -08:00
Evan Hahn
ede34ecee3
Enable noImplicitOverride TypeScript compiler option 2021-11-12 15:44:20 -08:00
Fedor Indutny
066a23a6a9
Preliminary support for destinationUuid field 2021-11-12 13:26:52 -08:00
Evan Hahn
5619eeca83
Upgrade Prettier to 2.4.1 2021-11-11 16:43:05 -06:00
Evan Hahn
d6ffb08a63
Disable class-methods-use-this lint rule 2021-11-04 16:04:51 -05:00
Evan Hahn
74fde10ff5
Prefer import type when importing types 2021-10-26 14:15:33 -05:00
Scott Nonnenberg
51af6947d4
onDecryptionError/onRetryRequest: Don't run until queue is empty 2021-10-20 14:50:00 -07:00
Fedor Indutny
4ef0bf96cc
Uint8Array migration 2021-09-23 17:49:05 -07:00
Fedor Indutny
b9d6497cb1
Better types for WebAPI 2021-09-21 17:58:03 -07:00
Scott Nonnenberg
250a89d953
Additional logging, new ability to force Conversation 'change' event 2021-09-20 11:51:30 -07:00
Fedor Indutny
b83c00f43f
Defer unprocessed item attempt update 2021-09-17 16:11:24 -07:00
Josh Perez
65ddf0a9e8
Import log instead of using it off of window 2021-09-17 14:27:53 -04:00
Fedor Indutny
091f3653e7
Ensure conversation id in storeSession 2021-09-10 10:17:32 -07:00
Fedor Indutny
c7e7d55af4
UUID-keyed lookups in SignalProtocolStore 2021-09-09 19:38:11 -07:00