Commit Graph

108 Commits

Author SHA1 Message Date
Michael Kirk
90486aa49c Inline method with one caller, fix formatting
// FREEBIE
2018-04-09 12:47:57 -04:00
Michael Kirk
c56e8acc51 QuotedReplyModel from SSK->SignalMessaging
// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk
1d4c0624be Clarify variable names
// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk
cb5d3d4f85 Use QuotedReplyModel to access attachment data
This view model loads the attachment when it's build.

// FREEBIE
2018-04-09 12:47:56 -04:00
Michael Kirk
253435b27f extract QuotedReplyDraft model 2018-04-09 12:47:56 -04:00
Matthew Chen
6830d4e8cb Apply message bubble view to message details view. 2018-04-06 12:35:46 -04:00
Matthew Chen
6171505657 Refine appearance of quoted reply message cells. 2018-04-05 10:24:42 -04:00
Matthew Chen
9085609087 Fix interaction initializers and tests. 2018-04-05 09:36:52 -04:00
Michael Kirk
b6409dd514 CR: formatting changes
// FREEBIE
2018-04-04 10:59:06 -04:00
Michael Kirk
bf401bad90 Send quoted messages
MVP

- [x] populate from menu
- [x] send quoted message

TODO

- [] thumbnail
- [] paperclip icon showing for text message
- [] cancel button asset
- [] fonts
- [] colors
- [] adjust content inset/offset when showing quote edit

NICE TO HAVE

- [] animate presentation
- [] animate dismiss
- [] non-paperclip icon for generic attachments

// FREEBIE
2018-04-04 10:59:04 -04:00
Michael Kirk
2580c690cb CR: Use LRU Cache for storing system sounds
// FREEBIE
2018-04-03 16:28:33 -04:00
Michael Kirk
3cb53f5f44 Respect system alert volume for notifications while in app
// FREEBIE
2018-04-03 16:28:33 -04:00
Matthew Chen
4240b517d0 Respond to CR. 2018-04-02 16:17:46 -04:00
Matthew Chen
8e4f2ca0ed Rework proto schema changes for quoted replies.
Sketch out model changes for quoted replies.

Sketch out quoted reply input preview.

Send quoted messages protos.

Update models to reflect quoted messages.

Rework interaction initializers.

Rework interaction initializers.

Add debug UI methods for generating quoted reply variations.

Add debug UI methods for generating quoted reply variations.
2018-04-02 16:17:46 -04:00
Matthew Chen
f98c45603c Respond to CR. 2018-04-02 11:13:11 -04:00
Matthew Chen
c8012d3891 Bubble collapse. 2018-04-02 10:07:15 -04:00
Matthew Chen
11819d9b8a Bubble collapse. 2018-04-02 10:07:15 -04:00
Matthew Chen
75177ef00f Bubble collapse. 2018-04-02 10:07:15 -04:00
Michael Kirk
9adf79c546 Always remove metadata
// FREEBIE
2018-03-27 11:24:18 -04:00
Matthew Chen
847a0269cb Properly cleanup content. 2018-03-22 09:34:47 -04:00
Matthew Chen
8d689ec090 Properly cleanup content. 2018-03-22 09:34:47 -04:00
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
2018-03-19 18:57:10 -04:00
Michael Kirk
96e5a8f4b7 One time thumbnail generation
// FREEBIE
2018-03-19 14:22:03 -04:00
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
2018-03-19 14:22:03 -04:00
Matthew Chen
4746948dfe Respond to CR. 2018-03-14 10:02:44 -03:00
Matthew Chen
593f7da72d Upload test file to CloudKit. 2018-03-12 16:40:07 -03:00
Michael Kirk
c5ff9a94a0 Merge tag '2.22.0.3' 2018-03-09 18:17:03 -05:00
Collin B. Stuart
6f7b4a6e43 Strip media metadata.
- removes non-orientation metadata from image and video attachments

- option to disable the feature

// FREEBIE
2018-03-09 12:09:55 -05:00
Michael Kirk
319e0d808f Merge tag '2.21.0.14' into release/2.22.0 2018-03-08 10:40:56 -05:00
Michael Kirk
3aebaefc31 A lighter touch for the fix-call connect.
Though it should be fine, reloading the callUIAdapter is a bit heavy
handed. And the current implementation is prone to being broken, since
we sometimes forget not to treat callUIAdapter as a singleton.

Longer term we can find a way to either: make callUIAdapter a true
singleton or possibly make callUIAdapter a private member of something
which *is* a true singleton.

Since we only *need* it to be reloaded the one time the migration runs
(or when a user changes settings which should be rare) it makes sense to
remove it from the happy path.

// FREEBIE
2018-03-08 10:15:20 -05:00
Michael Kirk
bbdcd0c768 Call connection fixups
callUIAdapter is not a singleton (for better or for worse)

No one should hold a reference directly to it, but rather via the
CallService, which is a singleton

Wait a bit longer for initial call screen before terminating. Especially
first call can hit this limit.

When call *does* take too long to show, terminate properly to ensure
we're not left with a phantom call

// FREEBIE
2018-03-07 18:09:07 -05:00
Michael Kirk
a1de99f1f1 Merge tag '2.21.0.9' 2018-03-06 16:43:33 -05:00
Michael Kirk
39b87b702b Fix debuglogs.org integration
// FREEBIE
2018-03-06 16:07:08 -05:00
Matthew Chen
d6f4db1523 Rename TSStorageManager to OWSPrimaryStorage. 2018-03-06 17:12:13 -03:00
Michael Kirk
126a4cb7ca Fix build break
// FREEBIE
2018-03-05 21:43:50 -05:00
Michael Kirk
79ee5ed216 Be more conservative about logging legacy users into "Recents"
// FREEBIE
2018-03-05 21:32:35 -05:00
Michael Kirk
d3be2b4a3b Vibrate when playing sound as alert
// FREEBIE
2018-03-05 18:47:35 -05:00
Michael Kirk
d7fcac8a5a In-App notifications don't pause background audio
// FREEBIE
2018-03-05 17:59:09 -05:00
Michael Kirk
07ee3ea843 Merge tag '2.21.0.5' 2018-03-05 09:54:06 -05:00
Michael Kirk
6077367e66 Notification sounds should respect silent switch
// FREEBIE
2018-03-03 11:33:31 -05:00
Michael Kirk
1ff2f3f42e Merge tag '2.21.0.1' 2018-03-02 18:35:01 -05:00
Matthew Chen
864f1cc8ee Clean up ahead of PR. 2018-03-02 17:44:14 -05:00
Matthew Chen
06d16bdec5 Revert "Revert "Merge branch 'charlesmchen/debugLogs' into hotfix/2.20.1""
This reverts commit b1dd325ce8.
2018-03-02 17:44:14 -05:00
Matthew Chen
e12a1e984a Work on two-factor auth settings UI. 2018-03-01 15:38:59 -05:00
Michael Kirk
658b8c3223 CR: typos and doc changes
// FREEBIE
2018-02-26 15:19:52 -05:00
Michael Kirk
5959cdf070 Simplify call privacy settings
We've long allowed users to configure what shows up in message
notifications:

- name: content (by default)
- just name (no content)
- generic notification (no name nor content)

Now we're dual purposing that setting to apply to calls. If someone
doesn't want to show names in the message notifications, presumably also
don't want that name showing up in the call log.

Also, since the earlier CallKit/iCloud issues had been addressed before
iOS11, we upgrade all iOS11 users to the more intuitive CallKit
interface.

Also: introduce "use system call logs" toggle when available. It will be
enabled by default, but we disable it for legacy users who'd explicitly
opted *out* of CallKit.

// FREEBIE
2018-02-26 15:19:52 -05:00
Matthew Chen
5b9ab0cf5d Auto-disable CallKit privacy in iOS 11 and later. 2018-02-26 15:19:25 -05:00
Matthew Chen
38ff82ab97 Rebrand OWSAudioPlayer. 2018-02-26 14:47:57 -05:00
Michael Kirk
abb51b565a Don't de-activate audio sesion when other audio activities are happening
// FREEBIE
2018-02-16 14:00:15 -08:00
Matthew Chen
6935298f6f Improve handling of the not migrated case. 2018-02-16 15:19:24 -05:00