Commit Graph

6275 Commits (66a454ce4ffd9737da0f716a856159575f916c44)
 

Author SHA1 Message Date
Matthew Chen 18d39f15f2 Clean up ahead of PR. 7 years ago
Matthew Chen 2c680cadad Clean up ahead of PR. 7 years ago
Matthew Chen 610bbacd21 Clean up ahead of PR. 7 years ago
Matthew Chen 2ebd8668b4 Fix bugs in new db representation, add batch record deletion, improve memory management. 7 years ago
Matthew Chen fed524ba16 Rework database snapshot representation, encryption, etc. 7 years ago
Matthew Chen 0c81d5656f Rework database snapshot representation, encryption, etc. 7 years ago
Matthew Chen ca7c75a081 Rework database snapshot representation, encryption, etc. 7 years ago
Matthew Chen 1bbd41f725 Improve perf of database snapshots. 7 years ago
Michael Kirk 267e85915a Avoid overflow
// FREEBIE
7 years ago
Michael Kirk 84ed75f60b Fix typo
// FREEBIE
7 years ago
Michael Kirk 0e70515223 Merge branch 'mkirk/gallery-review' 7 years ago
Michael Kirk 2465d6df00 CR: ensure image is safe before generating thumbnail
// FREEBIE
7 years ago
Michael Kirk 32bf9d52a1 CR: Delete thumbnail with directory
// FREEBIE
7 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
7 years ago
Michael Kirk d9a2effff6 CR: remove "k" from non constant
// FREEBIE
7 years ago
Michael Kirk 999b0f0f9c Merge branch 'mkirk/hide-all-media-from-settings-gallery' 7 years ago
Michael Kirk 352f5c1059 Prefer back button over dismiss
In some context this makes more sense, and it will never be confusing.

// FREEBIE
7 years ago
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
7 years ago
Matthew Chen 21cb4e892f Merge branch 'charlesmchen/reduceGiphyPageSize' 7 years ago
Matthew Chen 40416bcdcb Reduce Giphy page size. 7 years ago
Michael Kirk 47afa9917c "Bump build to 2.23.0.1." 7 years ago
Michael Kirk abaa2939cb Merge branch 'mkirk/update-footer' 7 years ago
Michael Kirk 2095cbb0c6 Update footer when returning to details via Tile view
// FREEBIE
7 years ago
Michael Kirk 5fdadf5bde Merge branch 'mkirk/ensure-video-stopped-2' 7 years ago
Michael Kirk 428802aee8 Only try to stop video when it *is* a video
// FREEBIE
7 years ago
Michael Kirk f037101af6 Merge branch 'mkirk/avoid-audio-crash' 7 years ago
Michael Kirk 2412ab092e Avoid occasional audio crash
// FREEBIE
7 years ago
Michael Kirk 803260950e Merge branch 'mkirk/ensure-video-stopped' 7 years ago
Michael Kirk 24eb4bf443 Stop any video whenever leaving PageView
// FREEBIE
7 years ago
Michael Kirk 5ec3df93fa Merge branch 'mkirk/tile-view-perf' 7 years ago
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
7 years ago
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
7 years ago
Michael Kirk fa6d9bfb38 Merge branch 'mkirk/swipe-perf' 7 years ago
Michael Kirk 4c2d30a776 Memory warning clears MediaPageView cache
Doing so required MediaDetailView to retain GalleryItem, but because
GalleryItem is a swift struct, I had to envoke the Box dance.

// FREEBIE
7 years ago
Michael Kirk b6e0cb3f38 Update localizations
// FREEBIE
7 years ago
Michael Kirk bac2f47a06 "Bump build to 2.23.0.0." 7 years ago
Michael Kirk 592e6b2461 Merge branch 'mkirk/media-gallery-all-media' 7 years ago
Michael Kirk 13d6d72a6f per myles, use lighter blur
// FREEBIE
7 years ago
Michael Kirk 770ce1440e ConversationSettings must retain the gallery view
// FREEBIE
7 years ago
Michael Kirk f4e68e0dfb l10n
// FREEBIE
7 years ago
Michael Kirk fb4182c41f Ensure gallery is GC'd
// FREEBIE
7 years ago
Michael Kirk ba2923bae3 remove unused category
// FREEBIE
7 years ago
Michael Kirk 96e5a8f4b7 One time thumbnail generation
// FREEBIE
7 years ago
Michael Kirk a0bd2c2324 OrphanDataCleaner shouldn't delete active thumbnails
// FREEBIE
7 years ago
Michael Kirk ae8dbeb8dd Access Media Gallery from conversation settings
// FREEBIE
7 years ago
Michael Kirk f733c07d07 comment cleanup
// FREEBIE
7 years ago
Michael Kirk 4aeff7ba67 Thumbnail generation
// FREEBIE
7 years ago
Michael Kirk dfd628250d Gallery performance
- [x] share uiDatabaseConnection to share cache
- [x] increase cache size
- [x] load less initially
- [x] lazy loading
  - [x] slider view
  - [x] tile view

// FREEBIE
7 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
7 years ago
Michael Kirk e5b1c0c9b4 Fake media send
// FREEBIE
7 years ago