Commit Graph

246 Commits

Author SHA1 Message Date
Matthew Chen
86b8eb08b8 Remove YapDatabase.
Apply asset from design.

Fix rebase breakage.
2021-03-25 11:41:16 -03:00
Jordan Rose
68a27a76e2 Move AxolotlKit model classes into SSK and remove the dependency
We still need the AxolotlKit model classes to migrate old sessions,
but we don't need any of the actual protocol support. This also
means we can drop HKDFKit.

Additionally, we do still use some utilities from AxolotlKit:

- AxolotlExceptions.h: NSException names, should eventually be
  replaced by NSErrors everywhere

- NSData+keyVersionByte.h: prepend/remove public key type byte,
  should eventually be replaced by strong types (ECPublicKey)

- SPKProtocolContext.h: defines the SPKProtocol{Read,Write}Context
  marker protocols, should be replaced by direct use of
  SDSAny{Read,Write}Transaction
2021-03-22 16:17:47 -07:00
Jordan Rose
f9025cc0d8 Update SignalClient, and stop using cocoapods-binary to build it
Includes updates for SignalMetadataKit and SignalServiceKit for the
change requiring SenderCertificates to always have UUIDs.
2021-02-23 14:18:16 -08:00
Jordan Rose
2d7ebc03a1 Re-apply "Update and prebuild SignalClient"
Also pulls in an update for SignalCoreKit build flags that were
causing a problem.
2021-02-08 12:02:43 -08:00
Matthew Chen
7dd7bac83f Revert "Merge branch 'jrose/prebuild-SignalClient'"
This reverts commit 632e28680e, reversing
changes made to a411ecbb73.
2021-02-05 18:10:10 -03:00
Matthew Chen
f92befcad3 Update Cocoapods. 2021-02-05 17:37:16 -03:00
Jordan Rose
04d5a12723 Update and prebuild SignalClient (and CocoaLumberjack, by dependency)
This requires declaring a generic "Release" configuration in the
Podfile for the prebuilds to use.
2021-02-05 10:02:19 -08:00
Matthew Chen
02042cd26e Update Cocoapods. 2021-01-29 17:35:50 -03:00
Jordan Rose
8d141db975 Update Pods for SignalMetadataKit using SignalClient 2021-01-28 12:03:49 -08:00
Jordan Rose
dec438c67f Add SignalClient to the Podfile 2021-01-28 12:03:49 -08:00
Michelle Linington
fb282411cb Warn for ZKGroup, take a different approach for debug symbols
Jordan highlighted that we might be able to get away with just setting
COPY_PHASE_STRIP off for the resulting product. It appears to work
great!
2021-01-23 19:47:39 -08:00
Michelle Linington
f12aafae65 Update project to keep symbols in Debug config
Also makes changes to our Podfile to suppress warnings in projects not
actively being worked on while in the Debug configuration

Fixes the Profile configuration so it works on the simulator
2021-01-23 19:33:24 -08:00
Jordan Rose
29f7194500 Strip internal symbols from Pods frameworks
See https://github.com/CocoaPods/CocoaPods/issues/10277
2020-12-16 09:36:25 -08:00
Nora Trapp
18ab5f3181 Switch Argon2 pod name 2020-10-15 15:55:49 -07:00
Nora Trapp
d5b28a6987 Improve acknowledgements generation 2020-09-23 14:44:13 -07:00
Nora Trapp
b7cda17fe8 Research Megaphone 2020-09-21 12:08:36 -07:00
Matthew Chen
2dfd9f4b49 Respond to CR. 2020-09-02 13:44:15 -03:00
Matthew Chen
825cb06edb Animated sticker support. 2020-09-02 13:44:15 -03:00
Matthew Chen
a097d96164 Fix cocoapods issue around preprocessor definitions. 2020-06-03 11:03:39 -03:00
Nora Trapp
57a810658a Goodbye iOS 10 2020-05-27 17:34:32 -07:00
Matthew Chen
f7be178b41 Leverage session sender key indices when merging recipients. 2020-05-07 11:21:23 -03:00
Matthew Chen
73418e4087 Clean up ahead of PR. 2020-03-17 10:29:28 -03:00
Matthew Chen
f88bf3fb9d Update ZKGroup library to v0.4.0. 2020-03-17 10:29:28 -03:00
Michael Kirk
8a2ae1a8fe force compiler error with missing property synthesis 2020-03-09 16:52:40 -06:00
Michael Kirk
880781c439 update zxing 2020-02-28 14:44:57 -06:00
Michael Kirk
6d71f3a5dc update PromiseKit 2020-02-28 14:44:56 -06:00
Michael Kirk
ed43a667ab remove unnused subset of AFNetworking
some of it's not yet compatible with catalyst, and we don't use it anyway.
2020-02-28 14:44:56 -06:00
Michael Kirk
f198d9037d Merge tag '3.5.0.5' 2020-02-19 19:26:05 -07:00
Michael Kirk
d73210b17f update pods 2020-02-18 11:47:48 -07:00
Nora Trapp
0b583a7df7 Add check to see if blurhash is dark 2020-02-17 18:38:50 -08:00
Nora Trapp
88ac10de05 Notification Service Extension
The NSE should only run on iOS 13.3 or later where the "filtering" entitlement
is available since our notifications don't contain any content and will often
not trigger any user visible content. We control this by setting the deployment
target to iOS 13.3.

This does not handle calls as it's currently impossible to wake the main app or
launch CallKit from within the NSE. Should we reach a point where we need to use
this extension in production the service will need to be able to differentiate
between call and non-call messages and deliver them as VOIP or Vanilla pushes as
appropriate. Alternatively, Apple may introduce some way for us to signal the
main app that a call message has been received.

This does not currently address the potential for the NSE and the main app to be
running and trying to process messages at the same time. As long as the
websocket is connected and the main app is processing messages in a timely
fashion the NSE will never be called since the service will not send pushes for
these messages, but censorship circumvention users and users where the websocket
is disconnected for some reason will legitimately receive pushes and we will
want to process those messages. How we will handle these cases requires further
thought since just terminating the NSE when the app launches is not sufficient.
We could potentially do something like terminate the NSE everytime the main app
runs the message fetcher job which should only happen if either the user
pulls-to-refresh on the conversation list or the websocket is actively connected
and receiving messsages. I plan to address this in a follow-up pull request.

Currently this code will not ever be run since the service never sends vanilla
push notifications. Eventually we will need to add logic into the main app to:
a) detect we're on iOS 13.3 or later and b) update a flag on the service telling
it to stop using VOIP pushes for non-call messages. The API for requesting this
from the service does not yet exist.
2020-01-30 11:44:41 -08:00
Nora Trapp
b7411bcb40 Implement final KBS master key encryption 2020-01-20 16:16:57 -08:00
Michael Kirk
942d912a6f update libPhoneNumber 2020-01-16 11:41:46 -07:00
Michael Kirk
0971fc73d9 update to using https for public repos 2020-01-16 11:05:55 -07:00
Matthew Chen
72f912dce3 Versioned profile changes, etc. 2020-01-08 13:54:54 -03:00
Nora Trapp
1a183e97ad PR Feedback 2020-01-02 12:06:44 -08:00
Orta Therox
f1993e7c79 Convert to using cocoapods-binary for ZXing 2020-01-02 12:03:57 -08:00
Orta Therox
469e169962 Convert to just using CocoaPods for dependencies 2020-01-02 12:03:57 -08:00
Nora Trapp
6299b7506d Using RingRTC podspec to make swift version independent (currently using dev
version of v0.2.0)
2020-01-02 12:01:53 -08:00
Matthew Chen
29150102cb Revert group and profile changes. 2019-12-11 20:41:54 -08:00
Matthew Chen
1817b6b395 Update and fetch versioned profiles. 2019-11-21 13:27:59 -03:00
Matthew Chen
f8c170a785 Respond to CR. 2019-11-20 14:34:24 -03:00
Matthew Chen
add3d0956b Disable bitcode. 2019-11-20 14:11:58 -03:00
Matthew Chen
4813491a26 Versioned profiles, part 1. 2019-11-19 13:41:29 -03:00
Matthew Chen
3db3fa9734 Respond to CR. 2019-10-08 09:17:28 -03:00
Matthew Chen
e9952ddeec Add blur hashes to outgoing attachments. 2019-10-08 09:17:28 -03:00
Matthew Chen
e4d942ef68 Add blurhash pod. 2019-10-08 09:17:27 -03:00
Nora Trapp
2ecb94a5ee Fix stale hash reference for YDB pod 2019-10-05 18:58:01 -07:00
Matthew Chen
23a93181f2 Suppress YDB queue handling during YDB-to-GRDB migration. 2019-09-25 10:10:04 -03:00
Matthew Chen
b2e440d319 Suppress YDB queue handling during YDB-to-GRDB migration. 2019-09-25 10:07:47 -03:00