Commit Graph

400 Commits

Author SHA1 Message Date
Fedor Indutny ebafc933b9
Use X-Signal-Receive-Stories header 2022-10-04 17:48:25 -07:00
Fedor Indutny 8b705d3b55
Sync `storiesDisabled` flag on AccountRecord 2022-10-04 10:53:36 -07:00
Scott Nonnenberg 2b2594c20a
Stories: Fix sender key persistence, pipe story: true into sends 2022-09-30 09:59:36 -07:00
Fedor Indutny 373f121887
Extend cleanSignedPreKeys to support PNI 2022-09-27 09:33:56 -07:00
Fedor Indutny 59da9c7ae5
Stop using deprecated PniCredential 2022-09-21 09:18:48 -07:00
Fedor Indutny e0ae5fc27c
Wait for contact sync in MessageReceiver 2022-09-20 16:53:38 -07:00
Jamie Kyle eb10aafd7c
tsc:allowUnreachableCode, eslint:no-unreachable, assert->assertDev 2022-09-15 13:17:15 -06:00
Fedor Indutny e3f418105b
Improve challenge handling 2022-09-14 17:31:37 -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
Evan Hahn aa86d8bf82
Lint .d.ts files 2022-09-06 13:51:34 -07:00
Scott Nonnenberg 6dd2b73855
Storage/getItemsState: Warn if not ready, log on success as well 2022-09-01 18:05:47 -07:00
Fedor Indutny dda21701c5
Pass proxyUrl to LegacyCDS 2022-08-31 13:45:58 -07:00
Fedor Indutny 7632f31cf2
Show internal error toast on CDS errors 2022-08-30 17:03:42 -07:00
Evan Hahn 39354b11b7
Prefer `type` to `interface` in `.d.ts` files 2022-08-30 16:24:04 -05: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
Fedor Indutny 6e3ec163dc
Drop pnpChangeNumber capability 2022-08-24 09:34:00 -07:00
Fedor Indutny c18fa35354
Remove unused CDSH code 2022-08-23 09:38:46 -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 5ec78374d1
Use just the timestamp for story expiration 2022-08-17 10:56:41 -07:00
Fedor Indutny 647335086d
Use ourPni when creating our own contact 2022-08-16 16:52:34 -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
Fedor Indutny 68a0c44e19
Register pnpChangeNumber capability 2022-08-11 09:52:24 -07:00
Scott Nonnenberg faf6c41332
Early preparations for PNP Contact Merging 2022-08-09 14:39:00 -07:00
Fedor Indutny 62962e4950
Support iasVersion 4 2022-08-08 18:09:44 -07:00
Scott Nonnenberg fde917c983
A few fixes for the emoji bundled with stickers 2022-08-08 11:21:00 -07:00
Josh Perez dca848389c
Sync stories sent to a group 2022-08-04 21:13:26 -04:00
Fedor Indutny d8a7e99c81
Consistent log lines for WebAPI requests 2022-08-03 09:23:29 -07: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
Scott Nonnenberg 2b648b79a4
Upgrade to libsignal-client v0.19.2 2022-08-01 18:31:24 -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
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
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
Fedor Indutny 5c2016ec40
Refresh PNI on startup 2022-07-18 15:32:00 -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 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