Commit Graph

22799 Commits

Author SHA1 Message Date
Michael Kirk
c6d253d90b Merge branch 'mkirk/fix-init-call-crash' 2017-05-01 16:40:45 -04:00
Michael Kirk
faa797c743 Fix crash when placing call
// FREEBIE
2017-05-01 16:40:32 -04:00
Matthew Chen
d7352fa84e Merge branch 'charlesmchen/callServiceCautiousUnwrap' 2017-05-01 15:19:52 -04:00
Matthew Chen
d06f358a23 Don't unwrap with ! in CallService.
// FREEBIE
2017-05-01 15:19:06 -04:00
Matthew Chen
a68d76168f Merge branch 'charlesmchen/cameraVsAttachmentApproval' 2017-05-01 14:51:51 -04:00
Matthew Chen
6ae3a5395e Skip attachment approval dialog for image and video shot by camera.
// FREEBIE
2017-05-01 14:51:25 -04:00
Matthew Chen
5058eb837e Add SignalAccount class.
// FREEBIE
2017-05-01 14:10:03 -04:00
Matthew Chen
cd9e1fb574 Add SignalAccount class.
// FREEBIE
2017-05-01 12:46:59 -04:00
Matthew Chen
e3c9598122 Extract labels for phone numbers.
// FREEBIE
2017-05-01 12:46:24 -04:00
Matthew Chen
9dc6014850 Extract labels for phone numbers.
// FREEBIE
2017-05-01 12:46:24 -04:00
Michael Kirk
700bd6e08a Fix build, remove unnecessary return
Fixup 27e55d2906

// FREEBIE
2017-05-01 11:16:14 -04:00
Michael Kirk
27e55d2906 Merge branch 'mkirk/crashing-call-service' 2017-05-01 10:31:28 -04:00
Michael Kirk
3a0f84cf36 Avoid crash in CallService
Rather than force unwrapping (`!`), use guards/implicit unwrapping to
handle the failure gracefully.

// FREEBIE
2017-05-01 10:31:23 -04:00
Michael Kirk
e1162fa641 [SSK] Better debugging information
- explicitly log type of received message vs. just "encrypted message"
  for better call debugging
- debug tool to print signed prekey report

// FREEBIE
2017-05-01 10:28:54 -04:00
Michael Kirk
608852898a Merge branch 'mkirk/debug-call-messages' 2017-05-01 10:26:33 -04:00
Michael Kirk
52b19a9118 better debug messages about what *kind* of encrypted message we received
Uniform logging, removing redundant logging wherever possible, to add
details about what kind of message was received.

In particular, with calls, when there are lots of messages going back
and forth, this makes it easier to make sense of what's being exchanged.

// FREEBIE
2017-05-01 10:26:29 -04:00
Michael Kirk
c47e766c10 Merge branch 'mkirk/debug-spk' 2017-05-01 10:25:32 -04:00
Michael Kirk
bf6f013153 debug tool: print signed prekey report
Example output:

    SignedPreKeys Report:
      currentId: 111111111
      firstPrekeyUpdateFailureDate: (null)
      prekeyUpdateFailureCount: 0
      All Keys (count: 2):
        #1 <SignedPreKeyRecord: id: 111111111, generatedAt: 2017-04-24 19:23:55 +0000, wasAcceptedByService:YES, signature: <abcdefgh ..>
        #2 <SignedPreKeyRecord: id: 222222222, generatedAt: 2017-04-20 19:23:55 +0000, wasAcceptedByService:YES, signature: <12345678 ..>

// FREEBIE
2017-05-01 10:25:27 -04:00
Michael Kirk
b9a56fe81d bump build
// FREEBIE
2017-04-27 17:45:23 -04:00
Michael Kirk
d68c5c249b sync translations
// FREEBIE
2017-04-27 17:45:05 -04:00
Michael Kirk
79a2a7b675 Merge branch 'mkirk/fix-contact-refresh-backoff' 2017-04-27 17:42:13 -04:00
Michael Kirk
94b95367f1 Actually *use* the delay time to enqueu the retry
Also, use a consistent type (double) rather than a mishmash of float and
CGFloat.

// FREEBIE
2017-04-27 17:42:08 -04:00
Michael Kirk
bff1fedaf2 Merge branch 'mkirk/unregistered_user' 2017-04-27 17:41:45 -04:00
Michael Kirk
adbc6eb71a style cleanup
// FREEBIE
2017-04-27 15:21:49 -04:00
Michael Kirk
4d5d808675 Ensure push token update job runs to completion
Promises must be retained.

// FREEBIE
2017-04-27 15:21:49 -04:00
Michael Kirk
549b7d5a9b bump build
// FREEBIE
2017-04-27 10:18:58 -04:00
Michael Kirk
d408fab7bb Sync translations
// FREEBIE
2017-04-27 10:18:38 -04:00
Michael Kirk
4fe9931a0b Merge branch 'mkirk/import-arbitrary-files' 2017-04-27 10:13:51 -04:00
Michael Kirk
48971478dd Allow importing of any file that's not a directory
// FREEBIE
2017-04-27 10:13:26 -04:00
Matthew Chen
30b12083f7 Merge branch 'charlesmchen/ongoingCallVsOpenWithSignal' 2017-04-27 10:11:15 -04:00
Michael Kirk
1b61c3b0ce fix attachment-import error alert presentation
// FREEBIE
2017-04-27 10:00:41 -04:00
Matthew Chen
2cc3232c01 Fix presentation of “open with Signal” errors.
// FREEBIE
2017-04-27 09:42:30 -04:00
Matthew Chen
c08e6e0fc6 Ignore “open with Signal” if there is an ongoing call.
// FREEBIE
2017-04-27 09:39:45 -04:00
Matthew Chen
c4e90089d5 Merge branch 'charlesmchen/exportWithSignalErrors' 2017-04-27 09:36:28 -04:00
Matthew Chen
782140d367 Respond to CR.
// FREEBIE
2017-04-27 09:35:58 -04:00
Matthew Chen
791fee347b Improve errors in the 'export with Signal' feature.
// FREEBIE
2017-04-27 09:14:41 -04:00
Matthew Chen
b66c0df7f6 Merge branch 'charlesmchen/exportWithSignalTweaks' 2017-04-27 09:10:32 -04:00
Matthew Chen
89c5f93aad Tweak appearance of "export with Signal" UI.
// FREEBIE
2017-04-27 08:57:16 -04:00
Michael Kirk
7901b6e685 sync translations
// FREEBIE
2017-04-26 19:27:03 -04:00
Michael Kirk
9964e9cb22 bump build
// FREEBIE
2017-04-26 19:25:33 -04:00
Michael Kirk
dcb237bf3d must include name for file types
// FREEBIE
2017-04-26 19:25:11 -04:00
Michael Kirk
d0ff13c51d sync translations
// FREEBIE
2017-04-26 18:43:08 -04:00
Michael Kirk
4acdddf1d9 bump build
// FREEBIE
2017-04-26 18:35:24 -04:00
Michael Kirk
14f956f3b8 Merge branch 'mkirk/support-random-extensions' 2017-04-26 18:34:54 -04:00
Michael Kirk
822f5c8415 support sending all files
use generic mimetype when file has unknown extension

// FREEBIE
2017-04-26 18:34:49 -04:00
Michael Kirk
93fe122323 display error if user picks directory/bundle e.g. .pxm
// FREEBIE
2017-04-26 18:34:49 -04:00
Michael Kirk
babe024ea6 Merge branch 'mkirk/truncate-filenames-in-preview' 2017-04-26 18:34:35 -04:00
Michael Kirk
1d91441676 truncate really long file names in the middle
// FREEBIE
2017-04-26 18:24:13 -04:00
Matthew Chen
8c1c38b305 Merge branch 'charlesmchen/bundleDocumentTypes' 2017-04-26 15:56:29 -04:00
Matthew Chen
8a8b10b688 Respond to CR.
// FREEBIE
2017-04-26 15:55:01 -04:00