Commit Graph

78 Commits

Author SHA1 Message Date
Michael Kirk 64a0c4bfaa auto-migrate to Swift5 2019-04-04 13:44:42 -06:00
Michael Kirk fabd3996c2 pop view if message is deleted
- use global ui database connection
2019-02-21 16:18:14 -07:00
Michael Kirk 7fddb35715 eagerly load entire album to populate rail 2019-01-15 10:27:29 -07:00
Michael Kirk 5671fd2520 Revert "Revert 'new sort id'."
This reverts commit ebae75af00.
2018-12-19 15:16:36 -07:00
Michael Kirk 9bcc6a6c57 show navbar for photo/album picker, not approval 2018-11-27 10:27:13 -07:00
Michael Kirk f5de076c66 fix remove from rail when deleted 2018-11-15 14:30:33 -06:00
Michael Kirk ff63c31dae CR: rename colors 2018-11-15 10:23:53 -06:00
Michael Kirk 47a7114317 Gallery pager style changes 2018-11-15 10:16:51 -06:00
Michael Kirk 84879b991d Album rail in Gallery 2018-11-14 14:50:33 -06:00
Matthew Chen 6f64a809f3 Tap on album item. 2018-11-09 17:45:29 -05:00
Michael Kirk d805246cb7 update caption after deleting item 2018-11-09 16:26:12 -06:00
Michael Kirk 11fece2f3f move category method to be shared 2018-11-09 14:06:06 -06:00
Michael Kirk 74b25c14f1 filter caption strings for display 2018-11-09 14:06:06 -06:00
Michael Kirk cfd2e8d9d1 Show captions in gallery page view 2018-11-09 14:06:06 -06:00
Michael Kirk 03aba93985 CR: use id for hashvalue, make clearer that we don't expect to use incrementing ID's for uniqueId 2018-11-08 13:11:30 -06:00
Michael Kirk 7cf53293da restore Share/Delete functionality to gallery items in the post multi-attachment world 2018-11-08 12:52:09 -06:00
Michael Kirk e096406e56 migrate existing attachments to album-compatible gallery schema 2018-11-08 12:52:09 -06:00
Michael Kirk 57681bd6f3 Gallery supports album messages 2018-11-08 12:52:09 -06:00
Matthew Chen f6591fac25 Add debug UI for multi-image sends. 2018-11-02 13:04:05 -04:00
Michael Kirk 77bd9b8852 Extract most Gallery functionality from the gallery NavigationController.
By not overriding the initializer for an OWSNavigationController subclass,
we can use the dynamic disaptch intialization chain.

The root difficulty here is that super.init(navBarClass:) wants to call
self.init(nibNam)
2018-11-01 12:53:59 -06:00
Michael Kirk 6d8a7ed800 things working 2018-11-01 12:53:59 -06:00
Michael Kirk 1af750363a fix media-gallery doesn't respect call banner 2018-11-01 12:53:59 -06:00
Michael Kirk 19f2d0db48 WIP: Media Landscape Mode 2018-11-01 08:43:59 -06:00
Matthew Chen ebae75af00 Revert 'new sort id'. 2018-09-27 19:40:51 -04:00
Michael Kirk 3240e0d9d0 Be explicit about receivedAt time
We were often using `timestampForLegacySorting`, which is convoluted for when
we actually just want received time.

In some sense this is a superficial change, but it's part of auditing that
we've completed moved away from timestampForLegacySorting.
2018-09-26 09:52:34 -06:00
Michael Kirk 1459fad01a sort media gallery by sortId 2018-09-26 09:52:33 -06:00
Michael Kirk ab55e85304 step 1: timestampForSorting audit, change signature
No change in functionality in this commit, I just broke the signature to have a
systematic audit of the callsites. Added TODO's with the plan for each call.
2018-09-26 09:52:33 -06:00
Matthew Chen f9eab5cd24 Merge remote-tracking branch 'origin/release/2.29.2' 2018-09-07 15:27:50 -04:00
Matthew Chen 1c325cd210 Respond to CR. 2018-09-06 16:03:29 -04:00
Matthew Chen 0be12da3dd Use thumbnails in media views. 2018-09-06 16:03:29 -04:00
Matthew Chen 8748dc9b2e Modify new thumbnail system to include video and GIF thumbnails. 2018-09-06 15:30:00 -04:00
Matthew Chen 206432fdf0 Add failure methods to thumbnail service. 2018-09-06 15:30:00 -04:00
Matthew Chen 3437361d70 Use new thumbnails in media gallery thumbnails. 2018-09-06 15:30:00 -04:00
Matthew Chen 446ceb2b9c Rename AttachmentStream methods. 2018-09-06 15:30:00 -04:00
Matthew Chen 5b50e81b4f Rename fail macros in Swift. 2018-08-27 10:27:48 -04:00
Matthew Chen 7be8f30877 Apply -> Never. 2018-08-27 10:21:03 -04:00
Matthew Chen d4f7b5d45b Respond to CR. 2018-08-27 10:02:28 -04:00
Matthew Chen e1049fdfcc Respond to CR. 2018-08-27 10:02:28 -04:00
Matthew Chen cf6f3841a8 Apply new Swift logging. 2018-08-27 10:02:28 -04:00
Michael Kirk 82e559d11b Use swift macros for main thread assert 2018-08-23 10:29:49 -06:00
Matthew Chen 26001e49d1 Unify log tags. 2018-08-15 10:24:29 -04:00
Matthew Chen d34f83b445 Refine theme. 2018-08-08 15:04:23 -04:00
Michael Kirk 6e66e4e1fe match media corners on dismiss
// FREEBIE
2018-07-05 18:24:02 -06:00
Michael Kirk 6d5c0cd291 image corner radius is small 2018-07-03 00:00:04 -06:00
Matthew Chen fb0ac32171 Respond to CR. 2018-07-02 16:24:37 -04:00
Matthew Chen 3b726bbac9 Small media corners. 2018-07-02 16:20:44 -04:00
Michael Kirk f8abe32ae9 more styling to new nav colors 2018-06-29 16:27:37 -06:00
Matthew Chen 91cc902b1d Update search results. 2018-06-13 15:26:20 -04:00
Matthew Chen f63d25a172 Migrate to Swift 4. 2018-05-30 15:05:02 -04:00
Matthew Chen 4d8c764789 Migrate to Swift 4. 2018-05-30 15:05:02 -04:00