Commit Graph

2107 Commits (b20ac237b23e9582cead41693428c346f2bc95cb)

Author SHA1 Message Date
Michael Kirk 7dbb9517af Centralize attachment state in nav controller 6 years ago
Matthew Chen dd54b40bed Respond to CR. 6 years ago
Matthew Chen 987726df6c Temp files. 6 years ago
Matthew Chen 81e3dfc3cf Respond to CR. 6 years ago
Matthew Chen bb1921afe6 Simplify link preview cache. 6 years ago
Matthew Chen 04b60677a6 Simplify link preview cache. 6 years ago
Matthew Chen ae5cee2167 Clean up the link preview cache. 6 years ago
Matthew Chen 9b34e4ac61 Respond to CR. 6 years ago
Matthew Chen c5a87c4d20 Add asserts around CDS feedback errors. 6 years ago
Michael Kirk aa46113b4a disable custom capture flow for now 6 years ago
Michael Kirk 0b638f4831 link checks 6 years ago
Michael Kirk 78ce3583ed fix rotation issue 6 years ago
Matthew Chen df4cf5c09e Respond to CR. 6 years ago
Matthew Chen fed4899c8d Handle incoming attachments with missing MIME type. 6 years ago
Matthew Chen c180d20dcd Store media size from attachment pointer protos. 6 years ago
Matthew Chen c37f425d5f Reduce logging. 6 years ago
Michael Kirk 284357137f Photo/Movie Capture 6 years ago
Michael Kirk 91ec9ebf9d Fix overzealous assert 6 years ago
Matthew Chen 863c96c62a Merge tag '2.37.1.0' 6 years ago
Matthew Chen 10383783e3 Respond to CR. 6 years ago
Matthew Chen d84e0eead9 Respond to TIOLI feedback from https://trello.com/c/ntO5hBbl/4161-prs-for-michael-to-review 6 years ago
Michael Kirk 2a151dbf6d update settings key 6 years ago
Michael Kirk b36a0061e1 contact picker perf for contact with many phone numbers
Only consider first n phone numbers for a contact.

Some users have a "Spam" contact created by external apps which have thousands
of known telemarkers/scammers phone numbers, this pathological case causes a
slowdown in the presentation of the compose picker.
6 years ago
Carola Nitz 117411009b Add public keyword to fix compilation for framework integration 6 years ago
Michael Kirk 870caaa84a simplify completion checking - make nonnull 6 years ago
Matthew Chen fff93f8bb2 Use content proxy to configure all proxied content requests. 6 years ago
Matthew Chen ad90a8e0c4 Use content proxy to configure all proxied content requests. 6 years ago
Matthew Chen 5eaeeff838 Use content proxy to configure all proxied content requests. 6 years ago
Michael Kirk a7e8f9713c Try to account for variability in network backed tests 6 years ago
Michael Kirk 7e5256856c render media+longText message 6 years ago
Michael Kirk b7989e9384 feature flag approval sending 6 years ago
Michael Kirk bc4260b444 Send long-text with other attachments 6 years ago
Matthew Chen 0f98d63365 Tweak name of proxied request padding header. 6 years ago
Michael Kirk 645a26cbdf use connection pool for reads 6 years ago
Michael Kirk fabd3996c2 pop view if message is deleted
- use global ui database connection
6 years ago
Matthew Chen 20d22f6395 Add user agent for proxied requests. 6 years ago
Matthew Chen 5f0de5c36d Respond to CR. 6 years ago
Matthew Chen 6ef65ad9d6 Send and process 'recipient update' sync messages. 6 years ago
Matthew Chen bb7d328267 Send and process 'recipient update' sync messages. 6 years ago
Matthew Chen e27e27cc3a Send and process 'recipient update' sync messages. 6 years ago
Matthew Chen 01b1df5375 Add 'is update' flag to 'sent message' transcript proto schema. 6 years ago
Matthew Chen f19915fb75 Add 'is update' flag to 'sent message' transcript proto schema. 6 years ago
Matthew Chen 5f3a03a06a Add 'sent update' transcripts to proto schema. 6 years ago
Matthew Chen 4f19d03bdc Send 'sent update' sync messages. 6 years ago
Matthew Chen 6ce84e7f9b Process 'sent update' transcripts. 6 years ago
Matthew Chen ccc1bd3331 Process 'sent update' transcripts. 6 years ago
Matthew Chen 304c285540 Add 'sent update' transcripts to proto schema. 6 years ago
Matthew Chen b53243da31 Add 'sent update' transcripts to proto schema. 6 years ago
Matthew Chen 907159f3f4 Process 'sent update' transcripts. 6 years ago
Matthew Chen f36373e3ca Add 'sent update' transcripts to proto schema. 6 years ago
Matthew Chen 32965a0c14 Respond to CR. 6 years ago
Matthew Chen 40768825c8 Pad proxied request sizes. 6 years ago
Matthew Chen a47930f613 Skip HEAD for proxied content downloads. 6 years ago
Matthew Chen f006972c39 Skip HEAD for proxied content downloads. 6 years ago
Matthew Chen 089eec4136 Skip HEAD for proxied content downloads. 6 years ago
Matthew Chen 9402e088b2 Apply design feedback from Myles. 6 years ago
Michael Kirk cdb8663c81 fix up selecting after url case 6 years ago
Michael Kirk 6d6d076c08 Use correct cache for LinkPreviewDraft, add stricter typing to help avoid similar issues. 6 years ago
Michael Kirk 467dde2bc9 Try to avoid generating link previews while user is actively editing the URL 6 years ago
Michael Kirk 34585bdeb3 Increase message retries 6 years ago
Michael Kirk a01cb04d85 FIX: Onboarding controller sets phoneNumberAwaitingForVerification 6 years ago
Michael Kirk d26c095fe7 Merge remote-tracking branch 'origin/release/2.36.0' 6 years ago
Matthew Chen e3946e5779 Sketch out the 'onboarding code verification' view. 6 years ago
Matthew Chen e1dc534fe6 Respond to CR. 6 years ago
Michael Kirk 6c08f98fbb replying to notification marks thread as read 6 years ago
Matthew Chen efe5513c4e Sketch out the 'onboarding code verification' view. 6 years ago
Matthew Chen 1f922aa478 Sketch out the 'onboarding code verification' view. 6 years ago
Matthew Chen 91834454a9 Respond to CR. 6 years ago
Matthew Chen b9d94e77f6 Respond to CR. 6 years ago
Matthew Chen 58abf76244 Sketch out CAPTCHA onboarding view. 6 years ago
Matthew Chen 57394f0015 Respond to CR. 6 years ago
Matthew Chen 2a4b9426c3 Sketch out the 'onboarding phone number' view. 6 years ago
Matthew Chen 618a3b1d47 Sketch out crop tool. 6 years ago
Matthew Chen 0807325190 First draft of image editor's text tool. 6 years ago
Michael Kirk af475aa1e4 update registration state on main thread 6 years ago
Michael Kirk a1b412c704 Fix "missed calls" not sorting threads
Ensure we touch thread after saving *any* interaction
6 years ago
Michael Kirk 0d5d5c6932 limit reason length 6 years ago
Michael Kirk 1de0ede52d Specific CDS feedback 6 years ago
Matthew Chen ea547fa46a Merge tag '2.35.0.12' 6 years ago
Matthew Chen f575c0f100 Add fbcdn.net to link previews media whitelist. 6 years ago
Michael Kirk d88ffc4775 Notification titles for iOS10+ 6 years ago
Matthew Chen 1dbb9849c5 Remove 'message receipt ordering' logging. 6 years ago
Matthew Chen bb46720898 Add logging around socket ordering. 6 years ago
Matthew Chen 2cdb7bb0ed Respond to CR. 6 years ago
Matthew Chen 928b0a1630 Add session manager pools. 6 years ago
Matthew Chen e2b92ed42b Add session manager pools. 6 years ago
Matthew Chen 280b9378b5 Add session manager pools. 6 years ago
Michael Kirk c2aee429b1 move ContactsManager to local dependency 6 years ago
Michael Kirk 1bfe691895 In app notifications for iOS10+
Extract shared notification presention/response

Implement adapters which use that logic for modern UNUserNotification and
legacy UINotifications
6 years ago
Michael Kirk c01284f848 beef up notifications DebugUI 6 years ago
Matthew Chen 501e883cc4 Merge tag '2.35.0.10' 6 years ago
Matthew Chen 63a5de1852 Add logging around socket ordering. 6 years ago
Michael Kirk 5f59623254 fix CDS for iOS9 6 years ago
Matthew Chen 229450bc47 Enable 'note to self' feature flag. 6 years ago
Matthew Chen 867efb62ff Respond to CR. 6 years ago
Matthew Chen 6b3fe04537 Use connection property for errors in message receiver. 6 years ago
Matthew Chen 70185dd872 Batch outgoing ICE updates. 6 years ago
Matthew Chen 6b5952abda Move work off main thread. 6 years ago
Matthew Chen 4feb0011d7 Reduce logging. 6 years ago
Matthew Chen 77396e11fd Send sync messages with link previews preference. 6 years ago
Matthew Chen b1cce5ef71 Add link previews preference to configuration protos. 6 years ago
Matthew Chen ef62bcd004 Disable 'Note to Self.' 6 years ago
Matthew Chen 6d967cb31d Fix 'link preview prefs taint cache' issue. 6 years ago
Matthew Chen f2d580cae6 Update user agent for proxied content downloads. 6 years ago
Matthew Chen 3c0235d57e Enable 'note to self' feature flag. 6 years ago
Matthew Chen b0704074b9 Rework quoted attachments. 6 years ago
Matthew Chen bba679eaef Add user-agent for media downloads. 6 years ago
Matthew Chen 0ce9d1a858 Always re-encode link preview images as JPEG even if they don't need to be resized. 6 years ago
Matthew Chen c68eee5bfe Accept newlines in link preview titles. 6 years ago
Matthew Chen 957a733838 Yet more link preview refinements. 6 years ago
Matthew Chen b48d5fbcf0 Revise link preview domain whitelists. 6 years ago
Matthew Chen f174d5be62 Clean up link previews. 6 years ago
Matthew Chen e7b9f7da99 Flush multi-process writes more aggressively. 6 years ago
Matthew Chen 4c5b9001c3 Elaborate the link preview tests. 6 years ago
Matthew Chen 2e9f2e6154 Elaborate the link preview tests. 6 years ago
Matthew Chen 090dd1f523 Use NSDataDetector to extract URLs for link previews. 6 years ago
Matthew Chen 744d3074ac Fix link preview tests. 6 years ago
Matthew Chen e4d5926b30 Resize link preview images if necessary. 6 years ago
Matthew Chen 9149282e94 Resize link preview images if necessary. 6 years ago
Matthew Chen 9b33d70d7b Constrain max size of link preview image. 6 years ago
Matthew Chen c4274d63c8 Fix build warnings in fake profile manager. 6 years ago
Matthew Chen e172eeff0e Link preview preference should only affect outgoing link previews. 6 years ago
Matthew Chen 23980152fc Segment proxied content downloads. 6 years ago
Matthew Chen db15ff9a26 Segment proxied content downloads. 6 years ago
Matthew Chen 4e7dbc486d Segment proxied content downloads. 6 years ago
Matthew Chen 635b5740ac Add missing domain to link preview whitelist. 6 years ago
Matthew Chen e2747dc702 Fix glitch in link loading. 6 years ago
Matthew Chen b002c0c9e1 Refine link parsing and validation logic. 6 years ago
Matthew Chen a7d848ef7c Add missing nullability annotations. 6 years ago
Matthew Chen becd72329b Fix build warnings about nullability. 6 years ago
Matthew Chen 7e9c3b2dac Clean up all message attachments. 6 years ago
Matthew Chen 7d4e89daac Discard link previews if incoming message has attachments. 6 years ago
Matthew Chen 3d757b492a Add link previews to conversation message bubbles. 6 years ago
Matthew Chen 0569ed3f59 Respond to CR. 6 years ago
Matthew Chen f73f100717 Link preview temp files. 6 years ago
Matthew Chen c57b0d98cb Add link previews setting. 6 years ago
Matthew Chen 977ee9ffe9 Merge remote-tracking branch 'private/release/2.34.0' 6 years ago
Matthew Chen f37aacca85 Respond to CR. 6 years ago
Matthew Chen 2dcc79fbca Fix issues around link previews. 6 years ago
Matthew Chen 6e044675ac Respond to CR. 6 years ago
Matthew Chen 8e44bf554c Respond to CR. 6 years ago
Matthew Chen d775a70a89 Build link previews. 6 years ago
Matthew Chen 31ea64bdaf Build link previews. 6 years ago
Matthew Chen 7878c0fac8 Add feature flag for 'note to self'. 6 years ago
Matthew Chen 343c7d8ece Remove timer queue. 6 years ago
Michael Kirk 323249baa0 NSRunLoop methods should only be accessed on it's corresponding thread. 6 years ago
Michael Kirk 64cdaae02e schedule retry timer on main run loop 6 years ago
Michael Kirk 1d24fa7c50 Fixup WebSocket 6 years ago
Michael Kirk 16c8a1a76e replace SocketRocket with Starscream 6 years ago
Matthew Chen f13c1de738 Respond to Cr. 6 years ago
Matthew Chen 55376975f5 Add link preview parsing and validation logic. 6 years ago
Matthew Chen 45b93cc4b4 Respond to CR. 6 years ago
Matthew Chen a477e01a4a Apply LinkPreview model. 6 years ago
Matthew Chen 4eb05e369d Add LinkPreview model. 6 years ago
Matthew Chen aa916965d0 Update protos to reflect link previews. 6 years ago
Matthew Chen 5a529567aa Update protos to reflect link previews. 6 years ago
Matthew Chen 76f410b2b7 Update protos to reflect link previews. 6 years ago
Michael Kirk 119f309787 Fixup database conversion vis a vis SQLCipher4 6 years ago
Michael Kirk 371ff08d45 remove legal terms feature flag 6 years ago
Michael Kirk eb71c49794 registration validator 6 years ago
Michael Kirk 5708754d30 update to sqlcipher4 6 years ago
Michael Kirk 60f816c747 Area code inference for US and Brazil 6 years ago
Michael Kirk 5d9e03ba40 convert to guard statements for readability 6 years ago
Michael Kirk ea76ea9492 fix phone number parsing test 6 years ago
Matthew Chen 63260ee94d Fix registration. 6 years ago
Michael Kirk b95dcd4ae3 fix broken test 6 years ago
Matthew Chen 46b0cdb872 Caution around group avatars. 6 years ago
Matthew Chen 951f0dab22 Respond to CR. 6 years ago
Matthew Chen ed25f4748d Deprecate 'signaling key'. 6 years ago
Matthew Chen 78d0685cba Discard transient messages if there is no session. 6 years ago
Matthew Chen 1934b5d589 Tweak unseen database view accessor. 6 years ago
Matthew Chen 9ab8bec2b1 Fix searching for 'note to self'. 6 years ago
Michael Kirk 432af13b63 Fix timer update message.
This was broken in 5671fd252 while resolving merge conflicts from applying the
sortId changes.
6 years ago
Matthew Chen 449633e0dc Respond to CR. 6 years ago
Matthew Chen a7909c9c2e Note to Self. 6 years ago
Matthew Chen 1d13a02927 Note to Self. 6 years ago
Matthew Chen 17c3ba0580 Image editor fixes. 6 years ago
Matthew Chen dc6dadad43 Respond to CR. 6 years ago
Matthew Chen 1260e7459d Add asserts around attachment crash. 6 years ago
Michael Kirk 38d5db9658 remove unnecessary logging 6 years ago
Michael Kirk 260002b02f move extension methods to SCK 6 years ago
Michael Kirk 3151e6e1a3 move string extensions up 6 years ago
Michael Kirk e735916388 move all possible methods into String+OWS in SCK 6 years ago
Michael Kirk df79fc9ed0 Move String+OWS into SSK
name Switcharoo String+OWS/String+SSK categories to reflect where they live.
6 years ago
Matthew Chen 1d905119ac Fix issues from integration testing. 6 years ago
Matthew Chen cd194af31a Respond to CR. 6 years ago
Matthew Chen bf2edf2486 Update comments. 6 years ago
Matthew Chen 2d3314751b Clean up ahead of PR. 6 years ago
Matthew Chen 0005a33d37 Decrypt device names in linked devices views. 6 years ago
Matthew Chen c113c8e962 Add DeviceNamesTest. 6 years ago
Matthew Chen d59e2bb613 Add decryption to DeviceNames. 6 years ago
Matthew Chen 0d20ebc62b Add encryption to DeviceNames. 6 years ago
Matthew Chen 79375e20b2 Update proto schema. 6 years ago
Michael Kirk 7bc5357397 [PERF] optimize search normalization saves 2.5% on large migration 6 years ago
Michael Kirk 0cb702b37f [PERF] save 2% on large migrations 6 years ago
Michael Kirk ca5b3c8ec9 make factory methods public 6 years ago
Michael Kirk fc7a713619 CR: use existing transaction rather than open sneaky one 6 years ago
Michael Kirk e0c9b590c0 CR: fix comment typo 6 years ago
Michael Kirk af7ee5e1d1 address compiler breakage after rebase 6 years ago
Michael Kirk 0db3f240dd keep legacy properties around just in case... 6 years ago
Michael Kirk 9d5753bd81 fix sortId comparison 6 years ago
Michael Kirk 5671fd2520 Revert "Revert 'new sort id'."
This reverts commit ebae75af00.
6 years ago
Matthew Chen 2df70aba6b Localize voice verification codes. 6 years ago
Michael Kirk dfb985f46c Merge tag '2.33.0.10' 6 years ago
Matthew Chen 4e0cfac911 Respond to CR. 6 years ago
Matthew Chen 07fef16155 Discard typing indicators for blocked and left groups. 6 years ago
Matthew Chen fa9af6c923 Try to play .mpg videos. 6 years ago
Matthew Chen b0e0c6e8c2 Replace edited attachments when sending. 6 years ago
Matthew Chen 26a25f861b Start sketching out image editor. 6 years ago
Michael Kirk 67cc1027cc Fix compiler warnings 6 years ago
Matthew Chen ca129bf360 Preheat more UI DB views. 6 years ago
Matthew Chen 19a2bfeaad More conversation viewmodel perf improvements. 6 years ago
Matthew Chen 5f637f24e9 Preheat UI DB views. 6 years ago
Matthew Chen b0295b736b Add ReverseDispatchQueue. 6 years ago
Matthew Chen bd318a84ab Fix typo. 6 years ago
Matthew Chen a96c6ed3b2 Persist the media validity cache. 6 years ago
Michael Kirk 425bdd7a4f guard against edge case
Though, I don't think this method should ever be called when localNumber is
nil.
6 years ago
Michael Kirk c8c932033b add proper nullability annotation 6 years ago
Michael Kirk beb02afce9 Soft delete group threads 6 years ago
Michael Kirk c0cb7df10a rename hasEverHadMessage -> shouldThreadBeVisible 6 years ago
Michael Kirk b7ab036c04 warn_unused_result on AnyPromise methods 6 years ago
Matthew Chen 48bd0cfa06 Add missing retains to promises. 6 years ago
Michael Kirk 9eb0c5e773 Merge branch 'release/2.32.0' 6 years ago
Michael Kirk 1328191a19 log transcript timestamp 6 years ago
Michael Kirk eb96eec94a Merge branch 'release/2.32.0' 6 years ago
Michael Kirk 5423607393 debug logging 6 years ago
Matthew Chen 4f0fa23c4f Don't ever show TI when they are disabled. 6 years ago
Michael Kirk 694b9ef7e9 Merge tag '2.32.0.20' 6 years ago
Matthew Chen 6e457e43ca Clear typing indicators when they are disabled. 6 years ago
Matthew Chen 7506d93eaf Respond to CR. 7 years ago
Matthew Chen fe8259bf0c Fix incremental backup exports. 7 years ago
Matthew Chen d70aa4418f Merge branch 'release/2.32.0' 7 years ago
Matthew Chen aa4fea64cf Improve Profiles Debug UI. 7 years ago
Michael Kirk 92dd77779c Merge tag '2.32.0.19' 7 years ago
Michael Kirk 9eeed99708 fix formatting after merge 7 years ago
Michael Kirk 156302acc7 Merge tag '2.31.2.0' into release/2.32.0 7 years ago
Matthew Chen 0955ab8662 Refine envelope processing. 7 years ago
Michael Kirk 1ab4ed9aec enable typing indicators directly from splash 7 years ago
Matthew Chen 036c6dca41 Merge branch 'release/2.32.0' 7 years ago
Matthew Chen 973afd041d Merge branch 'hotfix/2.31.1' into release/2.32.0 7 years ago
Michael Kirk 2b43fe31ed verify serialzed message exists 7 years ago
Matthew Chen a2dfcd0288 Respond to CR. 7 years ago
Matthew Chen 7624b01d1b Respond to CR. 7 years ago
Matthew Chen c183aeca8e Refine asserts around message sending. 7 years ago
Matthew Chen a6cef1c4cc Update UD indicators. 7 years ago
Matthew Chen b290c9a89f Fix headers for censorship circumvention. 7 years ago
Matthew Chen 4d1c38cc45 Never failover message sends. 7 years ago
Matthew Chen 08de701d6e Clean up ahead of CR. 7 years ago
Matthew Chen ca65325710 Don't send messages with restoring attachments. 7 years ago
Michael Kirk 39c8a153df fixup 2.32.0 RI 7 years ago