Commit graph

338 commits

Author SHA1 Message Date
Michael Kirk
119f309787 Fixup database conversion vis a vis SQLCipher4 2019-01-14 09:48:49 -05:00
Michael Kirk
5708754d30 update to sqlcipher4 2019-01-10 12:48:59 -05:00
Matthew Chen
1934b5d589 Tweak unseen database view accessor. 2019-01-07 08:48:52 -05:00
Matthew Chen
9ab8bec2b1 Fix searching for 'note to self'. 2019-01-07 08:45:42 -05:00
Matthew Chen
449633e0dc Respond to CR. 2019-01-04 09:19:41 -05:00
Matthew Chen
1d13a02927 Note to Self. 2019-01-03 18:06:56 -05:00
Matthew Chen
dc6dadad43 Respond to CR. 2019-01-03 16:43:52 -05:00
Michael Kirk
38d5db9658 remove unnecessary logging 2018-12-21 12:12:52 -07:00
Michael Kirk
260002b02f move extension methods to SCK 2018-12-20 09:54:08 -07:00
Michael Kirk
7bc5357397 [PERF] optimize search normalization saves 2.5% on large migration 2018-12-19 15:19:02 -07:00
Michael Kirk
e0c9b590c0 CR: fix comment typo 2018-12-19 15:16:36 -07:00
Michael Kirk
af7ee5e1d1 address compiler breakage after rebase 2018-12-19 15:16:36 -07:00
Michael Kirk
5671fd2520 Revert "Revert 'new sort id'."
This reverts commit ebae75af00.
2018-12-19 15:16:36 -07:00
Michael Kirk
67cc1027cc Fix compiler warnings 2018-12-17 14:43:21 -07:00
Matthew Chen
ca129bf360 Preheat more UI DB views. 2018-12-13 12:28:18 -05:00
Matthew Chen
5f637f24e9 Preheat UI DB views. 2018-12-13 11:48:24 -05:00
Michael Kirk
beb02afce9 Soft delete group threads 2018-12-12 08:46:15 -07:00
Michael Kirk
c0cb7df10a rename hasEverHadMessage -> shouldThreadBeVisible 2018-12-12 08:46:15 -07:00
Matthew Chen
95e1f840c1 Backup misc collections. 2018-11-28 17:05:08 -05:00
Matthew Chen
90e7df5515 Use attachment pointers to restore attachments from backup. 2018-11-21 08:53:15 -08:00
Michael Kirk
b79860ae0f fix compiler doc warning 2018-11-12 09:45:06 -06:00
Michael Kirk
5da525ce2e Merge remote-tracking branch 'origin/release/2.31.0' 2018-11-09 15:49:53 -06:00
Matthew Chen
29b4702311 Fix build break. 2018-11-09 14:10:15 -05:00
Michael Kirk
366b228c01 use UUID for TSInteractions.uniqueId 2018-11-09 14:02:23 -05:00
Michael Kirk
57681bd6f3 Gallery supports album messages 2018-11-08 12:52:09 -06:00
Matthew Chen
0341f5dc2b Modify ConversationViewItem to support media galleries. 2018-11-06 15:23:09 -05:00
Matthew Chen
f2c0985907 Add 'is valid media?' method. 2018-11-06 15:23:09 -05:00
Matthew Chen
1c21c31c2b Fix failed reloads in SignalRecipient. 2018-11-05 08:43:16 -05:00
Matthew Chen
c7d427029b Respond to CR. 2018-11-02 13:17:36 -04:00
Matthew Chen
f6591fac25 Add debug UI for multi-image sends. 2018-11-02 13:04:05 -04:00
Matthew Chen
40aa78e001 Merge remote-tracking branch 'origin/release/2.31.0' 2018-10-31 11:42:41 -04:00
Michael Kirk
3d9cd4f4ed CR: comments and code clarity 2018-10-30 11:35:34 -06:00
Michael Kirk
cb9aa6304c find -E . -type f -regex ".*\.(m|h)" -exec sed -i "" -e "s/try_/throws_/" {} \; 2018-10-30 11:35:34 -06:00
Michael Kirk
c4f8975308 Swift Exception wrap Curve25519 2018-10-30 11:35:34 -06:00
Michael Kirk
c686e766b1 Exception audit, fail directly where intended 2018-10-30 11:35:34 -06:00
Michael Kirk
5f5ec9b82a ExceptionWrap loadPreKey 2018-10-30 11:35:34 -06:00
Matthew Chen
f26241ebd0 Avoid deadlocks in contact manager. 2018-10-26 14:10:58 -04:00
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
2018-10-25 11:54:59 -06:00
Michael Kirk
456b2c0830 Avoid crash during test runs
In tests that have writes occuring async WRT the test loop, we sometimes crash
when the transaction ends and we end the background task, because
CurrentAppContext() is momentarily nil between test runs.
2018-10-25 11:54:58 -06:00
Matthew Chen
f1646b6cbc Move db connections to environments. 2018-10-16 13:00:50 -04:00
Matthew Chen
f1d93d4472 Merge remote-tracking branch 'origin/release/2.30.2' 2018-10-12 16:00:42 -04:00
Matthew Chen
03f23b5f79 Fix breakage in UD manager; add UD manager test, hang TSAccountManager on SSKEnv, fix bugs in tests. 2018-10-11 08:46:24 -04:00
Michael Kirk
006021ea41 Fix: group color change doesn't immediately apply
Because we were fetching a new thread instance, instead of updating the
existing thread instance, classes which were bound to the old thread instance
weren't updating. This affected the HeaderView.AvatarView.thread and the
ConversationStyle.thread.
2018-10-01 17:06:09 -06:00
Matthew Chen
3738155c81 Fix build breakage from SMK. 2018-10-01 09:08:02 -04:00
Matthew Chen
8ae200ac21 Fix build breakage around SignalCoreKit. 2018-10-01 09:07:40 -04:00
Matthew Chen
0125535d4d Pull out SignalCoreKit. 2018-10-01 09:06:40 -04:00
Matthew Chen
ebae75af00 Revert 'new sort id'. 2018-09-27 19:40:51 -04:00
Michael Kirk
fe7d69e9c6 Update thread's sorting order based on whatever the currently last message is 2018-09-26 09:52:34 -06:00
Michael Kirk
02692e42bd remove addressed TODO's 2018-09-26 09:52:34 -06:00
Michael Kirk
c0c973de1c Sort gallery finder by sortId 2018-09-26 09:52:34 -06:00