Commit Graph

362 Commits

Author SHA1 Message Date
gmbnt 37865bab96 Minor refactoring 2020-04-07 09:33:29 +10:00
ryanzhao c8108575a7 skip saving the session record if it is not in the main app 2020-03-30 11:07:00 +11:00
Niels Andriesse 16d5e4f4e7 Debug 2019-11-21 10:56:27 +11:00
Niels Andriesse 14fbce0880 Fix deadlock 2019-11-06 13:29:09 +11:00
Niels Andriesse 391ed03913 Debug 2019-10-04 14:52:59 +10:00
Niels Andriesse 7828ad3ebe Partially debug storage API 2019-09-26 14:43:37 +10:00
Niels Andriesse 08aac18384 Clean more 2019-05-22 13:09:01 +10:00
Niels Andriesse 1c73cf5114 Re-order files 2019-05-21 11:40:29 +10:00
Mikunj f1cbc2e0d1 Added friend request message expiration. 2019-05-20 11:18:24 +10:00
Niels Andriesse b83766ef74 Clean & fix conversation settings crash 2019-05-14 15:54:39 +10:00
Niels Andriesse e3e7788219 Disable input if a friend request is pending 2019-05-14 13:39:07 +10:00
Mikunj f8de85ac42 Fix deadlock crash when receiving PreKeyBundle message.
It was deadlocking because we had a transaction inside another transaction.
To stop this we can pass in the parent transaction when setting or removing bundles, as well as generating PreKeyBundle from the proto message.
2019-05-14 12:33:48 +10:00
Mikunj 38b698a531 Fix OWSPrimaryStorage+PreKeyStore methods. 2019-05-14 09:45:07 +10:00
Mikunj f38ddd052e Minor fix. 2019-05-14 09:24:20 +10:00
Mikunj bd93c01d92 Add generation and storage of PreKeyBundle. 2019-05-14 09:24:20 +10:00
Mikunj d130415973 Allow generating a set amount of prekeys. 2019-05-14 09:24:20 +10:00
Michael Kirk 21cffdfb5e always specify default when accessing bool preference 2019-04-10 14:32:53 -06:00
Michael Kirk 05d8846f6c match highlight behavior with search behavior 2019-03-29 12:38:01 -06:00
Michael Kirk 645a26cbdf use connection pool for reads 2019-02-21 16:20:57 -07:00
Michael Kirk fabd3996c2 pop view if message is deleted
- use global ui database connection
2019-02-21 16:18:14 -07:00
Matthew Chen 9402e088b2 Apply design feedback from Myles. 2019-02-21 14:16:31 -05:00
Matthew Chen e7b9f7da99 Flush multi-process writes more aggressively. 2019-01-24 17:03:49 -05:00
Matthew Chen a7d848ef7c Add missing nullability annotations. 2019-01-23 13:12:43 -05:00
Matthew Chen 7878c0fac8 Add feature flag for 'note to self'. 2019-01-18 17:22:12 -05:00
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