Commit graph

408 commits

Author SHA1 Message Date
Matthew Chen 8287076499 More design tweaks. 2018-07-12 15:36:22 -04:00
Matthew Chen 0c420ed28a Tweak appearance. 2018-07-12 09:29:46 -04:00
Matthew Chen 750b935122 Tweak appearance. 2018-07-12 09:29:46 -04:00
Matthew Chen 376e2cc1db Respond to CR. 2018-07-11 16:54:44 -04:00
Matthew Chen 35f058c46a Rework unread indicators. 2018-07-11 16:43:39 -04:00
Matthew Chen ecafe546b6 Rework unread indicators. 2018-07-11 16:43:39 -04:00
Matthew Chen 8d72bb032e Rework unread indicators. 2018-07-11 16:43:39 -04:00
Matthew Chen 8b3bdb88f3 Revert "Merge branch 'charlesmchen/tweakCalls'"
This reverts commit 3e0233ea60, reversing
changes made to 74ce3012cf.
2018-07-11 15:34:16 -04:00
Michael Kirk f22cb48f85 date break font/color to spec
// FREEBIE
2018-07-10 11:39:56 -06:00
Michael Kirk 28abf426f1 White status bar for call screen
Transition to VC controlled status bar style.
2018-07-10 11:36:40 -06:00
Michael Kirk 10ac7be03a prefer localizedUppercaseString for user facing text
// FREEBIE
2018-07-10 10:09:31 -06:00
Michael Kirk 76745bee5b failed background color to spec 2018-07-10 10:07:36 -06:00
Matthew Chen b92fc89986 Retweak date and unread messages breaks. 2018-07-09 17:02:25 -04:00
Matthew Chen a28a5251f6 Respond to CR. 2018-07-09 16:31:43 -04:00
Matthew Chen 4893b01907 Retweak colors. 2018-07-09 16:31:43 -04:00
Matthew Chen 4b448ed018 Retweak colors. 2018-07-09 16:31:43 -04:00
Matthew Chen bbd65d6433 Retweak colors. 2018-07-09 16:31:43 -04:00
Matthew Chen 929615ab0c Tweak sender avatar sizes. 2018-07-09 14:46:24 -04:00
Matthew Chen 1a9a5016fe Tweak calls. 2018-07-09 11:08:53 -04:00
Michael Kirk b301dba4ba cell height to spec 2018-07-06 14:51:08 -06:00
Matthew Chen dd078b106f Tweak message send failed indicator. 2018-07-05 16:30:55 -04:00
Matthew Chen 1412998b4a Rework isRTL. 2018-07-02 15:27:24 -04:00
Matthew Chen 39eac9129b Respond to CR. 2018-07-02 15:25:43 -04:00
Michael Kirk 5719aba91a separate icon vs. title color for toolbars 2018-06-29 17:47:04 -06:00
Michael Kirk 767f06b09f fixup status bar 2018-06-29 16:48:43 -06:00
Michael Kirk 104e63ded9 remove appearance juggling 2018-06-29 16:27:37 -06:00
Michael Kirk f8abe32ae9 more styling to new nav colors 2018-06-29 16:27:37 -06:00
Michael Kirk 5d6a988955 WIP navbar 2018-06-29 15:30:24 -06:00
Michael Kirk 16df4f589e conversation colors
// FREEBIE
2018-06-29 11:52:41 -06:00
Matthew Chen 35dc348551 Move conversation style. 2018-06-28 13:26:17 -04:00
Matthew Chen a34719ce69 Tweak color palette. 2018-06-28 13:18:35 -04:00
Matthew Chen f2153f888b Tweak color palette. 2018-06-28 13:18:35 -04:00
Matthew Chen cbc80abff1 Tweak color palette. 2018-06-28 13:18:35 -04:00
Matthew Chen 63b6276c25 Clear LRUCache in background. 2018-06-20 17:55:15 -04:00
Matthew Chen 08ca4fdb50 Lazy-load contact avatar data and images. Use NSCache for avatar images. 2018-06-20 17:55:14 -04:00
Matthew Chen b9e2963f47 Don't cache CNContact. 2018-06-20 17:55:14 -04:00
Matthew Chen 20b1a2606e Outage detection. 2018-06-20 17:50:50 -04:00
Matthew Chen 776b5abed1 Handle edge cases around unread indicator & contact offers. 2018-06-20 17:38:27 -04:00
Matthew Chen a51e9b78b0 Improve search query construction. 2018-06-14 16:18:13 -04:00
Matthew Chen 95ac17bb7e Merge tag '2.26.0.24' 2018-06-14 15:07:47 -04:00
Michael Kirk 0dec029a69 Don't mark as read when callscreen is active
// FREEBIE
2018-06-13 15:42:01 -04:00
Matthew Chen c8fee4efa7 Add swift logging to SSK. 2018-06-13 13:56:55 -04:00
Matthew Chen 44b23d44fd Respond to CR. 2018-06-13 12:40:34 -04:00
Matthew Chen 99677899b1 Respond to CR. 2018-06-13 12:37:34 -04:00
Matthew Chen f0c1805de9 Strip snippet formatting. 2018-06-13 12:34:24 -04:00
Matthew Chen 9639d3cbae Clean up ahead of PR. 2018-06-13 12:34:24 -04:00
Matthew Chen f4a559156c Style the search results. 2018-06-13 12:34:24 -04:00
Matthew Chen ebc5356a9f Respond to CR. 2018-06-13 11:05:53 -04:00
Matthew Chen 758913f959 Respond to CR. 2018-06-13 11:03:52 -04:00
Matthew Chen 4abd3f58cd Order the search results. 2018-06-13 11:03:52 -04:00
Matthew Chen 8164b893ad Respond to CR. 2018-06-12 12:55:20 -04:00
Matthew Chen 999e8c8e31 Respond to CR. 2018-06-12 12:44:32 -04:00
Matthew Chen 13e9f11b4e Open message search results. 2018-06-12 12:44:32 -04:00
Matthew Chen 27b6a5e5bb Open message search results. 2018-06-12 12:44:32 -04:00
Michael Kirk 549342c702 Show empty results text
// FREEBIE
2018-06-11 16:42:25 -04:00
Michael Kirk ecdaad06ff Handle no results
In line with other messaging apps, we intentionally don't show a "No Results"
cell. We simply don't display any cells. Though we could easily modify this in
the future.

// FREEBIE
2018-06-11 16:42:25 -04:00
Michael Kirk fff8474150 adapt to rebase conflicts 2018-06-11 13:52:59 -04:00
Michael Kirk f415827da6 Contact search results
// FREEBIE
2018-06-11 13:51:29 -04:00
Michael Kirk b3705196b3 remove unused code/comments 2018-06-11 10:14:48 -04:00
Michael Kirk 21788f5f93 Avatar, label fonts, resignFirstResponder on scroll
-[] Backend
  -[] indexes e5.25
    -[x] wire up results: Contacts / Conversations / Messages actual: 3hr
    -[x] group thread est: actual:
      -[x] group name actual: e.25
      -[x] group member name: e.25
      -[x] group member number: e.25
    -[ ] contact thread e.5
      -[ ] name
      -[ ] number
    -[x] messages e1
      -[x] content
-[] Frontend e10.75
  -[x] wire up VC's a.5
  -[x] show search results only when search box has content a.25
  -[] show search results: Contact / Conversation / Messages e2
   -[x] wire up matchs
   -[] style contact cell
   -[] style conversation cell
   -[] style messages cell
  -[] tapping thread search result takes you to conversation e1
  -[] tapping message search result takes you to message e1
  -[x] show snippet text for matched message e1
  -[] highlight matched text in thread e3
  -[] No Results page
2018-06-11 09:58:36 -04:00
Michael Kirk 3a03c4f74c WIP: message indexing 2018-06-11 09:58:36 -04:00
Michael Kirk f360bcfd35 Less confusing class names
-[] Backend
  -[] indexes e5.25
    -[x] wire up results: Contacts / Conversations / Messages actual: 3hr
    -[ ] group thread est: actual:
      -[x] group name actual: e.25
      -[ ] group member name: e.25
      -[ ] group member number: e.25
    -[ ] contact thread e.5
      -[ ] name
      -[ ] number
    -[ ] messages e1
      -[ ] content
-[] Frontend e10.75
  -[x] wire up VC's a.5
  -[x] show search results only when search box has content a.25
  -[] show search results: Contact / Conversation / Messages e2
   -[x] wire up matchs
   -[] style contact cell
   -[] style conversation cell
   -[] style messages cell
  -[] tapping thread search result takes you to conversation e1
  -[] tapping message search result takes you to message e1
  -[] show snippet text for matched message e1
  -[] highlight matched text in thread e3
  -[] go to next search result in thread e2
  -[] No Results page
  -[] Hide search unless pulled down
2018-06-11 09:58:36 -04:00
Michael Kirk a9e2834d9f WIP: FTS - rudimentary show results
-[] Backend
  -[] indexes e5.25
    -[x] wire up results: Contacts / Conversations / Messages actual: 3hr
    -[ ] group thread est: actual:
      -[x] group name actual: e.25
      -[ ] group member name: e.25
      -[ ] group member number: e.25
    -[ ] contact thread e.5
      -[ ] name
      -[ ] number
    -[ ] messages e1
      -[ ] content
-[] Frontend e10.75
  -[x] wire up VC's a.5
  -[x] show search results only when search box has content a.25
  -[] show search results: Contact / Conversation / Messages e2
   -[x] wire up matchs
   -[] style contact cell
   -[] style conversation cell
   -[] style messages cell
  -[] tapping thread search result takes you to conversation e1
  -[] tapping message search result takes you to message e1
  -[] show snippet text for matched message e1
  -[] highlight matched text in thread e3
  -[] go to next search result in thread e2
  -[] No Results page
  -[] Hide search unless pulled down
2018-06-11 09:58:36 -04:00
Michael Kirk ffea3a020f WIP: FTS - wired up Search VC
-[] Backend
  -[] indexes e5.25
    -[x] wire up results: Contacts / Conversations / Messages actual: 3hr
    -[ ] group thread est: actual:
      -[x] group name actual: e.25
      -[ ] group member name: e.25
      -[ ] group member number: e.25
    -[ ] contact thread e.5
      -[ ] name
      -[ ] number
    -[ ] messages e1
      -[ ] content
-[] Frontend e10.75
  -[x] wire up VC's a.5
  -[x] show search results only when search box has content a.25
  -[] show search results: Contact / Conversation / Messages e2
  -[] tapping thread search result takes you to conversation e1
  -[] tapping message search result takes you to message e1
  -[] show snippet text for matched message e1
  -[] highlight matched text in thread e3
  -[] go to next search result in thread e2
2018-06-11 09:58:36 -04:00
Michael Kirk 429af7854a WIP: Full Text Search
-[ ] indexes
  -[x] results: Contacts / Conversations / Messages
  -[ ] group thread
    -[x] group name
    -[ ] group member name
    -[ ] group member number
  -[ ] contact thread
    -[ ] name
    -[ ] number
  -[ ] messages
    -[ ] content
- [ ] show search results: Contact / Conversation / Messages
- [ ] tapping thread search result takes you to conversation
- [ ] tapping message search result takes you to message
- [ ] show snippet text for matched message
- [ ] highlight matched text in thread
- [ ] go to next search result in thread
2018-06-11 09:58:36 -04:00
Matthew Chen 3964b78ff7 Reduce usage of JSQ. 2018-06-01 17:44:18 -04:00
Matthew Chen 3cd6a33aa6 Fix build warnings. 2018-06-01 12:39:13 -04:00
Matthew Chen 4d8c764789 Migrate to Swift 4. 2018-05-30 15:05:02 -04:00
Matthew Chen 77b72b6b06 Migrate to Swift 4. 2018-05-30 15:05:02 -04:00
Matthew Chen 28e26e1f75 Migrate to Swift 4. 2018-05-30 15:05:02 -04:00
Matthew Chen 28f7142a59 Auto-migration to Swift 4. 2018-05-30 15:05:02 -04:00
Matthew Chen c71081c875 Respond to CR. 2018-05-30 12:35:55 -04:00
Matthew Chen fbd03a3fdc Apply design for call view back button. 2018-05-25 09:53:37 -04:00
Michael Kirk fc34a0643c CR: annotate device constants
// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk 20424d9a7e remove debug code, reorder for clarity
// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk 4c9808d1a1 Fix iPhoneX layout show status bar above call banner
// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk 3383c5e80c Fixup for iPhoneX
// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk 778e11c2c3 cleanup ahead of PR
// FREEBIE
2018-05-24 12:28:20 -04:00
Michael Kirk 6c7af671bc call banner above status bar for now 2018-05-24 12:28:20 -04:00
Michael Kirk 29d08545e2 Use OWSNavigationController instead of UINavigationController
- [ ] document picker
- [ ] camera picker
- [ ] image picker
- [ ] restore "confirm to go back" behavior (interactive pop gesture?)

// FREEBIE
2018-05-24 12:28:20 -04:00
Matthew Chen db1c8fd9f3 Respond to CR. 2018-05-16 17:24:10 -04:00
Matthew Chen f436fc19c2 Make contact share "bubble/card" reflect share contents. 2018-05-16 17:19:05 -04:00
Michael Kirk 41aa7eafe3 makeKeyAndVisible restores first responder, so no need to track it
ourselves.

This isn't *quite* as nice for the case when we want to restore a
textfield that was active before, but it much more simply covers the
more important case that we restore input accessory views after
backgrounding/foregrounding.

// FREEBIE
2018-05-08 17:07:15 -04:00
Michael Kirk a10ae1835e respond to code review
// FREEBIE
2018-05-07 12:51:55 -04:00
Matthew Chen 390c0bc201 Send fake contact shares. 2018-05-04 09:37:04 -04:00
Matthew Chen 0316a98eb8 Undo renaming of contactShare property of TSMessage. 2018-05-01 11:26:01 -04:00
Matthew Chen 0d8cfc5403 Rename contact share class to contact. 2018-05-01 11:03:25 -04:00
Matthew Chen 4b8a2fa8a3 Sketch out "contact share" model. 2018-05-01 11:03:25 -04:00
Michael Kirk 7a1d24a9ab Avatar updates when contact/profile/group photo changes
// FREEBIE
2018-04-26 11:18:18 -04:00
Matthew Chen 9275c67818 Rework outgoing message state. 2018-04-25 10:49:19 -04:00
Matthew Chen 7912598ccb Merge branch 'release/2.24.0' 2018-04-21 14:27:27 -04:00
Matthew Chen 08d36aa862 Add screen lock UI to SAE. 2018-04-20 16:39:35 -04:00
Michael Kirk eec7678979 Group's meta message defaults to "Delivery"
// FREEBIE
2018-04-19 14:57:42 -04:00
Michael Kirk 754549adf1 Start timer for expiring message based on when read receipt was sent
// FREEBIE
2018-04-18 15:32:01 -04:00
Matthew Chen 6caa5b87b6 Add more asserts around thread in SAE. 2018-04-13 14:59:38 -04:00
Matthew Chen 759b2a332f Respond to CR. 2018-04-11 14:18:09 -04:00
Matthew Chen c3345a4c4e Scale home view cells to reflect dynamic type size. 2018-04-11 14:09:38 -04:00
Matthew Chen 6ee74eaffc Respond to CR. 2018-04-10 15:56:13 -04:00
Matthew Chen 6a07599e00 Respond to CR. 2018-04-10 15:54:46 -04:00
Matthew Chen f2b416d800 Respond to CR. 2018-04-10 15:54:46 -04:00
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
Matthew Chen d648a258d1 Merge branch 'hotfix/2.19.7' 2018-02-16 10:49:52 -05:00
Matthew Chen 4b62faf2f8 Aggressively nag iOS 8 users to upgrade iOS. 2018-02-14 14:15:23 -05:00
Michael Kirk 44678e3951 CR: weak capture and clearer comments
// FREEBIE
2018-02-13 08:29:58 -08:00
Michael Kirk debd556e09 Fix notification % escaping, debug UI
Consolidated the notifications debug UI (and fixed it) to make testing
this a bit easier.

// FREEBIE
2018-02-13 08:29:58 -08:00
Matthew Chen b9bd21e73f Improve presentation of text attachments in attachment approval view. 2018-01-25 13:24:22 -05:00
Matthew Chen d8f72dbec5 Clean up ahead of PR. 2018-01-25 11:07:22 -05:00
Matthew Chen 0cc7f3e00e Clean up ahead of PR. 2018-01-25 11:00:38 -05:00
Matthew Chen 2375cc2f76 Add support for key specs. 2018-01-25 11:00:38 -05:00
Matthew Chen 5d422e03d1 Add support for key specs. 2018-01-25 11:00:38 -05:00
Matthew Chen c5079ed3d7 Add support for key specs. 2018-01-25 11:00:38 -05:00
Matthew Chen 224c24e685 Use key spec for databases. 2018-01-25 11:00:38 -05:00
Matthew Chen a05acd0174 Add protocol context to protocol kit. 2018-01-25 11:00:38 -05:00
Matthew Chen d0f1706a49 Modify YapDatabase to read converted database. 2018-01-25 11:00:38 -05:00
Michael Kirk 3cd1b2c96c WIP comment 2018-01-25 11:00:38 -05:00
Michael Kirk acc97b197b Properly force checkpoint at end of conversion
// FREEBIE
2018-01-25 11:00:38 -05:00
Matthew Chen eadb64b75a Elaborate test suite around database conversion. 2018-01-25 11:00:38 -05:00
Matthew Chen 9801689c0e Modify YapDatabase to read converted database. 2018-01-25 11:00:38 -05:00
Michael Kirk 0a2439937b cleanup
// FREEBIE
2018-01-25 11:00:38 -05:00
Matthew Chen 45e44ca085 Modify YapDatabase to read converted database, part 3. 2018-01-25 11:00:38 -05:00
Matthew Chen d7a43d00d7 Modify YapDatabase to read converted database, part 2. 2018-01-25 11:00:38 -05:00
Matthew Chen 173da64bc4 Modify YapDatabase to read converted database, part 1. 2018-01-25 11:00:38 -05:00
Matthew Chen 3b681aba36 Successfully convert database. 2018-01-25 11:00:38 -05:00
Matthew Chen cc15092eb7 Resolve issues around database conversion. 2018-01-25 11:00:38 -05:00
Michael Kirk 11a709a621 WIP: set plaintext header length
Fix test to try to convert test db, previously it was using the
non-existent TSStorage database.

// FREEBIE
2018-01-25 11:00:38 -05:00
Michael Kirk 71dc7f55d3 Copy DB setup / keying from Yap into conversion
// FREEBIE
2018-01-25 11:00:38 -05:00
Matthew Chen 1bff0f2b0e Incomplete commit starting work on loading databases for conversion. 2018-01-25 11:00:38 -05:00
Matthew Chen 5ba5b763e4 Add tests around database conversion. 2018-01-25 11:00:38 -05:00
Matthew Chen dc73342573 Convert databases if necessary. 2018-01-25 11:00:38 -05:00
Matthew Chen e77c3e6717 Retain changes from session database branch. 2018-01-10 12:18:23 -05:00
sdkjfhsdkjhfsdlkjhfsdf b87079d4b4 Sharing attachment shows progress / retry dialog
// FREEBIE
2017-12-20 20:57:17 -06:00
Michael Kirk e20f44024c WIP: Support sending attachment captions
Looks fine on other clients, but locally we don't display the caption.

// FREEBIE
2017-12-20 14:26:53 -06:00
Matthew Chen 9258b0883e Clean up TSStorageManager usage. 2017-12-19 11:41:31 -05:00
Matthew Chen d52eba739d Clean up TSStorageManager usage. 2017-12-19 11:41:31 -05:00
Matthew Chen 85686d3144 Continue TSStorageManager refactor. 2017-12-19 11:41:30 -05:00
Matthew Chen 9a990b58e8 Respond to CR. 2017-12-19 11:38:25 -05:00
Matthew Chen 92b870ca12 Clean up ahead of PR. 2017-12-19 11:16:01 -05:00
Matthew Chen 5dcf4b3bbc Clean up ahead of PR. 2017-12-19 11:16:01 -05:00
Matthew Chen a29c4ce5d6 Pull out OWSStorage base class for TSStorageManager. 2017-12-19 11:16:01 -05:00
Matthew Chen 571840b1dc Update YapDatabase. 2017-12-15 11:11:04 -05:00
Michael Kirk 16448e2a0b Merge tag '2.19.3.0' 2017-12-14 11:42:57 -05:00
Matthew Chen f7bcf1d04d Fix tests. 2017-12-07 14:44:38 -05:00
Matthew Chen 1be828574d Respond to CR. 2017-12-07 14:33:54 -05:00
Matthew Chen 36703d3bbd Add asserts around Swift singletons. 2017-12-07 13:58:27 -05:00
Matthew Chen 7a1e47cd26 Add asserts around Swift singletons. 2017-12-07 13:57:45 -05:00
Matthew Chen 8312614cf7 Respond to CR. 2017-12-07 13:53:13 -05:00
Michael Kirk 89b9887f1d Make DeviceSleepManager extension compatible
// FREEBIE
2017-12-07 10:13:47 -05:00
Michael Kirk a58f1f385c Share a photo from photos app
Shows the conversation picker, and sends the attachment to that
conversation.

There's still a lot TODO

-[ ] resolve JSQ dependency
-[ ] properly wait for app to load
-[ ] dismiss share extension after send is complete
-[ ] support non jpeg file types
-[ ] Fix device sleep manager

// FREEBIE
2017-12-07 10:13:06 -05:00
Matthew Chen 848f055da1 Add SAE error views. 2017-12-06 21:38:53 -05:00
Matthew Chen e7bd33df45 Fix tests broken by SAE. 2017-12-06 10:36:12 -05:00
Matthew Chen ce899edf10 Respond to CR. 2017-12-05 10:44:11 -05:00
Matthew Chen b4e8df79da Migrate environment to SignalMessaging. 2017-12-05 10:29:29 -05:00
Matthew Chen 6d87df88aa Migrate environment to SignalMessaging. 2017-12-05 10:29:28 -05:00
Matthew Chen c817aa51b3 Migrate environment to SignalMessaging. 2017-12-05 10:28:46 -05:00
Michael Kirk 06f52deaf9 address some additional compiler warnings 2017-12-04 12:52:59 -05:00
Matthew Chen 98eb4613ed Enable logging in SAE; rework log file management to include multiple log directories. 2017-12-01 12:55:47 -05:00
Matthew Chen bf21d0c0ed Enable logging in SAE; rework log file management to include multiple log directories. 2017-12-01 12:55:47 -05:00
Matthew Chen 8cc33b3de1 Refine loading view of share extension. 2017-12-01 10:48:18 -05:00
Matthew Chen e7b32899cb Sketch out SAE load screen; make a number of infrastructure changes. 2017-12-01 09:37:52 -05:00