Commit Graph

138 Commits

Author SHA1 Message Date
Fedor Indutny 11e9b971f0 Provide third HKDF parameter putRemoteAttestation 2021-03-19 16:57:35 -04:00
Scott Nonnenberg a48b3e381e
Support for joining New Groups via invite links 2021-01-29 14:16:48 -08:00
Evan Hahn 10ace53845
Remove unnecessary query param for /v1/certificate/delivery endpoint 2021-01-27 11:10:00 -06:00
Evan Hahn 8a72607fa7 Prefer `type` to `interface` and add an ESLint rule 2021-01-25 18:29:00 -08:00
Scott Nonnenberg 3a726ad311
Adjust timeouts for better performance 2021-01-11 13:59:46 -08:00
Scott Nonnenberg 3f58a9b762
Clean up UUID-handling to prepare for future 2020-12-09 17:26:37 -05:00
Scott Nonnenberg 2b8ae412e0
New feature flag with ability to migrate GV1 groups 2020-12-01 10:42:35 -06:00
Scott Nonnenberg 2c69f2c367 Support for GV1 -> GV2 migration 2020-11-23 14:48:12 -05:00
Evan Hahn 72e4ec95ce Minor: fix typo in WebAPI error message 2020-11-23 14:45:44 -05:00
Evan Hahn 022c4bd0f4 Initial group calling support 2020-11-23 14:45:44 -05:00
Evan Hahn 8bfaf598af Add license headers across the project 2020-11-04 13:03:13 -06:00
Evan Hahn 313faab774 Outbound link previews 2020-10-12 18:10:08 -04:00
Sidney Keese 7b6d8f55d6 Migrate textsecure to eslint
Co-authored-by: Chris Svenningsen <chris@carbonfive.com>
2020-10-12 18:10:07 -04:00
Chris Svenningsen b5df9b4067 Migrate messages, conversations, conversation_view, background to TS
Co-authored-by: Sidney Keese <sidney@carbonfive.com>
2020-10-12 18:10:07 -04:00
iomintz 6e7930f7a9
WebAPI.initialize: add missing validity check for proxyUrl (#4565) 2020-10-12 18:08:43 -04:00
Scott Nonnenberg 58af7adeaa
Update to the new gv2 capability string 2020-09-25 15:19:03 -05:00
Scott Nonnenberg 04d3769bd4
Update to the new gv2 capability string 2020-09-22 20:30:25 -04:00
Scott Nonnenberg bc3b61db1d Add p-queue timeouts; fix search crash; improve promise rejection logging 2020-09-21 15:42:51 -04:00
Scott Nonnenberg 9fae795e8f
GroupsV2: Register GV2 capabilities properly 2020-09-10 15:03:17 -07:00
Josh Perez d87335f5a6 Support server-determined build expiration 2020-09-09 17:34:57 -07:00
Scott Nonnenberg 7a02cc815d Support for new GroupV2 groups 2020-09-09 17:34:57 -07:00
Josh Perez 1ce0959fa1 Storage Service: Write 2020-09-09 17:34:57 -07:00
Ken Powers 8290881bd8 Support for Contact Discovery Service 2020-09-09 17:34:57 -07:00
Evan Hahn fd06ac9d57 Sticker improvements 2020-09-01 17:11:16 -04:00
Evan Hahn 333feaa81e A few logging improvements 2020-08-28 15:42:24 -04:00
Evan Hahn b32445cd20
Upgrade node-fetch to latest version, v2.6.0 2020-08-11 14:23:37 -07:00
Scott Nonnenberg 0fee1f9935
WebAPI.getProfileURL: Use profileKeyVersion by itself if we have it 2020-08-10 15:39:06 -04:00
Scott Nonnenberg 901179440f Merge contacts when we discover split or duplicated contacts 2020-07-30 13:17:45 -07:00
Josh Perez 8502d23576 Social Graph: read-only state sync with primary device 2020-07-30 13:10:05 -07:00
Josh Perez 5b83485c89 Update safety number change warning dialog 2020-07-30 13:10:05 -07:00
Peter Thatcher d3a27a6442 Calling support 2020-07-30 13:08:47 -07:00
Ken Powers 83574eb067 Message Requests 2020-07-30 13:08:44 -07:00
Scott Nonnenberg 36a0d1efcf Increase maximum frame size for incoming websocket messages 2020-07-27 14:39:19 -07:00
Ken Powers d6d2d242d4
Always use sender certificates including UUID 2020-05-07 13:51:37 -07:00
Scott Nonnenberg d13c3d3350 Link flow: Show 'you must upgrade' on 409 server response 2020-05-05 14:18:46 -07:00
Ehren Kret a0e9791623 Add support for receiving attachments from CDN 2 2020-04-29 17:42:41 -07:00
Scott Nonnenberg c1dfe3e5b4
Adds support for versioned profiles
* Add zkgroup library

* tsconfig.json: Prettier wants to mess it up. :0(

* Initial take on versioned profile fetches

* Fix up the logging in getProfiles() - warn instead of error

* Introduce new VERSIONED_PROFILE_FETCH flag

* Update zkgroup dependency to v0.5.0

* Fix lint-deps - new zkgroup library brought in new debug dep

* ts/zkgroup: Introduce some commonly-used helper functions

* Update to latest serverPublicParams

* Don't derive profileKeyVersion unless flag is set
2020-04-15 16:12:28 -07:00
Scott Nonnenberg b7d56def82 Moves libtextsecure to Typescript
* Starting to work through lint errors

* libsignal-protocol: Update changes for primary repo compatibility

* Step 1: task_with_timeout rename

* Step 2: Apply the changes to TaskWithTimeout.ts

* Step 1: All to-be-converted libtextsecure/*.js files moved

* Step 2: No Typescript errors!

* Get libtextsecure tests passing again

* TSLint errors down to 1

* Compilation succeeds, no lint errors or test failures

* WebSocketResources - update import for case-sensitive filesystems

* Fixes for lint-deps

* Remove unnecessary @ts-ignore

* Fix inability to message your own contact after link

* Add log message for the end of migration 20

* lint fix
2020-04-15 14:45:11 -07:00
Renamed from ts/WebAPI.ts (Browse further)