Commit Graph

1300 Commits (d161e5ff3d6ed4e22c122665c1a6c9fe6c0a9989)

Author SHA1 Message Date
Matthew Chen e784f9feeb Move fakes to SSK/tests. 7 years ago
Michael Kirk df67e883f3 BlockList vs. "zero length" group names 7 years ago
Michael Kirk 24ea8262d5 consolidate blocked-group state tracking 7 years ago
Michael Kirk 0f9b0936df Use cached group details when rendering blocklist 7 years ago
Michael Kirk 1f15ba6dc5 Cache group details on blocking manager
In case the group thread is later deleted.
7 years ago
Michael Kirk b96e9a6a82 Fix: not receiving group deliveries
Previously we were using the wrong method - the local user's id is removed
from group.recipientIdentifiers
7 years ago
Michael Kirk f1e5b1862f Ignore messages from left groups 7 years ago
Michael Kirk b369ffa88f add type annotations 7 years ago
Michael Kirk b6eb1476cb Leave group when blocking it 7 years ago
Michael Kirk 2c9d905a16 Message processor ignores messages from blocked group 7 years ago
Michael Kirk eadb04efcc WIP: ContactViewHelper incorporates group blocking
-[ ] UI
  -[ ] Conversation Settings
    -[x] Show switch for group
    -[ ] localize
    -[ ] migrate existing localizations? (nice to have)
    -[ ] can view conversation settings (but not edit them) in left group
    -[ ] special block copy for groups
    -[ ] special unblock copy for groups
  -[ ] ConversationViewHelper
   -[x] Track blocked groups
   -[ ] HomeView
   -[ ] ConversationView
   -[ ] Any others?
   -[ ] Rename? Extract BlockList cache?
  -[ ] Block List
    -[ ] Group Section
    -[ ] Unblock group
  -[ ] Interstitial interacting with blocked threads (e.g. thread picker)
    -[ ] BlockListUIUtils w/ thread
        -[x] Block
        -[x] Unblock
        -[ ] Replace usages where possible
        -[x] block manager
-[ ] Sync
  -[x] tentative protos
  -[ ] confirm protos w/ team
  -[x] send new protos
-[ ] Message Processing
  -[ ] Drop messages from blocked groups
7 years ago
Michael Kirk b282d51da0 SyncMessages for blocked groups 7 years ago
Michael Kirk 236c17f65e WIP: group blocking
-[ ] UI
  -[ ] Conversation Settings
    -[x] Show switch for group
    -[ ] localize
    -[ ] migrate existing localizations? (nice to have)
    -[ ] can view conversation settings (but not edit them) in left group
    -[ ] special block copy for groups
    -[ ] special unblock copy for groups
  -[ ] Block List
    -[ ] Group Section
    -[ ] Unblock group
  -[ ] Interstitial interacting with blocked threads (e.g. thread picker)
    -[ ] BlockListUIUtils w/ thread
        -[x] Block
        -[x] Unblock
        -[ ] Replace usages where possible
        -[x] block manager
-[ ] Sync
  -[x] tentative protos
  -[ ] confirm protos w/ team
  -[ ] send new protos
-[ ] Message Processing
  -[ ] Drop messages from blocked groups
7 years ago
Michael Kirk bfe1f38c75 update protos for group blocking 7 years ago
Michael Kirk 08c0b248ed fix group avatar updates and quote generation
don't shadow same-named variable
7 years ago
Matthew Chen 25239ca608 Respond to CR. 7 years ago
Matthew Chen 3935b019f4 Add base class for tests. 7 years ago
Michael Kirk e4d12feeb9 rev gallery db extension since our `isValid` checks have changed 7 years ago
Matthew Chen 106ecf2e8e Respond to CR. 7 years ago
Matthew Chen cc117b385c Modify environment accessors to use our 'shared' convention. 7 years ago
Matthew Chen 3a12446be8 Modify environment accessors to use our 'shared' convention. 7 years ago
Matthew Chen bd05cdc031 Rename TextSecureKitEnv to SSKEnvironment. 7 years ago
Matthew Chen bcceda1861 Respond to CR. 7 years ago
Matthew Chen cfb511aa57 Respond to CR. 7 years ago
Matthew Chen eb616a3411 Respond to CR. 7 years ago
Matthew Chen 535241ef9e Add test app context; use mock "document" and "shared data container" directories in tests, use mock keychain storage in tests. 7 years ago
Matthew Chen 399dd13cee Add test app context; use mock "document" and "shared data container" directories in tests, use mock keychain storage in tests. 7 years ago
Matthew Chen f9eab5cd24 Merge remote-tracking branch 'origin/release/2.29.2' 7 years ago
Michael Kirk 9ec82b9a44 graceful failure when receiving too-small profile data 7 years ago
Michael Kirk 503cb046e4 remove unused FunctionalUtil code 7 years ago
Michael Kirk a2852ee930 Overflow math and safer asserts in Cryptography.m
Also removed some unused code
7 years ago
Michael Kirk c7662b5a86 Step 2/2 %s/OWSAssert/OWSAssertDebug for existing previous assert semantics
Going forward, we want to prefer safer asserts, but we don't want to blindly
apply crashing asserts across the codebase
7 years ago
Michael Kirk a54ed8b201 Step 1/2 Prefer safer asserts 7 years ago
Matthew Chen 9fefdd2e2c Respond to CR. 7 years ago
Matthew Chen a2fe4dbe39 Refine image validation. 7 years ago
Matthew Chen 34a05cdb85 Refine image validation. 7 years ago
Matthew Chen b6649319da Fix build breakage. 7 years ago
Matthew Chen 27fa5dc2ef Make thumbnail logic thread-safe to being called on main thread. 7 years ago
Matthew Chen a04aa259ed Fix bug in sync loading of thumbnails. 7 years ago
Matthew Chen 5bdbf76b08 Cache "is valid image/video" properties. 7 years ago
Matthew Chen b1f2b9e75c Clean up thumbnail-related logic. 7 years ago
Matthew Chen a088b94c74 Update Cocoapods, fix build breakage. 7 years ago
Matthew Chen b91751a114 Respond to CR. 7 years ago
Matthew Chen 748b243156 Restore full-screen thumbnails. 7 years ago
Matthew Chen 9eb2a4f5ad Raise max valid image size. 7 years ago
Matthew Chen 72a71c185b Improve handling of thumbnails dir. 7 years ago
Matthew Chen 3a5d1877da Reduce thumbnail sizes. 7 years ago
Matthew Chen ec83ed182b Clean up. 7 years ago
Matthew Chen 32bf47fc74 Don't track thumbnail metadata in db; improve thumbnail quality. 7 years ago
Matthew Chen 8026d34651 Remove full-screen thumbnail. 7 years ago
Matthew Chen 2daa66fdf6 Use thumbnails dir. 7 years ago
Matthew Chen a9096209e9 Add failure methods to thumbnail service. 7 years ago
Matthew Chen 8748dc9b2e Modify new thumbnail system to include video and GIF thumbnails. 7 years ago
Matthew Chen 206432fdf0 Add failure methods to thumbnail service. 7 years ago
Matthew Chen f6e792c707 Add failure methods to thumbnail service. 7 years ago
Matthew Chen 3437361d70 Use new thumbnails in media gallery thumbnails. 7 years ago
Matthew Chen ac4365e1c9 Add OWSThumbnailService. 7 years ago
Matthew Chen 1831f0b1f8 Reorder AttachmentStream methods. 7 years ago
Matthew Chen 446ceb2b9c Rename AttachmentStream methods. 7 years ago
Matthew Chen 498828f93c Rename AttachmentStream methods. 7 years ago
Matthew Chen 44a3a81469 Update logging and asserts in hotfix changes. 7 years ago
Matthew Chen 9ab4da5c81 cherry-pick Merge branch 'charlesmchen/logSdp' 7 years ago
Matthew Chen fac7f6932f Rename TSGroupMetaMessage enum values. 7 years ago
Matthew Chen f4d1f25656 Merge remote-tracking branch 'origin/release/2.29.1' 7 years ago
Michael Kirk 495830f08d Fixup some SSK tests
Still more to do...
7 years ago
Michael Kirk 6d92413931 WIP: Run SSK tests
This just configures them to run. They're very broken at the moment.
7 years ago
Michael Kirk 6821e4a3a5 Don't include invalid media in gallery 7 years ago
Michael Kirk e715bf9ea2 image sizing
Validate image sizing
7 years ago
Matthew Chen 9477606732 Apply OWS log functions in Objective-C. 7 years ago
Matthew Chen f473f60111 Apply OWS log functions in Objective-C. 7 years ago
Matthew Chen cc5a480baa Apply OWS log functions in Objective-C. 7 years ago
Matthew Chen 03829779cc Apply OWS log functions in Objective-C. 7 years ago
Matthew Chen c0d486b1f1 Apply OWS log functions in Objective-C. 7 years ago
Matthew Chen 3a50377902 Apply OWS log functions in Objective-C. 7 years ago
Matthew Chen d81dea1d84 Add OWS log macros. 7 years ago
Matthew Chen 2d06c05a4f Log call session description. 7 years ago
Matthew Chen 713606271c Rename fail macros in Obj-C. 7 years ago
Matthew Chen 5b50e81b4f Rename fail macros in Swift. 7 years ago
Matthew Chen 7be8f30877 Apply -> Never. 7 years ago
Matthew Chen d01023d862 Respond to CR. 7 years ago
Matthew Chen 11eaf1474e Add OWSProdExit(). 7 years ago
Matthew Chen 4f2f4a44a0 Respond to CR. 7 years ago
Matthew Chen d4f7b5d45b Respond to CR. 7 years ago
Matthew Chen f34bdd34bc Respond to CR. 7 years ago
Matthew Chen dd4f1babba Respond to CR. 7 years ago
Matthew Chen e1049fdfcc Respond to CR. 7 years ago
Matthew Chen bc23e38efc Respond to CR. 7 years ago
Matthew Chen cf6f3841a8 Apply new Swift logging. 7 years ago
Matthew Chen 3697974ca8 Rework Swift logging. 7 years ago
Michael Kirk 82e559d11b Use swift macros for main thread assert 7 years ago
Michael Kirk 2fc3a211f1 restrict debug methods 7 years ago
Michael Kirk 1295a09ab3 add comment 7 years ago
Matthew Chen 2b8b688fb6 Disable CDS. 7 years ago
Matthew Chen 2af0a897e1 Disable CDS. 7 years ago
Michael Kirk d57cbf2acd main thread operation init which creates background task
// FREEBIE
7 years ago
Matthew Chen 52be2127ff Sync conversation colors. 7 years ago
Matthew Chen b347c40c66 Clean up ahead of PR. 7 years ago
Matthew Chen 0a7b3537b5 Recreate message database view when message mappings are corrupt. 7 years ago
Matthew Chen 8ce9f3b24d Fix nominal race in "is registered" state. 7 years ago
Matthew Chen 26001e49d1 Unify log tags. 7 years ago