Commit Graph

31 Commits

Author SHA1 Message Date
Michelle Linington
56f3f3d3d8 IOS-832: Device transfer flow should handle missing folders
A user hit an issue on an iPhone 5s. Device transfer would fail because
their app group was missing the ProfileAvatars directory.

This directory is lazily created as a post-launch job at background QoS.
It's not too big of a deal and it'll be created on demand if necessary.
The 5s was probably CPU constrained enough to never have a chance to run
any background jobs.

The fix is to just have our recursive filesystem traversal ignore any
unknown directory errors. This is only used in a couple places and the
behavior makes sense in each place.
2020-09-10 15:27:10 -07:00
Matthew Chen
aa6b269269 Resumable attachment download. 2020-08-01 12:18:13 -03:00
Matthew Chen
587b8f2c36 Resumable attachment download. 2020-08-01 12:18:13 -03:00
Matthew Chen
7246c613d5 Fix more build warnings. 2020-04-10 13:17:08 -03:00
Michael Kirk
7e3f03d03f Swift interop: throwable method for DRY composable error handling 2019-08-15 09:36:57 -06:00
Michael Kirk
12b786fe9d convert DataSource to protocol, double down on URLs vs filepaths 2019-08-12 15:11:40 -06:00
Matthew Chen
eccfad0f46 Merge remote-tracking branch 'private/release/2.41.0' 2019-08-06 12:12:39 -03:00
Matthew Chen
4f03f969fc Rework "view once" messages. 2019-08-01 16:13:37 -03:00
Matthew Chen
4d05761980 Remove YDB connections. 2019-07-25 10:35:19 -03:00
Matthew Chen
b57ebb05d4 Clean up orphans. 2019-05-21 15:55:28 -04:00
Matthew Chen
987726df6c Temp files. 2019-03-27 12:37:22 -04:00
Michael Kirk
f243914fe5 NSTemporaryDirectory -> OWSTemporaryDirectory/AccessibleAfterFirstAuth
Remove redundant move - AFNetworking alread moves the CFNetwork tmp file for
us.
2018-10-03 14:01:36 -06:00
Michael Kirk
6560358375 Fix failed attachment downloads in beta 2018-10-02 14:38:05 -06:00
Matthew Chen
d0c691bb7f Lazy attachment restores. 2018-04-02 09:27:34 -04:00
Matthew Chen
08ba7c85ed Clean up ahead of PR. 2018-03-20 11:23:56 -04:00
Michael Kirk
e020b0ff99 Persist default sound so we can use it for fallback notifications
// FREEBIE
2018-02-26 15:41:35 -05:00
Matthew Chen
706006539f Improve the robustness of the migration logic. 2018-02-20 20:16:12 -05:00
Matthew Chen
d91507d897 Improve the robustness of the migration logic. 2018-02-20 17:37:14 -05:00
Michael Kirk
b4359b33dd Fix "lose messages received while in background"
A moved legacy DB has the NSFileProtectionClassComplete, meaning it's
never accessible while the device is locked.

// FREEBIE
2018-02-15 06:23:47 -08:00
Matthew Chen
6f7f1b3b08 Improve pre-migration testing tools. 2018-01-30 10:06:46 -05:00
Matthew Chen
9d909025c9 Handle UIImage shares. 2018-01-25 15:17:51 -05:00
Matthew Chen
5770a18b08 Handle text shares like URLs. 2018-01-25 13:26:10 -05:00
Matthew Chen
7e769de5d2 Remove spurious warning. 2018-01-25 13:07:56 -05:00
Matthew Chen
59933ce1d6 Fix rebase breakage. 2018-01-11 11:15:50 -05:00
Matthew Chen
16f7317579 Complete backup restore/import. 2018-01-11 10:44:03 -05:00
Matthew Chen
272a90d269 Add import back up UI. Begin work on import backup logic. 2018-01-11 10:42:57 -05:00
Matthew Chen
9ac2383a2c Retain changes from session database branch. 2018-01-10 12:18:29 -05:00
Matthew Chen
085f8a6f64 Clean up ahead of PR. 2017-12-19 12:02:58 -05:00
Matthew Chen
bf21d0c0ed Enable logging in SAE; rework log file management to include multiple log directories. 2017-12-01 12:55:47 -05:00
Matthew Chen
cd11ec5698 Add app group, share keychain. Take a first pass at file migration to shared data directory. 2017-11-30 09:49:01 -05:00
Matthew Chen
2d8a7b03d0 Respond to CR.
// FREEBIE
2017-11-16 10:12:47 -05:00