Commit Graph

1651 Commits (870f0903f7c8847ac76f08b0710c1317526beef9)

Author SHA1 Message Date
Michael Kirk 4d860bb9c7 fixup job queue test 7 years ago
Michael Kirk 24f57cedda add missing method to FakeContactsManager, convert to Swift to avoid missing
protocol methods in the future.
7 years ago
Michael Kirk ca58bb00f7 fixup tests from throws_ audit 7 years ago
Michael Kirk d492816664 Fixup certificate parsing tests
Skip failure when running tests when we're explicitly testing failure cases.

Be more specific about failure conditions via NSError param
7 years ago
Michael Kirk f45908c89d fixup spk deletion test 7 years ago
Michael Kirk 06b763dfc4 Remove unused methods/tests 7 years ago
Michael Kirk 8472801c4b fix link error when launching SSK tests 7 years ago
Michael Kirk c710b7f8f2 Fixup certificate parsing tests
Skip failure when running tests when we're explicitly testing failure cases.

Be more specific about failure conditions via NSError param
7 years ago
Matthew Chen da4f41defc Fix missing albumMessageId. 7 years ago
Michael Kirk 5da525ce2e Merge remote-tracking branch 'origin/release/2.31.0' 7 years ago
Matthew Chen 1be757788b Prevent long version strings from being scrubbed in the logs. 7 years ago
Matthew Chen 29b4702311 Fix build break. 7 years ago
Michael Kirk 366b228c01 use UUID for TSInteractions.uniqueId 7 years ago
Matthew Chen c9c9d35d19 Discard receipts for unregistered users. 7 years ago
Matthew Chen cd224a1590 Render single media as albums. 7 years ago
Matthew Chen 654325c6dc Add download progress indicators. 7 years ago
Matthew Chen 3daf7d4744 Add OWSAttachmentDownloads. 7 years ago
Michael Kirk 03aba93985 CR: use id for hashvalue, make clearer that we don't expect to use incrementing ID's for uniqueId 7 years ago
Michael Kirk 7cf53293da restore Share/Delete functionality to gallery items in the post multi-attachment world 7 years ago
Michael Kirk 42bf267607 fixup plumbing for incoming messages/synced transcripts 7 years ago
Michael Kirk e096406e56 migrate existing attachments to album-compatible gallery schema 7 years ago
Michael Kirk 57681bd6f3 Gallery supports album messages 7 years ago
Michael Kirk 27cb91e9c8 Plumb through messageAlbumId so an Attachment knows what album (if any) it
belongs to.
7 years ago
Matthew Chen 8b5a993694 Tweak timing of typing indicators. 7 years ago
Matthew Chen 2b5a79f123 Cycle websocket after learning of new linked devices via 409/410. 7 years ago
Matthew Chen f6322cb087 Fix logging in request maker. 7 years ago
Matthew Chen 47022377c2 Respond to CR. 7 years ago
Matthew Chen 954f32b775 Never use UD for sync messages. 7 years ago
Matthew Chen 8ff8f17b21 Never use UD for sync messages. 7 years ago
Matthew Chen 3a46a344ac Never use UD for sync messages. 7 years ago
Matthew Chen 2dfd4b2c0d Rename to media album. 7 years ago
Matthew Chen b7fd48ec40 Respond to CR. 7 years ago
Matthew Chen 9cdf8d06fd Ignore typing indicators from self. 7 years ago
Matthew Chen 57de089118 Add support for album captions to models. 7 years ago
Matthew Chen 3816cb4bf4 Update proto schema to reflect album captions. 7 years ago
Matthew Chen cdfd2779a3 Fix a couple small bugs in the typing indicators. 7 years ago
Matthew Chen 5aa6467d20 Fix issues in media gallery cells. 7 years ago
Matthew Chen 0341f5dc2b Modify ConversationViewItem to support media galleries. 7 years ago
Matthew Chen f2c0985907 Add 'is valid media?' method. 7 years ago
Matthew Chen 1c7add2b8f Respond to CR. 7 years ago
Matthew Chen 39c820b866 Distinguish 'app will/did become ready' events. 7 years ago
Matthew Chen eb2e16872e Distinguish 'app will/did become ready' events. 7 years ago
Matthew Chen 1c21c31c2b Fix failed reloads in SignalRecipient. 7 years ago
Matthew Chen c7d427029b Respond to CR. 7 years ago
Matthew Chen 47fda2e377 Add debug UI for multi-image sends. 7 years ago
Matthew Chen ecba67b511 Add debug UI for multi-image sends. 7 years ago
Matthew Chen f6591fac25 Add debug UI for multi-image sends. 7 years ago
Matthew Chen b90fee08bd Merge remote-tracking branch 'origin/release/2.31.0' 7 years ago
Matthew Chen 650469c6a7 Respond to CR. 7 years ago
Matthew Chen 63d88ef5cb Sketch out TypingIndicatorCell. 7 years ago
Matthew Chen eedc9f9a26 Sketch out "typing indicators" interaction and cell. 7 years ago
Matthew Chen 50381cc94c Add typing indicators in home view. 7 years ago
Matthew Chen b063a49d56 Rework typing indicators API. 7 years ago
Matthew Chen 3eab5b82cc Respond to CR. 7 years ago
Matthew Chen 3011175cef Fix "413 on prekey fetch" errors. 7 years ago
Matthew Chen e89d8b40d7 Fix "413 on prekey fetch" errors. 7 years ago
Matthew Chen 3cc1988f20 Fix "413 on prekey fetch" errors. 7 years ago
Matthew Chen 97e234f785 Fix "413 on prekey fetch" errors. 7 years ago
Matthew Chen 1db5a157ce Respond to CR. 7 years ago
Matthew Chen a5ebe394d1 Include typing indicators in configuration sync messages; emit when that value changes. 7 years ago
Matthew Chen 33f5398ba8 Update proto schema for configuration messages to reflect typing indicators setting. 7 years ago
Matthew Chen ea734ad171 Respond to CR. 7 years ago
Matthew Chen a09cb16e74 Add typing indicators setting. 7 years ago
Michael Kirk 85f85d9c3a fix debug crash 7 years ago
Michael Kirk fe15a260ef Merge branch 'release/2.31.0' 7 years ago
Matthew Chen 3729398507 Request profile fetches on main thread. 7 years ago
Matthew Chen 3d0e7386a4 Respond to CR. 7 years ago
Matthew Chen a98c82645c Start work on typing indicators.
* Update proto schema to reflect typing indicators.
* Sketch out OWSTypingIndicatorMessage.
* Add "online" to the service message params.
* Sketch out logic to send typing indicator messages.
* Sketch out OWSTypingIndicators class.
7 years ago
Matthew Chen 40aa78e001 Merge remote-tracking branch 'origin/release/2.31.0' 7 years ago
Matthew Chen 698e48f2d8 Respond to security review. 7 years ago
Matthew Chen 7d8b20d091 Apply refinements to UD logic. 7 years ago
Matthew Chen 44f6774396 Apply refinements to UD logic. 7 years ago
Matthew Chen c28d131f97 Respond to CR. 7 years ago
Matthew Chen e11d43d1f8 Respond to CR. 7 years ago
Matthew Chen ee87f1b489 Fix test breakage. 7 years ago
Matthew Chen c5f4711595 Apply refinements to UD logic. 7 years ago
Matthew Chen 2541be1619 Apply refinements to UD logic. 7 years ago
Michael Kirk 1dea927a3f Remove some usage of throwswrapped_ in udmanager since we don't need to
propogate the wrapped exception anyway.
7 years ago
Michael Kirk 3d9cd4f4ed CR: comments and code clarity 7 years ago
Michael Kirk 3bef78335d find -E . -type f -regex ".*\.(m|h|swift)" -exec sed -i "" -e "s/trywrapped_/throwswrapped_/g" {} \; 7 years ago
Michael Kirk cb9aa6304c find -E . -type f -regex ".*\.(m|h)" -exec sed -i "" -e "s/try_/throws_/" {} \; 7 years ago
Michael Kirk 8544c86427 Swift Exception wrap HKDFKit 7 years ago
Michael Kirk c4f8975308 Swift Exception wrap Curve25519 7 years ago
Michael Kirk c686e766b1 Exception audit, fail directly where intended 7 years ago
Michael Kirk 9d2731c9b8 exception auditing OWSRaiseException 7 years ago
Michael Kirk 3a6aafc454 Swift Exception wrap NSData+keyVersionByte 7 years ago
Michael Kirk 5f5ec9b82a ExceptionWrap loadPreKey 7 years ago
Michael Kirk b622b3a020 Exception wrap TSDerivedSecrets for Swift 7 years ago
Michael Kirk 8d823193f1 Exception wrap WhisperMessage for Swift 7 years ago
Michael Kirk 1482c600b4 Exception wrap PreKeyWhisperMessage for Swift 7 years ago
Michael Kirk 60769a3d17 Exception wrap SessionCipher for Swift 7 years ago
Matthew Chen a5f715eca1 Fix network manager error wrapping. 7 years ago
Matthew Chen deafc749d1 Fix UD manager tests. 7 years ago
Michael Kirk ccd30e0e1f more logging 7 years ago
Michael Kirk e26db74fcd only check prekeys when decrypting a PKWM 7 years ago
Michael Kirk af3102441d ensure device updates are persisted
Previously we'd skip saves when latest was the same instance as self, which was
*at least* occurring during the 404 handler for prekey fetching while message
sending.

In practice this was cached, so it would be one wasted request per recipient
per launch.
7 years ago
Matthew Chen 33f0a32e59 Improve UD logging. 7 years ago
Matthew Chen 302da66017 Fix UD access logic. 7 years ago
Matthew Chen 737f64b761 Improve UD logging. 7 years ago
Matthew Chen ad59b2f6d2 Move "ud access for sends" logic into UD manager. 7 years ago