Commit Graph

258 Commits (398e72c69fa78ec0b2ee8460be3de4cb0a552ac4)

Author SHA1 Message Date
Matthew Chen 2c9c028504 Clean up. 7 years ago
Matthew Chen a5ffbdebb3 Remove Obj-c proto parser. 7 years ago
Matthew Chen a4d24c78a4 Respond to CR. 7 years ago
Matthew Chen 90002459c4 Add unit tests around proto wrappers. 7 years ago
Matthew Chen 379104c532 Migrate to WebRTC proto wrappers. 7 years ago
Michael Kirk df01c7e63e Update to latest YapDB (with Signal patches applied)
Applied branches:

- mkirk/invalidFinalIndices
- mkirk/upstream-unencrypted-headers

Also fixed up test suite.
7 years ago
Matthew Chen 03a9b21cfd Respond to CR. 7 years ago
Matthew Chen 6be3d2e42d Code generate Swift wrappers for protocol buffers. 7 years ago
Matthew Chen f814157a9e Code generate Swift wrappers for protocol buffers. 7 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.
7 years ago
Michael Kirk bae2e8649d Dry up Parameter parsing logic 7 years ago
Michael Kirk d39906f606 CR: test malformed protos 7 years ago
Michael Kirk b42f528713 Integrate with new contact discovery endpoint
Also:
* use system cookie parsing
* add AESGCM additional authenticated data parameter

// FREEBIE
7 years ago
Matthew Chen b197e4776e Respond to CR. 7 years ago
Matthew Chen 73eb0778c0 Add unit tests around byte parser. 7 years ago
Matthew Chen c3d47d3323 Respond to CR. 7 years ago
Matthew Chen 904ed1549e Add unit test around remote attestation. 7 years ago
Matthew Chen 460f7344ad Remote attestation. 7 years ago
Michael Kirk 12ef25420a Fixup SSK tests 7 years ago
Michael Kirk c19a8ce07e Fixup tests
// FREEBIE
7 years ago
Matthew Chen 1607aa7f57 Image content types. 7 years ago
Matthew Chen 527e2715d4 Elaborate the search tests. 7 years ago
Matthew Chen 5c42e4c59e Improve search query construction. 7 years ago
Matthew Chen a51e9b78b0 Improve search query construction. 7 years ago
Matthew Chen b5e0265758 Filter search index text. 7 years ago
Michael Kirk f57a5dbc77 Match searches for national number format
// FREEBIE
7 years ago
Michael Kirk c4b02a0ee8 fix tests - empty contact threads are intentionally excluded
// FREEBIE
7 years ago
Michael Kirk bcbe5901c2 cleanup test code
// FREEBIE
7 years ago
Michael Kirk 13c43c2520 search groups by member name, cleanup tests
// FREEBIE
7 years ago
Michael Kirk 3a03c4f74c WIP: message indexing 7 years ago
Michael Kirk b00e5a4fd9 Fuzzier search matching
-[] Backend
  -[] indexes e5.25
    -[x] wire up results: Contacts / Conversations / Messages actual: 3hr
    -[ ] group thread est: actual:
      -[x] group name actual: e.25
      -[ ] group member name: e.25
      -[ ] group member number: e.25
    -[ ] contact thread e.5
      -[ ] name
      -[ ] number
    -[ ] messages e1
      -[ ] content
-[] Frontend e10.75
  -[x] wire up VC's a.5
  -[x] show search results only when search box has content a.25
  -[] show search results: Contact / Conversation / Messages e2
   -[x] wire up matchs
   -[] style contact cell
   -[] style conversation cell
   -[] style messages cell
  -[] tapping thread search result takes you to conversation e1
  -[] tapping message search result takes you to message e1
  -[] show snippet text for matched message e1
  -[] highlight matched text in thread e3
  -[] go to next search result in thread e2
  -[] No Results page
  -[] Hide search unless pulled down
7 years ago
Michael Kirk f360bcfd35 Less confusing class names
-[] Backend
  -[] indexes e5.25
    -[x] wire up results: Contacts / Conversations / Messages actual: 3hr
    -[ ] group thread est: actual:
      -[x] group name actual: e.25
      -[ ] group member name: e.25
      -[ ] group member number: e.25
    -[ ] contact thread e.5
      -[ ] name
      -[ ] number
    -[ ] messages e1
      -[ ] content
-[] Frontend e10.75
  -[x] wire up VC's a.5
  -[x] show search results only when search box has content a.25
  -[] show search results: Contact / Conversation / Messages e2
   -[x] wire up matchs
   -[] style contact cell
   -[] style conversation cell
   -[] style messages cell
  -[] tapping thread search result takes you to conversation e1
  -[] tapping message search result takes you to message e1
  -[] show snippet text for matched message e1
  -[] highlight matched text in thread e3
  -[] go to next search result in thread e2
  -[] No Results page
  -[] Hide search unless pulled down
7 years ago
Michael Kirk 429af7854a WIP: Full Text Search
-[ ] indexes
  -[x] results: Contacts / Conversations / Messages
  -[ ] group thread
    -[x] group name
    -[ ] group member name
    -[ ] group member number
  -[ ] contact thread
    -[ ] name
    -[ ] number
  -[ ] messages
    -[ ] content
- [ ] show search results: Contact / Conversation / Messages
- [ ] tapping thread search result takes you to conversation
- [ ] tapping message search result takes you to message
- [ ] show snippet text for matched message
- [ ] highlight matched text in thread
- [ ] go to next search result in thread
7 years ago
Michael Kirk a6200a5600 update layout tests 7 years ago
Matthew Chen 3964b78ff7 Reduce usage of JSQ. 7 years ago
Matthew Chen f7abcc9064 Respond to CR. 7 years ago
Matthew Chen 6b39f73e65 Fix tests. 7 years ago
Matthew Chen 3b5ee662d6 Fix date comparators. 7 years ago
Matthew Chen 5ce39337ed Handle malformed protos. 7 years ago
Michael Kirk 13a432b9de Limit attachment caption length to 2k bytes
// FREEBIE
7 years ago
Matthew Chen 45cb1ec510 Clean up ahead of PR. 7 years ago
Matthew Chen abba24988c Rework how dates are formatted in home view. 7 years ago
Matthew Chen 9b5db80f23 Respond to CR. 7 years ago
Matthew Chen a561bf5e22 Fix database conversion tests. 7 years ago
Matthew Chen 9085609087 Fix interaction initializers and tests. 7 years ago
Michael Kirk 00e5e1b0d6 Fixup some tests
// FREEBIE
7 years ago
Matthew Chen 4746948dfe Respond to CR. 7 years ago
Matthew Chen f10b549940 Clean up ahead of PR. 7 years ago
Matthew Chen 68ba8976c5 Clean up ahead of PR. 7 years ago
Matthew Chen 76b4deffe4 Respond to CR. 7 years ago
Matthew Chen d6f4db1523 Rename TSStorageManager to OWSPrimaryStorage. 7 years ago
Matthew Chen 99aedca45f Strip out special casing for pre-iOS 9 users. 7 years ago
Matthew Chen 70ba1720d9 Filter unicode ordering letters. 7 years ago
Matthew Chen d648a258d1 Merge branch 'hotfix/2.19.7' 7 years ago
Matthew Chen abfd333a17 Address Indic script crash. 7 years ago
Michael Kirk 6f959ff292 CR: be more conservative about deriving key spec, clear old passphrase
after deriving key spec.

// FREEBIE
7 years ago
Michael Kirk d22fc664f2 more granular key access
// FREEBIE
7 years ago
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
7 years ago
Michael Kirk 938b9c85b8 Don't crash on clean install
Otherwise we'll error when retrieving non-existent password.

// FREEBIE
7 years ago
Michael Kirk 44bbaeef5a fixup test 7 years ago
Michael Kirk c4edb0b534 Fixup some tests
// FREEBIE
7 years ago
Matthew Chen 5cf89a0f3d Register all database views asynchronously. 7 years ago
Matthew Chen b3e6278a45 Clean up ahead of PR. 7 years ago
Matthew Chen 5d422e03d1 Add support for key specs. 7 years ago
Matthew Chen c5079ed3d7 Add support for key specs. 7 years ago
Matthew Chen 2773fcb5d9 Clean up ahead of PR. 7 years ago
Matthew Chen 149199138c Clean up ahead of PR. 7 years ago
Matthew Chen a05acd0174 Add protocol context to protocol kit. 7 years ago
Matthew Chen d0f1706a49 Modify YapDatabase to read converted database. 7 years ago
Michael Kirk acc97b197b Properly force checkpoint at end of conversion
// FREEBIE
7 years ago
Matthew Chen eadb64b75a Elaborate test suite around database conversion. 7 years ago
Matthew Chen 45e44ca085 Modify YapDatabase to read converted database, part 3. 7 years ago
Matthew Chen 173da64bc4 Modify YapDatabase to read converted database, part 1. 7 years ago
Matthew Chen 3b681aba36 Successfully convert database. 7 years ago
Matthew Chen cc15092eb7 Resolve issues around database conversion. 7 years ago
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
7 years ago
Michael Kirk 71dc7f55d3 Copy DB setup / keying from Yap into conversion
// FREEBIE
7 years ago
Michael Kirk 05035e40a6 Fixup tests
// FREEBIE
7 years ago
Matthew Chen 1bff0f2b0e Incomplete commit starting work on loading databases for conversion. 7 years ago
Matthew Chen 5ba5b763e4 Add tests around database conversion. 7 years ago
Matthew Chen 9258b0883e Clean up TSStorageManager usage. 7 years ago
Matthew Chen f7bcf1d04d Fix tests. 7 years ago
Matthew Chen 99f0b9d3e8 Fix issues around statics. 7 years ago
Matthew Chen 53f51bcd0b Clean up ahead of PR. 7 years ago
Matthew Chen 69e0bcd308 Fix tests. 7 years ago
Matthew Chen 9e44a73068 Fix tests vs. SAE. 7 years ago
Matthew Chen e7bd33df45 Fix tests broken by SAE. 7 years ago
Matthew Chen 9da165b846 Continue conversion of app setup. 7 years ago
Matthew Chen ce899edf10 Respond to CR. 7 years ago
Michael Kirk 71bafcc8f0 Search SignalAccounts by profile name
...and fixup some tests
7 years ago
Matthew Chen ddf4bf28cc Load attachments for conversation view items using long-lived db connection. 8 years ago
Matthew Chen 0a926567ed Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 9cc4521d07 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen c8c09ec19c Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 7e585b72aa Fix tests broken by the JSQ rewrite.
// FREEBIE
8 years ago
Matthew Chen 3927815a35 Fix tests broken by the JSQ rewrite.
// FREEBIE
8 years ago
Michael Kirk 0f859d6b20 Merge branch 'release/2.18.0' 8 years ago
Michael Kirk 3080cb512b Compose View: collation index and group search
- Include table index for contacts
- Fix extra spacing in OWS table view
- Separate search results into contact/invite sections
- Include groups in search results when composing new message
- Compose Screen search matches on group member names

// FREEBIE
8 years ago
Matthew Chen fb408f980c Remove JSQ.
// FREEBIE
8 years ago
Matthew Chen 183f0f1ccd Respond to CR.
// FREEBIE
8 years ago