Commit Graph

2961 Commits (17907dca10a5e1b614eb0ea7241a5cdaf13db04a)

Author SHA1 Message Date
Matthew Chen 7429e1968c Clean up ahead of PR. 8 years ago
Matthew Chen edaf65223a Migrate to shared data NSUserDefaults. 8 years ago
Matthew Chen cd11ec5698 Add app group, share keychain. Take a first pass at file migration to shared data directory. 8 years ago
Michael Kirk 9ac3ce3758 Memoize bubble factory
Shaves 5% off of initial conversation load.

// FREEBIE
8 years ago
Michael Kirk fd829ba575 Merge branch 'hotfix/2.19.1' 8 years ago
Michael Kirk 2c4cf96515 Some proof of framework integration in the sample share extension
// FREEBIE
8 years ago
Michael Kirk 961727814b Move pinning certificates into App
// FREEBIE
8 years ago
Michael Kirk a11d83187b WIP: Framework-friendly - compiles but crashes on launch
// FREEBIE
8 years ago
Michael Kirk c5b0f7cd01 framework compatible CocoaLumberjack import
With previous import style, the `LOG_ASYNC_ENABLED, LOG_LEVEL_DEF`
macros were not being defined.

@import style module includes are handled differently in ObjC++, causing
problems with out millisecondTimeStamp implementation. Rather than
address that problem head on, I simple reimplemented our millisecond
timestamp method in objective-c, removing our single ObjC++ file.

// FREEBIE
8 years ago
Michael Kirk de028404bb Shared framework between app and extension
// FREEBIE
8 years ago
Michael Kirk 741723c990 pull latest translations
// FREEBIE
8 years ago
Michael Kirk 9d1e3dc223 We need to change file extensions when converting data
// FREEBIE
8 years ago
Matthew Chen 1f3cc8752b Fix the add photo permission crash on iOS 11. 8 years ago
Michael Kirk 1a99b34913 Fix iOS8 crash on type
// FREEBIE
8 years ago
Matthew Chen 33f2233181 Bump version number to v2.19.1. 8 years ago
Matthew Chen 40b2ecf580 Add debug UI for hallucinating lots of large attachments to stress shared data migration. 8 years ago
Matthew Chen bfc1445675 Add debug UI for hallucinating lots of large attachments to stress shared data migration. 8 years ago
Matthew Chen f4f2ff8835 Bump build to 2.19.0.22.
// FREEBIE
8 years ago
Matthew Chen 8acce3b5bd Simplify the unread indicator logic. 8 years ago
Michael Kirk 43092ee6ac CR: be extra paranoid about archiving the reset session
// FREEBIE
8 years ago
Michael Kirk 47926418b5 Prevent subsequent "No valid session" errors from the recipient of an
EndSession message.

// FREEBIE
8 years ago
Matthew Chen 443ef58377 Bump build to 2.19.0.21.
// FREEBIE
8 years ago
Matthew Chen 97efc359f0 Merge branch 'mkirk/center-loading-more' 8 years ago
Michael Kirk a542471bbe center "Loading More Messages" label
// FREEBIE
8 years ago
Matthew Chen bd6cb22255 Update l10n strings. 8 years ago
Matthew Chen f9f0f1c27d Revert "Force conversation view cells to update layout immediately."
This reverts commit ef820a3719.
8 years ago
Matthew Chen 35bdc86ab5 Reload adjacent rows using original indices, not final indices. 8 years ago
Matthew Chen 71f5ef5940 Improve handling of unread indicator edge cases. 8 years ago
Matthew Chen 2ec1e7e925 Respond to CR. 8 years ago
Matthew Chen f07cbeef72 Bump build to 2.19.0.20.
// FREEBIE
8 years ago
Matthew Chen 61666351cc Update l10n strings. 8 years ago
Matthew Chen 2d241623b7 Improve handling of edge cases around unread indicator delimiting deleted message(s). 8 years ago
Matthew Chen 5ef9d53c91 Update conversation view UI to reflect unread state. 8 years ago
Matthew Chen ef820a3719 Force conversation view cells to update layout immediately.
// FREEBIE
8 years ago
Matthew Chen 9b4ac4073f Improve robustness around unknown country codes. 8 years ago
Michael Kirk 73655de3d9 bump build
// FREEBIE
8 years ago
Michael Kirk 7d6f37b0e1 Sync translations
// FREEBIE
8 years ago
Michael Kirk 370364c936 Scroll down button scrolls to unread
// FREEBIE
8 years ago
Matthew Chen b0c9add29c Update layout of "scroll down button" to reflect RTL. 8 years ago
Matthew Chen d9fcfdeeb7 Fix deadlock when responding to contacts sync messages. 8 years ago
Matthew Chen 92ef507810 Make swipe-for-details RTL-safe. 8 years ago
Michael Kirk 596206557f bump build
// FREEBIE
8 years ago
Michael Kirk 358612542e pull translations
// FREEBIE
8 years ago
Michael Kirk 74f98067f9 bump build
// FREEBIE
8 years ago
Matthew Chen a07e1e0cf9 For most views, only try to dismiss keyboard when scroll drag starts. 8 years ago
Matthew Chen aea2bf3e00 Fix scroll state insets in conversation view. 8 years ago
Matthew Chen 5cfa7e35f4 Respond to CR. 8 years ago
Michael Kirk 34811a635b Fixes: "connected call" showing as "unconnected outgoing" call.
Expire viewItem cache when resetting mappings

// FREEBIE
8 years ago
Matthew Chen b76d9a4e68 Remove redundant logTag methods. 8 years ago
Matthew Chen a4879f6bb5 Remove redundant logTag methods. 8 years ago
Matthew Chen 8eb4e682d9 Revert "Show menu controller from centroid of message cells."
This reverts commit 08bb1c909d.
8 years ago
Matthew Chen cebeea9189 Reduce extremes of Jumbomoji behavior. 8 years ago
Matthew Chen d8ae5841d6 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 45c7d80d97 Improving handling of edge cases in conversation view. 8 years ago
Matthew Chen 6d4a05bbea Improving handling of edge cases in conversation view. 8 years ago
Matthew Chen 658746093d Use finalIndex in row changes. 8 years ago
Michael Kirk 86c1a3d08a CR: use weak capture
// FREEBIE
8 years ago
Michael Kirk 30b50e1489 Activate audio at the proper time
// FREEBIE
8 years ago
Michael Kirk 81f097c1f5 Don't drop critical data messages
Assigning dataChannel sometimes happens after iceConnect.

Fixes symptom where Alice calls Bob.
Bob answers and sees the call UI as normal
but Alice sees call as continuing to ring

// FREEBIE
8 years ago
Michael Kirk 2e75e9df55 Don't ignore critical errors
// FREEBIE
8 years ago
Michael Kirk 91f25bec3c Remove overzealous assert
// FREEBIE
8 years ago
Michael Kirk 8ee030bea1 Don't dismiss keyboard when view appears
// FREEBIE
8 years ago
Matthew Chen ceac36f910 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 6e60d99ecf Show push tokens in about view.
// FREEBIE
8 years ago
Matthew Chen e9bace34ba Fix "sliding tables" issue in linked devices view. 8 years ago
Michael Kirk abb57f2a15 App icon for system call screen
On iOS10 there was a default "..." button, but now we need our own.

// FREEBIE
8 years ago
Michael Kirk 7fd3d665dc Request contacts as necessary when app is brought back to the foreground
// FREEBIE
8 years ago
Michael Kirk 01e1d10c30 Only show contact nag if we've denied contact access
// FREEBIE
8 years ago
Matthew Chen 7b1a846f79 Dismiss keyboard when leaving conversation view. 8 years ago
Matthew Chen e79613184a Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 089e4a4a02 Fix layout of table views vs. nav bar. 8 years ago
Matthew Chen 572de11763 Apply dynamic type sizing to Jumbomoji. 8 years ago
Matthew Chen cc32e52de1 Bump build to 2.19.0.16.
// FREEBIE
8 years ago
Matthew Chen 0ffa79df6c Bump build to 2.19.0.15.
// FREEBIE
8 years ago
Matthew Chen 937ac5830d Skip animations in conversation view. 8 years ago
Matthew Chen b67179b45d Skip animations in conversation view. 8 years ago
Matthew Chen 0ccddb696a Add workaround for bug in iOS 11.1 beta around hit area of custom back buttons.
// FREEBIE
8 years ago
Matthew Chen 96274a60a9 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 7aae47b021 Reduce font size of "load more" indicator. 8 years ago
Matthew Chen dffd776ace Increase the max text message length. 8 years ago
Michael Kirk 228e350e2a message details shows failed bubble when appropriate
// FREEBIE
8 years ago
Matthew Chen 6b8f4c7dde Dismiss menu controller if message cell is hidden or recycled. 8 years ago
Matthew Chen 08bb1c909d Show menu controller from centroid of message cells. 8 years ago
Matthew Chen 307c8595c3 Bump build to 2.19.0.14.
// FREEBIE
8 years ago
Matthew Chen 9d4ec557dc Update l10n strings; add Persian l10n. 8 years ago
Michael Kirk 607a5cb08e Fix typo in re-registration flow
// FREEBIE
8 years ago
Michael Kirk e84fcd7c94 Registration bug also affects other versions of iOS
// FREEBIE
8 years ago
Matthew Chen aad93d2d89 Fix broken assert in conversation view item. 8 years ago
Matthew Chen ddf4bf28cc Load attachments for conversation view items using long-lived db connection. 8 years ago
Matthew Chen df5aa5ef67 Update UI to reflect changes to disappearing messages configuration. 8 years ago
Matthew Chen 3380ecdbf2 Bump build to 2.19.0.13.
// FREEBIE
8 years ago
Matthew Chen 21e9f57cbe Imitate Android's behavior of delaying local notifications based on incoming sync messages. 8 years ago
Matthew Chen 2d8a7b03d0 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen d7b0424c75 Don't back up profile pics, attachments or gifs.
// FREEBIE
8 years ago
Matthew Chen 81f37e9918 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen e65010d511 Fix "sliding table content" issue on iOS 11. 8 years ago
Matthew Chen 61ee93c77c Bump build to 2.19.0.12.
// FREEBIE
8 years ago
Michael Kirk 9675cbb1e1 Scroll only as far as necessary
// FREEBIE
8 years ago
Matthew Chen 15a407de13 Bump build to 2.19.0.11.
// FREEBIE
8 years ago
Matthew Chen cc90f4cb80 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 86fdd6dea2 Fix edge cases in conversation view. 8 years ago
Matthew Chen 451dc44e87 Add script to make random changes. 8 years ago
Matthew Chen bfde1aef58 Add script to make random changes. 8 years ago
Matthew Chen 88ae3fbed8 Bump build to 2.19.0.10.
// FREEBIE
8 years ago
Matthew Chen 6413bc8e4c Evacuate the view item cache. 8 years ago
Matthew Chen 19ba564f80 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 00feb14b10 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen c6160a5a1e Rework the "update with..." methods to avoid re-saving deleted models. 8 years ago
Matthew Chen 8f3304ff9d Bump build to 2.19.0.6.
// FREEBIE
8 years ago
Michael Kirk a27b034090 Fix GIF picker footer for iPhoneX
// FREEBIE
8 years ago
Michael Kirk e5263dcf0e Clarify comment
// FREEBIE
8 years ago
Michael Kirk b40d2afc05 Scanner view for iPhoneX
// FREEBIE
8 years ago
Michael Kirk 8c69e00a3f Adapt ConversationViewController to iPhoneX
// FREEBIE
8 years ago
Michael Kirk a3153d29d0 Fix callscreen for iPhoneX
// FREEBIE
8 years ago
Michael Kirk b0ce60a38d Fix layout of registration page for iPhoneX
// FREEBIE
8 years ago
Matthew Chen c3b6c9055e Disable partial text selection; ignore taps outside links; ignore taps on non-sent messages, link-icy all links. 8 years ago
Matthew Chen 3da1d8c63f Disable partial text selection; ignore taps outside links; ignore taps on non-sent messages, link-icy all links. 8 years ago
Matthew Chen c91dda43e0 Disable partial text selection; ignore taps outside links; ignore taps on non-sent messages, link-icy all links. 8 years ago
Matthew Chen c3087cf3df Don't dismiss keyboard when tapping in the conversation view. 8 years ago
Matthew Chen 1944df7a03 Bump build to 2.19.0.5.
// FREEBIE
8 years ago
Matthew Chen bf0f33e4b0 Temporarily alter animations in conversation view. 8 years ago
Matthew Chen af6a7c103c Add a comment. 8 years ago
Matthew Chen 049370f52e Bump build to 2.19.0.4.
// FREEBIE
8 years ago
Matthew Chen 42a70e0def Revert "Temporarily make logging around conversation view row updates more verbose."
This reverts commit 105b033761.
8 years ago
Matthew Chen 5c90bc72df Never request contacts permission if app is in the background. 8 years ago
Matthew Chen 05fc966afd Bump build to 2.19.0.3.
// FREEBIE
8 years ago
Matthew Chen f0a8e08df9 Temporarily alter animations in conversation view. 8 years ago
Matthew Chen 0abdbffe1f Improve handling of attachment edge cases. 8 years ago
Michael Kirk a9dca831d3 Fix method extraction.
method was recently moved, but not all callers were updated.

// FREEBIE
8 years ago
Matthew Chen 518f15155a Respond to CR.
// FREEBIE
8 years ago
Matthew Chen efcd42012c Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 308ecd9cc0 Bump build to 2.19.0.2.
// FREEBIE
8 years ago
Matthew Chen b5f7a4746f Temporarily alter animations in conversation view. 8 years ago
Matthew Chen 3814464595 Increase content insets of attachment button. 8 years ago
Matthew Chen 82627c302c Bump build to 2.19.0.1.
// FREEBIE
8 years ago
Matthew Chen 105b033761 Temporarily make logging around conversation view row updates more verbose. 8 years ago
Matthew Chen c72f39e64b Layout cell content when presenting the cell. 8 years ago
Matthew Chen 87b0692af0 Fixes for scrolling in conversation view. 8 years ago
Matthew Chen fc07c7c04f Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 593c684fcb Don't ask for camera permissions if app is not active.
// FREEBIE
8 years ago
Matthew Chen 5cc292fb6c Don't ask for camera permissions if app is not active.
// FREEBIE
8 years ago
Matthew Chen 5e61307ce3 Don't ask for microphone permissions if app is not active.
// FREEBIE
8 years ago
Matthew Chen f86882b5ff Don't ask for camera permissions if app is not active.
// FREEBIE
8 years ago
Matthew Chen 6e840ff956 Fix build warnings from XCode 9. 8 years ago
Matthew Chen a6bfc0a60e Fix build warnings from XCode 9. 8 years ago
Matthew Chen 2d21e2ae2c Fix build warnings from XCode 9. 8 years ago
Michael Kirk c0bcc40a6f Ensure we re-upload push tokens after re-registering.
// FREEBIE
8 years ago
Michael Kirk f297465713 Whitelist *.signal.org from ATS.
We are validating against our own CA.

// FREEBIE
8 years ago
Michael Kirk 90dad75446 CR: remove unnecessary property
// FREEBIE
8 years ago
Michael Kirk 1f5603760b Fix contact offer
We never assign interaction, but we can get it via the viewItem.

// FREEBIE
8 years ago
Matthew Chen 34abb42469 Update build versions to v2.19.0.
// FREEBIE
8 years ago
Matthew Chen f9fc23660c Merge tag '2.18.2.1' 8 years ago
Matthew Chen 40d2e003a4 Bump build to 2.18.2.1.
// FREEBIE
8 years ago
Matthew Chen 1f35a1d29c Show attachment approval for GIFs.
// FREEBIE
8 years ago
Matthew Chen 167a171caf Fix crashes in attachment approval view.
// FREEBIE
8 years ago
Matthew Chen 511ff83edb Bumped version numbers for hotfix v2.18.2.
// FREEBIE
8 years ago
Matthew Chen 3952f717a5 Add Burmese l10n.
// FREEBIE
8 years ago
Matthew Chen da7338580c Merge tag '2.18.1.0' 8 years ago
Matthew Chen 9c9c63db87 Bumped version numbers for hotfix v2.18.1.
// FREEBIE
8 years ago
Matthew Chen e3f7947da0 Emphasize borders of input toolbar.
// FREEBIE
8 years ago
Matthew Chen 204902c111 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 03241128f6 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 1ea413ad48 Be more defensive about handling local notifications.
// FREEBIE
8 years ago
Matthew Chen a5c4140a12 Reduce max text message bubble size.
// FREEBIE
8 years ago
Matthew Chen ea0b6065e3 Revert "Constrain the max text cell height to the height of the screen."
This reverts commit b9583a3c85a3b27f65b653a1d851c7c966fdc83d.

// FREEBIE
8 years ago
Matthew Chen 608cd2781f Constrain the max text cell height to the height of the screen.
// FREEBIE
8 years ago
Matthew Chen 2b8fc59a8f Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 74854dd788 Tweak biases of the message status logic.
// FREEBIE
8 years ago
Matthew Chen 365e984b7a Tweak biases of the message status logic.
// FREEBIE
8 years ago
Matthew Chen e07a240ee5 Merge tag '2.18.0.9' 8 years ago
Matthew Chen 384d3b201f Bump build to 2.18.0.9.
// FREEBIE
8 years ago
Matthew Chen 92557bf3ef Bump build to 2.18.0.8.
// FREEBIE
8 years ago
Michael Kirk 39e3e9b44f use .com when in US
// FREEBIE
8 years ago
Matthew Chen 4037e2ee39 Merge tag '2.18.0.7' 8 years ago
Matthew Chen 6037477c46 Bump build to 2.18.0.7.
// FREEBIE
8 years ago
Michael Kirk 295646e5fa Rebase cleanup
// FREEBIE
8 years ago
Michael Kirk 58d4c95362 Re-register without losing your messages in Debug-UI
// FREEBIE
8 years ago
Michael Kirk ad8c1db689 Reduce progressive search delay
// FREEBIE
8 years ago
Matthew Chen 93ee029cf3 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen ae48cf1de6 Fix sizing of text bubbles in message detail view.
// FREEBIE
8 years ago
Matthew Chen 7fd5b00d86 Fix text message links in conversation view.
// FREEBIE
8 years ago
Michael Kirk b77e331732 Unify Mute/Hold audio handling
// FREEBIE
8 years ago
Michael Kirk c7642cc628 Fix volume burst when call connects
By centralizing AudioSession management onto the AudioService, we can
avoid enabling the RTCAudioSession while we're mid-ring.

Also allows us to centralize and remove redundant audio session logic.

// FREEBIE
8 years ago
Michael Kirk 402d4157c8 Uniform volume when ringing on speakerphone vs video
// FREEBIE
8 years ago
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
8 years ago
Michael Kirk 36a39caad6 Remove overzealous assert
// FREEBIE
8 years ago
Matthew Chen af5489952c Don't animate message sends.
// FREEBIE
8 years ago
Matthew Chen 40e04ffb92 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 5df4ac92b7 Don't animate message sends.
// FREEBIE
8 years ago
Matthew Chen f823ba8c14 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 05e57cf8bf Don't treat digits 0..9 as Jumbomoji.
// FREEBIE
8 years ago
Matthew Chen 5d4316755f Respond to CR.
// FREEBIE
8 years ago
Matthew Chen d52b19a69e Let users with external keyboards send messages using modifier-return (shift, command, option).
// FREEBIE
8 years ago
Matthew Chen 0c92850d38 Log voice memo durations.
// FREEBIE
8 years ago
Matthew Chen 89dbcb0fe8 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen f95e599c55 Don't overwrite draft after GIF send.
// FREEBIE
8 years ago
Matthew Chen db8a381960 Merge remote-tracking branch 'origin/release/2.18.0' 8 years ago
Matthew Chen a08bd0980c Bump build to 2.18.0.6.
// FREEBIE
8 years ago
Matthew Chen b0629fb6d5 Update l10n strings.
// FREEBIE
8 years ago
Matthew Chen a3600d8e89 Avoid stalls in GIF downloader.
// FREEBIE
8 years ago