Commit Graph

5629 Commits

Author SHA1 Message Date
Matthew Chen
99034619be Fix rare crash around downloading quoted thumbnails. 2021-01-27 14:19:21 -03:00
Matthew Chen
90df86ba7a Protect oversize text messages from auto-download settings. 2021-01-27 11:35:10 -03:00
Matthew Chen
d2e6058ef6 Fix "empty snippet" issue in conversation list view. 2021-01-27 10:08:49 -03:00
Nora Trapp
f1f788c05c Feature flags for .qa. 2021-01-25 16:34:45 -08:00
Nora Trapp
aacaa09faa Feature flags for .production. 2021-01-25 16:34:32 -08:00
Matthew Chen
9a17bff403 Use nickname in group short names, part 2. 2021-01-25 15:14:43 -08:00
Matthew Chen
4df4700f63 Use nickname in group short names, part 2. 2021-01-25 15:14:43 -08:00
Matthew Chen
77b2ad834f Use nickname in group short names, part 1. 2021-01-25 15:14:43 -08:00
Matthew Chen
279b5778af Fix crash in OWSURLSession. 2021-01-25 15:12:23 -08:00
Matthew Chen
1902e7656c Fix broken test. 2021-01-25 19:39:40 -03:00
Nora Trapp
05efbd07e5 Feature flags for .qa. 2021-01-23 22:13:58 -08:00
Nora Trapp
5ddfb0468f Feature flags for .beta. 2021-01-23 22:13:51 -08:00
Nora Trapp
4f2978cb32 Feature flags for .production. 2021-01-23 22:13:43 -08:00
Matthew Chen
34b6da7b2f Fix build warnings; fix crash around url session errors. 2021-01-23 23:10:54 -03:00
Matthew Chen
b890fdeed8 Fix build warnings. 2021-01-23 22:45:33 -03:00
Nora Trapp
cb8d0afb66 Feature flags for .qa. 2021-01-23 16:00:50 -08:00
Nora Trapp
0682f957d5 Feature flags for .beta. 2021-01-23 15:59:25 -08:00
Nora Trapp
9dbe47b1aa PR Feedback 2021-01-23 11:13:15 -08:00
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