Commit graph

6142 commits

Author SHA1 Message Date
Michael Kirk 60de39ab0a Merge branch 'mkirk/handle-empty-gallery' 2018-03-20 18:35:53 -04:00
Michael Kirk b5503cc00a Handle empty media gallery
// FREEBIE
2018-03-20 18:35:42 -04:00
Michael Kirk 3ad6fbf212 Merge branch 'mkirk/gallery-label' 2018-03-20 18:35:08 -04:00
Michael Kirk f261fbcf05 Dynamic gallery label
// FREEBIE
2018-03-20 18:35:05 -04:00
Michael Kirk 77b83d5a30 Merge branch 'mkirk/gallery-badges' 2018-03-20 18:34:38 -04:00
Michael Kirk 6939b1749b remove gradient per myles
// FREEBIE
2018-03-20 18:18:36 -04:00
Michael Kirk 0025661a8d Extract GradientView
// FREEBIE
2018-03-20 17:29:35 -04:00
Michael Kirk 7754d3d94f Real assets
// FREEBIE
2018-03-20 17:27:07 -04:00
Michael Kirk 021c0db559 WIP: waiting on assets
// FREEBIE
2018-03-20 17:07:29 -04:00
Michael Kirk 6b47987342 Merge branch 'mkirk/fix-attachment-sending' 2018-03-20 14:38:03 -04:00
Michael Kirk 9c57a1f7e1 Don't generate thumbnail until attachment has been saved
// FREEBIE
2018-03-20 12:16:36 -04:00
Matthew Chen dce6c376cd Merge branch 'charlesmchen/incrementalBackup4' 2018-03-20 11:25:15 -04:00
Matthew Chen e8a716f2b4 Update cocoapods. 2018-03-20 11:25:00 -04:00
Matthew Chen 34d79265a1 Respond to CR. 2018-03-20 11:23:56 -04:00
Matthew Chen 5c3bc74d06 Move backup protos to their own proto schema. 2018-03-20 11:23:56 -04:00
Matthew Chen ab720a3100 Move backup protos to their own proto schema. 2018-03-20 11:23:56 -04:00
Matthew Chen 08ba7c85ed Clean up ahead of PR. 2018-03-20 11:23:56 -04:00
Matthew Chen 18d39f15f2 Clean up ahead of PR. 2018-03-20 11:23:56 -04:00
Matthew Chen 2c680cadad Clean up ahead of PR. 2018-03-20 11:23:56 -04:00
Matthew Chen 610bbacd21 Clean up ahead of PR. 2018-03-20 11:23:56 -04:00
Matthew Chen 2ebd8668b4 Fix bugs in new db representation, add batch record deletion, improve memory management. 2018-03-20 11:23:56 -04:00
Matthew Chen fed524ba16 Rework database snapshot representation, encryption, etc. 2018-03-20 11:23:56 -04:00
Matthew Chen 0c81d5656f Rework database snapshot representation, encryption, etc. 2018-03-20 11:23:56 -04:00
Matthew Chen ca7c75a081 Rework database snapshot representation, encryption, etc. 2018-03-20 11:23:56 -04:00
Matthew Chen 1bbd41f725 Improve perf of database snapshots. 2018-03-20 11:23:56 -04:00
Michael Kirk 267e85915a Avoid overflow
// FREEBIE
2018-03-20 11:19:07 -04:00
Michael Kirk 84ed75f60b Fix typo
// FREEBIE
2018-03-20 11:17:39 -04:00
Michael Kirk 0e70515223 Merge branch 'mkirk/gallery-review' 2018-03-20 11:15:13 -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 d9a2effff6 CR: remove "k" from non constant
// FREEBIE
2018-03-20 11:15:09 -04:00
Michael Kirk 999b0f0f9c Merge branch 'mkirk/hide-all-media-from-settings-gallery' 2018-03-20 11:14:48 -04:00
Michael Kirk 352f5c1059 Prefer back button over dismiss
In some context this makes more sense, and it will never be confusing.

// FREEBIE
2018-03-20 11:12:11 -04:00
Michael Kirk 00b5316976 Don't show the "All Media" button when viewing the slider from the
gallery via settings.

In this context it makes more sense for the user to hit the "dismiss"
button to get "back" to "All Media"

// FREEBIE
2018-03-20 11:12:11 -04:00
Matthew Chen 21cb4e892f Merge branch 'charlesmchen/reduceGiphyPageSize' 2018-03-20 10:28:33 -04:00
Matthew Chen 40416bcdcb Reduce Giphy page size. 2018-03-20 10:28:08 -04:00
Michael Kirk 47afa9917c "Bump build to 2.23.0.1." 2018-03-19 21:00:08 -04:00
Michael Kirk abaa2939cb Merge branch 'mkirk/update-footer' 2018-03-19 20:59:50 -04:00
Michael Kirk 2095cbb0c6 Update footer when returning to details via Tile view
// FREEBIE
2018-03-19 20:57:28 -04:00
Michael Kirk 5fdadf5bde Merge branch 'mkirk/ensure-video-stopped-2' 2018-03-19 20:47:12 -04:00
Michael Kirk 428802aee8 Only try to stop video when it *is* a video
// FREEBIE
2018-03-19 20:30:19 -04:00
Michael Kirk f037101af6 Merge branch 'mkirk/avoid-audio-crash' 2018-03-19 20:29:42 -04:00
Michael Kirk 2412ab092e Avoid occasional audio crash
// FREEBIE
2018-03-19 20:24:47 -04:00
Michael Kirk 803260950e Merge branch 'mkirk/ensure-video-stopped' 2018-03-19 20:17:28 -04:00
Michael Kirk 24eb4bf443 Stop any video whenever leaving PageView
// FREEBIE
2018-03-19 20:15:47 -04:00
Michael Kirk 5ec3df93fa Merge branch 'mkirk/tile-view-perf' 2018-03-19 19:54:10 -04:00
Michael Kirk 10ee054d0c Avoid flicker when loading more on top
Adjusting content offset in the CollectionViewLayout.prepareLayout
method avoids a flicker vs. the previous way we were doing it.

// FREEBIE
2018-03-19 19:52:59 -04:00
Michael Kirk 19988a872a Improve scroll-jank on Gallery Tile View
- Don't fetch data unnecessarily
- Use CATransaction to avoid insertion animations. They are off screen
  anyway.

// FREEBIE
2018-03-19 19:42:03 -04:00
Michael Kirk fa6d9bfb38 Merge branch 'mkirk/swipe-perf' 2018-03-19 19:37:43 -04:00