Commit Graph

194 Commits (471870d8a51214ed4c20474f45ae72dbccb670d5)

Author SHA1 Message Date
Matthew Chen b883209f91 Refine logging. 7 years ago
Michael Kirk 920a82564f Merge tag '2.29.3.3' 7 years ago
Matthew Chen 22afe39cd0 Respond to CR. 7 years ago
Matthew Chen 2ea751bbac Clean up attachment downloads. 7 years ago
Matthew Chen 32f1ce9473 Clean up attachment downloads. 7 years ago
Matthew Chen 9b94580dae Update assertions.
* Streamline precompiled headers.
* Remove obsolete assertions in Constraints.h.
7 years ago
Michael Kirk 08c0b248ed fix group avatar updates and quote generation
don't shadow same-named variable
7 years ago
Matthew Chen f9eab5cd24 Merge remote-tracking branch 'origin/release/2.29.2' 7 years ago
Michael Kirk c7662b5a86 Step 2/2 %s/OWSAssert/OWSAssertDebug for existing previous assert semantics
Going forward, we want to prefer safer asserts, but we don't want to blindly
apply crashing asserts across the codebase
7 years ago
Matthew Chen a2fe4dbe39 Refine image validation. 7 years ago
Matthew Chen 34a05cdb85 Refine image validation. 7 years ago
Matthew Chen 27fa5dc2ef Make thumbnail logic thread-safe to being called on main thread. 7 years ago
Matthew Chen a04aa259ed Fix bug in sync loading of thumbnails. 7 years ago
Matthew Chen 5bdbf76b08 Cache "is valid image/video" properties. 7 years ago
Matthew Chen b1f2b9e75c Clean up thumbnail-related logic. 7 years ago
Matthew Chen b91751a114 Respond to CR. 7 years ago
Matthew Chen 748b243156 Restore full-screen thumbnails. 7 years ago
Matthew Chen 72a71c185b Improve handling of thumbnails dir. 7 years ago
Matthew Chen 3a5d1877da Reduce thumbnail sizes. 7 years ago
Matthew Chen ec83ed182b Clean up. 7 years ago
Matthew Chen 32bf47fc74 Don't track thumbnail metadata in db; improve thumbnail quality. 7 years ago
Matthew Chen 8026d34651 Remove full-screen thumbnail. 7 years ago
Matthew Chen 2daa66fdf6 Use thumbnails dir. 7 years ago
Matthew Chen a9096209e9 Add failure methods to thumbnail service. 7 years ago
Matthew Chen 8748dc9b2e Modify new thumbnail system to include video and GIF thumbnails. 7 years ago
Matthew Chen 206432fdf0 Add failure methods to thumbnail service. 7 years ago
Matthew Chen f6e792c707 Add failure methods to thumbnail service. 7 years ago
Matthew Chen 3437361d70 Use new thumbnails in media gallery thumbnails. 7 years ago
Matthew Chen ac4365e1c9 Add OWSThumbnailService. 7 years ago
Matthew Chen 1831f0b1f8 Reorder AttachmentStream methods. 7 years ago
Matthew Chen 446ceb2b9c Rename AttachmentStream methods. 7 years ago
Matthew Chen 498828f93c Rename AttachmentStream methods. 7 years ago
Matthew Chen 44a3a81469 Update logging and asserts in hotfix changes. 7 years ago
Matthew Chen f4d1f25656 Merge remote-tracking branch 'origin/release/2.29.1' 7 years ago
Michael Kirk e715bf9ea2 image sizing
Validate image sizing
7 years ago
Matthew Chen f473f60111 Apply OWS log functions in Objective-C. 7 years ago
Matthew Chen cc5a480baa Apply OWS log functions in Objective-C. 7 years ago
Matthew Chen 03829779cc Apply OWS log functions in Objective-C. 7 years ago
Matthew Chen c0d486b1f1 Apply OWS log functions in Objective-C. 7 years ago
Matthew Chen 3a50377902 Apply OWS log functions in Objective-C. 7 years ago
Matthew Chen 713606271c Rename fail macros in Obj-C. 7 years ago
Michael Kirk c05700fd98 Log in OWSFail
step 1: rename OWSFail->OWSFailNoProdLog
step 2: rename OWSProdLogAndFail->OWSFail
step 3: Convert OWSFailNoProdLog->OWSFail where we want logging
step 4: Rename OWSCFail->OWSCFailNoProdLog
step 5: Rename OWSProdLogAndCFail -> OWSCFail
step 6: Convert OWSCFailNoProdLog -> OWSCFail where we want logging
7 years ago
Matthew Chen 45e782c243 Revamp orphan data cleaner. 7 years ago
Matthew Chen 8d814a5210 Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen d3adb80242 Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen ab31e5a07f Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen 4a4edc68e7 Clean up data. 7 years ago
Matthew Chen 9334143f5e Organize attachments. 7 years ago
Matthew Chen 0518b335d8 Refine recipient device updates. 7 years ago
Matthew Chen d14f764b50 Streamline SignalRecipient. 7 years ago
Matthew Chen 1607aa7f57 Image content types. 7 years ago
Matthew Chen 18a8efe1a9 Respond to CR. 7 years ago
Matthew Chen e8d0d9ecc0 Index oversize text for search. 7 years ago
Matthew Chen dd49c6225f Auto-size contact cells everywhere. 7 years ago
Michael Kirk c15fea4eca merge avatar with existing
// FREEBIE
8 years ago
Michael Kirk d3cda951ef Fix/Simplify outgoing attachment proto building
// FREEBIE
8 years ago
Michael Kirk a10ae1835e respond to code review
// FREEBIE
8 years ago
Michael Kirk 48b4791b13 Download avatar attachment stream
// FREEBIE
8 years ago
Matthew Chen 9c93099515 Fix incomplete asserts. 8 years ago
Matthew Chen c269add62f Respond to CR. 8 years ago
Matthew Chen 76995e4594 Enforce quoted reply edge cases. 8 years ago
Michael Kirk 90486aa49c Inline method with one caller, fix formatting
// FREEBIE
8 years ago
Michael Kirk 1d4c0624be Clarify variable names
// FREEBIE
8 years ago
Michael Kirk f1714bf252 Handle synced quotes
// FREEBIE
8 years ago
Michael Kirk 4399967e99 Comment cleanup, remove unnecessary includes
// FREEBIE
8 years ago
Michael Kirk fa2e1ba89b Fetch thumbnail when not available locally
// FREEBIE
8 years ago
Michael Kirk 42f454b075 Generate thumbnail when quoted attachment is available locally
// FREEBIE
8 years ago
Michael Kirk 351f9ea263 Simplify attachment processor
We've accepted all attachment types for a long while now.

// FREEBIE
8 years ago
Michael Kirk 51a4298c14 WIP: Send attachment info in protobuf (no thumbnails yet)
// FREEBIE
8 years ago
Michael Kirk 0b8b3b4f16 WIP: towards avatar attachment streams
// FREEBIE
8 years ago
Matthew Chen ca4757b8d1 Clean up ahead of PR. 8 years ago
Matthew Chen 2b3b08d7c5 Respond to CR. 8 years ago
Matthew Chen f230717b68 Modify attachment emojis. 8 years ago
Matthew Chen 2278cdd589 Modify cells to show quoted messages. 8 years ago
Matthew Chen c36297a9ad Elaborate 'quoted reply' variations in the Debug UI. 8 years ago
Matthew Chen 8e4f2ca0ed Rework proto schema changes for quoted replies.
Sketch out model changes for quoted replies.

Sketch out quoted reply input preview.

Send quoted messages protos.

Update models to reflect quoted messages.

Rework interaction initializers.

Rework interaction initializers.

Add debug UI methods for generating quoted reply variations.

Add debug UI methods for generating quoted reply variations.
8 years ago
Matthew Chen 4602ad9014 Respond to CR. 8 years ago
Matthew Chen 8254052bb2 Lazy restore attachments. 8 years ago
Matthew Chen 1dced463cb Lazy restore attachments. 8 years ago
Matthew Chen b2ac8f10e2 Lazy restore attachments. 8 years ago
Matthew Chen 61dc2c0249 Add local cache of backup fragment metadata. 8 years ago
Matthew Chen e88f5643f7 Add local cache of backup fragment metadata. 8 years ago
Matthew Chen d0c691bb7f Lazy attachment restores. 8 years ago
Michael Kirk 394cc6637c Backport comments from translations
// FREEBIE
8 years ago
Michael Kirk 9c57a1f7e1 Don't generate thumbnail until attachment has been saved
// FREEBIE
8 years ago
Michael Kirk 2465d6df00 CR: ensure image is safe before generating thumbnail
// FREEBIE
8 years ago
Michael Kirk 32bf9d52a1 CR: Delete thumbnail with directory
// FREEBIE
8 years ago
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
8 years ago
Michael Kirk a0bd2c2324 OrphanDataCleaner shouldn't delete active thumbnails
// FREEBIE
8 years ago
Michael Kirk 4aeff7ba67 Thumbnail generation
// FREEBIE
8 years ago
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
8 years ago
Matthew Chen 4746948dfe Respond to CR. 8 years ago
Matthew Chen d6f4db1523 Rename TSStorageManager to OWSPrimaryStorage. 8 years ago
Matthew Chen c17a819366 Elaborate request factory. 8 years ago
Matthew Chen 47a6d844c9 Refine handling of unsafe filename characters. 8 years ago
Matthew Chen 706006539f Improve the robustness of the migration logic. 8 years ago
Matthew Chen d91507d897 Improve the robustness of the migration logic. 8 years ago
Matthew Chen 90b8ee4849 Merge remote-tracking branch 'origin/hotfix/2.19.7' 8 years ago
Matthew Chen 77bf0b66f5 Fix attachment MIME types. 8 years ago
Matthew Chen d648a258d1 Merge branch 'hotfix/2.19.7' 8 years ago