Commit graph

250 commits

Author SHA1 Message Date
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 7b7da4bc13 add docs to BlockListCache 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 b6eb1476cb Leave group when blocking it 2018-09-12 19:16:14 -05:00
Michael Kirk c6de8c579c WIP: Localizations 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 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
Matthew Chen ac4365e1c9 Add OWSThumbnailService. 2018-09-06 15:30:00 -04:00
Matthew Chen 9ab4da5c81 cherry-pick Merge branch 'charlesmchen/logSdp' 2018-09-04 13:51:31 -06:00
Michael Kirk 1743407cc2 Code cleanup per code review 2018-08-22 12:54:22 -06:00
Michael Kirk 3022f92925 Tweak tint for search bar icons in dark theme 2018-08-22 12:00:44 -06:00
Michael Kirk e435358bfd Revert "Add custom themed search bar."
This reverts commit 8daaef22da.
2018-08-22 12:00:44 -06:00
Matthew Chen 4971d40c75 Respond to CR. 2018-08-21 16:36:58 -04:00
Matthew Chen 9e21612298 Respond to CR. 2018-08-21 16:35:25 -04:00
Matthew Chen 6dd474d794 Theme quoted replies. 2018-08-21 16:34:37 -04:00
Matthew Chen a92fca5c13 Theme quoted replies. 2018-08-21 16:34:37 -04:00
Matthew Chen 8daaef22da Add custom themed search bar. 2018-08-17 12:43:35 -04:00
Matthew Chen 4ea5d9b849 Theme review. 2018-08-16 17:30:07 -04:00
Matthew Chen a76d488e8b Fix QA issues in theme. 2018-08-15 17:09:59 -04:00
Matthew Chen 26001e49d1 Unify log tags. 2018-08-15 10:24:29 -04:00
Michael Kirk 8829cdfb4b Toast view when tapped message doesn't exist, mark remotely sourced. 2018-08-10 16:55:54 -06:00
Michael Kirk c05700fd98 Log in OWSFail
step 1: rename OWSFail->OWSFailNoProdLog
step 2: rename OWSProdLogAndFail->OWSFail
step 3: Convert OWSFailNoProdLog->OWSFail where we want logging
step 4: Rename OWSCFail->OWSCFailNoProdLog
step 5: Rename OWSProdLogAndCFail -> OWSCFail
step 6: Convert OWSCFailNoProdLog -> OWSCFail where we want logging
2018-08-09 15:30:19 -06:00
Matthew Chen 8ecf6884c5 Remove "sending" color for outgoing messages. 2018-08-09 15:35:21 -04:00
Matthew Chen 5ef0b6d056 Refine theme. 2018-08-08 15:04:23 -04:00
Michael Kirk 2ea7e2b036 CR: clean up preferences 2018-08-08 10:04:59 -06:00
Michael Kirk 0bc03b0fd4 Move seed 2018-08-03 14:26:43 -06:00
Matthew Chen 25a98554b7 Intern JSQMessagesViewController. 2018-07-23 13:48:24 -04:00
Matthew Chen 48975eaac8 Respond to CR. 2018-07-20 15:37:47 -04:00
Michael Kirk d591fb7f2c Fix some compiler warnings 2018-07-17 19:22:58 -06:00
Michael Kirk 7a5f5476db rename to avoid confusion 2018-07-17 14:49:19 -06:00
Michael Kirk 24060c17d0 CR: proper width calculation for header view 2018-07-16 12:52:00 -06:00
Michael Kirk fef6c64bdc decrease header spacing from 32->28.
Previous spacing was based on applying the "full width" gutter spacing twice.
2018-07-16 12:52:00 -06:00
Michael Kirk 1a2428a4b0 CR: leave some wiggle room on max window height. 2018-07-13 13:08:04 -06:00
Michael Kirk bdc8181cbc hide menu view controller when resigning active
// FREEBIE
2018-07-13 13:00:27 -06:00
Michael Kirk dde2fd6f33 Hide menu window when vc dismisses.
Normally this isn't possible, just being paranoid.

// FREEBIE
2018-07-13 13:00:27 -06:00
Michael Kirk 82fdd5b883 Split out generic action sheet components
Keep the message specific components separte, so we could re-use the
MenuActionsViewController.
2018-07-13 13:00:27 -06:00
Michael Kirk 3a157d9df6 window level on iOS11
// FREEBIE
2018-07-13 13:00:27 -06:00
Michael Kirk 635c0275db stop observing db notifications while message actions are presented
This let's new messages appear after the message actions are dismissed without
complicating scroll state.
2018-07-13 13:00:27 -06:00
Michael Kirk 22fada2457 don't dismiss keyboard when presenting actions 2018-07-13 13:00:27 -06:00
Michael Kirk aa98963fd9 Abandonded: separate window pattern
Hiding the old window, caused keyboard to resign first responder.
2018-07-13 13:00:27 -06:00
Michael Kirk 6037a440c9 wire up window mgmt 2018-07-13 13:00:27 -06:00
Matthew Chen 8287076499 More design tweaks. 2018-07-12 15:36:22 -04:00
Matthew Chen 0c420ed28a Tweak appearance. 2018-07-12 09:29:46 -04:00
Matthew Chen 750b935122 Tweak appearance. 2018-07-12 09:29:46 -04:00
Matthew Chen 376e2cc1db Respond to CR. 2018-07-11 16:54:44 -04:00
Matthew Chen 35f058c46a Rework unread indicators. 2018-07-11 16:43:39 -04:00
Matthew Chen ecafe546b6 Rework unread indicators. 2018-07-11 16:43:39 -04:00
Matthew Chen 8d72bb032e Rework unread indicators. 2018-07-11 16:43:39 -04:00
Matthew Chen 8b3bdb88f3 Revert "Merge branch 'charlesmchen/tweakCalls'"
This reverts commit 3e0233ea60, reversing
changes made to 74ce3012cf.
2018-07-11 15:34:16 -04:00