Commit Graph

1861 Commits (235a842137c6642f10922c2024aa502cc9af43f9)

Author SHA1 Message Date
Matthew Chen 86fb083079 Rationalize the attributed and unattributed display name formatting and caching.
// FREEBIE
8 years ago
Matthew Chen dd3394be1b Cache display names for accounts.
// FREEBIE
8 years ago
Matthew Chen 3a83f93099 Tweak appearance of registration views.
// FREEBIE
8 years ago
Matthew Chen d065c95270 Hide the socket status view when censorship circumvention is active.
// FREEBIE
8 years ago
Michael Kirk fe54f4319f fix reply-from lockscreen on larger devices
// FREEBIE
8 years ago
Michael Kirk 37e0b1a004 Sending to unconfirmed idnetity presents confirmation
Rather than send/fail

// FREEBIE
8 years ago
Michael Kirk 643301eae6 Fix tag typo
// FREEBIE
8 years ago
Michael Kirk 1a03be8ae7 Fetch safety number upon entering thread
* uniform method to get recipients in group/contact thread
  * use it to clean up markAsSeenJob

// FREEBIE
8 years ago
Michael Kirk 2c7ccbe5db Make sure screen protection is applied before ending bg task
* code cleanup
* Prefer dispatch_async vs. dispatch_sync when possible

// FREEBIE
8 years ago
Matthew Chen 1d792d1878 Rename audio duration and image size methods in TSAttachmentStream.
// FREEBIE
8 years ago
Michael Kirk 4b8544d5f7 ensure atomic write to wasSeen property
// FREEBIE
8 years ago
Michael Kirk 6d00aac046 style cleanup, no functional changes
// FREEBIE
8 years ago
Michael Kirk bb25d2beb6 IdentityKeyStore changes
1) Always accept keys from incoming messages

2) Block sending only if it's a recent change, or if always
   block is enabled

// FREEBIE

// FREEBIE
8 years ago
Matthew Chen 2475406258 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 4680a2465a Remove registration storyboard.
// FREEBIE
8 years ago
Matthew Chen 78f443374f Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 964e6f1adf Improve asserts and logging in attachment adapters.
// FREEBIE
8 years ago
Matthew Chen b1f7cf0d62 Cache image size and audio duration on attachments.
// FREEBIE
8 years ago
Matthew Chen 9577038f11 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 7547d03a78 Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen 2fc683dd9d Add example phone number to registration view and make layout responsive.
// FREEBIE
8 years ago
Matthew Chen 070395e8b6 Rewrite registration view.
// FREEBIE
8 years ago
Matthew Chen eeb510b903 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 4ac78d9b41 Replace app settings segue.
// FREEBIE
8 years ago
Matthew Chen 632cb78751 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen db097ab8de Fix caching of message bubble sizes.
// FREEBIE
8 years ago
Matthew Chen b0005ea932 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen bc501b16f2 Let users manually specify the domain fronting country.
// FREEBIE
8 years ago
Matthew Chen 98c5e7d69c Add support for manually activating censorship circumvention.
// FREEBIE
8 years ago
Matthew Chen c07f28565e Revise manual censorship circumvention.
// FREEBIE
8 years ago
Matthew Chen e746636c7c Expose manual censorship circumvention setting.
// FREEBIE
8 years ago
Matthew Chen db10cbaeea Convert AdvancedSettingsTableViewController to OWSTableView.
// FREEBIE
8 years ago
Matthew Chen 7f3d76d8bb Convert the app settings view to OWSTableView.
// FREEBIE
8 years ago
Matthew Chen 4bb702fe0d Add support for manually activating censorship circumvention.
// FREEBIE
8 years ago
Matthew Chen 2e36f41838 Add support for manually activating censorship circumvention.
// FREEBIE
8 years ago
Matthew Chen 6550680f60 Fix glitch in unread indicator layout.
// FREEBIE
8 years ago
Matthew Chen dac5483fdd Clean up CountryCodeViewController delegates.
// FREEBIE
8 years ago
Matthew Chen 61de84a203 Clean up CountryCodeViewController delegates.
// FREEBIE
8 years ago
Matthew Chen 867eb7d741 Convert CountryCodeViewController.
// FREEBIE
8 years ago
Matthew Chen ea9dc3fe77 Rationalize the segues between registration view and country code view.
// FREEBIE
8 years ago
Matthew Chen a37b194dc0 Add debug functions for sending media messages.
// FREEBIE
8 years ago
Matthew Chen d28467aac6 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen df2ee6ba55 “Add to contacts” offer.
// FREEBIE
8 years ago
Matthew Chen bc63389d23 “Add to contacts” offer.
// FREEBIE
8 years ago
Matthew Chen 7b70fe674a “Add to contacts” offer.
// FREEBIE
8 years ago
Matthew Chen ac0c6e21de Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 14ebc58d52 Revise scrolling behavior of messages view.
// FREEBIE
8 years ago
Matthew Chen c639926f2c Revise scrolling behavior of messages view.
// FREEBIE
8 years ago
Matthew Chen 4e1dda275d Revise scrolling behavior of messages view.
// FREEBIE
8 years ago
Matthew Chen 55dab36ce1 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen b3948f27d7 Add debug functions to generate and delete random contacts.
// FREEBIE
8 years ago
Matthew Chen 7db19df742 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen c70487be80 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen db07ea8a8e Persist attachment file paths.
// FREEBIE
8 years ago
Matthew Chen e4f31b5e40 Rename attachment source filename property.
// FREEBIE
8 years ago
Matthew Chen f201ddbba5 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 16549bee1f Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen 0983448c74 Add unread indicator.
// FREEBIE
8 years ago
Matthew Chen 6164f65f0a Add unread indicator.
// FREEBIE
8 years ago
Matthew Chen ac458cc7ad Add unread indicator.
// FREEBIE
8 years ago
Matthew Chen ebf500d805 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 6704396998 Lazy load attachments in messages view, etc.
// FREEBIE
8 years ago
Michael Kirk 35a6dc7636 Show Contact name, not number, of unregistered user
// FREEBIE
8 years ago
Michael Kirk a210caed3d bump version
// FREEBIE
8 years ago
Matthew Chen 0ec095f216 Nag users on iOS 8 to upgrade.
// FREEBIE
8 years ago
Matthew Chen e80d40d7f6 Update l10n strings.
// FREEBIE
8 years ago
Michael Kirk 14b6294d6f code cleanup pre CR
// FREEBIE
8 years ago
Michael Kirk 4adaaa605f Hide contact editing features on iOS8
// FREEBIE
8 years ago
Michael Kirk 05d70a76df iOS8 contact store adaptee
// FREEBIE
8 years ago
Michael Kirk 889ad0bc67 Extract code incompatible with iOS8 into adapter
// FREEBIE
8 years ago
Matthew Chen 54faff2db2 Show alerts for missing or invalid phone numbers in registration view.
// FREEBIE
8 years ago
Matthew Chen 37a601d765 Honor the local calling code in select recipient view.
// FREEBIE
8 years ago
Matthew Chen 14fed91ea2 Fix edge cases in voice message recording.
// FREEBIE
8 years ago
Matthew Chen 5c8956f977 Dismiss keyboard before showing the “too short voice message” alert.
// FREEBIE
8 years ago
Matthew Chen 5fd93eace0 Fix missing notifications.
// FREEBIE
8 years ago
Matthew Chen fc7dec04aa Fix missing notifications.
// FREEBIE
8 years ago
Michael Kirk f87696cc6c do not use phone data detectors
The actions offered by the phone number data detectors are confusing
within the context of a messaging app - e.g. people might assume that
the "call" action correspons to a Signal call.

// FREEBIE
8 years ago
Michael Kirk c31fd0dfcc Fix flicker of "no contacts" screen on message compose
// FREEBIE
8 years ago
Matthew Chen 9dc1847ca9 Change conversation settings buttons to gray.
// FREEBIE
8 years ago
Michael Kirk ce002c2280 bump build
// FREEBIE
8 years ago
Michael Kirk 17cff1a26d Revert "Merge branch 'charlesmchen/bluetoothAudio'"
This reverts commit 48a2005aa2, reversing
changes made to de1332479c.

// FREEBIE
8 years ago
Michael Kirk b76c3fb1c6 bump build
// FREEBIE
8 years ago
Matthew Chen 6c9f44b99d Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen 54bf103508 Fix Bluetooth audio when recording voice messages.
// FREEBIE
8 years ago
Matthew Chen 7e18052c45 Fix Bluetooth audio in calls.
// FREEBIE
8 years ago
Michael Kirk de1332479c bump version
// FREEBIE
8 years ago
Michael Kirk e727c0a77a update mic perm copy
// FREEBIE
8 years ago
Michael Kirk 16032b9c61 strongSelf per CR
// FREEBIE
8 years ago
Michael Kirk c56ff7532c Fix confusing double permission request on new install when sending
voice notes

// FREEBIE
8 years ago
Michael Kirk 7861af4fc0 mention voice notes in mic permission request
// FREEBIE
8 years ago
Michael Kirk b136c5f74c pull latest translations
// FREEBIE
8 years ago
Michael Kirk e2b1cbb154 Don't show "no signal accounts" until contact intersection has completed
at least once

// FREEBIE
8 years ago
Matthew Chen fc51768197 Work around m4a vs. mp4 issue for voice messages in legacy iOS clients.
// FREEBIE
8 years ago
Michael Kirk cb1c843979 Fix disclosure icon direction on iOS9
// FREEBIE
8 years ago
Michael Kirk 44eed98995 sync translations
// FREEBIE
8 years ago
Michael Kirk 285a2f64df bump build 2.12.0.2
// FREEBIE
8 years ago
Matthew Chen c1a1ea7f3b Let users start new 1:1 conversations with blocked non-contacts found by phone number.
// FREEBIE
8 years ago
Matthew Chen 2048b330ac Don't hide keyboard when recording a voice message.
// FREEBIE
8 years ago
Matthew Chen 00d972db48 Rework appearance of audio and generic attachment messages.
// FREEBIE
8 years ago
Matthew Chen b8b2ae10a2 Rework appearance of generic attachment messages.
// FREEBIE
8 years ago
Matthew Chen 2c31a0bdb5 Rework appearance of audio messages.
// FREEBIE
8 years ago
Michael Kirk ea1a1b1015 bump build
//FREEBIE
8 years ago
Michael Kirk a92538ab9e Sync translations
// FREEBIE
8 years ago
Michael Kirk abcc510341 "Conversation Settings" -> "Contact/Group Info"
Clearer heading

// FREEBIE
8 years ago
Michael Kirk 33dc4d3d8a [SSK] Show Voice Message snippet
// FREEBIE
8 years ago
Matthew Chen 02843958f7 Rework appearance of audio messages.
// FREEBIE
8 years ago
Matthew Chen bcc7007812 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen e1fba208ae Align photo and audio bubble widths.
// FREEBIE
8 years ago
Matthew Chen ad9c715bf7 Deduplicate items in new conversation view and try to show “phone number” results as signal accounts if possible.
// FREEBIE
8 years ago
Matthew Chen 12e45eaf84 Ignore taps on outgoing messages while they are being sent.
// FREEBIE
8 years ago
Matthew Chen 1a593e5f34 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 5afe9bca6f Respond to CR.
// FREEBIE
8 years ago
Matthew Chen b316e18cfa Ensure contact delegate helper is set during initialization.
// FREEBIE
8 years ago
Matthew Chen 4a2a3ffa51 Trim whitespace from group names.
// FREEBIE
8 years ago
Matthew Chen 782e3d42bd Trim whitespace from group names.
// FREEBIE
8 years ago
Matthew Chen 3e8b4225b3 Show alert when user tries to play an invalid audio file.
// FREEBIE
8 years ago
Michael Kirk 07c39d9242 Merge pull request #2105 from WhisperSystems/mkirk/contact-perf
return contact parsing to background thread
8 years ago
Matthew Chen 6ec167e7e0 Disable scrolling if no contacts in “select recipient” views.
// FREEBIE
8 years ago
Michael Kirk 90de4edeef return contact parsing to background thread
inadvertently moved it to main thread with
354d46e3f4

// FREEBIE
8 years ago
Michael Kirk 0a7996ffbc Perform contact intersection ~every 6 hours even if no contacts changed
// FREEBIE
8 years ago
Michael Kirk 9131cd83fb update contacts only when changed
otherwise we're spamming contact intersection all the time

// FREEBIE
8 years ago
Matthew Chen a7cf00feb4 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 1b99fd1df4 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 46b6a59d6d Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen a15d11c3e6 Rework appearance of voice messages and audio attachments.
// FREEBIE
8 years ago
Matthew Chen ea34cec0d9 Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen 96e155c75e Rework appearance of voice messages and audio attachments.
// FREEBIE
8 years ago
Matthew Chen 0ff3e5e6a3 Don’t add blocked users to new groups and handle block alert results correctly.
// FREEBIE
8 years ago
Matthew Chen f10d530410 After sending a text message, the "send" button should revert to mic.
// FREEBIE
8 years ago
Matthew Chen 37278c22d5 Remove extra period in voice message file names.
// FREEBIE
8 years ago
Michael Kirk 722736d264 translation spellcheck =/
// FREEBIE
8 years ago
Michael Kirk 8a0ff276cf copy tweak
// FREEBIE
8 years ago
Michael Kirk 8e24937727 Update translations
// FREEBIE
8 years ago
Michael Kirk cf10104983 bump version
// FREEBIE
8 years ago
Michael Kirk d3a96725a1 fix block scoping. I'm not even sure how this compiled before.
// FREEBIE
8 years ago
Michael Kirk 755d5dc4e6 resolve push-token changes from RI of hotfix/2.11.4
// FREEBIE
8 years ago
Michael Kirk 929ba06263 Merge branch 'hotfix/2.11.4' into mkirk/fix-push-sync-job 8 years ago
Michael Kirk 82503db380 sync translations
// FREEBIE
8 years ago
Matthew Chen 73f79f05ec Format example phone numbers.
// FREEBIE
8 years ago
Matthew Chen c81eed74ca Show example phone numbers.
// FREEBIE
8 years ago
Matthew Chen 0bab5ed404 Always honor filtering in contact-related views.
// FREEBIE
8 years ago
Matthew Chen 033ce90dd3 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen eabda5ad90 Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen 19b80d1f4b Rework the “disappearing messages” logic.
// FREEBIE
8 years ago
Michael Kirk 7bdd732870 remove contact name from production log
// FREEBIE
8 years ago
Michael Kirk 20fc733bdf Clearer call logging
// FREEBIE
8 years ago
Michael Kirk 737a5932c0 tapping contact label shows contact edit view
// FREEBIE
8 years ago
Michael Kirk bd343f6971 clean up some animations
// FREEBIE
8 years ago
Michael Kirk aabd56b23d Clean up comments per CR
// FREEBIE
8 years ago
Michael Kirk 9dc9813dea fix layout for long named contacts
// FREEBIE
8 years ago
Michael Kirk 3754b6f264 Edit 1:1 contact details
// FREEBIE
8 years ago
Matthew Chen b2fba060d8 Fix edge case where screen protection is not removed.
// FREEBIE
8 years ago
Michael Kirk e95b579d97 TODONE
// FREEBIE
8 years ago
Matthew Chen 41deab12de Fix “two table views” bug in “show group members” view.
// FREEBIE
8 years ago
Michael Kirk 073c0d6639 Add/Edit contacts in group list
* properly populate phone fields
* Fix appearence for CNContactViewController
* "Add Contact" vs "Show Contact"

// FREEBIE
8 years ago
Michael Kirk 8411d13ef6 show number for no-name contacts
previously if you had a contact, but no saved name
there would be a blank entry in your compose picker

// FREEBIE
8 years ago
Michael Kirk 3040c4a341 include missing return
// FREEBIE
8 years ago
Michael Kirk fee47efbea Avoid repaint by requestng contacts before Compose
This entailed passing callback params through the contact request.

// FREEBIE
8 years ago
Michael Kirk dc75e592c1 ensure contact callback on proper thread
// FREEBIE
8 years ago
Michael Kirk 64bcc94589 Instead of alert we're providing in context reminders - no need for
these TODOs

// FREEBIE
8 years ago
Michael Kirk 04878bf222 rename method to better reflect new role
// FREEBIE
8 years ago
Michael Kirk 03727a27f6 compose w/o contact access -> "..by phone number"
The search field and invite buttons are not very useful without contacts
access.

// FREEBIE
8 years ago
Michael Kirk 0b6962cdd0 contacts reminder in compose view
// FREEBIE
8 years ago
Michael Kirk bf5b6d1e63 Invite Flow when "no contact"
TODO: we should probably just prevent people from getting to the invite
flow when their contacts aren't shared, but still it seems good to fix
these crashes.

// FREEBIE
8 years ago
Michael Kirk 40dead89e5 don't crash invite flow when contacts disabled
// FREEBIE
8 years ago
Michael Kirk 708690303c bump build
// FREEBIE
8 years ago
Matthew Chen 2cffe78c22 Sync push tokens to service after every app upgrade.
// FREEBIE
8 years ago
Matthew Chen e85aa045e1 Flag voice messages as such in protos.
// FREEBIE
8 years ago
Matthew Chen 29dd62a19a Always clear message drafts after sending a text message.
// FREEBIE
8 years ago
Matthew Chen 4506064aa6 Prefer to determine an attachment’s file extension for its file name if possible.
// FREEBIE
8 years ago
Matthew Chen 0137e01aff Try to deduce attachment MIME type from the file extension if possible.
// FREEBIE
8 years ago
Matthew Chen 73db16e068 Improve logging around push token sync.
// FREEBIE
8 years ago
Matthew Chen 5a7ed605e3 Bump version number.
// FREEBIE
8 years ago
Matthew Chen 2f3831e04b Respond to CR.
// FREEBIE
8 years ago
Matthew Chen dd3d63623a Pull logging into SyncPushTokensJob.
// FREEBIE
8 years ago
Matthew Chen 716aa772f6 Always sync and log push tokens. Apply OWSAlerts in more places.
// FREEBIE
8 years ago
Matthew Chen aba29ac5ce Improve logging around SyncPushTokensJob.
// FREEBIE
8 years ago
Matthew Chen ad3a1a671a Merge remote-tracking branch 'origin/hotfix/2.11.3' 8 years ago
Matthew Chen b47337c0ba Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 34a7f9cba5 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen b21e5c3248 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 7f92b5a96b Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 7a37de28e5 Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen bf6d8ec141 Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen 8ecdc8a2eb Move voice memo button to send button.
// FREEBIE
8 years ago
Matthew Chen c34d61b93f Add cancel-by-swipe of voice memo recording.
// FREEBIE
8 years ago
Matthew Chen 608cb70a3b Add voice memo recording.
// FREEBIE
8 years ago
Matthew Chen 45c8695ab4 Sketch out the voice memo UI.
// FREEBIE
8 years ago
Michael Kirk fbcda40400 rename class, extract color
per code review

// FREEBIE
8 years ago
Michael Kirk a58a71f8f4 no contacts banner -> system settings 8 years ago
Matthew Chen 9f4b8d3b0f Slightly reduce the non-contact cell heights in “new 1:1 conversation” view.
// FREEBIE
8 years ago
Matthew Chen d0e26a58c3 Show “invite by SMS” offer for matching non-Signal contacts when searching in “new 1:1: conversation” view.
// FREEBIE
8 years ago
Matthew Chen 1e6fd385b5 Fix assert in conversation settings view.
// FREEBIE
8 years ago
Matthew Chen 3f7d23e043 Fix two hotspots in contact parsing and contact syncing.
// FREEBIE
8 years ago
Matthew Chen 535fc566a5 Rework handling of phone number names.
// FREEBIE
8 years ago
Matthew Chen 0c4351a908 Use SignalAccount class to sync contacts.
// FREEBIE
8 years ago
Michael Kirk d7c7fff679 Fix some compiler warnings
* explicit optional usage in strings
* remove some unused StringUtil code
* swiftlint affected files
* more concise optional casting (and avoid a `!`)

Compiler warnings: 343 -> 318

(Actually most of these are in external libs, but 115 remain in Signal/SSK)

// FREEBIE
8 years ago
Matthew Chen 45ae8fb067 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 2bc1d44cd2 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 1b99671e0e Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen 325134c6e8 Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen 363d84fd2d Update “new conversation” view to use OWSTableView, contacts view helper, etc.
// FREEBIE
8 years ago
Matthew Chen dcdfcb0a6f Insist upon an "ordered" TCP data channel for delivery reliability.
// FREEBIE
8 years ago
Michael Kirk 41d911c04c pull latest translations
// FREEBIE
8 years ago
Michael Kirk 6beee7c012 verify peerconnection at proper time
// FREEBIE
8 years ago
Michael Kirk 2ec893d315 Ensure we're retaining all promises to completion
// FREEBIE
8 years ago
Matthew Chen dd3d338966 Bump version.
// FREEBIE
8 years ago
Matthew Chen e36c3aaed7 Reconcile audio and video enabling with call state.
// FREEBIE
8 years ago
Matthew Chen 1444cfc630 Merge remote-tracking branch 'origin/hotfix/2.11.2' 8 years ago
Michael Kirk a056c1e052 Check for signalContact vs. AB setup.
Same intent as previous check but more to the point, and doesn't
require tracking additional state.

// FREEBIE
8 years ago
Michael Kirk 364f416a69 Block editing contact if user has denied contact permissions
// FREEBIE
8 years ago
Michael Kirk b24cf29189 don't request contacts until necessary
Most commonly this will be after hitting the "compose" button

But also we'll do it in the SignalViewController once you've received a
message.

- get rid blocking contacts nag
- use Contacts framework simplifies logic
- remove dead AB code

// FREEBIE
8 years ago
Matthew Chen 33415eaa0f Respond to CR.
// FREEBIE
8 years ago
Matthew Chen ae7934c117 Update appearance of audio and generic attachment adapters.
// FREEBIE
8 years ago
Matthew Chen 800715a5e0 Remove waveform from audio message bubbles.
// FREEBIE
8 years ago
Michael Kirk 93801e8d29 only show count when there is more than 1 of the same type
// FREEBIE
8 years ago
Michael Kirk 4b6bfa4c4c "home", "other" and "work" instead of "Unknown" phone label
// FREEBIE
8 years ago
Michael Kirk fb7a9e39ab bump build
// FREEBIE
8 years ago
Michael Kirk 2f05dcc2c5 fix crash when viewing undisplayable text
(can't init attributed string with nil)

// FREEBIE
8 years ago
Michael Kirk 572c1e3d80 pull latest translations
// FREEBIE
8 years ago
Michael Kirk b5b4eb4564 bump build
// FREEBIE
8 years ago
Matthew Chen 0f85284b82 Fix speakerphone vs. WebRTC AND Fix CallService edge cases.
// FREEBIE
8 years ago
Michael Kirk 1b66e0ba26 Fix crash when placing call
// FREEBIE
8 years ago
Matthew Chen 147107d76c Fix database deadlock in contacts manager.
// FREEBIE
8 years ago
Matthew Chen 4bc98dba58 Rework the scaling and cropping of group avatars.
// FREEBIE
8 years ago
Matthew Chen 8eef4c634c Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 26f69b0063 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen f71ec9f7cb Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 2bec1db541 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen ad11c50c1b Reworking observation of Contact and SignalAccount changes.
// FREEBIE
8 years ago
Matthew Chen 994aec0d86 Add SignalAccount class.
// FREEBIE
8 years ago
Matthew Chen 6801963a1b Add SignalAccount class.
// FREEBIE
8 years ago
Matthew Chen 93700f1044 Extract labels for phone numbers.
// FREEBIE
8 years ago
Matthew Chen 42768294ee Extract labels for phone numbers.
// FREEBIE
8 years ago
Matthew Chen cb9d96be00 Clean up ahead of PR.
// FREEBIE
8 years ago
Matthew Chen da7dd1b128 Clean up debug scaffolding.
// FREEBIE
8 years ago
Matthew Chen f5cd39ea35 Apply ContactsViewHelper to SelectThreadViewController.
// FREEBIE
8 years ago
Matthew Chen 61f59067b6 Improve contact-related views.
* Add support for contacts with more than one Signal account using ContactAccount class.
* Use OWSTableViewController in contact-related views.
* Let users add non-contacts to groups.
* Improve the "new group" and "edit group" views.
* Add utility methods for displaying alerts.
* Warn users before discarding unsaved changes in "edit group" view.
* Pull out "contact view helper" to de-duplicate common logic among contact-related views.
* Pull out "group view helper" to de-duplicate common logic among group-related views.
* Pull out new base class for view used to add accounts to groups or the block list.

// FREEBIE
8 years ago
Michael Kirk a1eef6fde5 Remove invalid assert in case of legitimately stacking unicode
This assert was being falsely triggered by legitimate unicode.

The current state of affairs (unchanged by this PR) is that all
diacriticals will be stripped from a message that also contains e.g. 3
flags in a sequence.

// FREEBIE
8 years ago
Michael Kirk faa797c743 Fix crash when placing call
// FREEBIE
8 years ago
Matthew Chen d06f358a23 Don't unwrap with ! in CallService.
// FREEBIE
8 years ago
Matthew Chen 6ae3a5395e Skip attachment approval dialog for image and video shot by camera.
// FREEBIE
8 years ago
Michael Kirk 700bd6e08a Fix build, remove unnecessary return
Fixup 27e55d2906

// FREEBIE
8 years ago
Michael Kirk 3a0f84cf36 Avoid crash in CallService
Rather than force unwrapping (`!`), use guards/implicit unwrapping to
handle the failure gracefully.

// FREEBIE
8 years ago
Michael Kirk b9a56fe81d bump build
// FREEBIE
8 years ago
Michael Kirk d68c5c249b sync translations
// FREEBIE
8 years ago
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
8 years ago
Michael Kirk adbc6eb71a style cleanup
// FREEBIE
8 years ago
Michael Kirk 4d5d808675 Ensure push token update job runs to completion
Promises must be retained.

// FREEBIE
8 years ago
Michael Kirk 549b7d5a9b bump build
// FREEBIE
8 years ago
Michael Kirk d408fab7bb Sync translations
// FREEBIE
8 years ago
Michael Kirk 48971478dd Allow importing of any file that's not a directory
// FREEBIE
8 years ago
Michael Kirk 1b61c3b0ce fix attachment-import error alert presentation
// FREEBIE
8 years ago
Matthew Chen 2cc3232c01 Fix presentation of “open with Signal” errors.
// FREEBIE
8 years ago
Matthew Chen c08e6e0fc6 Ignore “open with Signal” if there is an ongoing call.
// FREEBIE
8 years ago
Matthew Chen 782140d367 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 791fee347b Improve errors in the 'export with Signal' feature.
// FREEBIE
8 years ago
Matthew Chen 89c5f93aad Tweak appearance of "export with Signal" UI.
// FREEBIE
8 years ago
Michael Kirk 7901b6e685 sync translations
// FREEBIE
8 years ago
Michael Kirk 9964e9cb22 bump build
// FREEBIE
8 years ago
Michael Kirk dcb237bf3d must include name for file types
// FREEBIE
8 years ago
Michael Kirk d0ff13c51d sync translations
// FREEBIE
8 years ago
Michael Kirk 4acdddf1d9 bump build
// FREEBIE
8 years ago
Michael Kirk 822f5c8415 support sending all files
use generic mimetype when file has unknown extension

// FREEBIE
8 years ago
Michael Kirk 93fe122323 display error if user picks directory/bundle e.g. .pxm
// FREEBIE
8 years ago
Michael Kirk 1d91441676 truncate really long file names in the middle
// FREEBIE
8 years ago
Matthew Chen 8a8b10b688 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen d081df9ded Respond to CR.
// FREEBIE
8 years ago
Matthew Chen c84da982ae Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 93eed73530 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 5c0c9b533e Respond to CR.
// FREEBIE
8 years ago
Matthew Chen e75ed5e477 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 6e36ce97a5 Let users share imported files to a thread or contact of their choice.
// FREEBIE
8 years ago
Matthew Chen 3c7574a908 Register Signal to handle a wide variety of common document types.
// FREEBIE
8 years ago
Matthew Chen 788ec4ce01 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen d42588b957 Improve appearance of generic attachments and the attachment approval dialog.
// FREEBIE
8 years ago
Michael Kirk 7f1019af6e bump build
// FREEBIE
8 years ago
Michael Kirk 66e858a35a Validate all picked attachments/ show preview
// FREEBIE
8 years ago
Michael Kirk 4d15fbf2dc cherry-pick (rebased) charlesmchen/stressTesting/Signal/src/ViewControllers/SignalAttachment.swift
// FREEBIE
8 years ago
Michael Kirk 203009d4ef fix compiler warning / idiomatic optional unwrapping
// FREEBIE
8 years ago
Michael Kirk 26b94bf94b Always send a filename
// FREEBIE
8 years ago
Michael Kirk 1aa8e35f55 sync translations
// FREEBIE
8 years ago
Michael Kirk 20a9fa602e bump version
// FREEBIE
8 years ago
Michael Kirk 077038b6cc Fix squashed "downloading" bubbles in groups
// FREEBIE
8 years ago
Matthew Chen b99984f9d3 Fix the “message view subtitle mis-sized after muting” issue.
// FREEBIE
8 years ago
Matthew Chen 89de686809 Fix the “navigation titles are black after sharing” issue.
// FREEBIE
8 years ago
Michael Kirk 4440183414 translation comment for "group name" field
// FREEBIE
8 years ago
Michael Kirk 0cd71b3b2e sync latest translations
// FREEBIE
8 years ago
Michael Kirk 0386e8cff9 bump build
// FREEBIE
8 years ago
Michael Kirk 1d65d6dc42 clip upload mask to bounds of generic file bubble
// FREEBIE
8 years ago
Matthew Chen a0a930aac3 Resolve the menu item conflicts between message view and media view.
// FREEBIE
8 years ago
Matthew Chen 866493c8ed Add icons to attachment action sheet.
// FREEBIE
8 years ago
Michael Kirk ea7c74316e capitalize *all* letters of file extension
// FREEBIE
8 years ago
Michael Kirk 474a6d3253 document picker uses approval dialog
// FREEBIE
8 years ago
Matthew Chen 1acb2d7493 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 9779527cf2 Let users edit group name and avatar by tapping on them in group settings view.
// FREEBIE
8 years ago
Matthew Chen 5cbbf50059 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen a59f49ceac Resolve the menu item conflicts between message view and media view.
// FREEBIE
8 years ago
Matthew Chen 62e6c9a120 Fix crash unsafely accessing optional media method.
// FREEBIE
8 years ago
Matthew Chen 210802994e Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 03a97cdd70 Only the last cell associated with a media adapter should clear its views.
// FREEBIE
8 years ago
Matthew Chen ef92d5e3bc Fix distorted images in messages view.
// FREEBIE
8 years ago
Matthew Chen 226dffff7a Fix distorted images in messages view.
// FREEBIE
8 years ago
Matthew Chen 552eecfd03 Increase local notification delay.
// FREEBIE
8 years ago
Michael Kirk 0331244b5c bump version
// FREEBIE
8 years ago
Michael Kirk b2e5972198 Sync translations
// FREEBIE
8 years ago
Michael Kirk 70d235a670 Choose arbitrary attachments from iCloud/GDrive/Dropbox/etc
// FREEBIE
8 years ago
Michael Kirk b1ea340c36 Callscreen fills buttons to show active state
// FREEBIE
8 years ago
Matthew Chen a4709c9218 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen eb23252c6c Fix timer retain cycle.
// FREEBIE
8 years ago
Matthew Chen 4b2bdd9b52 Use audio attachment player in attachment preview dialog.
// FREEBIE
8 years ago
Matthew Chen 041badd295 Decouple the audio attachment player from the video attachment adapter.
// FREEBIE
8 years ago
Matthew Chen b90b71351f Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 980d726a48 Add audio attachment player.
* Fix two bugs around play/pause button appearance.
* Fix bugs around stopping playback when leaving view/entering background.
* Fix bugs around cleaning up playback state  when leaving view/entering background.
* Fix audio playback vs. hardware mute button.
* Improve handling of invalid audio attachments.

// FREEBIE
8 years ago
Michael Kirk 61d72f8e95 bump build
// FREEBIE
8 years ago
Michael Kirk 5c39d623a6 tweaked copy per @RiseT
// FREEBIE
8 years ago
Michael Kirk 0ff24d18a3 bump version
// FREEBIE
8 years ago
Michael Kirk ed0d3a03a8 sync translations
// FREEBIE
8 years ago
Michael Kirk d9e3e87735 New downloading progress view (#2006)
Replace previous "scary" warning-style attachment notifications with
something less alarming.

Includes file name and file type emoji when discernable.

// FREEBIE
8 years ago
Matthew Chen 2b09033dda Show mute status in home view.
// FREEBIE
8 years ago
Matthew Chen b2dd458f12 Fix “muted until” date format.
// FREEBIE
8 years ago
Matthew Chen d65e398450 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen b2664158b1 Pause animated gifs when offscreen; clean up media views more aggressively.
// FREEBIE
8 years ago
Matthew Chen ee765df4b1 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen e36b5a4602 Improve group members view.
// FREEBIE
8 years ago
Matthew Chen 06f9affc01 Fix segues in conversation settings view.
// FREEBIE
8 years ago
Matthew Chen a29809e672 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen bfd29cd994 Send contacts sync messages whenever the contacts change.
// FREEBIE
8 years ago
Matthew Chen 2a9ac87568 Fix paste of text.
// FREEBIE
8 years ago
Matthew Chen 791dba9242 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 3368659d87 Improve handling of call service edge cases.
// FREEBIE
8 years ago
Matthew Chen b4464f91a2 Improve handling of call service edge cases.
// FREEBIE
8 years ago
Matthew Chen 3c4955840d Improve handling of call service edge cases.
// FREEBIE
8 years ago
Matthew Chen f920300f28 Improve handling of call service edge cases.
// FREEBIE
8 years ago
Matthew Chen 499c8d0bc1 Add muting of threads.
// FREEBIE
8 years ago
Matthew Chen d968c899b5 Add muting of threads.
// FREEBIE
8 years ago
Matthew Chen 2ca122f579 Add muting of threads.
// FREEBIE
8 years ago
Matthew Chen 2c286c8b53 Add muting of threads.
// FREEBIE
8 years ago
Matthew Chen c8466912f0 Add muting of threads.
// FREEBIE
8 years ago
Michael Kirk b54508bb28 when generating strings verify that SSK is on master
Otherwise it's really easy to generate strings from the wrong branch

// FREEBIE
8 years ago
Matthew Chen 3ccee7ffda Don’t load contact store twice.
// FREEBIE
8 years ago
Matthew Chen 1fa037527c Fix calling by using actual session descriptions.
// FREEBIE
8 years ago
Matthew Chen d614073795 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen e025b86e75 Rework outgoing message state.
// FREEBIE
8 years ago
Matthew Chen cc766bcc53 Rework outgoing message state.
// FREEBIE
8 years ago
Matthew Chen 66d1a37859 Rework outgoing message state.
// FREEBIE
8 years ago
Matthew Chen 3e53605009 Improve thread safety in PushManager and NotificationsManager.
// FREEBIE
8 years ago
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