Commit graph

173 commits

Author SHA1 Message Date
Matthew Chen
f7abcc9064 Respond to CR. 2018-05-30 15:28:03 -04:00
Matthew Chen
6b39f73e65 Fix tests. 2018-05-30 15:05:02 -04:00
Matthew Chen
3b5ee662d6 Fix date comparators. 2018-04-17 10:31:47 -04:00
Matthew Chen
5ce39337ed Handle malformed protos. 2018-04-16 16:15:46 -04:00
Michael Kirk
13a432b9de Limit attachment caption length to 2k bytes
// FREEBIE
2018-04-13 17:57:09 -04:00
Matthew Chen
45cb1ec510 Clean up ahead of PR. 2018-04-11 09:34:37 -04:00
Matthew Chen
abba24988c Rework how dates are formatted in home view. 2018-04-11 09:34:37 -04:00
Matthew Chen
9b5db80f23 Respond to CR. 2018-04-05 09:48:41 -04:00
Matthew Chen
a561bf5e22 Fix database conversion tests. 2018-04-05 09:36:52 -04:00
Matthew Chen
9085609087 Fix interaction initializers and tests. 2018-04-05 09:36:52 -04:00
Michael Kirk
00e5e1b0d6 Fixup some tests
// FREEBIE
2018-04-03 11:29:05 -04:00
Matthew Chen
4746948dfe Respond to CR. 2018-03-14 10:02:44 -03:00
Matthew Chen
f10b549940 Clean up ahead of PR. 2018-03-14 09:27:39 -03:00
Matthew Chen
68ba8976c5 Clean up ahead of PR. 2018-03-14 09:27:39 -03:00
Matthew Chen
76b4deffe4 Respond to CR. 2018-03-14 09:27:39 -03:00
Matthew Chen
d6f4db1523 Rename TSStorageManager to OWSPrimaryStorage. 2018-03-06 17:12:13 -03:00
Matthew Chen
99aedca45f Strip out special casing for pre-iOS 9 users. 2018-02-26 14:13:38 -05:00
Matthew Chen
70ba1720d9 Filter unicode ordering letters. 2018-02-21 16:18:10 -05:00
Matthew Chen
d648a258d1 Merge branch 'hotfix/2.19.7' 2018-02-16 10:49:52 -05:00
Matthew Chen
abfd333a17 Address Indic script crash. 2018-02-16 10:19:47 -05:00
Michael Kirk
6f959ff292 CR: be more conservative about deriving key spec, clear old passphrase
after deriving key spec.

// FREEBIE
2018-01-31 17:22:42 -08:00
Michael Kirk
d22fc664f2 more granular key access
// FREEBIE
2018-01-31 16:08:03 -08:00
Michael Kirk
426c9baa16 Key material changes
- For new installs, generate raw key-spec rather than derive it
- Adapt to separated concerns of the key derivation migration from the unencrypted header migration
- Reduce number of places where we delete/generate keying information
- Only store relevant keying material

// FREEBIE
2018-01-31 16:08:03 -08:00
Michael Kirk
938b9c85b8 Don't crash on clean install
Otherwise we'll error when retrieving non-existent password.

// FREEBIE
2018-01-31 13:28:14 -08:00
Michael Kirk
44bbaeef5a fixup test 2018-01-31 13:28:14 -08:00
Michael Kirk
c4edb0b534 Fixup some tests
// FREEBIE
2018-01-31 09:18:40 -08:00
Matthew Chen
5cf89a0f3d Register all database views asynchronously. 2018-01-30 10:30:28 -05:00
Matthew Chen
b3e6278a45 Clean up ahead of PR. 2018-01-25 15:24:21 -05:00
Matthew Chen
5d422e03d1 Add support for key specs. 2018-01-25 11:00:38 -05:00
Matthew Chen
c5079ed3d7 Add support for key specs. 2018-01-25 11:00:38 -05:00
Matthew Chen
2773fcb5d9 Clean up ahead of PR. 2018-01-25 11:00:38 -05:00
Matthew Chen
149199138c Clean up ahead of PR. 2018-01-25 11:00:38 -05:00
Matthew Chen
a05acd0174 Add protocol context to protocol kit. 2018-01-25 11:00:38 -05:00
Matthew Chen
d0f1706a49 Modify YapDatabase to read converted database. 2018-01-25 11:00:38 -05:00
Michael Kirk
acc97b197b Properly force checkpoint at end of conversion
// FREEBIE
2018-01-25 11:00:38 -05:00
Matthew Chen
eadb64b75a Elaborate test suite around database conversion. 2018-01-25 11:00:38 -05:00
Matthew Chen
45e44ca085 Modify YapDatabase to read converted database, part 3. 2018-01-25 11:00:38 -05:00
Matthew Chen
173da64bc4 Modify YapDatabase to read converted database, part 1. 2018-01-25 11:00:38 -05:00
Matthew Chen
3b681aba36 Successfully convert database. 2018-01-25 11:00:38 -05:00
Matthew Chen
cc15092eb7 Resolve issues around database conversion. 2018-01-25 11:00:38 -05:00
Michael Kirk
11a709a621 WIP: set plaintext header length
Fix test to try to convert test db, previously it was using the
non-existent TSStorage database.

// FREEBIE
2018-01-25 11:00:38 -05:00
Michael Kirk
71dc7f55d3 Copy DB setup / keying from Yap into conversion
// FREEBIE
2018-01-25 11:00:38 -05:00
Michael Kirk
05035e40a6 Fixup tests
// FREEBIE
2018-01-25 11:00:38 -05:00
Matthew Chen
1bff0f2b0e Incomplete commit starting work on loading databases for conversion. 2018-01-25 11:00:38 -05:00
Matthew Chen
5ba5b763e4 Add tests around database conversion. 2018-01-25 11:00:38 -05:00
Matthew Chen
9258b0883e Clean up TSStorageManager usage. 2017-12-19 11:41:31 -05:00
Matthew Chen
f7bcf1d04d Fix tests. 2017-12-07 14:44:38 -05:00
Matthew Chen
99f0b9d3e8 Fix issues around statics. 2017-12-07 12:34:02 -05:00
Matthew Chen
53f51bcd0b Clean up ahead of PR. 2017-12-06 10:36:12 -05:00
Matthew Chen
69e0bcd308 Fix tests. 2017-12-06 10:36:12 -05:00