Commit graph

2422 commits

Author SHA1 Message Date
Michael Kirk
c52192295b fixup rebase. move jobs to proper dir 2017-12-07 10:13:06 -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
94b5dfb1b5 Localize the debug log UI. 2017-12-06 18:01:44 -05:00
Matthew Chen
a617724da7 Add "send to self" option to debug logs. 2017-12-06 17:52:26 -05:00
Matthew Chen
310cf1330d Continue conversion of app setup. 2017-12-06 10:38:57 -05:00
Matthew Chen
69e0bcd308 Fix tests. 2017-12-06 10:36:12 -05:00
Matthew Chen
8d014f057e Respond to CR. 2017-12-05 13:44:25 -05:00
Matthew Chen
f5353fc7d5 Clean up ahead of PR. 2017-12-05 11:35:43 -05:00
Matthew Chen
150f417a5e Clean up ahead of PR. 2017-12-05 11:32:19 -05:00
Matthew Chen
9da165b846 Continue conversion of app setup. 2017-12-05 11:19:11 -05:00
Matthew Chen
ce899edf10 Respond to CR. 2017-12-05 10:44:11 -05:00
Matthew Chen
2eba371656 Clean up ahead of PR. 2017-12-05 10:29:29 -05:00
Matthew Chen
b4e8df79da Migrate environment to SignalMessaging. 2017-12-05 10:29:29 -05:00
Matthew Chen
a16058e477 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
e3b0333b97 CR: Separate class files
// FREEBIE
2017-12-04 15:29:14 -05:00
Michael Kirk
27ddf4a352 Cleanup before PR 2017-12-04 13:57:11 -05:00
Michael Kirk
cd440b839f Consolidate search logic
// FREEBIE
2017-12-04 13:53:10 -05:00
Michael Kirk
766e579961 Share picker searches by profile name
Consolidate some of the share logic

// FREEBIE
2017-12-04 12:52:59 -05:00
Michael Kirk
3ed52b6d5a Fix profile label for share context
// FREEBIE
2017-12-04 12:52:59 -05:00
Michael Kirk
286463bb22 Thread picker adds sections for threads vs other contacts 2017-12-04 12:52:59 -05:00
Michael Kirk
71bafcc8f0 Search SignalAccounts by profile name
...and fixup some tests
2017-12-04 12:52:59 -05:00
Michael Kirk
2af818b3ba Make SignalMessaging AppExtension safe
// FREEBIE
2017-12-04 12:50:28 -05:00
Michael Kirk
fcb17585b0 fix compiler warnings
// FREEBIE
2017-12-04 12:50:28 -05:00
Michael Kirk
5e7ca89930 Proper function prototypes
// FREEBIE
2017-12-04 12:50:28 -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
Matthew Chen
64762eb427 Observe YapDatabaseModifiedExternallyNotification. 2017-11-30 10:28:05 -05:00
Matthew Chen
d17ccadea2 Use AppContext to resolve share extension FIXMEs. 2017-11-30 10:12:32 -05:00
Matthew Chen
e712e8bfc4 Use AppContext to resolve share extension FIXMEs. 2017-11-30 10:12:24 -05:00
Matthew Chen
4c31d99498 Respond to CR. 2017-11-30 10:10:30 -05:00
Matthew Chen
66fae5bd54 Clean up ahead of PR. 2017-11-30 10:07:39 -05:00
Matthew Chen
ffa69b3502 Add application context class. 2017-11-30 10:07:20 -05:00
Matthew Chen
8d4e9b4565 Respond to CR. 2017-11-30 10:02:04 -05:00
Matthew Chen
7429e1968c Clean up ahead of PR. 2017-11-30 09:49:01 -05:00
Matthew Chen
edaf65223a Migrate to shared data NSUserDefaults. 2017-11-30 09:49:01 -05:00
Matthew Chen
cd11ec5698 Add app group, share keychain. Take a first pass at file migration to shared data directory. 2017-11-30 09:49:01 -05:00
Michael Kirk
9ac3ce3758 Memoize bubble factory
Shaves 5% off of initial conversation load.

// FREEBIE
2017-11-29 14:53:04 -08:00
Michael Kirk
fd829ba575 Merge branch 'hotfix/2.19.1' 2017-11-29 14:07:33 -08:00
Michael Kirk
2c4cf96515 Some proof of framework integration in the sample share extension
// FREEBIE
2017-11-29 13:58:27 -08:00
Michael Kirk
a11d83187b WIP: Framework-friendly - compiles but crashes on launch
// FREEBIE
2017-11-29 13:58:27 -08:00
Michael Kirk
de028404bb Shared framework between app and extension
// FREEBIE
2017-11-29 13:58:27 -08:00
Michael Kirk
9d1e3dc223 We need to change file extensions when converting data
// FREEBIE
2017-11-29 12:43:05 -08:00
Michael Kirk
1a99b34913 Fix iOS8 crash on type
// FREEBIE
2017-11-29 10:15:57 -08:00
Matthew Chen
40b2ecf580 Add debug UI for hallucinating lots of large attachments to stress shared data migration. 2017-11-29 10:34:46 -05:00
Matthew Chen
bfc1445675 Add debug UI for hallucinating lots of large attachments to stress shared data migration. 2017-11-29 10:34:46 -05:00
Matthew Chen
8acce3b5bd Simplify the unread indicator logic. 2017-11-22 15:23:58 -05:00
Michael Kirk
43092ee6ac CR: be extra paranoid about archiving the reset session
// FREEBIE
2017-11-22 11:44:35 -08:00
Michael Kirk
47926418b5 Prevent subsequent "No valid session" errors from the recipient of an
EndSession message.

// FREEBIE
2017-11-22 11:15:26 -08:00
Michael Kirk
a542471bbe center "Loading More Messages" label
// FREEBIE
2017-11-22 13:32:20 -05:00
Matthew Chen
f9f0f1c27d Revert "Force conversation view cells to update layout immediately."
This reverts commit ef820a3719.
2017-11-22 13:12:15 -05:00
Matthew Chen
35bdc86ab5 Reload adjacent rows using original indices, not final indices. 2017-11-22 13:06:54 -05:00
Matthew Chen
71f5ef5940 Improve handling of unread indicator edge cases. 2017-11-22 10:39:38 -05:00
Matthew Chen
2ec1e7e925 Respond to CR. 2017-11-22 09:39:43 -05:00
Matthew Chen
2d241623b7 Improve handling of edge cases around unread indicator delimiting deleted message(s). 2017-11-21 18:17:19 -05:00
Matthew Chen
5ef9d53c91 Update conversation view UI to reflect unread state. 2017-11-21 17:53:52 -05:00
Matthew Chen
ef820a3719 Force conversation view cells to update layout immediately.
// FREEBIE
2017-11-21 17:52:14 -05:00
Matthew Chen
9b4ac4073f Improve robustness around unknown country codes. 2017-11-21 17:48:00 -05:00
Michael Kirk
370364c936 Scroll down button scrolls to unread
// FREEBIE
2017-11-21 11:42:33 -05:00
Matthew Chen
b0c9add29c Update layout of "scroll down button" to reflect RTL. 2017-11-21 11:27:01 -05:00
Matthew Chen
d9fcfdeeb7 Fix deadlock when responding to contacts sync messages. 2017-11-21 11:21:08 -05:00
Matthew Chen
92ef507810 Make swipe-for-details RTL-safe. 2017-11-21 11:17:05 -05:00
Matthew Chen
a07e1e0cf9 For most views, only try to dismiss keyboard when scroll drag starts. 2017-11-20 17:17:49 -05:00
Matthew Chen
aea2bf3e00 Fix scroll state insets in conversation view. 2017-11-20 17:17:10 -05:00
Matthew Chen
5cfa7e35f4 Respond to CR. 2017-11-20 17:08:10 -05:00
Michael Kirk
34811a635b Fixes: "connected call" showing as "unconnected outgoing" call.
Expire viewItem cache when resetting mappings

// FREEBIE
2017-11-20 17:04:54 -05:00
Matthew Chen
b76d9a4e68 Remove redundant logTag methods. 2017-11-20 16:51:58 -05:00
Matthew Chen
a4879f6bb5 Remove redundant logTag methods. 2017-11-20 16:51:58 -05:00
Matthew Chen
8eb4e682d9 Revert "Show menu controller from centroid of message cells."
This reverts commit 08bb1c909d.
2017-11-20 15:21:48 -05:00
Matthew Chen
cebeea9189 Reduce extremes of Jumbomoji behavior. 2017-11-20 15:02:45 -05:00
Matthew Chen
d8ae5841d6 Respond to CR.
// FREEBIE
2017-11-20 14:50:43 -05:00
Matthew Chen
45c7d80d97 Improving handling of edge cases in conversation view. 2017-11-20 14:44:10 -05:00
Matthew Chen
6d4a05bbea Improving handling of edge cases in conversation view. 2017-11-20 14:44:10 -05:00
Matthew Chen
658746093d Use finalIndex in row changes. 2017-11-20 14:44:10 -05:00
Michael Kirk
86c1a3d08a CR: use weak capture
// FREEBIE
2017-11-20 14:41:00 -05:00
Michael Kirk
30b50e1489 Activate audio at the proper time
// FREEBIE
2017-11-20 14:35:16 -05:00
Michael Kirk
81f097c1f5 Don't drop critical data messages
Assigning dataChannel sometimes happens after iceConnect.

Fixes symptom where Alice calls Bob.
Bob answers and sees the call UI as normal
but Alice sees call as continuing to ring

// FREEBIE
2017-11-20 14:35:16 -05:00
Michael Kirk
2e75e9df55 Don't ignore critical errors
// FREEBIE
2017-11-20 14:35:16 -05:00
Michael Kirk
91f25bec3c Remove overzealous assert
// FREEBIE
2017-11-20 14:35:16 -05:00
Michael Kirk
8ee030bea1 Don't dismiss keyboard when view appears
// FREEBIE
2017-11-20 14:30:55 -05:00
Matthew Chen
ceac36f910 Respond to CR.
// FREEBIE
2017-11-20 14:11:49 -05:00
Matthew Chen
6e60d99ecf Show push tokens in about view.
// FREEBIE
2017-11-20 14:10:37 -05:00
Matthew Chen
e9bace34ba Fix "sliding tables" issue in linked devices view. 2017-11-20 14:05:57 -05:00
Michael Kirk
abb57f2a15 App icon for system call screen
On iOS10 there was a default "..." button, but now we need our own.

// FREEBIE
2017-11-20 14:04:04 -05:00
Michael Kirk
7fd3d665dc Request contacts as necessary when app is brought back to the foreground
// FREEBIE
2017-11-20 14:00:25 -05:00
Michael Kirk
01e1d10c30 Only show contact nag if we've denied contact access
// FREEBIE
2017-11-20 14:00:25 -05:00
Matthew Chen
7b1a846f79 Dismiss keyboard when leaving conversation view. 2017-11-20 13:12:57 -05:00
Matthew Chen
e79613184a Respond to CR.
// FREEBIE
2017-11-17 16:04:54 -05:00
Matthew Chen
089e4a4a02 Fix layout of table views vs. nav bar. 2017-11-17 09:51:37 -05:00
Matthew Chen
572de11763 Apply dynamic type sizing to Jumbomoji. 2017-11-16 18:25:59 -05:00
Matthew Chen
937ac5830d Skip animations in conversation view. 2017-11-16 17:59:32 -05:00
Matthew Chen
b67179b45d Skip animations in conversation view. 2017-11-16 17:53:05 -05:00
Matthew Chen
0ccddb696a Add workaround for bug in iOS 11.1 beta around hit area of custom back buttons.
// FREEBIE
2017-11-16 17:32:39 -05:00
Matthew Chen
96274a60a9 Respond to CR.
// FREEBIE
2017-11-16 17:30:19 -05:00
Matthew Chen
7aae47b021 Reduce font size of "load more" indicator. 2017-11-16 17:30:19 -05:00
Matthew Chen
dffd776ace Increase the max text message length. 2017-11-16 17:29:26 -05:00
Michael Kirk
228e350e2a message details shows failed bubble when appropriate
// FREEBIE
2017-11-16 17:05:31 -05:00