Commit graph

411 commits

Author SHA1 Message Date
Michael Kirk baa312f449 Timer button with duration label
// FREEBIE
2018-01-22 10:28:51 -05:00
Michael Kirk 3ca5ec2726 Ensure media-library permissions when accessing media library
// FREEBIE
2018-01-18 13:37:11 -05:00
Michael Kirk 5dde17d939 Show approval/caption view in app.
ApprovalView/Captioning is shown for:
- Images/Videos from Library
- Images/Video from Camera
- Document Picker
- GIFs

Voice notes are intentionally not captionable.

Also, in main app, hide status bar when ApprovalView is presented

// FREEBIE
2018-01-17 18:19:48 -05:00
Michael Kirk 58558b36de Add clarifying comment.
// FREEBIE
2018-01-17 18:11:48 -05:00
Michael Kirk 0c6a42003f clang-format after RI
// FREEBIE
2018-01-16 15:27:53 -05:00
Michael Kirk a423fe8a0e WIP Merge tag '2.19.4.4'
- restore video playback in fullscreen

This was a large merge, so I'm opting to make some changes in separate
commits.
2018-01-16 15:25:58 -05:00
Matthew Chen 17907dca10 Clean up ahead of PR. 2018-01-12 10:23:54 -05:00
Matthew Chen 15b8e58324 Retain changes from session database branch. 2018-01-12 10:23:54 -05:00
Michael Kirk 63c23b77d0 Cleanup presentation view, feels less blurry
// FREEBIE
2018-01-12 00:17:06 -05:00
Michael Kirk 8851413b35 CR: cleanup, remove debug animation time, move constant
// FREEBIE
2018-01-11 23:05:59 -05:00
Michael Kirk 74e03aad01 Fix intermittent content offset problem
Using the CollectionView's frame to determine if we're at the bottom
doesn't make sense unless the collection view is correctly layed out.

// FREEBIE
2018-01-11 23:04:18 -05:00
Matthew Chen 16f7317579 Complete backup restore/import. 2018-01-11 10:44:03 -05:00
Matthew Chen 272a90d269 Add import back up UI. Begin work on import backup logic. 2018-01-11 10:42:57 -05:00
Matthew Chen e77c3e6717 Retain changes from session database branch. 2018-01-10 12:18:23 -05:00
Michael Kirk 74019b2ae4 Fix keyboard animation glitch after sending
// FREEBIE
2018-01-09 12:31:41 -05:00
Michael Kirk 1ec409ad2b CR: re-enable default keyboard toggle
// FREEBIE
2018-01-08 16:29:42 -05:00
Michael Kirk 8d2934d86e CR: remove unnecessary code, comments
// FREEBIE
2018-01-08 15:11:35 -05:00
Michael Kirk 412fe2735e Rename FullImageViewController -> MediaDetailViewController
// FREEBIE
2018-01-08 01:10:32 -05:00
Michael Kirk 918e3f7dfe Videos play in full-screen media view controller, use modern movie
player.

// FREEBIE
2018-01-08 01:10:32 -05:00
Michael Kirk 81268012e5 Better keyboard management.
- fixes problems on iOS11.2 where emoji keyboard sometimes obscures text
  input.
- better animation for interactive pan gesture when viewing message
  details
- more intuitive swipe-to-dismiss keyboard in conversation view
- converge on one mnethod for dismissing keyboard in conversation view

- [ ] Pop keyboard, then hit attachment, dismisses keyboard, which is
      fine, but the content should immediately scroll down with the
      keyboard, instead it stays up, and scrolls down only once the
      attachment action sheet has been dismissed.

// FREEBIE
2018-01-08 01:10:31 -05:00
sdkjfhsdkjhfsdlkjhfsdf b87079d4b4 Sharing attachment shows progress / retry dialog
// FREEBIE
2017-12-20 20:57:17 -06:00
sdkjfhsdkjhfsdlkjhfsdf 513e33b0fd Cleanup before code review
// FREEBIE
2017-12-20 14:26:53 -06:00
sdkjfhsdkjhfsdlkjhfsdf cf091758a5 Fix oversized text messages
// FREEBIE
2017-12-20 14:26:53 -06:00
sdkjfhsdkjhfsdlkjhfsdf 82aeee301d can delete text messages again
// FREEBIE
2017-12-20 14:26:53 -06:00
sdkjfhsdkjhfsdlkjhfsdf f5b9ae97ef fix insets for incoming vs outgoin
// FREEBIE
2017-12-20 14:26:53 -06:00
sdkjfhsdkjhfsdlkjhfsdf eeaea5fa01 better match for corner radius
// FREEBIE
2017-12-20 14:26:53 -06:00
sdkjfhsdkjhfsdlkjhfsdf 0ea3a36559 make sure captioned attachment doesn't grow too large
// FREEBIE
2017-12-20 14:26:53 -06:00
sdkjfhsdkjhfsdlkjhfsdf 0e9c9a9bb3 Separate gestures for text/vs media
// FREEBIE
2017-12-20 14:26:53 -06:00
sdkjfhsdkjhfsdlkjhfsdf 92477c78b7 cleanup before PR 2017-12-20 14:26:53 -06:00
Michael Kirk bce18637f0 render attachments with captions
// FREEBIE
2017-12-20 14:26:53 -06:00
Michael Kirk 3176cb5a62 text sizing correctly 2017-12-20 14:26:53 -06:00
Michael Kirk f8866c4e0b Fix some constraints, get other attachment types looking good
TODO
- [ ] message bubble sizes are not correct. Not always wide enough to
      fit their content.

// FREEBIE
2017-12-20 14:26:53 -06:00
Michael Kirk 76ca52f33c caption bubble properly sized, but all attachments make space now 2017-12-20 14:26:53 -06:00
Michael Kirk 3eb3c268a9 Towards a caption in message
TODO

- [ ] adjust height properly
- [ ] all media types
- [ ] include caption in message details
- [ ] gestures working on both independently
- [ ] perf benchmark

// FREEBIE
2017-12-20 14:26:53 -06:00
Michael Kirk a5c5dd3f96 WIP, extract subclass 2017-12-20 14:26:53 -06:00
Matthew Chen 6b0e3508a5 Respond to CR. 2017-12-20 11:28:07 -05:00
Matthew Chen 9258b0883e Clean up TSStorageManager usage. 2017-12-19 11:41:31 -05:00
Matthew Chen 9a990b58e8 Respond to CR. 2017-12-19 11:38:25 -05:00
Matthew Chen 3643414da1 Respond to CR. 2017-12-15 11:16:07 -05:00
Matthew Chen e45d63e862 Clean up ahead of PR. 2017-12-15 11:11:57 -05:00
Matthew Chen 0c9d9ba679 Fix issues around cross process db changes. 2017-12-15 11:11:57 -05:00
Michael Kirk 8996741277 DocumentPicker converts to mp4 when necessary
// FREEBIE
2017-12-11 20:34:47 -05:00
Michael Kirk 031e40d090 Use SignalAttachment logic in conversation view too
// FREEBIE
2017-12-11 20:16:34 -05:00
Matthew Chen 74efcb9041 Rework thread safety in profile manager. 2017-12-11 12:28:28 -05:00
Matthew Chen 80ae5e0fcf Respond to CR. 2017-12-11 10:37:20 -05:00
Matthew Chen 11b4848530 Respond to CR. 2017-12-11 10:37:20 -05:00
Matthew Chen 84061cca9f Change image resizing/quality behavior, preferring smaller images in the common case. 2017-12-11 10:37:20 -05:00
Matthew Chen 125aabb0a3 Change image resizing/quality behavior, preferring smaller images in the common case. 2017-12-11 10:37:20 -05:00
Michael Kirk d9cca77e23 update header references
// FREEBIE
2017-12-08 13:32:52 -05:00
Matthew Chen b4e8df79da Migrate environment to SignalMessaging. 2017-12-05 10:29:29 -05:00