Commit graph

498 commits

Author SHA1 Message Date
Matthew Chen
390cf3c80a Revive the 'classic' Signal notification and ringtone. 2018-02-26 14:46:17 -05:00
Matthew Chen
44e38709d6 Update minimum iOS version to 9.0. 2018-02-26 14:13:38 -05:00
Matthew Chen
710d164186 Update minimum iOS version to 9.0. 2018-02-26 14:13:38 -05:00
Matthew Chen
899799af92 Improve sound settings view. 2018-02-23 12:53:43 -05:00
Matthew Chen
5e8f3086de Update call sounds. 2018-02-23 12:53:43 -05:00
Matthew Chen
a44a117612 Add custom ringtone sounds. 2018-02-23 12:53:43 -05:00
Matthew Chen
9aa02489b8 Custom notification sounds in local notifications. 2018-02-23 12:53:42 -05:00
Matthew Chen
5c3f6b0ee5 Custom notification sounds. 2018-02-23 12:53:42 -05:00
Michael Kirk
6eb1ce682a Debug file browser
// FREEBIE
2018-02-18 16:24:29 -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
7ea1f3d926 Fix handling of file types in SAE. 2018-02-15 13:47:05 -05: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
122ef91e57 Add protocol context to protocol kit. 2018-02-09 10:31:29 -05:00
Michael Kirk
c646f76335 Garther audio concerns, clean up session when done
- sync speakerphone state manipulated from system call screen
  - Revert audio session after call failure, ensures media plays out of
    speaker after placing a failing call.
  - Replace notification with delegate pattern since we're already using
    delegate pattern here.
- Fixes voiceover accessibility after voice memo
- Avoid audio blip after pressing hangup
- Rename CallAudioSession -> OWSAudioSession
  Going to start using it for other non-call things since we want to
  gather all our audio session concerns.
- Resume background audio when done playing video
  - Extract OWSVideoPlayer which ensures audio is in proper state before
    playback
  - Move recording session logic to shared OWSAudioSession
  - Deactivate audio session when complete

// FREEBIE
2018-02-06 18:45:51 -08:00
Matthew Chen
74cd37dd7c Clean up ahead of PR. 2018-01-25 13:27:17 -05:00
Matthew Chen
2af858c529 Add message approval view. 2018-01-25 13:26:39 -05:00
Matthew Chen
b9bd21e73f Improve presentation of text attachments in attachment approval view. 2018-01-25 13:24:22 -05:00
Matthew Chen
0cc7f3e00e Clean up ahead of PR. 2018-01-25 11:00:38 -05:00
Matthew Chen
c5079ed3d7 Add support for key specs. 2018-01-25 11:00:38 -05:00
Michael Kirk
6297137924 Disable optimizations when building tests for SignalMessaging
// FREEBIE
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
6b51be75a5 Revert "Set preprocessor symbols for internal builds."
This reverts commit a91056c5e1.
2018-01-24 09:35:28 -05:00
Matthew Chen
a91056c5e1 Set preprocessor symbols for internal builds. 2018-01-24 09:34:23 -05:00
Michael Kirk
baa312f449 Timer button with duration label
// FREEBIE
2018-01-22 10:28:51 -05:00
Michael Kirk
94d58b88b8 Play video inline in approval view
Previously we launched the MPMoviePlayerController

// FREEBIE
2018-01-16 17:57:14 -05:00
Michael Kirk
a423fe8a0e WIP Merge tag '2.19.4.4'
- restore video playback in fullscreen

This was a large merge, so I'm opting to make some changes in separate
commits.
2018-01-16 15:25:58 -05:00
Matthew Chen
272a90d269 Add import back up UI. Begin work on import backup logic. 2018-01-11 10:42:57 -05:00
Matthew Chen
980b3d25a7 Rework "export backup" UI. 2018-01-11 10:42:27 -05:00
Matthew Chen
8769fb07cf Write backup to encrypted zip. 2018-01-11 10:40:49 -05:00
Matthew Chen
9e89502fdb Let users send to non-contacts, non-threads in SAE. 2018-01-10 17:56:30 -05:00
Michael Kirk
412fe2735e Rename FullImageViewController -> MediaDetailViewController
// FREEBIE
2018-01-08 01:10:32 -05:00
Michael Kirk
86d61eee30 Custom video player layer to avoid "double present/dismiss"
// FREEBIE
2018-01-08 01:10:32 -05:00
Michael Kirk
7d0acc94ff cleanup
// FREEBIE
2017-12-11 19:40:35 -05:00
Michael Kirk
65f79770ac rebase fixup 2017-12-11 14:11:58 -05:00
Michael Kirk
90e9b4a4f2 WIP - send all video types 2017-12-11 14:05:55 -05:00
Michael Kirk
d3e7c99a63 Attachment approval: cancel/confirm to top/bottom toolbars
- avoid double-submit by disabling after hitting send.
- Animate SAE dismissal as modal
  Requires hiding the load view
- attachment is centered in screen
- add gradient to ensure controls are visible
- Fix clamp constraints - I think this was a typo
  Otherwise we couldn't show an image which was 1" wide by 2" tall
- set max zoom, hide scroll indicators
- use media view
- slower panning feels right
- white send button
- can share GIF, static, and sort of video...
- Play button for attachment approval
  - move to image assets so we can use it in SAE
  - slightly larger button for full-screen approval view
  - don't launch redundant fullscreen UI for images when in approval view
- fix scrollOffset in AttachmentApproval
- consolidate view initialization logic in loadView and fix white background
- CR: more legible arithmetic

// FREEBIE
2017-12-11 13:58:03 -05:00
Matthew Chen
74efcb9041 Rework thread safety in profile manager. 2017-12-11 12:28:28 -05:00
Matthew Chen
911c4d380b Rework thread safety in profile manager. 2017-12-11 12:28:28 -05:00
Michael Kirk
d9cca77e23 update header references
// FREEBIE
2017-12-08 13:32:52 -05:00
Michael Kirk
dd1795e337 fixup rebae 2017-12-07 17:12:03 -05:00
Michael Kirk
3ecf0a7537 Cancelling dismisses share extension, remove "import with signal"
Usinig the new ShareViewDelegate to dismiss the share extension, might
have broken the "import with signal" functionality. But because we
want to remove it anyway, I've done that now, rather than fix it up.

// FREEBIE
2017-12-07 17:12:03 -05:00
Matthew Chen
345323fe8a Add Estonian and Taiwanese Chinese localizations. 2017-12-07 14:46:12 -05:00
Matthew Chen
f7bcf1d04d Fix tests. 2017-12-07 14:44:38 -05:00
Matthew Chen
36703d3bbd Add asserts around Swift singletons. 2017-12-07 13:58:27 -05:00
Matthew Chen
8312614cf7 Respond to CR. 2017-12-07 13:53:13 -05:00
Matthew Chen
99f0b9d3e8 Fix issues around statics. 2017-12-07 12:34:02 -05:00
Michael Kirk
3f6f881d3f Use assets from duplicated main bundle
// FREEBIE
2017-12-07 10:14:30 -05:00
Michael Kirk
eca19e5874 Reconcile MediaMessageView zoom behavior with AppExtension
Previously it was predicated on UIApplication.shared

// FREEBIE
2017-12-07 10:14:30 -05:00
Michael Kirk
89b9887f1d Make DeviceSleepManager extension compatible
// FREEBIE
2017-12-07 10:13:47 -05:00
Michael Kirk
654d345469 remove null references to moved certificates 2017-12-07 10:13:06 -05:00
Michael Kirk
c52192295b fixup rebase. move jobs to proper dir 2017-12-07 10:13:06 -05:00
Michael Kirk
56fe9d057d Attachment Approval
// FREEBIE
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
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
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
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
cd440b839f Consolidate search logic
// FREEBIE
2017-12-04 13:53:10 -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
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
f728f5c09b Incorporate l10n strings from main app into SAE. 2017-12-01 09:46:17 -05:00
Matthew Chen
074664f735 Revert "Modify l10n string extraction script to copy strings to SAE."
This reverts commit c61490c0b4.
2017-12-01 09:42:06 -05:00
Matthew Chen
efe0758e3d Revert "Modify l10n string download script to copy strings to SAE."
This reverts commit 9f31c048a2.
2017-12-01 09:41:59 -05:00
Matthew Chen
9f31c048a2 Modify l10n string download script to copy strings to SAE. 2017-12-01 09:41:14 -05:00
Matthew Chen
c61490c0b4 Modify l10n string extraction script to copy strings to SAE. 2017-12-01 09:41:14 -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
61b33b1a45 Make SignalMessaging a build dependency of the share extension. 2017-11-30 14:57:03 -05:00
Matthew Chen
2aafdcf577 Add app extension context, bridging header and PCH to app extension. 2017-11-30 14:57:03 -05:00
Matthew Chen
f896bf99d5 Update share extension capabilities. 2017-11-30 14:09:10 -05:00
Matthew Chen
8706d8f599 Update share extension capabilities. 2017-11-30 14:09:10 -05:00
Matthew Chen
66fae5bd54 Clean up ahead of PR. 2017-11-30 10:07:39 -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
961727814b Move pinning certificates into App
// 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
b56f0e0d25 Pod setup for SignalMessaging framework
// 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
d96eb8932b ShareExtension template
Only modification was to target down to iOS9

(targeting iOS8 failed to build)

// FREEBIE
2017-11-29 13:58:27 -08:00
Matthew Chen
5ef9d53c91 Update conversation view UI to reflect unread state. 2017-11-21 17:53:52 -05:00
Matthew Chen
d9fcfdeeb7 Fix deadlock when responding to contacts sync messages. 2017-11-21 11:21:08 -05:00
Matthew Chen
9d4ec557dc Update l10n strings; add Persian l10n. 2017-11-16 13:35:54 -05:00
Matthew Chen
5e61307ce3 Don't ask for microphone permissions if app is not active.
// FREEBIE
2017-11-09 02:58:51 -05:00
Matthew Chen
2d21e2ae2c Fix build warnings from XCode 9. 2017-11-09 02:52:44 -05:00
Matthew Chen
3952f717a5 Add Burmese l10n.
// FREEBIE
2017-11-06 15:15:22 -05:00
Matthew Chen
e07a240ee5 Merge tag '2.18.0.9' 2017-11-03 14:23:47 -04:00
Michael Kirk
81cff837ae Include root certs from pki.goog
// FREEBIE
2017-11-03 13:55:12 -04:00
Michael Kirk
a30533e7b5 Add GTSGIAG3 to censorship circumvention trust store
openssl x509 -outform der -in GIAG3.pem -out GIAG3.crt

// FREEBIE
2017-11-03 11:24:57 -04:00
Michael Kirk
a63a767bf2 connecting ping quieter, ringer is louder
- outring: Raised gain on ringer, max is now  -0.6 dB
- outring: clipped hiss
- connecting-ping: reduced volume, max is now -17.8 dB

- remove unused audio files

// FREEBIE
2017-11-02 08:49:46 -04:00
Matthew Chen
9cc4521d07 Respond to CR.
// FREEBIE
2017-10-26 12:09:36 -04:00
Matthew Chen
bcf83a4c8e Rework handling of oversize text messages.
// FREEBIE
2017-10-26 11:56:03 -04:00
Matthew Chen
3927815a35 Fix tests broken by the JSQ rewrite.
// FREEBIE
2017-10-25 16:08:15 -04:00
Michael Kirk
d87f000051 Interactive/Cancelable slide left for details
// FREEBIE
2017-10-24 15:29:03 -07:00