Commit Graph

2069 Commits (c69c029509be3a8cc676031f56831dedb3f1837c)

Author SHA1 Message Date
Michael Kirk 501e2c761f Merge tag '2.38.1.2' 6 years ago
Michael Kirk 3fb8b02b3b update front 6 years ago
Michael Kirk a7bd372147 Fix tests by removing side effect in getter
While setting up the test CurrentAppContect, we use OWSTemporaryDirectory which in turn
recursively references CurrentAppContext, which crashes.

Clearing temp directories on every activation is sufficient.
6 years ago
Michael Kirk 07e88009e4 Merge tag '2.38.0.11' 6 years ago
Michael Kirk e69494450b put conversation search behind feature flag 6 years ago
Michael Kirk e42192624f fixup tests 6 years ago
Michael Kirk 2242dd240f Fix "blank notification text" for oversize messages 6 years ago
Michael Kirk 05d8846f6c match highlight behavior with search behavior 6 years ago
Michael Kirk 5ed16355d7 iOS9 needs a different assertion 6 years ago
Michael Kirk 048f19c6b8 specify yyyy date format 6 years ago
Michael Kirk 5e52d66b05 bump feedback endpoint 6 years ago
Michael Kirk 0d822597a1 specify locale when timestamp parsing 6 years ago
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. 7 years ago
Matthew Chen cd194af31a Respond to CR. 7 years ago
Matthew Chen bf2edf2486 Update comments. 7 years ago
Matthew Chen 2d3314751b Clean up ahead of PR. 7 years ago