Commit graph

51 commits

Author SHA1 Message Date
Michael Kirk 4c5d46e8f8 Custom photo picker, respects theme/call banner
- share GridViewCell
- Multiple image selection, with feature flag, cant currently approve multiple
2018-11-05 22:23:40 -06:00
Matthew Chen f6591fac25 Add debug UI for multi-image sends. 2018-11-02 13:04:05 -04:00
Michael Kirk d6a6024f37 Update PromiseKit 2018-10-13 16:04:20 -06: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
Matthew Chen f9eab5cd24 Merge remote-tracking branch 'origin/release/2.29.2' 2018-09-07 15:27:50 -04:00
Matthew Chen 34a05cdb85 Refine image validation. 2018-09-06 16:04:01 -04:00
Matthew Chen f4d1f25656 Merge remote-tracking branch 'origin/release/2.29.1' 2018-09-04 09:27:41 -04:00
Michael Kirk e715bf9ea2 image sizing
Validate image sizing
2018-08-30 19:21:38 -06:00
Matthew Chen 5b50e81b4f Rename fail macros in Swift. 2018-08-27 10:27:48 -04:00
Matthew Chen d4f7b5d45b Respond to CR. 2018-08-27 10:02:28 -04:00
Matthew Chen e1049fdfcc Respond to CR. 2018-08-27 10:02:28 -04:00
Matthew Chen cf6f3841a8 Apply new Swift logging. 2018-08-27 10:02:28 -04:00
Michael Kirk 82e559d11b Use swift macros for main thread assert 2018-08-23 10:29:49 -06:00
Matthew Chen dfc39b4a1d Tidy files. 2018-08-01 09:46:05 -04:00
Matthew Chen e6bc37d941 Tidy files. 2018-08-01 09:46:05 -04:00
Matthew Chen 3cd6a33aa6 Fix build warnings. 2018-06-01 12:39:13 -04:00
Matthew Chen f63d25a172 Migrate to Swift 4. 2018-05-30 15:05:02 -04:00
Matthew Chen 28f7142a59 Auto-migration to Swift 4. 2018-05-30 15:05:02 -04:00
Matthew Chen 0620cb60df Normalize image colorspace. 2018-05-17 16:31:04 -04:00
Matthew Chen 73206c08ad Respond to CR. 2018-05-11 14:29:28 -04:00
Matthew Chen b62d6900da Fix crash converting images in SAE. 2018-05-11 11:26:04 -04:00
Matthew Chen bd116f8938 Share contacts from share extension. 2018-05-07 17:04:55 -04:00
Matthew Chen 6caa5b87b6 Add more asserts around thread in SAE. 2018-04-13 14:59:38 -04:00
Michael Kirk 9adf79c546 Always remove metadata
// FREEBIE
2018-03-27 11:24:18 -04:00
Collin B. Stuart 6f7b4a6e43 Strip media metadata.
- removes non-orientation metadata from image and video attachments

- option to disable the feature

// FREEBIE
2018-03-09 12:09:55 -05:00
Matthew Chen 47a6d844c9 Refine handling of unsafe filename characters. 2018-02-27 09:43:26 -05:00
Matthew Chen 7132179c5c Fix handling of HEIF/HEIC when attaching image "as document." 2018-02-20 13:51:55 -05:00
Matthew Chen d648a258d1 Merge branch 'hotfix/2.19.7' 2018-02-16 10:49:52 -05:00
Joshua Lund 2c18a75d12 Update to the new GitHub organization name 2018-02-13 10:52:07 -05:00
Matthew Chen 9c84bdb105 Add support for images as documents. 2018-01-30 10:12:08 -05:00
Matthew Chen d1c17167c6 Don't send text files as text messgaes. 2018-01-25 13:27:16 -05:00
Matthew Chen 979386ee9e Improve handling of text and url shares. 2018-01-25 13:26:10 -05:00
Matthew Chen 085975ebe9 Prepopulate caption field with URL. 2018-01-25 13:26:10 -05:00
Matthew Chen 6a80db7844 Enable support for sharing urls in SAE. 2018-01-25 13:23:00 -05:00
Michael Kirk e20f44024c WIP: Support sending attachment captions
Looks fine on other clients, but locally we don't display the caption.

// FREEBIE
2017-12-20 14:26:53 -06:00
Michael Kirk 813f4e474e Respond to CR
// FREEBIE
2017-12-12 11:09:39 -05:00
Michael Kirk 8996741277 DocumentPicker converts to mp4 when necessary
// FREEBIE
2017-12-11 20:34:47 -05:00
Michael Kirk 031e40d090 Use SignalAttachment logic in conversation view too
// FREEBIE
2017-12-11 20:16:34 -05:00
Michael Kirk 56f1bf0305 cleanup 2017-12-11 19:37:49 -05:00
Michael Kirk 90e9b4a4f2 WIP - send all video types 2017-12-11 14:05:55 -05:00
Michael Kirk 538b3e5fd5 Async API for video export
// FREEBIE
2017-12-11 14:04:26 -05:00
Michael Kirk 21fd7b040e Ensure sent video is mp4
// FREEBIE
2017-12-11 14:03:40 -05:00
Matthew Chen bf09c805b9 Respond to CR. 2017-12-11 11:27:53 -05:00
Matthew Chen c918279597 Convert image attachment thresholds to be based on file size. 2017-12-11 10:37:20 -05:00
Matthew Chen 80ae5e0fcf Respond to CR. 2017-12-11 10:37:20 -05:00
Matthew Chen 11b4848530 Respond to CR. 2017-12-11 10:37:20 -05:00
Matthew Chen 84061cca9f Change image resizing/quality behavior, preferring smaller images in the common case. 2017-12-11 10:37:20 -05:00
Matthew Chen 55aa5eef6c Clean up ahead of PR. 2017-12-11 10:37:20 -05:00
Matthew Chen 125aabb0a3 Change image resizing/quality behavior, preferring smaller images in the common case. 2017-12-11 10:37:20 -05:00
Michael Kirk 56fe9d057d Attachment Approval
// FREEBIE
2017-12-07 10:13:06 -05:00