Commit Graph

94 Commits

Author SHA1 Message Date
Nora Trapp
52e5f99d87 Fix vertical alignment of conversation + attachment approval textView 2020-01-30 20:13:17 -08:00
Nora Trapp
dc2e4b4e48 Preserve message text when pasting an attachment. 2020-01-30 20:13:17 -08:00
Matthew Chen
3c0fe421bc Avoid String.prefix() crash. 2020-01-30 20:11:29 -08:00
Nora Trapp
2b08989fa3 View-once setting is not sticky 2020-01-10 13:04:15 -08:00
Matthew Chen
1987368a10 Respond to CR. 2019-12-26 16:48:55 -03:00
Matthew Chen
95eef78518 Respond to CR. 2019-12-26 16:44:32 -03:00
Matthew Chen
4ff0b22df8 Add "view once" tooltip. 2019-12-26 16:35:10 -03:00
Matthew Chen
1bfdef6bbc Add "view once" tooltip. 2019-12-26 16:35:10 -03:00
Michael Kirk
b2ae8e27e2 replace outdated save icon 2019-12-15 07:32:19 -08:00
Michael Kirk
ddbda0f36a refactor - no change in functionality 2019-12-13 22:26:23 -08:00
Michael Kirk
68a21f6776 update view once icons
remove unused timer icon
2019-12-12 09:09:54 -08:00
Michael Kirk
7ea93a4c29 ImageEditor expects rendering on the main thread
...otherwise we hit an assert.

I believe this was broken when moving attachmentPromise generating behind a
modal activity VC when we added trimmed-video rendering.
2019-11-22 11:09:04 -07:00
Michael Kirk
a49b4d7413 avoid redundantly cleaning up datasource 2019-11-21 11:14:05 -07:00
Michael Kirk
6093f3aad6 better logging of filesize/resolutions 2019-11-21 10:00:14 -07:00
Matthew Chen
5a12373c4d Video trimming edge cases. 2019-11-14 17:17:08 -08:00
Michael Kirk
698d0b062e Fix capture orientation
- only access interfaceOrientation on main thread
- capture initial image in lanscape when appropriate
2019-11-13 10:40:42 -03:00
Matthew Chen
bdd3b0710e Respond to CR. 2019-11-07 15:17:50 -03:00
Matthew Chen
5197f6b41a Respond to CR. 2019-11-07 15:17:50 -03:00
Matthew Chen
9a7a03af02 Improve trim video perf. 2019-11-07 15:14:22 -03:00
Matthew Chen
9e00253a9f Fix video editor save button. 2019-11-07 14:55:15 -03:00
Matthew Chen
8b97e52a78 Respond to CR. 2019-10-31 17:26:38 -03:00
Matthew Chen
a098d89235 Add support for video trimming. 2019-10-31 17:26:38 -03:00
Matthew Chen
75f7cf6960 Add support for video trimming. 2019-10-31 17:26:38 -03:00
Nora Trapp
65d54e7282 UIAlertController -> ActionSheetController 2019-10-28 14:43:59 -07:00
Michael Kirk
442b707d4c "cancel" button instead of "X" for iPad 2019-10-24 13:11:21 -06:00
Nora Trapp
79b837942d PR Feedback 2019-10-23 13:47:21 -07:00
Nora Trapp
7ab5b618ef Maintain the user's input context on a per conversation basis 2019-10-15 12:33:26 -07:00
Matthew Chen
fc77b0fa2d Merge remote-tracking branch 'private/release/2.44.0' 2019-09-27 11:31:22 -03:00
Michael Kirk
f6747076df View Once Video 2019-09-26 12:39:26 -07:00
Michael Kirk
54812451f4 Update and apply palette. Consolidate dupes. 2019-09-24 15:12:51 -07:00
Nora Trapp
9625bb9959 Support iOS 13 style modal presentation where appropriate. 2019-09-16 10:26:00 -07:00
Michael Kirk
980d7e905f use "ask" helper when saving media
This required moving the ask helpers to SignalMessaging
2019-08-13 16:47:50 -06:00
Michael Kirk
683b056a20 save from camera first 2019-08-13 15:55:12 -06:00
Matthew Chen
081a62793d Fix attachment send button. 2019-08-09 21:37:54 -03:00
Matthew Chen
6ed12aa9fe Respond to CR. 2019-08-09 15:29:47 -03:00
Matthew Chen
f53bc36c4c Hide the 'View once photo' indicator. 2019-08-09 14:43:50 -03:00
Nora Trapp
f9bfbedfc2 Updated input toolbar styling 2019-08-06 11:00:07 -07:00
Matthew Chen
eccfad0f46 Merge remote-tracking branch 'private/release/2.41.0' 2019-08-06 12:12:39 -03:00
Michael Kirk
eea9e064ce new send buttons 2019-08-02 09:26:24 -06:00
Michael Kirk
afd9d7781a Camera First flow 2019-08-02 09:26:23 -06:00
Matthew Chen
4f03f969fc Rework "view once" messages. 2019-08-01 16:13:37 -03:00
Michael Kirk
9e704be729 Merge tag '2.41.0.12' 2019-07-22 14:33:01 -06:00
Matthew Chen
27efb2a1b0 Fix 'image editor vs. per-message expiration' bug. 2019-07-22 13:37:57 -06:00
Michael Kirk
a8dd11d231 simplify 2019-07-22 12:35:08 -06:00
Michael Kirk
d3e3be90b6 remove isModalState, isAddMoreVisible block instead of copying around state 2019-07-22 12:35:08 -06:00
Matthew Chen
a95182edc8 Fix modal attachment approval. 2019-07-22 12:35:08 -06:00
Michael Kirk
0c6e6787ed update flag name for clarity 2019-07-22 09:12:09 -06:00
Michael Kirk
c36d691d11 Fix: selecting last message from tileView doesn't focus
The mostRecentAttachment is a separate and redundant instance with whats in the
media gallery item cache.

Alternatively, we could double down on the one-instance-per-value paradigm by
creating a way to manually add existing instances to the cache, but the value
semantics proposed here seemed more natural.

I wish we could have just made RailViewItem: Equatable, but alas "protocol can
only be used as a generic constraint because it has Self or associated type
requirements"
2019-07-17 14:54:51 -06:00
Matthew Chen
a68ff90b16 Allow multi-send from camera; allow per-message expiration from camera roll. 2019-07-10 13:39:26 -03:00
Matthew Chen
cde2cfbdd1 Respond to CR. 2019-06-17 11:17:52 -04:00