Commit graph

53 commits

Author SHA1 Message Date
Matthew Chen 9c93099515 Fix incomplete asserts. 2018-04-13 15:01:25 -04:00
Matthew Chen c269add62f Respond to CR. 2018-04-10 15:58:08 -04:00
Matthew Chen 76995e4594 Enforce quoted reply edge cases. 2018-04-10 15:56:55 -04:00
Michael Kirk 1d4c0624be Clarify variable names
// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk 4399967e99 Comment cleanup, remove unnecessary includes
// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk 42f454b075 Generate thumbnail when quoted attachment is available locally
// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk 51a4298c14 WIP: Send attachment info in protobuf (no thumbnails yet)
// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk 0b8b3b4f16 WIP: towards avatar attachment streams
// FREEBIE
2018-04-09 12:47:56 -04:00
Matthew Chen ca4757b8d1 Clean up ahead of PR. 2018-04-05 10:57:51 -04:00
Matthew Chen 2278cdd589 Modify cells to show quoted messages. 2018-04-04 10:12:07 -04:00
Matthew Chen 4602ad9014 Respond to CR. 2018-04-02 09:39:13 -04:00
Matthew Chen 8254052bb2 Lazy restore attachments. 2018-04-02 09:28:12 -04:00
Matthew Chen 1dced463cb Lazy restore attachments. 2018-04-02 09:28:12 -04:00
Matthew Chen b2ac8f10e2 Lazy restore attachments. 2018-04-02 09:28:12 -04:00
Matthew Chen 61dc2c0249 Add local cache of backup fragment metadata. 2018-04-02 09:27:34 -04:00
Matthew Chen e88f5643f7 Add local cache of backup fragment metadata. 2018-04-02 09:27:34 -04:00
Matthew Chen d0c691bb7f Lazy attachment restores. 2018-04-02 09:27:34 -04:00
Michael Kirk 9c57a1f7e1 Don't generate thumbnail until attachment has been saved
// FREEBIE
2018-03-20 12:16:36 -04:00
Michael Kirk 2465d6df00 CR: ensure image is safe before generating thumbnail
// FREEBIE
2018-03-20 11:15:09 -04:00
Michael Kirk 32bf9d52a1 CR: Delete thumbnail with directory
// FREEBIE
2018-03-20 11:15:09 -04:00
Michael Kirk 8e9eb6d212 CR: Use a less-likely-to-collide thumbnail name for legacy attachments
If you had a legacy file foo.jpg and a file foo-thumbnail.jpg, we'd use
the foo-thumbnail.jpg as the thumbnail for foo.

This isn't a problem with modern attachments as each is in it's own
directory.

// FREEBIE
2018-03-20 11:15:09 -04:00
Michael Kirk 4aeff7ba67 Thumbnail generation
// FREEBIE
2018-03-19 14:22:03 -04:00
Michael Kirk 985af76d0b WIP: All Media view
TODO

- [ ] label video/gif
- [ ] reasonable load perf
- [ ] reasonable scroll perf
- [ ] select / delete
- [ ] cancel share action from media details returns signal style

NICE TO HAVE

- [ ] fancy in/out animation from All Media <-> tiles
- [ ] label video thumbnail with duration stamp
- [ ] Other perf?
- [ ] dbModified?
- [ ] select / send
- [ ] darken section header a shade once it's "active"

DONE

- [x] tap to refocus on new media
- [x] generate test data
- [x] section headers
- [x] equal spacing around cells

// FREEBIE

WIP WIP extract datasouce to GalleryViewController

- [x] swipe through is broken
- [x] present animation
- [x] dismiss animation

// FREEBIE
2018-03-19 14:22:03 -04:00
Matthew Chen 4746948dfe Respond to CR. 2018-03-14 10:02:44 -03: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
Matthew Chen 799949e546 Refine sync messages. 2018-02-02 10:56:16 -05:00
Matthew Chen 9ac2383a2c Retain changes from session database branch. 2018-01-10 12:18:29 -05:00
Matthew Chen 245304116f Respond to CR. 2017-12-20 11:19:09 -05:00
Matthew Chen 9a990b58e8 Respond to CR. 2017-12-19 11:38:25 -05:00
Matthew Chen 5dcf4b3bbc Clean up ahead of PR. 2017-12-19 11:16:01 -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 8d4e9b4565 Respond to CR. 2017-11-30 10:02:04 -05:00
Matthew Chen edaf65223a Migrate to shared data NSUserDefaults. 2017-11-30 09:49:01 -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 d8ae5841d6 Respond to CR.
// FREEBIE
2017-11-20 14:50:43 -05:00
Matthew Chen b3d17ea192 Improving handling of edge cases in conversation view. 2017-11-20 14:44:10 -05:00
Matthew Chen 45c7d80d97 Improving handling of edge cases in conversation view. 2017-11-20 14:44:10 -05:00
Matthew Chen 6d4a05bbea Improving handling of edge cases in conversation view. 2017-11-20 14:44:10 -05:00
Matthew Chen 2d8a7b03d0 Respond to CR.
// FREEBIE
2017-11-16 10:12:47 -05:00
Matthew Chen d7b0424c75 Don't back up profile pics, attachments or gifs.
// FREEBIE
2017-11-16 09:59:02 -05:00
Matthew Chen 6e840ff956 Fix build warnings from XCode 9. 2017-11-09 02:52:44 -05:00
Matthew Chen db8a381960 Merge remote-tracking branch 'origin/release/2.18.0' 2017-11-01 12:02:37 -04:00
Michael Kirk 6eeb78157a Include size in attachment pointer
// FREEBIE
2017-10-26 15:11:37 -07:00
Matthew Chen fb408f980c Remove JSQ.
// FREEBIE
2017-10-12 16:23:48 -04:00
Matthew Chen 400f536e37 Respond to CR.
// FREEBIE
2017-09-19 09:30:01 -04:00
Matthew Chen 9dfebb2d4b Apply OWSFail() in more places.
// FREEBIE
2017-09-11 10:20:48 -04:00
Matthew Chen b95b5f69de Apply DataSource to message sender.
// FREEBIE
2017-09-11 10:20:48 -04:00
Matthew Chen bb1681f965 Respond to CR.
// FREEBIE
2017-08-30 12:53:02 -04:00
Matthew Chen cc048b3971 Respond to CR.
// FREEBIE
2017-08-30 12:46:21 -04:00