Commit Graph

59 Commits (b881bb467c55c819307af1af7172534d42e8861c)

Author SHA1 Message Date
Matthew Chen e1db60c1c0 Rework creation of singletons. 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 5b50e81b4f Rename fail macros in Swift. 7 years ago
Matthew Chen cf6f3841a8 Apply new Swift logging. 7 years ago
Matthew Chen 26001e49d1 Unify log tags. 8 years ago
Matthew Chen e5eda8b45d Add convenience initializers to proto wrappers. 8 years ago
Matthew Chen 21523ac522 Respond to CR. 8 years ago
Matthew Chen a5ffbdebb3 Remove Obj-c proto parser. 8 years ago
Matthew Chen 45e782c243 Revamp orphan data cleaner. 8 years ago
Matthew Chen 827f979282 Code generate Swift wrappers for protocol buffers. 8 years ago
Matthew Chen 77810f5918 Code generate Swift wrappers for protocol buffers. 8 years ago
Matthew Chen 2b05bbc0aa Code generate Swift wrappers for protocol buffers. 8 years ago
Matthew Chen f814157a9e Code generate Swift wrappers for protocol buffers. 8 years ago
Matthew Chen 579e88bdc2 Improve nullability handling for SignalAccount. 8 years ago
Michael Kirk ac461ca2d1 Fixup parser: Robust to servers various "empty" types
For base64Encoded data, sometimes the server sends "null" sometimes the server
sends an empty string.
8 years ago
Michael Kirk bae2e8649d Dry up Parameter parsing logic 8 years ago
Michael Kirk b860dce7f9 Swift protos for Envelope 8 years ago
Matthew Chen d14f764b50 Streamline SignalRecipient. 8 years ago
Michael Kirk d591fb7f2c Fix some compiler warnings 8 years ago
Michael Kirk 66e726a1f1 DRY per CR 8 years ago
Michael Kirk 61cb19ef6b trigger sync when colors updates 8 years ago
Michael Kirk 4d3d5d98e1 Sync colors with contacts 8 years ago
Matthew Chen 6bc145ce3a Fix more build warnings. 8 years ago
Matthew Chen 4d8c764789 Migrate to Swift 4. 8 years ago
Matthew Chen b2b62880c0 Migrate to Swift 4. 8 years ago
Matthew Chen 1612642c26 Add screen lock feature. 8 years ago
Matthew Chen d6f4db1523 Rename TSStorageManager to OWSPrimaryStorage. 8 years ago
Matthew Chen c17a819366 Elaborate request factory. 8 years ago
Matthew Chen 0ca497846b Elaborate request factory. 8 years ago
Matthew Chen 6b357f9445 Respond to CR. 8 years ago
Matthew Chen d3e16583eb Add protocol context to protocol kit. 8 years ago
Matthew Chen 7a1e47cd26 Add asserts around Swift singletons. 8 years ago
Michael Kirk c52192295b fixup rebase. move jobs to proper dir 8 years ago
Matthew Chen 9da165b846 Continue conversion of app setup. 8 years ago
Michael Kirk a11d83187b WIP: Framework-friendly - compiles but crashes on launch
// FREEBIE
8 years ago
Michael Kirk 43092ee6ac CR: be extra paranoid about archiving the reset session
// FREEBIE
8 years ago
Michael Kirk 47926418b5 Prevent subsequent "No valid session" errors from the recipient of an
EndSession message.

// FREEBIE
8 years ago
Matthew Chen c6160a5a1e Rework the "update with..." methods to avoid re-saving deleted models. 8 years ago
Michael Kirk 6a65ee6def Pull to refresh on homeview fetches messages.
This is useful when you're using censorship circumvention and unable to
receive push notifications.

// FREEBIE
8 years ago
Michael Kirk 4d8429186d Store undecrypted envelopes before doing any processing.
This lets us clear the server side queue immediately, and paves the way
for retry, give up logic.

// FREEBIE
9 years ago
Matthew Chen c817346ee3 Fix “timer circular reference” leaks.
// FREEBIE
9 years ago
Matthew Chen b6ddea9eae Sketch out OWSIdentityManager.
// FREEBIE
9 years ago
Michael Kirk 5b12f4afae Prevent outgoing calls started from various places unless have been seen
e.g. from contacts app

// FREEBIE
9 years ago
Michael Kirk 1a03be8ae7 Fetch safety number upon entering thread
* uniform method to get recipients in group/contact thread
  * use it to clean up markAsSeenJob

// FREEBIE
9 years ago
Michael Kirk 4b8544d5f7 ensure atomic write to wasSeen property
// FREEBIE
9 years ago
Michael Kirk bb25d2beb6 IdentityKeyStore changes
1) Always accept keys from incoming messages

2) Block sending only if it's a recent change, or if always
   block is enabled

// FREEBIE

// FREEBIE
9 years ago
Matthew Chen 2e36f41838 Add support for manually activating censorship circumvention.
// FREEBIE
9 years ago
Michael Kirk d7c7fff679 Fix some compiler warnings
* explicit optional usage in strings
* remove some unused StringUtil code
* swiftlint affected files
* more concise optional casting (and avoid a `!`)

Compiler warnings: 343 -> 318

(Actually most of these are in external libs, but 115 remain in Signal/SSK)

// FREEBIE
9 years ago
Matthew Chen 1558d8c6c5 Avoid lost messages by acknowledges message receipt after the message is processed.
// FREEBIE
9 years ago