Commit Graph

553 Commits

Author SHA1 Message Date
Matthew Chen
c0c72ef3fb Introduce WebSocketFactory. 2021-11-03 19:48:48 -07:00
Matthew Chen
539dff09e4 Move MobileCoin SDK to SignalUI. 2021-11-02 14:26:03 -03:00
Matthew Chen
9211ac8fa3 Move MobileCoin SDK to SignalUI. 2021-11-02 14:26:03 -03:00
Matthew Chen
ac83129534 Move MobileCoin SDK to SignalUI. 2021-11-02 14:26:02 -03:00
Matthew Chen
079bb08067 Move MobileCoin SDK to SignalUI. 2021-11-02 14:26:02 -03:00
Matthew Chen
3d59efc2cd Add PhoneNumberUtil singleton. 2021-10-22 19:06:14 -03:00
Matthew Chen
5d780d1589 Apply script to normalize includes and imports. 2021-10-21 09:21:10 -03:00
Matthew Chen
1b655d63f5 Reduce async work done on NSE launch. 2021-10-21 08:53:15 -03:00
Matthew Chen
21a8175795 Add SignalUI framework target. 2021-10-19 09:39:53 -03:00
Matthew Chen
fbde0356f7 Add SignalUI framework target. 2021-10-19 09:39:53 -03:00
Matthew Chen
93ba483ec5 Add SignalUI framework target. 2021-10-19 09:39:53 -03:00
Matthew Chen
b5ed609b42 Add SignalUI framework target. 2021-10-19 09:39:53 -03:00
Michelle Linington
3a649b3636 Use server timestamp when filtering stale calls 2021-10-08 11:51:36 -07:00
Matthew Chen
eed697bddd Handle certain call messages sync. 2021-09-22 12:12:10 -07:00
Matthew Chen
692c637e80 Handle certain call messages sync. 2021-09-22 12:11:09 -07:00
Michelle Linington
155c5b6a80 PR Feedback. Remove unused return value 2021-09-21 18:44:00 -07:00
Michelle Linington
3f956130c6 Ignore call messages that won't trigger CallKit ring 2021-09-21 18:44:00 -07:00
Michelle Linington
4eeb4e34be Tests should be runnable in Profiling scheme 2021-08-26 20:57:06 -07:00
Matthew Chen
3485c230bd Revise app versioning scheme. 2021-08-23 18:23:50 -03:00
Matthew Chen
93d9c15073 Revise app versioning scheme. 2021-08-23 18:23:49 -03:00
Matthew Chen
4b77df38fa Refine names. 2021-08-18 15:01:04 -03:00
Matthew Chen
d51213a8f5 Refine error localizedDescription. 2021-08-18 15:01:04 -03:00
Matthew Chen
36a090e319 Clean up ahead of PR. 2021-08-18 14:25:38 -03:00
Matthew Chen
fcdca12cf5 Deprecate REST, Part 1
* Port socket manager to Swift.
* Clean up HTTP request success/failure state & errors.
* Rework network manager.
* Rework HTTP errors.
* Rework errors "properties": isRetryable, etc.
* Fix test breakage.
2021-08-18 14:25:36 -03:00
Matthew Chen
bbe71f224a NSE Fixes. 2021-08-17 16:23:03 -03:00
Michelle Linington
4126fd9b69 Record uniqueIds of messages that receipt messages refer to 2021-07-29 20:40:40 -07:00
Michelle Linington
0acbfe8359 PR Feedback 2021-07-29 15:17:00 -07:00
Michelle Linington
c8a764b563 Sender Key store
The exact API might change as the rest of the sender key works is
fleshed out.
2021-07-21 22:58:50 -07:00
Matthew Chen
0023e9a432 Rework blocking manager. 2021-07-21 16:38:36 -07:00
Matthew Chen
fad5d66bbb Rework blocking manager. 2021-07-21 16:37:59 -07:00
Nora Trapp
4186f8d164 PR feedback 2021-07-09 14:10:44 -07:00
Nora Trapp
b487e3a2fa Make custom notification sounds accessible to the NSE 2021-07-09 14:10:44 -07:00
Nora Trapp
e65b722230 Don't perform duplicate decryption of relayed call messages 2021-07-06 13:41:36 -07:00
Matthew Chen
94ef153b84 Evacuate some LRUCaches when app enters the background. 2021-07-01 09:53:03 -03:00
Matthew Chen
a66029a124 Apply LRUCache everywhere. 2021-06-30 16:01:08 -03:00
Matthew Chen
b9bc35e74b Apply LRUCache everywhere. 2021-06-30 16:01:08 -03:00
Jordan Rose
3732103dc4 Extract WebRTC dependency from SignalMessaging to Signal app
SignalMessaging was picking up WebRTC.framework even though that
dependency wasn't declared, but it doesn't actually need it. Extract
those APIs to an extension in the Signal app target.
2021-06-29 16:05:12 -07:00
Michelle Linington
82fe9e636e Move default audio state from soloAmbient to ambient
AVPlayer will interrupt background audio whenever a video begins
playing. This is true even if the video playback is muted. By switching
from soloAmbient to ambient, the system allows background playback to
continue.

This is important for looping mp4 videos
2021-06-24 16:16:03 -07:00
Nora Trapp
858b87ac51 Restrict various AppReadiness blocks to main app only 2021-06-24 12:20:46 -07:00
Matthew Chen
1d5b2aa2f5 Rework avatar building and caching. 2021-06-18 14:01:32 -03:00
Matthew Chen
e1149c9337 Rework user profile writes. 2021-06-18 13:46:39 -03:00
Nora Trapp
9035b8ac8a PR Feedback 2021-06-03 08:38:30 -07:00
Nora Trapp
b6e33ec162 Only relay encrypted data to main app when receiving a call 2021-06-03 08:38:30 -07:00
Nora Trapp
f1e4113fb2 Handle call messages in the NSE 2021-06-03 08:38:29 -07:00
Matthew Chen
a101b5dc93 Start work on chat colors. 2021-05-25 16:22:28 -03:00
Michelle Linington
b0f0051942 Declare more captcha things public and rename one more class
I'm not sure why Xcode isn't flagging this locally. Apologies for the
commit spam.
2021-05-07 17:53:25 -07:00
Michelle Linington
fb1bc08bbd Spam challenge solving infrastructure
Most of this is hidden behind a feature flag and untested. Still waiting
on server support to exercise these endpoints.

- Builds out skeleton for tracking arbitrary spam challenges
- Records a push challenge in response to a server push
- Records a captcha challenge in response to a server precondition
  rejection when fetching prekeys or sending messages

Push challenges should be good to go (once tested). Captcha challenges
still require some work to pause sending and present the captcha to the
user. Server communication for captcha challenges is complete.
2021-05-07 12:13:36 -07:00
Nora Trapp
cbfe3dac8e Fix standard sound enum 2021-05-05 15:25:54 -03:00
Nora Trapp
3a74bc21b2 Re-style voice memo recording view 2021-05-05 15:25:54 -03:00
Nora Trapp
5cc790ece2 Autoplay subsequent audio messages 2021-04-29 18:01:21 -07:00