Commit Graph

20 Commits (178ad94ce18aeb17966f13c3c8d871ce2e6098e7)

Author SHA1 Message Date
Matthew Chen 343c7d8ece Remove timer queue. 7 years ago
Michael Kirk 323249baa0 NSRunLoop methods should only be accessed on it's corresponding thread. 7 years ago
Michael Kirk 64cdaae02e schedule retry timer on main run loop 7 years ago
Michael Kirk c4677c9d4f CR: add some reachability asserts 7 years ago
Michael Kirk 0c2bb439f9 kick-queue upon reachability 7 years ago
Michael Kirk 3560f3be5c Durable send operation
TODO
-[x] respect order of queue
-[x] replacements
  -[x] those w/o completion handler
  -[x] basic send+log operation persists
  -[x] send+ui completion
  -[x] share extension
  -[x] update state jobs
-[x] App Lifecyle
  -[x] settable
  -[x] Mark as ready on startup
  -[x] Fail appropriate jobs on startup

NICE TO HAVE
-[x] concurrent per senders
-[ ] longer retry (e.g. 24hrs)
-[ ] App Lifecyle
  -[x] retry failed jobs on startup?
  -[ ] reachability

DONE
-[x] basic passing test
-[x] datamodel
-[x] queue/classes
7 years ago
Michael Kirk 9f35b93647 CR: clarify comment 7 years ago
Michael Kirk 619597cd61 ensure operations run to completion on the PreKey operation queue 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
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 3a50377902 Apply OWS log functions in Objective-C. 7 years ago
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
7 years ago
Michael Kirk eb4c62593b Cancel quickly if dependent operation fails 7 years ago
Michael Kirk b7288b2565 Move contact intersection into batched operation
// FREEBIE
7 years ago
Michael Kirk f277ae877c Clarify OWSOperation behavior (no behavioral changes) 7 years ago
Michael Kirk d591fb7f2c Fix some compiler warnings 7 years ago
Matthew Chen 6bc145ce3a Fix more build warnings. 7 years ago
Michael Kirk 81b2b57703 CR: add comments, make atomic
// FREEBIE
8 years ago
Michael Kirk 53af41fcc6 Reusable UploadOperation based on extracted OWSOperation
// FREEBIE
8 years ago