Commit Graph

134 Commits

Author SHA1 Message Date
Matthew Chen 0125535d4d Pull out SignalCoreKit. 2018-10-01 09:06:40 -04:00
Matthew Chen 66fc389fba Get SSK tests building and running. 2018-09-21 09:08:39 -04:00
Matthew Chen b881bb467c Fix proto stream test. 2018-09-20 15:03:27 -04:00
Matthew Chen e8186a7005 Fix rebase breakage. Make environment properties mutable in tests. 2018-09-19 16:30:03 -04:00
Matthew Chen 0c6f6cdafd Fix compilation errors in Signal tests. 2018-09-19 13:53:57 -04:00
Michael Kirk 13856acb02 remove wrong import 2018-09-17 12:37:51 -06:00
Michael Kirk 966db1bd49 Get tests compiling by any means necessary
comment out and fail tests which don't compile
2018-09-17 10:10:32 -06:00
Michael Kirk fdc846cb55 remove test for deleted method 2018-09-17 10:10:32 -06:00
Michael Kirk 170eb63772 update old non-existant API usage 2018-09-17 10:10:32 -06:00
Michael Kirk 7a832e85ec remove wrong import 2018-09-17 10:10:32 -06:00
Matthew Chen 9b94580dae Update assertions.
* Streamline precompiled headers.
* Remove obsolete assertions in Constraints.h.
2018-09-14 14:30:06 -04:00
Matthew Chen 6c8af5b541 Update cocoapods. 2018-09-14 14:23:44 -04:00
Matthew Chen 62c55c9cfb Fix broken tests. 2018-09-14 14:20:39 -04:00
Matthew Chen 3935b019f4 Add base class for tests. 2018-09-10 17:30:18 -05:00
Matthew Chen cc117b385c Modify environment accessors to use our 'shared' convention. 2018-09-07 16:20:59 -04:00
Matthew Chen bd05cdc031 Rename TextSecureKitEnv to SSKEnvironment. 2018-09-07 16:19:00 -04:00
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
2018-09-07 10:00:48 -06:00
Matthew Chen cc5a480baa Apply OWS log functions in Objective-C. 2018-08-27 12:58:52 -04:00
Matthew Chen 3a50377902 Apply OWS log functions in Objective-C. 2018-08-27 12:58:52 -04:00
Matthew Chen 0b5b74a901 Respond to CR. 2018-08-27 10:49:26 -04:00
Matthew Chen 2d06c05a4f Log call session description. 2018-08-27 10:49:25 -04:00
Matthew Chen 5b50e81b4f Rename fail macros in Swift. 2018-08-27 10:27:48 -04:00
Matthew Chen db3df249bf Merge NSData categories. 2018-08-09 13:50:55 -04:00
Matthew Chen a5ffbdebb3 Remove Obj-c proto parser. 2018-08-07 15:10:48 -04:00
Michael Kirk df01c7e63e Update to latest YapDB (with Signal patches applied)
Applied branches:

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

Also fixed up test suite.
2018-08-03 14:09:35 -06:00
Matthew Chen 03a9b21cfd Respond to CR. 2018-08-03 14:35:22 -04:00
Matthew Chen 6be3d2e42d Code generate Swift wrappers for protocol buffers. 2018-08-03 14:05:20 -04:00
Matthew Chen b197e4776e Respond to CR. 2018-07-23 14:10:26 -04:00
Matthew Chen 73eb0778c0 Add unit tests around byte parser. 2018-07-23 14:00:58 -04:00
Matthew Chen c3d47d3323 Respond to CR. 2018-07-23 13:17:43 -04:00
Matthew Chen 904ed1549e Add unit test around remote attestation. 2018-07-23 13:13:02 -04:00
Matthew Chen 460f7344ad Remote attestation. 2018-07-20 09:55:18 -04:00
Michael Kirk 12ef25420a Fixup SSK tests 2018-07-17 19:32:44 -06:00
Michael Kirk c19a8ce07e Fixup tests
// FREEBIE
2018-07-17 18:17:17 -06:00
Matthew Chen 527e2715d4 Elaborate the search tests. 2018-06-14 16:18:13 -04:00
Matthew Chen 5c42e4c59e Improve search query construction. 2018-06-14 16:18:13 -04:00
Matthew Chen a51e9b78b0 Improve search query construction. 2018-06-14 16:18:13 -04:00
Matthew Chen b5e0265758 Filter search index text. 2018-06-14 16:18:13 -04:00
Michael Kirk f57a5dbc77 Match searches for national number format
// FREEBIE
2018-06-12 15:27:13 -04:00
Michael Kirk c4b02a0ee8 fix tests - empty contact threads are intentionally excluded
// FREEBIE
2018-06-12 15:27:13 -04:00
Michael Kirk bcbe5901c2 cleanup test code
// FREEBIE
2018-06-12 15:27:13 -04:00
Michael Kirk 13c43c2520 search groups by member name, cleanup tests
// FREEBIE
2018-06-11 09:58:36 -04:00
Michael Kirk 3a03c4f74c WIP: message indexing 2018-06-11 09:58:36 -04:00
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
2018-06-11 09:58:36 -04:00
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
2018-06-11 09:58:36 -04:00
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
2018-06-11 09:58:36 -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