Commit Graph

320 Commits

Author SHA1 Message Date
Jordan Rose
9def3f0478 Podfile: Fix use of RingRTC as a development pod 2023-03-07 10:33:37 -08:00
Jim Gustafson
5e790d5824
Update to RingRTC v2.25.1 2023-03-03 00:10:28 -08:00
Jim Gustafson
dadb70f07d Update to RingRTC v2.25.0 2023-02-22 13:58:09 -08:00
Max Radermacher
49a13d35ae Clean up Podfile 2023-02-14 11:20:50 -08:00
Max Radermacher
5d1cf35c1d Remove dependency on OpenSSL
It was replaced with functionality provided by libsignal.
2023-02-13 23:12:58 -08:00
Pete Walters
9c8e74bd6b
Update LibSignalClient to v0.22.2 2023-02-10 18:39:59 -06:00
Max Radermacher
0777d28d0e Update LibSignalClient to v0.22.1 2023-02-09 13:57:20 -08:00
Sasha Weiss
bcfd291f9c
Add support for username hashing 2023-02-08 16:02:02 -08:00
Adam Mork
07e2e95165
Update to MobileCoin 4.0.0 2023-02-08 14:19:36 -06:00
Jordan Rose
42969ce9da Update to RingRTC v2.24.0
RingRTC (along with WebRTC) are no longer included as submodules; now
they are a nearly-standard pod dependency with an extra "prebuild
checksum" to download the built artifacts.

This removes the submodules as well as the storing of the WebRTC
artifact repo commit in the app's Info.plist. RingRTC already prints
the current version in debug logs, so we're not losing anything.
2023-02-06 11:53:14 -08:00
Adam Mork
660a90c3f1
Update to MobileCoin 4.0.0 (prerelease) 2023-02-02 10:50:12 -06:00
Evan Hahn
04a604cd3e Update SSZipArchive to 2.5.2
This updates `SSZipArchive` from 2.1.4 to 2.5.2.

Notably, we need a custom podspec because we need to lower its
deployment target.

Tested this by submitting debug logs successfully.
2022-11-01 16:23:22 -05:00
Adam Mork
aac2f37150
[Payments] Update the MobileCoin dependency to the latest 1.2.2 release
* update MobileCoin to release v1.2.x, add new 1.2.x testNet enclave
values, migrate deprecated function calls to new alternatives.

* Add new top-level error to convertMCError

use staging for now

* Add mainnet enclave values, revert production/staging environment change from testing. Add comment about libmobilecoin static libraries needing to be built on signal build machine.

* add 2.x series enclave measurements

* Add intel hardening advisory for the new 2.x series of enclaves. This hardening advisory being added has no effect on the 1.2.x enclaves, but is required for the 2.x enclaves.

* Remove commented enclave measurements, change Logger.error to Logger.warn (some failed requests is expected for long-living connections), Add in new testNet enclave measurements

* Update to LibMobileCoin v1.2.2

Co-authored-by: Nora Trapp <nora@signal.org>
2022-08-22 13:08:40 -07:00
Evan Hahn
97322aaef8 Use libwebp on CocoaPods instead of our vendored one
This should have no direct user impact.

We recently upgraded `libwebp` in
e3fa7848e5. At the time, [the official
pod][cocoapod] was out of date, so we vendored it in. It's now there, so
we should use it.

[cocoapod]: https://cocoapods.org/pods/libwebp
2022-08-18 07:38:13 -05:00
Evan Hahn
6305cdc0e6
SignalServiceKit: no longer a separate pod
SignalServiceKit is currently a separate pod. This makes merges tedious
and error-prone. Ultimately, it slows us down. It might've made sense as
a standalone library before, but it's so tightly integrated now that it
isn't useful to have it be separate.

This changes that, and makes SignalServiceKit a "normal" target.

IMO, most of this change isn't that exciting—just a bunch of changes to
scaffolding. There's one slightly spicier change: our generated
`Acknowledgements.plist` is now a little more clever.

Co-authored-by: Max Radermacher <max@signal.org>
2022-08-05 16:14:15 -05:00
Evan Hahn
e3fa7848e5 Upgrade libwebp to v1.2.3
This upgrades `libwebp` (a subdependency of `YYImage`) from v1.0.2 to its
latest version, v1.2.3.

As of this writing, the [libwebp pod does not have v1.2.3][0], so I
modified [the v1.2.1 podspec][1] and vendored it into the project. You
may wish to [compare the v1.2.1 podspec with my version][2]. In the long
term, I will try to get this change submitted upstream.

I tested this with a variety of stickers (usually sent as WebP), [WebP's
alpha test images][2], and [a test WebP image from the Desktop app][3].

[0]: 11f1b72927/Specs/1/9/2/libwebp
[1]: b04c376a0d/Specs/1/9/2/libwebp/1.2.1/libwebp.podspec.json
[2]: https://gist.github.com/EvanHahn-Signal/c87c301d2d7359df961bb85dd531a91c
[3]: https://developers.google.com/speed/webp/gallery2#webp_links
[4]: 412f07d2a2/fixtures/512x515-thumbs-up-lincoln.webp
2022-08-01 15:55:52 -05:00
Max Radermacher
f254c83382 Remove cocoapods-binary
This was added in f1993e7c79 to support ZXing, but ZXing was removed
in 8d15ab618e & 430d7e9469, so this is no longer used.
2022-04-26 09:20:14 -07:00
Nora Trapp
05313c3725 Update to LibSignalClient v0.15.0 2022-03-24 11:55:45 -07:00
Nora Trapp
0f56118382 Update to MobileCoin v1.2.0-pre10 2022-03-04 15:07:50 -08:00
Michelle Linington
34ded18ac8 Update Pods 2022-03-04 14:17:13 -08:00
Michelle Linington
da599d4b0b Link against development RingRTC 2022-03-04 14:16:56 -08:00
Jordan Rose
be373b7ec6 Update SignalCoreKit again 2022-02-01 14:48:38 -08:00
Jordan Rose
14dab5acae Update SignalCoreKit 2022-02-01 14:48:38 -08:00
Jordan Rose
01518551eb Import SignalMetadataKit wholesale into SignalServiceKit
The only modifications are those necessary to build as part of SSK.
The follow-up commits will clean that up a bit.
2022-01-26 09:50:55 -08:00
Ehren Kret
6c37348f8a Update to iOS 12.2 deployment target 2022-01-24 12:47:21 -06:00
Nora Trapp
db115606e3 Remove ZKGroup 2022-01-03 12:00:19 -08:00
Jordan Rose
38fbb3bbc2 Copy in AFNetworking's query string encoding implementation
Matthew previously stripped this down in our fork of AFNetworking; at
this point there's no benefit to it living in a separate repo and
separate target. With this we can remove the AFNetworking target
completely.
2021-12-17 14:52:59 -08:00
Matthew Chen
c0c72ef3fb Introduce WebSocketFactory. 2021-11-03 19:48:48 -07:00
Matthew Chen
bcc693e8e7 Move MobileCoin SDK to SignalUI. 2021-11-02 14:26:04 -03:00
Matthew Chen
539dff09e4 Move MobileCoin SDK to SignalUI. 2021-11-02 14:26:03 -03:00
Matthew Chen
60593ee26f Move MobileCoin SDK to SignalUI. 2021-11-02 14:26:02 -03:00
Matthew Chen
8472571d0a Rename NSE. 2021-10-28 11:40:26 -03:00
Michelle Linington
88ee15fb07 Update Pods for SignalCoreKit changes 2021-10-21 21:38:30 -07:00
Michelle Linington
77b7ea5c40 Fix a whole bunch of warnings 2021-10-21 21:11:26 -07:00
Matthew Chen
cf428a14a1 Add SignalUI framework target. 2021-10-19 09:40:04 -03:00
Matthew Chen
b9b66646ff Add SignalUI framework target. 2021-10-19 09:39:52 -03:00
Matthew Chen
2f595d3f12 Move Bonmot to main app. 2021-10-18 12:38:47 -03:00
Matthew Chen
d402636225 Simplify AFNetworking usage. 2021-10-15 10:50:35 -03:00
Michelle Linington
1c733c6d0a Update Pods 2021-09-20 12:47:59 -07:00
Michelle Linington
6c915fd01c Update Pods 2021-09-18 00:01:02 -07:00
Matthew Chen
201ade1b67 Fix build break. 2021-09-08 18:04:47 -03:00
Matthew Chen
a86a25bdae Fix broken tests. 2021-09-08 14:59:01 -03:00
Matthew Chen
0ca1ac29f5 Fix "no session for transient message" errors. 2021-09-08 09:53:46 -03:00
Michelle Linington
88309e7cc1 Fix various issues with TESTABLE_RELEASE
While running some perf tests on database queries, I was building
against TESTABLE_RELEASE to have things built with optimizations.

I saw some weird behavior:
- Share extension would crash
- No logs would be recorded

I went through and cleaned up some things that appeared incorrect with
how we handled TESTABLE_RELEASE
2021-09-03 16:11:19 -07:00
Nora Trapp
4100463c15 Merge SignalCoreKit changes 2021-09-03 11:42:21 -07:00
Nora Trapp
2814ab7629 Convert to new Promise library 2021-09-03 11:41:34 -07:00
Michelle Linington
4eeb4e34be Tests should be runnable in Profiling scheme 2021-08-26 20:57:06 -07:00
Nora Trapp
430d7e9469 Revert "Restore ZXing"
This reverts commit 5677ad9cfe.
2021-07-28 12:08:34 -07:00
Nora Trapp
5677ad9cfe Restore ZXing 2021-07-27 19:34:05 -07:00
Matthew Chen
8d15ab618e Remove ZXing. 2021-07-02 16:23:46 -03:00