Commit Graph

5611 Commits

Author SHA1 Message Date
Nora Trapp
8dd274cf8e Consolidate blurring logic 2021-01-23 11:13:15 -08:00
Nora Trapp
40a605b97d Normalize images before getting pixel size 2021-01-23 11:13:15 -08:00
Michelle Linington
8d884c8ff5 Rename strong reference property to satisfy swift lint
Calling it "strongDelegate" tricks swift lint into correcting the
property to be weak. Renamed it "strongReference" to work around this.
2021-01-23 10:38:41 -08:00
Michelle Linington
1ddef2bc3a Fixes a leak in OWSURLSession
NSURLSession maintains a strong reference to its delegate and requires
explicit invalidation to clean up its state, otherwise it leaks memory.

This change introduces an proxy delegate for the underlying
NSURLSession. OWSURLSession retains the NSURLSession, NSURLSession
retains the proxy delegate.

The proxy delegate will retain the OWSURLSession and create a retain
cycle only while there are outstanding URLSessionTasks. Once all tasks
have been resolved, the cycle is broken and everything will be dealloced
(assuming no external references to the OWSURLSession still exist).
2021-01-23 10:38:41 -08:00
Nora Trapp
3cc4f6d67b Feature flags for .qa. 2021-01-22 19:19:33 -08:00
Nora Trapp
76bd3553b9 Feature flags for .beta. 2021-01-22 19:19:24 -08:00
Matthew Chen
4aca268be1 Profile bio refinements. 2021-01-22 23:28:35 -03:00
Michelle Linington
593cb20482 Remove sticker tooltip 2021-01-22 13:51:50 -08:00
Nora Trapp
cc8a84d7c8 Feature flags for .qa. 2021-01-22 13:21:46 -08:00
Nora Trapp
e5ab34a4ae Feature flags for .beta. 2021-01-22 13:21:37 -08:00
Nora Trapp
f3ed06f20d Feature flags for .qa. 2021-01-22 10:26:04 -08:00
Nora Trapp
53decba6d6 Feature flags for .beta. 2021-01-22 10:25:57 -08:00
Matthew Chen
81c5d61f92 Improve upload progress. 2021-01-22 10:24:36 -08:00
Matthew Chen
f10cfc8533 Fix over-zealous assert around de-deduplicating group membership. 2021-01-22 10:24:36 -08:00
Matthew Chen
8c6efe8a1d Only show sticker tooltip if sticker pack installed on linked device. 2021-01-22 10:24:35 -08:00
Nora Trapp
750a1ef98d Feature flags for .qa. 2021-01-21 20:30:09 -08:00
Nora Trapp
cbe3c519ee Feature flags for .beta. 2021-01-21 20:29:21 -08:00
Nora Trapp
980fedc6dd Show sharing suggestions megaphone on linked devices 2021-01-21 20:00:52 -08:00
Nora Trapp
35db1c05a5 Add privacy setting to disable sharing suggestions 2021-01-21 20:00:52 -08:00
Nora Trapp
7230dabbc8 Add support for sharing suggestions 2021-01-21 20:00:29 -08:00
Nora Trapp
2c0f7d668c Feature flags for .qa. 2021-01-21 18:42:38 -08:00
Nora Trapp
5d848752af Feature flags for .beta. 2021-01-21 18:42:31 -08:00
Matthew Chen
143ab9d268 Refine sending of null message after session reset. 2021-01-21 18:31:47 -08:00
Matthew Chen
d2ffe52943 Refine sending of null message after session reset. 2021-01-21 18:31:47 -08:00
Matthew Chen
1546fbe72a Use dynamic type in contact cell subtitles. 2021-01-21 22:32:42 -03:00
Matthew Chen
2fd7da2265 Fix GRDB schema migration. 2021-01-21 22:31:09 -03:00
Matthew Chen
fe85746aaf Small fixes. 2021-01-21 22:31:08 -03:00
Matthew Chen
d0985f43fe Refine handling of unverified safety number changes. 2021-01-21 22:31:08 -03:00
Matthew Chen
d3eb77d6d3 Refine handling of unverified safety number changes. 2021-01-21 22:31:08 -03:00
Matthew Chen
23857a6a0c Refine handling of unverified safety number changes. 2021-01-21 22:31:08 -03:00
Matthew Chen
01039fbc5c Refine handling of unverified safety number changes. 2021-01-21 22:31:08 -03:00
Matthew Chen
1cdaa74eae Add builder for error messages. 2021-01-21 22:31:08 -03:00
Nora Trapp
e1ce224928 PR Feedback 2021-01-21 17:00:18 -08:00
Nora Trapp
ba8c43cb9b wallpaper settings 2021-01-21 17:00:17 -08:00
Michelle Linington
52ffb5492a Fix tests 2021-01-21 16:21:59 -08:00
Michelle Linington
e06d9d1f6e PR Feedback 2021-01-21 16:20:40 -08:00
Michelle Linington
8fa45c7df9 Reduce unnecessary table loads in ManageStickersViewController 2021-01-21 16:20:35 -08:00
Michelle Linington
bfe76a3d34 Reduce profile avatar size cap
The server was rejecting 4 MB data blobs. Reduced down to something the
server handles. This is such an extreme size for a png that we'll
likely never hit it.
2021-01-21 16:17:25 -08:00
Michelle Linington
40e785cd6a Lint 2021-01-21 16:17:24 -08:00
Michelle Linington
f996a732d8 Show tapped avatar in conversation settings full screen 2021-01-21 16:17:24 -08:00
Matthew Chen
ecf85462ae Respond to CR. 2021-01-21 21:07:59 -03:00
Matthew Chen
8aaea5ea2d Refine file size formatting. 2021-01-21 21:05:41 -03:00
Matthew Chen
7b5785fce8 Reuse media views. 2021-01-21 21:00:36 -03:00
Matthew Chen
ce7f557158 Skip media downloads during calls. 2021-01-21 20:56:10 -03:00
Matthew Chen
0e6b32f4ed Overhaul attachment downloads pipeline. 2021-01-21 20:41:08 -03:00
Matthew Chen
a25d29aa6f Overhaul attachment downloads pipeline. 2021-01-21 20:41:08 -03:00
Matthew Chen
5b3ee89f7c Overhaul attachment downloads pipeline. 2021-01-21 20:41:08 -03:00
Matthew Chen
41cfab7585 Overhaul attachment downloads pipeline. 2021-01-21 20:41:08 -03:00
Matthew Chen
3e71eb4cd5 Overhaul attachment downloads pipeline. 2021-01-21 20:41:08 -03:00
Matthew Chen
22156a93fe Update attachment progress UI appearance. Overhaul OWSURLSession completion handling. 2021-01-21 20:41:06 -03:00