Commit Graph

30 Commits

Author SHA1 Message Date
Nora Trapp
ef4a612fcf No more transitional_signalServiceAddress 2019-07-11 10:53:33 -07:00
Nora Trapp
9105b81e9a Replace a bunch of usages of localNumber with localAddress 2019-07-11 10:52:13 -07:00
Nora Trapp
b9bb444276 Add UUID support to groups 2019-07-10 13:27:36 -07:00
Nora Trapp
7d94af3287 Migrate TSContactThread to support UUIDs 2019-06-27 13:12:52 -07:00
Matthew Chen
c7c6a182ab Convert SignalAccount to extend BaseModel. 2019-06-26 10:07:39 -04:00
Matthew Chen
c8359fc932 Convert message sending to use any transactions. 2019-06-25 16:00:58 -04:00
Matthew Chen
8ae200ac21 Fix build breakage around SignalCoreKit. 2018-10-01 09:07:40 -04:00
Matthew Chen
0b7d269017 Rename DebugContactsUtils. 2018-09-25 15:48:27 -04:00
Matthew Chen
bcee59f5e5 Add contact utils class. 2018-09-25 15:46:08 -04:00
Michael Kirk
c7662b5a86 Step 2/2 %s/OWSAssert/OWSAssertDebug for existing previous assert semantics
Going forward, we want to prefer safer asserts, but we don't want to blindly
apply crashing asserts across the codebase
2018-09-07 10:00:48 -06:00
Matthew Chen
cc5a480baa Apply OWS log functions in Objective-C. 2018-08-27 12:58:52 -04:00
Matthew Chen
3a50377902 Apply OWS log functions in Objective-C. 2018-08-27 12:58:52 -04:00
Michael Kirk
7e8b2e3034 Faster conversation presentation.
There are multiple places in the codebase we present a conversation.

We used to have some very conservative machinery around how this was done, for
fear of failing to present the call view controller, which would have left a
hidden call in the background. We've since addressed that concern more
thoroughly via the separate calling UIWindow.

As such, the remaining presentation machinery is overly complex and inflexible
for what we need.

Sometimes we want to animate-push the conversation. (tap on home, tap on "send message" in contact card/group members)
Sometimes we want to dismiss a modal, to reveal the conversation behind it (contact picker, group creation)
Sometimes we want to present the conversation with no animation (becoming active from a notification)

We also want to ensure that we're never pushing more than one conversation view
controller, which was previously a problem since we were "pushing" a newly
constructed VC in response to these myriad actions. It turned out there were
certain code paths that caused multiple actions to be fired in rapid succession
which pushed multiple ConversationVC's.

The built-in method: `setViewControllers:animated` easily ensures we only have
one ConversationVC on the stack, while being composable enough to faciliate the
various more efficient animations we desire.

The only thing lost with the complex methods is that the naive
`presentViewController:` can fail, e.g. if another view is already presented.
E.g. if an alert appears *just* before the user taps compose, the contact
picker will fail to present.

Since we no longer depend on this for presenting the CallViewController, this
isn't catostrophic, and in fact, arguable preferable, since we want the user to
read and dismiss any alert explicitly.

// FREEBIE
2018-08-24 08:54:23 -06:00
Matthew Chen
2c9c028504 Clean up. 2018-08-09 09:51:23 -06:00
Matthew Chen
7f33236d6c Respond to CR. 2018-07-18 13:57:22 -04:00
Matthew Chen
ace07ac62a Respond to CR. 2018-07-18 13:57:22 -04:00
Matthew Chen
ebe87348a2 Streamline SignalRecipient. 2018-07-18 13:57:21 -04:00
Matthew Chen
63b6276c25 Clear LRUCache in background. 2018-06-20 17:55:15 -04:00
Michael Kirk
c07d7777cb Reinstate notification when SignalAccounts change
// FREEBIE
2017-12-14 13:18:51 -05:00
Matthew Chen
6e840ff956 Fix build warnings from XCode 9. 2017-11-09 02:52:44 -05:00
Matthew Chen
d8d3f36070 Add "delete all contacts" debug UI action.
// FREEBIE
2017-09-07 15:27:08 -04:00
Matthew Chen
94daccc78e Fix fake contacts.
// FREEBIE
2017-09-01 15:24:27 -04:00
Matthew Chen
a35a21d5cc Batch the creation of fake contacts.
// FREEBIE
2017-09-01 15:24:27 -04:00
Michael Kirk
357eb62502 [DEBUG-UI] Add avatar to (some) fake contacts
// FREEBIE
2017-08-03 13:18:36 -04:00
Michael Kirk
092578045e [DEBUG-UI] create fake contact threads
// FREEBIE
2017-08-01 12:07:54 -04:00
markus.fassbender
422336db32 fixes compiler warnings FREEBIE 2017-07-08 17:24:22 -05:00
Matthew Chen
284d55ef6c Rework the debug UI.
* Move debug stats to the about view.
* Convert about view to OWSTableView.
* Add DebugUIPage.
* Add non-thread Debug UI.

// FREEBIE
2017-07-04 11:57:13 -04:00
Matthew Chen
db3407853a Refine fake contact creation.
// FREEBIE
2017-06-23 09:37:22 -04:00
Matthew Chen
389305e2b9 Fix build warnings.
// FREEBIE
2017-06-13 10:42:35 -04:00
Matthew Chen
a37b194dc0 Add debug functions for sending media messages.
// FREEBIE
2017-05-22 20:17:56 -04:00