Commit graph

8915 commits

Author SHA1 Message Date
Michael Kirk c1b88b5f48 copy cleanup: remove redundant body 2018-09-14 10:52:01 -05:00
Michael Kirk 24ea8262d5 consolidate blocked-group state tracking 2018-09-14 10:51:39 -05:00
Michael Kirk 0f9b0936df Use cached group details when rendering blocklist 2018-09-14 10:31:17 -05:00
Michael Kirk 1f15ba6dc5 Cache group details on blocking manager
In case the group thread is later deleted.
2018-09-14 10:31:17 -05:00
Michael Kirk 8d51839a2a sync translations 2018-09-13 16:42:16 -05:00
Michael Kirk 7b664ee21b update translation comment 2018-09-13 16:39:20 -05:00
Michael Kirk e53766d809 "Bump build to 2.29.3.1." 2018-09-13 09:59:05 -05:00
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
2018-09-13 09:57:35 -05:00
Michael Kirk c0991fce74 enable dark theme for beta 2018-09-12 19:21:14 -05:00
Michael Kirk c384b961da Merge branch 'mkirk/ignore-left-group-messages' into release/2.29.3 2018-09-12 19:19:56 -05:00
Michael Kirk 01627446ab update pods 2018-09-12 19:19:39 -05:00
Michael Kirk b09831d8d0 copy updates 2018-09-12 19:16:14 -05:00
Michael Kirk f1e5b1862f Ignore messages from left groups 2018-09-12 19:16:14 -05:00
Michael Kirk b369ffa88f add type annotations 2018-09-12 19:16:14 -05:00
Michael Kirk 7b7da4bc13 add docs to BlockListCache 2018-09-12 19:16:14 -05:00
Michael Kirk fd492f379a Use BlockListCache where possible 2018-09-12 19:16:14 -05:00
Michael Kirk 2eca462efc can view conversation settings for left group 2018-09-12 19:16:14 -05:00
Michael Kirk 2c49232db0 remove barely used getters
Lock contention on these methods is less important because we're not iterating
over their access, e.g. per tableViewCell
2018-09-12 19:16:14 -05:00
Michael Kirk 448936d156 BlockListCache
block manager synchronizes on self for coherent read/writes to blocking state
across threads, but we want to be able to have performant reads on the main
thread.
2018-09-12 19:16:14 -05:00
Michael Kirk 28d28cf2b6 remove unused code 2018-09-12 19:16:14 -05:00
Michael Kirk b6eb1476cb Leave group when blocking it 2018-09-12 19:16:14 -05:00
Michael Kirk 13cf9eab31 copy fixups 2018-09-12 19:16:14 -05:00
Michael Kirk 8aba5725cf BlockListViewController v. group blocking 2018-09-12 19:16:14 -05:00
Michael Kirk 809b3766c1 Home view cell v. group blocking 2018-09-12 19:16:14 -05:00
Michael Kirk 2c9d905a16 Message processor ignores messages from blocked group 2018-09-12 19:16:14 -05:00
Michael Kirk c6de8c579c WIP: Localizations 2018-09-12 19:16:14 -05:00
Michael Kirk b1da5e93d9 group blocking v. conversation view 2018-09-12 19:16:14 -05:00
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
2018-09-12 19:16:14 -05:00
Michael Kirk b282d51da0 SyncMessages for blocked groups 2018-09-12 19:16:14 -05:00
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
2018-09-12 19:16:14 -05:00
Michael Kirk bfe1f38c75 update protos for group blocking 2018-09-12 19:16:14 -05:00
Michael Kirk 2c4cd11509 Merge branch 'mkirk/fix-group-avatar-update' into release/2.29.3 2018-09-12 17:22:53 -05:00
Michael Kirk 08c0b248ed fix group avatar updates and quote generation
don't shadow same-named variable
2018-09-12 15:01:57 -05:00
Matthew Chen 25239ca608 Respond to CR. 2018-09-10 17:43:17 -05:00
Matthew Chen 3935b019f4 Add base class for tests. 2018-09-10 17:30:18 -05:00
Matthew Chen e740d8fd4e Merge branch 'charlesmchen/removeLogTag' 2018-09-10 17:26:27 -05:00
Matthew Chen 3fe7d7f9be Remove more usage of logTag. 2018-09-10 17:25:46 -05:00
Michael Kirk 99b2564994 "Bump build to 2.29.3.0." 2018-09-09 13:50:39 -05:00
Michael Kirk 17da53257f "Bump build to 2.29.2.4." 2018-09-07 16:37:37 -06:00
Michael Kirk e4d12feeb9 rev gallery db extension since our isValid checks have changed 2018-09-07 16:37:00 -06:00
Michael Kirk 5bafc7b6d6 Don't allow enabling dark theme in production yet 2018-09-07 16:36:24 -06:00
Matthew Chen 7872145e18 Merge branch 'charlesmchen/fix-ssk-tests-h' 2018-09-07 16:29:48 -04:00
Matthew Chen df7acfeed3 Simplify OWSPreferences access. 2018-09-07 16:28:21 -04:00
Matthew Chen 6007f8df6e Merge branch 'charlesmchen/fix-ssk-tests-d' 2018-09-07 16:26:29 -04:00
Matthew Chen 106ecf2e8e Respond to CR. 2018-09-07 16:25:10 -04:00
Matthew Chen 6a83eab4f6 Update Cocoapods. 2018-09-07 16:24:02 -04:00
Matthew Chen cc117b385c Modify environment accessors to use our 'shared' convention. 2018-09-07 16:20:59 -04:00
Matthew Chen 3a12446be8 Modify environment accessors to use our 'shared' convention. 2018-09-07 16:20:41 -04:00
Matthew Chen bd05cdc031 Rename TextSecureKitEnv to SSKEnvironment. 2018-09-07 16:19:00 -04:00
Matthew Chen b642a5fabe Update log. 2018-09-07 16:13:06 -04:00