Commit Graph

3484 Commits (1dced463cbe1f5c7558d03ed823a75cfe1d19a91)

Author SHA1 Message Date
Michael Kirk 13378501b0 Stop any video on dismiss
// FREEBIE
8 years ago
Michael Kirk ae892525dd don't fade "selected" badge
// FREEBIE
8 years ago
Michael Kirk 2edf8384cd iPhoneX layout for gallery
// FREEBIE
8 years ago
Michael Kirk 3de923bf6b Update footer items after delete scrolls you to next item in pager view
// FREEBIE
8 years ago
Michael Kirk 3058cb8733 Batch Delete
// FREEBIE
8 years ago
Michael Kirk c13226d6c6 sync translations
// FREEBIE
8 years ago
Michael Kirk 2d57b90bd6 "Bump build to 2.23.0.3." 8 years ago
Michael Kirk 6c877403cf Fix delete from message details
// FREEBIE
8 years ago
Michael Kirk 6e20f5b654 Fix Delete
from conversation settings > tile > tap for details > delete

TODO:

- Don't dismiss pager, show next item
- dismiss pager if deleting last media

// FREEBIE
8 years ago
Matthew Chen faea31a8c5 Fix screen lock presentation logic. 8 years ago
Matthew Chen 0e00428da5 Fix screen lock presentation logic. 8 years ago
Matthew Chen b012efc12d Fix screen lock presentation logic. 8 years ago
Matthew Chen 19755fa5bf Refine 'Screen Lock'. 8 years ago
Matthew Chen 8899c7abda Refine 'Screen Lock'. 8 years ago
Matthew Chen 03845d0d98 Revert "Refine 'Screen Lock'."
This reverts commit 871dca4138.
8 years ago
Matthew Chen 871dca4138 Refine 'Screen Lock'. 8 years ago
Matthew Chen 5bc089837b Respond to CR. 8 years ago
Matthew Chen 2f39b2c222 Respond to CR. 8 years ago
Matthew Chen 28ce15885b Refine screen lock. 8 years ago
Matthew Chen bb596dba98 Add screen lock feature. 8 years ago
Matthew Chen 2d6d375e82 Add screen lock feature. 8 years ago
Matthew Chen cf0e6fce09 Add screen lock feature. 8 years ago
Matthew Chen 1f82891024 Add screen lock feature. 8 years ago
Matthew Chen b62736d7d4 Add screen lock feature. 8 years ago
Matthew Chen 1612642c26 Add screen lock feature. 8 years ago
Michael Kirk 1e59fbafd3 CR: method args shouldn't shadow properties
// FREEBIE
8 years ago
Michael Kirk d94f355c2c properly restore navigation bar after dismissing mid-video
// FREEBIE
8 years ago
Michael Kirk 6a4642ed9b Fix subsequent animation after swiping 8 years ago
Matthew Chen 8d689ec090 Properly cleanup content. 8 years ago
Matthew Chen d215499435 Show backup UI in release builds if backup is enabled. 8 years ago
Matthew Chen 6580f9112b Respond to CR. 8 years ago
Matthew Chen 439d7e62e6 Recycle backup fragments. 8 years ago
Matthew Chen 5de11d7355 Recycle backup fragments. 8 years ago
Matthew Chen bb07de2a3c Pull out "download and parse manifest" logic. 8 years ago
Michael Kirk bad4162775 sync translations
// FREEBIE
8 years ago
Michael Kirk 0e8db320bb update copy
// FREEBIE
8 years ago
Michael Kirk dd33254d7b "Bump build to 2.23.0.2." 8 years ago
Michael Kirk 7adc296fb6 sync translations
// FREEBIE
8 years ago
Michael Kirk b5503cc00a Handle empty media gallery
// FREEBIE
8 years ago
Michael Kirk f261fbcf05 Dynamic gallery label
// FREEBIE
8 years ago
Michael Kirk 6939b1749b remove gradient per myles
// FREEBIE
8 years ago
Michael Kirk 7754d3d94f Real assets
// FREEBIE
8 years ago
Michael Kirk 021c0db559 WIP: waiting on assets
// FREEBIE
8 years ago
Matthew Chen 34d79265a1 Respond to CR. 8 years ago
Matthew Chen 08ba7c85ed Clean up ahead of PR. 8 years ago
Matthew Chen 18d39f15f2 Clean up ahead of PR. 8 years ago
Matthew Chen 2c680cadad Clean up ahead of PR. 8 years ago
Matthew Chen 2ebd8668b4 Fix bugs in new db representation, add batch record deletion, improve memory management. 8 years ago
Matthew Chen fed524ba16 Rework database snapshot representation, encryption, etc. 8 years ago
Matthew Chen 0c81d5656f Rework database snapshot representation, encryption, etc. 8 years ago
Matthew Chen ca7c75a081 Rework database snapshot representation, encryption, etc. 8 years ago
Matthew Chen 1bbd41f725 Improve perf of database snapshots. 8 years ago
Michael Kirk 84ed75f60b Fix typo
// FREEBIE
8 years ago
Michael Kirk d9a2effff6 CR: remove "k" from non constant
// FREEBIE
8 years ago
Michael Kirk 352f5c1059 Prefer back button over dismiss
In some context this makes more sense, and it will never be confusing.

// FREEBIE
8 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
8 years ago
Matthew Chen 40416bcdcb Reduce Giphy page size. 8 years ago
Michael Kirk 47afa9917c "Bump build to 2.23.0.1." 8 years ago
Michael Kirk 2095cbb0c6 Update footer when returning to details via Tile view
// FREEBIE
8 years ago
Michael Kirk 428802aee8 Only try to stop video when it *is* a video
// FREEBIE
8 years ago
Michael Kirk 24eb4bf443 Stop any video whenever leaving PageView
// FREEBIE
8 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
8 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
8 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
8 years ago
Michael Kirk b6e0cb3f38 Update localizations
// FREEBIE
8 years ago
Michael Kirk bac2f47a06 "Bump build to 2.23.0.0." 8 years ago
Michael Kirk 13d6d72a6f per myles, use lighter blur
// FREEBIE
8 years ago
Michael Kirk 770ce1440e ConversationSettings must retain the gallery view
// FREEBIE
8 years ago
Michael Kirk f4e68e0dfb l10n
// FREEBIE
8 years ago
Michael Kirk fb4182c41f Ensure gallery is GC'd
// FREEBIE
8 years ago
Michael Kirk 96e5a8f4b7 One time thumbnail generation
// FREEBIE
8 years ago
Michael Kirk a0bd2c2324 OrphanDataCleaner shouldn't delete active thumbnails
// FREEBIE
8 years ago
Michael Kirk ae8dbeb8dd Access Media Gallery from conversation settings
// FREEBIE
8 years ago
Michael Kirk f733c07d07 comment cleanup
// FREEBIE
8 years ago
Michael Kirk 4aeff7ba67 Thumbnail generation
// FREEBIE
8 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
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
Michael Kirk e5b1c0c9b4 Fake media send
// FREEBIE
8 years ago
Matthew Chen 24cc95585f Respond to CR. 8 years ago
Matthew Chen 62da17a0cc Clean up ahead of PR. 8 years ago
Matthew Chen 54eecd5b1d Protect backup directories. 8 years ago
Matthew Chen b0d56dcd55 Clean up ahead of PR. 8 years ago
Matthew Chen cf13a780e9 Retry backup failures. 8 years ago
Matthew Chen 05db8e3f7f Retry backup failures. 8 years ago
Matthew Chen f164d5e94b Improve backup progress. 8 years ago
Matthew Chen 0bcbb5918b Improve backup progress. 8 years ago
Matthew Chen 59fc232128 Backup export needs to verify that we have a valid account. 8 years ago
Matthew Chen 2915c533b2 Streamline database configuration and cleanup. 8 years ago
Matthew Chen 061ce8cb13 Add database validity check. 8 years ago
Matthew Chen 3c2aae3b9c Backup import clears database contents. 8 years ago
Matthew Chen fc4a66365e Sketch out backup export UI. 8 years ago
Matthew Chen 91bf0bdb9f Sketch out backup export UI. 8 years ago
Matthew Chen 669a3610ab Fix attachments. 8 years ago
Matthew Chen d2f2dd273a Fix edge cases in migrations. 8 years ago
Matthew Chen 86aae78f1b Include migrations in backup. 8 years ago
Matthew Chen c62b5f9b55 Fix build break. 8 years ago
Michael Kirk 4ac9a1019b Media page view controller
First pass at a swipe-through media view for conversations.

Future work could include

- title label per item
  - sender name
  - date/time
- photo rail
- include caption

// FREEBIE
8 years ago
Michael Kirk 88e1386720 Move frame to presentation logic, out of init
This no longer made sense now that we're using this in a
PageViewController we won't always be zooming from a particular frame.

TODO:

- why is background image all wonky?
- why aren't views created by the time it's presented? Is that a
regression? (how is self.view a MenuView if loadView hasn't been called)

// FREEBIE
8 years ago
Matthew Chen 4746948dfe Respond to CR. 8 years ago
Matthew Chen f10b549940 Clean up ahead of PR. 8 years ago