Commit Graph

1364 Commits (791b0d78a84d77a1fa4fd2efb5172104498e22ed)

Author SHA1 Message Date
Matthew Chen 1558d8c6c5 Avoid lost messages by acknowledges message receipt after the message is processed.
// FREEBIE
8 years ago
Michael Kirk fa5bb7ad9d Make it easier to track local users registration ID in debug log
// FREEBIE
8 years ago
Michael Kirk da8596c1ba Check microphone permissions: Clean up
* copy tweaks
* use "settings" instead of "privacy settings" for button text
* include comments in NSLocalizedString param so they can be extracted with genstrings
* style dismiss action as "cancel"

// FREEBIE
8 years ago
Christoph Hagen 70efb5e9ec Check microphone permissions before starting a call 8 years ago
Matthew Chen 5c20a85974 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen bf9ae552a3 Ignore hardware mute switch during video playback in attachment approval view.
// FREEBIE
8 years ago
Matthew Chen d9ef27d802 Ignore hardware mute switch during video playback in messages view.
// FREEBIE
8 years ago
Matthew Chen 1cf45a26d0 Merge remote-tracking branch 'origin/hotfix/2.10.1' 8 years ago
Matthew Chen 193d9421ce Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 0018d0040b Honor attachment filenames.
// FREEBIE
8 years ago
Matthew Chen dd3250a9e8 Honor attachment filenames.
// FREEBIE
8 years ago
Matthew Chen dc3a382c23 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 2e653afff9 Reduce usage of contacts intersection endpoint.
// FREEBIE
8 years ago
Matthew Chen 2ede3f3345 Reduce usage of contacts intersection endpoint.
// FREEBIE
8 years ago
Matthew Chen 5b4e3a2422 Reduce usage of contacts intersection endpoint.
// FREEBIE
8 years ago
Matthew Chen 70ac0acc68 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 54d2d85ebb Update SignalAttachment to allow arbitrary attachments.
// FREEBIE
8 years ago
Matthew Chen da13506db1 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen db7cb8d388 Send oversize text messages as attachments.
// FREEBIE
8 years ago
Matthew Chen ebde769161 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 7f5847d2d5 Improve file size formatting in attachment approval dialog.
// FREEBIE
8 years ago
Matthew Chen de735dcf33 Add stubs for audio preview to attachment approval dialog.
// FREEBIE
8 years ago
Matthew Chen fc33b00830 Add animated image preview to attachment approval dialog.
// FREEBIE
8 years ago
Matthew Chen 5d79f43970 Add video preview to attachment approval dialog.
// FREEBIE
8 years ago
Matthew Chen 625a448901 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen effa885614 Rework socket manager.
// FREEBIE
8 years ago
Matthew Chen 267462c584 Show block indicator in home view.
* Improve thread safety of home view cells.

// FREEBIE
8 years ago
Michael Kirk 4149cba6db use updated localizable strings linter
this script checks to make sure the proper number of format characaters
appear in our translated strings.

See: https://github.com/WhisperSystems/l10n_lint

// FREEBIE
8 years ago
Matthew Chen 2a369273c8 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen b7b5dbb563 Do not present local notifications if a read receipt arrives immediately after.
// FREEBIE
8 years ago
Matthew Chen 55706e9bb9 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 878704cb12 Create block offer when non-contacts send you a message.
// FREEBIE
8 years ago
Matthew Chen c2e94f57ed Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 660e4dd4c4 Show attachment approval dialog for all attachments.
// FREEBIE
8 years ago
Matthew Chen 5bc5e00156 Add debug UI action to send 1,000 messages so we can “load test” message view’s perf.
// FREEBIE
8 years ago
Matthew Chen 1ac487835a Reload data and invalidate layout whenever message view returns from background.
// FREEBIE
8 years ago
Matthew Chen 435a42bb3c Hide the edit menu for attachment until they are uploaded.
// FREEBIE
8 years ago
Matthew Chen 0a8c9e5622 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 4e3fbac107 Add explanation messages to the “block user alert” and the block section of the 1:1 conversation settings view.
// FREEBIE
8 years ago
Matthew Chen f503d7f93c Stay scrolled to the bottom during in conversation view during updates.
// FREEBIE
8 years ago
Matthew Chen ec129ea217 Improve attachment upload progress indicator.
* Should never show up for attachments in the failed state.
* Show show up without delay for attachments being sent.
* Show disappear when attachment upload fails in any way.

// FREEBIE
8 years ago
Michael Kirk 2f28441a5d bump build
// FREEBIE
8 years ago
Michael Kirk 032cf0d953 sharing via message view is legible
// FREEBIE
8 years ago
Michael Kirk 811a4ac4b5 add some missing asserts
// FREEBIE
8 years ago
Michael Kirk ca768d071a repeat phone number in header, next to back button
1. Putting it near the back-button suggests the user can change it by
   going back.

2. The existing title "Verify" didn't add any value.

// FREEBIE
8 years ago
Michael Kirk fb53a3258d clarify what to do on the verification screen
// FREEBIE
8 years ago
Michael Kirk eb3526b525 bump build
// FREEBIE
8 years ago
Matthew Chen 79a2612dbe Fix audio playback.
// FREEBIE
8 years ago
Matthew Chen 8458fb69a4 Fix audio playback.
// FREEBIE
8 years ago
Michael Kirk 99f49dffff Pull latest translations
// FREEBIE
8 years ago
Michael Kirk 207b29e7f3 bump version
// FREEBIE
8 years ago
Michael Kirk 91fc6b4d04 Stretch to fit wider message counts
// FREEBIE
8 years ago
Michael Kirk 9bd2ff0572 Don't repaint back-button unread badge
There's not much benefit to this being done async, and making it sync
avoids the repaint.

Also, simplified the code around drawing the badge.

// FREEBIE
8 years ago
Michael Kirk 6b0eb7f9b5 Use numeric pad for verifiation code entry
No need for special phone characters like: *, -, +

// FREEBIE
8 years ago
Michael Kirk 7fb8b493f1 bail on scripts whenever an error is encountered
remove unused script
also use consistent bash

// FREEBIE
8 years ago
Matthew Chen 6fde2852b1 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen dc78e32bbf Reload data and invalidate layout whenever message view will appear.
// FREEBIE
8 years ago
Michael Kirk 0039f4b697 sync translations
// FREEBIE
8 years ago
Michael Kirk 1849c8531f bump build
// FREEBIE
8 years ago
Matthew Chen a93aad5124 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 4cd1684ded Don’t let user block themselves.
// FREEBIE
8 years ago
Matthew Chen 372d6b9bfd Don’t let user block themselves.
// FREEBIE
8 years ago
Matthew Chen df58a01330 Revert "Fix i18n key."
This reverts commit 0ba81588ed.
8 years ago
Matthew Chen 1ab4417687 Fix paste when pasteboard has multiple items.
// FREEBIE
8 years ago
Matthew Chen 27aeb425e4 Round avatar icons.
// FREEBIE
8 years ago
Matthew Chen 3ac1e75b5f Ensure keyboard doesn't hide "safety numbers changed" interaction.
// FREEBIE
8 years ago
Matthew Chen 5feca42821 Reformat phone number if user changes country code.
// FREEBIE
8 years ago
Michael Kirk 6ba5e5cc6b Clean up session-reset logging
// FREEBIE
8 years ago
Matthew Chen 0ba81588ed Fix i18n key.
// FREEBIE
8 years ago
Michael Kirk 8c5ceffe17 sync translations
// FREEBIE
8 years ago
Michael Kirk 24adac289c bump version
// FREEBIE
8 years ago
Michael Kirk d8ae941736 Delete session *before* sending EndSession message
Typically we're sending an EndSession message because our session has
diverged from the remote party's session. So if we send an EndSession
message, but decrypt it with our old out-of-sync session, how can we
expect them to be able to decrypt it?

Instead, by deleting the existing sessions, we'll fetch a new PreKey,
and start fresh with the remote side.

// FREEBIE
8 years ago
Michael Kirk 9d0c76ca56 debug action to reset session
// FREEBIE
8 years ago
Michael Kirk 033591aeca Remove unused code
// FREEBIE
8 years ago
Michael Kirk caabae0024 Add new debug method to delete session
// FREEBIE
8 years ago
Michael Kirk 398ee22f50 [SSK] rename cipher queue to sessionStoreQueue
// FREEBIE
8 years ago
Michael Kirk a951d11d97 [SSK] move iOSVersion to SSK
// FREEBIE
8 years ago
Matthew Chen 554125aeeb Dismiss keyboard if user scrolls in “new 1:1 conversation” view.
// FREEBIE
8 years ago
Michael Kirk cc16b9c893 CR nit: add assert
// FREEBIE
8 years ago
Matthew Chen 19d8f6cf01 Improvements around contact cells.
* Improve handling of accessory views/types.
* Use contact cell in “new/edit group” view.
* Don’t hide blocked contacts and group members in “new/edit group” view.
* Let users “unblock-to-add” blocked contacts in “new/edit group” view.

// FREEBIE
8 years ago
Matthew Chen 74820d9ba9 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen a1bd2f66f8 Fix invalid assert in the OWS table views.
// FREEBIE
8 years ago
Matthew Chen fd86495e26 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 8823b2884a Refine the “block list” view.
// FREEBIE
8 years ago
Matthew Chen b5562fa126 Update “new 1:1 conversation” view.
* Don’t hide blocked users.  If selected, user needs to unblock to start conversation.
* Add “you have no contacts” indicator.
* Activate “block state indicator” in contact cell.

// FREEBIE
8 years ago
Matthew Chen 8867b2882e Tweak appearance of contact cell.
// FREEBIE
8 years ago
Matthew Chen b6f944f3d3 Tweak appearance of “add to block list” view.
// FREEBIE
8 years ago
Michael Kirk 42b6ac6715 bump build
// FREEBIE
8 years ago
Michael Kirk 300251171c Sync translations
// FREEBIE
8 years ago
Michael Kirk 4494a95a62 Block list is two words. Update code/comments/constants
// FREEBIE
8 years ago
Michael Kirk 78705d3ac1 right align blocked indicator
// FREEBIE
8 years ago
Matthew Chen e0c7457eca Refine appearance of “add to block list” view.
// FREEBIE
8 years ago
Matthew Chen b3d6a82c4f Show blocked users in “add to block list” view.
// FREEBIE
8 years ago
Matthew Chen f56227ce26 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen af6e51f83c Make local copy of contact list.
// FREEBIE
8 years ago
Matthew Chen 54e6d4400c Multiple improvements around contacts and the blocklist.
* Hide blocked users and current user in “new 1:1 conversation” view.
* Hide blocked users and current user in “new/edit group conversation” view.
* Hide blocked users and current user in “add to blocklist” view.
* Hide blocked users and current user in “blocklist” view.
* Improve thready safety around contact changes in views.

// FREEBIE
8 years ago
Matthew Chen 7273e6faa5 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 99a1b4e9f4 Revert unintended l10n changes.
// FREEBIE
8 years ago
Matthew Chen 7f21a1bf62 Dismiss “block state indicator” if user scrolls message view.
// FREEBIE
8 years ago
Matthew Chen c500e7890f Improve completion handling of block actions.
// FREEBIE
8 years ago
Matthew Chen 9c9060203e Block actions in message view for blocked group conversations.
* Add block status indicator view.

// FREEBIE
8 years ago
Matthew Chen 8c347699bb Block actions in message view for blocked contact conversations.
// FREEBIE
8 years ago
Matthew Chen 71007cc3d1 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 253776d65c Respond to CR.
// FREEBIE
8 years ago
Matthew Chen dcb7eef3fc Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 54cd8cfa3c Add blacklist controls to 1:1 conversation view.
// FREEBIE
8 years ago
Michael Kirk 80ddc1a2c3 sync translations
// FREEBIE
8 years ago
Michael Kirk 127e7f7386 bump release target
// FREEBIE
8 years ago
Matthew Chen 5fa1a3630f Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 8dadc3ba22 Don’t update contacts in the blacklist views.
// FREEBIE
8 years ago
Matthew Chen 6c1d46c4d7 Use contact names where possible in the block list view.
// FREEBIE
8 years ago
Matthew Chen a7296db1fe Add contacts list to “add blocked number” view.
// FREEBIE
8 years ago
Matthew Chen 5a234e34d9 Filter incoming and outgoing messages using the blacklist.
// FREEBIE
8 years ago
Matthew Chen 2e0c95c379 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen db31454320 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 89e244ee0a Update to reflect changes to SSK.
// FREEBIE
8 years ago
Matthew Chen 8578390ee9 Clean up blocklist views.
// FREEBIE
8 years ago
Matthew Chen 922d48904f Refine BlockListViewController and AddToBlockListViewController.
// FREEBIE
8 years ago
Matthew Chen 271cc6f07e Sketch out BlockListViewController and AddToBlockListViewController.
// FREEBIE
8 years ago
Matthew Chen a155df161f Pull out OWSTableViewController.
// FREEBIE
8 years ago
Michael Kirk 176c1f8724 Merge branch 'hotfix/2.9.2' 8 years ago
Michael Kirk 1a25367b03 bump version
// FREEBIE
8 years ago
Michael Kirk 0a806f499e Fix crash when viewing changed safety numbers
Instantiate fingerprintVC programmatically since MVC was not built from
the storyboard and thus doesn't have it's storyboard-defined segues.

// FREEBIE
8 years ago
Matthew Chen 5ff454fd90 Fix double creation of NotificationsManager singleton.
// FREEBIE
8 years ago
Matthew Chen 8374ca149e Apply assert to ensure singletons are only created once.
// FREEBIE
8 years ago
Matthew Chen d00c892158 Apply assert to ensure singletons are only created once.
// FREEBIE
8 years ago
Michael Kirk 9eb746a7a0 Fix crash when viewing changed safety numbers
Instantiate fingerprintVC programmatically since MVC was not built from
the storyboard and thus doesn't have it's storyboard-defined segues.

// FREEBIE
8 years ago
Michael Kirk d2732751ad New debug action: print sessions
// FREEBIE
8 years ago
Matthew Chen 7306803ae7 Add explicit calling code state to registration view.
// FREEBIE
8 years ago
Matthew Chen d12a582ee3 Rename source directories with a space in their name.
// FREEBIE
8 years ago
Michael Kirk 7f239c8040 [SSK] + Enforce singleton access for MessagesManager and MessageSender
// FREEBIE
8 years ago
Matthew Chen 7058a58d2e Bump maximum animated GIF file size to 25mb.
// FREEBIE
8 years ago
Michael Kirk 0b49037179 Remove some more RP related code
// FREEBIE
8 years ago
Matthew Chen 3765d28da9 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 4649fcfd20 Add "oversize test message" view.
// FREEBIE
8 years ago
Matthew Chen 5a2d4ce625 Hide keyboard when scrolling in country code view.
// FREEBIE
8 years ago
Matthew Chen a9f2382e85 Change alignment of image view’s share button.
// FREEBIE
8 years ago
Matthew Chen bc2e292a63 Add share button to image view.
// FREEBIE
8 years ago
Matthew Chen d85dfb8a4e Improve support for arbitrary attachments.
// FREEBIE
8 years ago
Matthew Chen 7c9c4668fe Fix typo that causes crash.
// FREEBIE
8 years ago
Matthew Chen 7b84019251 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 3d451846a6 Fix build break.
// FREEBIE
8 years ago
Matthew Chen b0aa71fd40 Apply DisplayableTextFilter to oversize text messages.
// FREEBIE
8 years ago
Matthew Chen 80fbc093d9 Handle oversize text messages and arbitrary attachments.
// FREEBIE
8 years ago
Matthew Chen 0dfe020997 Hide new group button if user has no contacts.
// FREEBIE
8 years ago
Matthew Chen 47ae6ccf76 Don't show the "no contacts" mode of new conversation view again after it has been dismissed.
// FREEBIE
8 years ago
Matthew Chen ff89d07ddb Fix presentation animation of "no contacts" mode of new conversation view.
// FREEBIE
8 years ago
Matthew Chen b8a7204cd1 Remove "refresh contacts" button; always show "new group conversation" button.
// FREEBIE
8 years ago
Matthew Chen 4694ae8458 Ensure "close new conversation view" always works.
// FREEBIE
8 years ago
Matthew Chen 210bd704e0 Hide keyboard when scrolling the contacts list in new/edit group view.
// FREEBIE
8 years ago
Matthew Chen 77a775bbce Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 6b8d4ea7ae Sketch out debug UI.
// FREEBIE
8 years ago
Matthew Chen 3cb02fcd60 Improve handling of incomplete and failed attachment downloads.
// FREEBIE
8 years ago
Matthew Chen 8a9206d7e7 Improve handling of incomplete and failed attachment downloads.
// FREEBIE
8 years ago
Matthew Chen 9db33a9651 Remove RedPhone code.
// FREEBIE
8 years ago
Michael Kirk 4b52a90c8e Fix test
//FREEBIE
8 years ago
Michael Kirk 3957020e0d bump version
// FREEBIE
8 years ago
Michael Kirk d87492bf69 sync translations
// FREEBIE
8 years ago
Matthew Chen 06ed552257 Fix translation of “already have an account?” button.
// FREEBIE
8 years ago
Matthew Chen 90038e928b Sharpen the app icon.
// FREEBIE
8 years ago
Matthew Chen 3cb545eb08 Sharpen the app icon.
// FREEBIE
8 years ago
Matthew Chen 3fcdffb919 Only enforce CallKit privacy for missed calls if CallKit is present.
// FREEBIE
8 years ago
Matthew Chen 36ea273475 Slightly tweak the appearance of the attachment upload progress bar.
// FREEBIE
8 years ago
Matthew Chen 26371499da Slightly tweak the appearance of the attachment upload progress bar.
// FREEBIE
8 years ago
Matthew Chen e5024cfe76 Raise max GIF file size and default image upload quality.
// FREEBIE
8 years ago
Matthew Chen e031e3c389 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 7aef297a27 Cleanup copy to pasteboard of video and audio.
// FREEBIE
8 years ago
Matthew Chen 86abb43c30 Copy images to pasteboard as data, not UIImage.
// FREEBIE
8 years ago
Matthew Chen 21766732dd Respond to CR.
// FREEBIE
8 years ago
Matthew Chen b90416f472 Show alerts with relevant error messages when attachment-related errors occur.
// FREEBIE
8 years ago
Matthew Chen 1246fcd99d Rework country views in registration view.
// FREEBIE
8 years ago
Matthew Chen ca1467ef2e Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 5cab3be67d Log submission of logs.
// FREEBIE
8 years ago
Michael Kirk 8b75bd727d bump build
// FREEBIE
8 years ago
Michael Kirk f9e1b3f2e0 bump build
// FREEBIE
8 years ago
Michael Kirk 55a44c8c4e Bump build
// FREEBIE
8 years ago
Michael Kirk 0c8da2865e Fix search/replace
// FREEBIE
8 years ago
Michael Kirk 730d6419bc Bump build
// FREEBIE
8 years ago
Michael Kirk 4f51dcf2ef bump build
// FREEBIE
8 years ago
Michael Kirk 84bc5b1e67 Pull latest translations
// FREEBIE
8 years ago
Matthew Chen f68e40f7d8 Add animated gif UTI types to attachment.
// FREEBIE
8 years ago
Matthew Chen d320cef1a9 Fix play button for incoming video attachments.
// FREEBIE
8 years ago
Michael Kirk 6466e9f41f [SSK] Better logging for envelopes
Leave last 3 digits of recipientId when scrubbing logs.

This is in line with other Signal clients, and makes it possible to
trace interactions.

// FREEBIE
8 years ago
Matthew Chen 58eb77e073 Use “stop” not “cancel” buttons.
// FREEBIE
8 years ago
Michael Kirk 2564f53060 sync translations
some were just pushed and still need translation

// FREEBIE
8 years ago
Michael Kirk 6a573b87d2 bump release target
// FREEBIE
8 years ago
Michael Kirk cebfc479f8 Fixup acf3a6e syntax
// FREEBIE
8 years ago
Michael Kirk ab2bfb3a67 Fix spacing of custom back button
...and use it (only) in Messages VC

Otherwise we'd have to do lots of manual handling of
interactivePopGesture

// FREEBIE
8 years ago
Michael Kirk c182a05961 Fix swipe-back-to-pop gesture.
The interactivePopGestureRecognizer machinery doesn't work when you have
a custom back button.

// FREEBIE
8 years ago
Michael Kirk 0a09330d35 Delete unused code
// FREEBIE
8 years ago
Matthew Chen e724acc978 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen c6a280e005 Only initiate WebRTC calls, not RedPhone calls.
// FREEBIE
8 years ago
Matthew Chen 814c6d2505 Only initiate WebRTC calls, not RedPhone calls.
// FREEBIE
8 years ago
Michael Kirk 8973881d3d Fix switches for those who like to "slide"
There's more than one way to flip a switch.

// FREEBIE
8 years ago
Michael Kirk d76d04b8e8 Fixup 4814edf3d3
// FREEBIE
8 years ago
Michael Kirk 0b81523597 Clearer logging and added an assert per CR
// FREEBIE
8 years ago
Michael Kirk 6036e20079 Filter high diacritical text, regardless of length
// FREEBIE
8 years ago
Michael Kirk eb0399f040 Fix "Call failed" due to deadlock when immediately terminating call
It's not clear why we were ever dispatching `sync` here.

Before this:

Place a call
See "connecting..."
Hang up
UI hangs for ~5 seconds
See "call failed" on CallKit screen
Press "cancel" on CallKit screen
returned to responsive app.

// FREEBIE
8 years ago
Matthew Chen 81ed045718 Disable the "scroll to new message" animation.
// FREEBIE
8 years ago
Matthew Chen b9b81ca8ef Honor call privacy settings in call notifications.
// FREEBIE
8 years ago