Commit graph

4724 commits

Author SHA1 Message Date
Matthew Chen
3723a4845f Restore message cell footers.
// FREEBIE
2017-10-16 20:41:14 -07:00
Matthew Chen
c2f07bb3d8 Restore message cell footers.
// FREEBIE
2017-10-16 20:41:14 -07:00
Matthew Chen
227fd5280d Resize conversation view cells as necessary.
// FREEBIE
2017-10-16 20:41:14 -07:00
Matthew Chen
f7bd813c9f Restore the date headers to the conversation view cells.
// FREEBIE
2017-10-16 20:41:14 -07:00
Michael Kirk
2716f50399 Bump version
// FREEBIE
2017-10-16 18:20:35 -07:00
Michael Kirk
6e12b9c898 Fix trailing edge of group member listing
// FREEBIE
2017-10-16 13:33:07 -07:00
Michael Kirk
603a7d2639 Merge branch 'release/2.18.0' 2017-10-16 12:59:53 -07:00
Michael Kirk
90468135c3 Merge branch 'mkirk/compose-cr-fixups' into release/2.18.0 2017-10-16 12:59:40 -07:00
Michael Kirk
ab05bd32e8 compose search cleanup per code review
// FREEBIE
2017-10-16 12:59:15 -07:00
Michael Kirk
0f859d6b20 Merge branch 'release/2.18.0' 2017-10-16 12:27:20 -07:00
Michael Kirk
a76b1f52b0 Merge branch 'mkirk/show-entire-message' into release/2.18.0 2017-10-16 12:26:23 -07:00
Michael Kirk
9ae4a26eb1 Message details shows entire message
When viewing a longer message, to avoid the risk of the user not being
aware they can scroll down, we scroll to the last couple lines of the
message, ensuring they can see the meta-data.

// FREEBIE
2017-10-16 12:26:16 -07:00
Michael Kirk
0a19e0715a Merge branch 'mkirk/fix-invite-sms' into release/2.18.0 2017-10-16 12:25:54 -07:00
Michael Kirk
038ca0d6a9 Fix invite via SMS in search
- whispersystems.org -> signal.org
- nav color was wrong since iOS10
- update search results after clearing post SMS invite

// FREEBIE
2017-10-16 12:25:48 -07:00
Michael Kirk
69ee9cbcfa Merge branch 'mkirk/pull-to-refresh-inbox' into release/2.18.0 2017-10-16 12:25:14 -07:00
Michael Kirk
6a65ee6def Pull to refresh on homeview fetches messages.
This is useful when you're using censorship circumvention and unable to
receive push notifications.

// FREEBIE
2017-10-16 12:25:07 -07:00
Michael Kirk
e47d15d086 Merge branch 'mkirk/revamp-compose' into release/2.18.0 2017-10-16 12:24:39 -07:00
Michael Kirk
3080cb512b Compose View: collation index and group search
- Include table index for contacts
- Fix extra spacing in OWS table view
- Separate search results into contact/invite sections
- Include groups in search results when composing new message
- Compose Screen search matches on group member names

// FREEBIE
2017-10-16 12:22:02 -07:00
Matthew Chen
866be07434 Bump build to 2.17.1.1.
// FREEBIE
2017-10-13 13:38:57 -04:00
Matthew Chen
1967e2aa6a Merge branch 'charlesmchen/backButtonVsiOS11.1Beta' into hotfix/2.17.1 2017-10-13 13:34:23 -04:00
Matthew Chen
7c82f6d448 Add workaround for bug in iOS 11.1 beta around hit area of custom back buttons.
// FREEBIE
2017-10-13 12:57:44 -04:00
Matthew Chen
d8b9fcf05e Merge branch 'charlesmchen/rewriteConversationView_' 2017-10-12 16:25:32 -04:00
Matthew Chen
49501a5d1b Respond to CR.
// FREEBIE
2017-10-12 16:23:48 -04:00
Matthew Chen
b1624d6818 Respond to CR.
// FREEBIE
2017-10-12 16:23:48 -04:00
Matthew Chen
b833976b77 Clean up ahead of PR.
// FREEBIE
2017-10-12 16:23:48 -04:00
Matthew Chen
5621fe893c Clean up ahead of PR.
// FREEBIE
2017-10-12 16:23:48 -04:00
Matthew Chen
fb408f980c Remove JSQ.
// FREEBIE
2017-10-12 16:23:48 -04:00
Michael Kirk
796be18c56 enable gif picker
// FREEBIE
2017-10-12 14:58:25 -04:00
Michael Kirk
12b674ffb5 Merge branch 'mkirk/log-sent-timestamps' 2017-10-12 14:35:36 -04:00
Michael Kirk
b2efb722d2 Log timestamp of sent messages
This is really helpful when cross referencing debug logs with the
recipient. (We already log timestamps on the receiving side).

// FREEBIE
2017-10-12 14:35:19 -04:00
Michael Kirk
af4a4c436a Merge branch 'mkirk/call-timeout' 2017-10-12 14:34:45 -04:00
Michael Kirk
dd5a19d1fd Suspend while answering shows "Missed Call"
When awakened by a voip push, we get some arbitrary amount of background
time to connect the call (in practice this is ~30s) before the app is
suspended.

Though we were properly terminating the call upon being suspended, we
were not notifying the user that they had missed a call.

// FREEBIE
2017-10-12 14:34:36 -04:00
Michael Kirk
a434a381f7 Merge branch 'hotfix/2.17.1' 2017-10-12 12:54:02 -04:00
Michael Kirk
23b8560b79 sync translations
// FREEBIE
2017-10-12 12:52:34 -04:00
Michael Kirk
2cc59dc166 bump version
// FREEBIE
2017-10-12 12:47:29 -04:00
Michael Kirk
875297f1a3 Merge branch 'charlesmchen/profileSaveDeadlock' into hotfix/2.17.1 2017-10-12 12:47:07 -04:00
Matthew Chen
44051bd7e7 Avoid deadlock in profile manager.
// FREEBIE
2017-10-12 12:46:53 -04:00
Michael Kirk
97d99e5c2d Merge branch 'mkirk/push-notification-fixups' 2017-10-12 12:02:28 -04:00
Michael Kirk
9a7e3cb9d8 Register for manual message fetching when unable to obtain push tokens
// FREEBIE
2017-10-12 12:02:22 -04:00
Michael Kirk
df15c904bc Rework push registration
== Account Registration ==

Not complete until push tokens are uploaded

== Remote Notifications Registration ==

Extracted from PushManager

- wait for notification-settings registration to complete before
  requesting push tokens, otherwise it's possible token requests will
  be ignored.

- Less state required for push notification callbacks, specifically, we
  no longer need to ensure we've created a promise before the
  registration delegate methods get called.

- no more TOCFuture in Signal-iOS (still in SSK for now). It's not in
  cases of inexplicable behavior - one a recently, push notification
  premature free, in redphone, and more popular use, and I've seen two
  futures inexplicably being nil.  Instead, let's consolidate around
  PromiseKit for popularly used, maintained, strongly-typed futures.

- separate logic for registering for vanilla push/voip notifications
  (few dependencies) from responding to UILocalNotifications (lots of
  dependencies). Ultimately I'd like to consolidate the remaining
  UILocalNotifications logic with the existing NotificationsManager

== Misc ==

more debug logging
more uniform logging
remove stale logic around newly registered user

// FREEBIE
2017-10-12 12:02:22 -04:00
Michael Kirk
b916e14abc Merge branch 'mkirk/silent-group-info-request' 2017-10-12 08:56:11 -04:00
Michael Kirk
703d4df9e5 Avoid phantom notifications for group info requests
// FREEBIE
2017-10-12 08:56:02 -04:00
Matthew Chen
0431d1813d Merge branch 'charlesmchen/giphyAPIKey' 2017-10-11 10:03:35 -04:00
Matthew Chen
b0e1904f96 Respond to CR.
// FREEBIE
2017-10-11 10:03:09 -04:00
Matthew Chen
7923eafe7c Use separate Giphy API key for Signal iOS.
// FREEBIE
2017-10-11 10:00:49 -04:00
Michael Kirk
b2ee64e701 Merge branch 'mkirk/fix-registration-layout' into hotfix/2.17.1 2017-10-10 16:19:46 -04:00
Michael Kirk
f314b2e50a Fix registration screen layout
// FREEBIE
2017-10-10 16:02:56 -04:00
Michael Kirk
ede89a7407 Merge branch 'mkirk/background-push-notifications' 2017-10-10 11:34:12 -04:00
Michael Kirk
b5258be9b5 respond to code review
// FREEBIE
2017-10-10 11:33:40 -04:00
Michael Kirk
876521f4c3 Fetch messages sooner when launched from background
The only reason a notification wakes/launches the app is to fetch
messages.

However, upon launching, especially if the app had been killed, it can
take a second or two before being notified of the notification that woke
us. Rather than wait, just fetch messages ASAP.

// FREEBIE
2017-10-10 11:33:40 -04:00