Commit graph

4143 commits

Author SHA1 Message Date
Matthew Chen
35a2470cb7 Post notifications asynchronously.
// FREEBIE
2017-09-21 17:03:57 -04:00
Matthew Chen
1382270c66 Merge branch 'charlesmchen/readReceiptsManager' 2017-09-21 16:58:34 -04:00
Matthew Chen
1c8dbcd223 Respond to CR.
// FREEBIE
2017-09-21 16:58:07 -04:00
Matthew Chen
3eaeb4e0ec Add read receipts manager.
* Simplify read receipts plumbing.
* Rework incoming read receipts handling.
* Rework outgoing read receipts handling.
* Make "database view registration complete" check thread-safe.
* Don't send sync messages to self if no linked devices.

// FREEBIE
2017-09-21 16:23:03 -04:00
Matthew Chen
2cfa24ba7b Respond to CR.
// FREEBIE
2017-09-21 14:42:05 -04:00
Matthew Chen
5a843e7147 Merge branch 'charlesmchen/refactorMessageProcessing' 2017-09-21 14:41:23 -04:00
Matthew Chen
b28c4b74b2 Pull out TSMessageDecrypter class.
// FREEBIE
2017-09-21 14:38:30 -04:00
Matthew Chen
46c4f4e445 Merge branch 'charlesmchen/precommitIncludesAndClasses' 2017-09-20 15:53:12 -04:00
Matthew Chen
f1b7d895e2 Modify precommit script to clean up includes and forward declarations.
// FREEBIE
2017-09-20 15:33:17 -04:00
Michael Kirk
83479a505d clarify translations procedure 2017-09-20 13:58:31 -04:00
Michael Kirk
e1c8d38f3e update translations doc 2017-09-20 13:52:11 -04:00
Matthew Chen
c4b3683402 Merge branch 'charlesmchen/batchMessageProcessing' 2017-09-20 12:24:29 -04:00
Matthew Chen
993df25f3f Respond to CR.
// FREEBIE
2017-09-20 11:48:37 -04:00
Matthew Chen
46f17a02cb DRY up decryption logic.
// FREEBIE
2017-09-20 10:56:04 -04:00
Matthew Chen
e39b9169b9 Decrypt and process messages in batches.
// FREEBIE
2017-09-20 10:56:04 -04:00
Matthew Chen
9987ebb3c0 Decrypt and process messages in batches.
// FREEBIE
2017-09-20 10:56:04 -04:00
Matthew Chen
023c804a61 Decrypt and process messages in batches.
// FREEBIE
2017-09-20 10:56:04 -04:00
Matthew Chen
fa353259c3 Process messages in a single transaction (wherever possible).
// FREEBIE
2017-09-20 10:56:04 -04:00
Matthew Chen
6fce2c26b7 Process messages in a single transaction (wherever possible).
// FREEBIE
2017-09-20 09:40:46 -04:00
Matthew Chen
afc753e7ed Add batch message processor.
// FREEBIE
2017-09-20 09:24:49 -04:00
Matthew Chen
c498e4b354 Decouple message decryption and processing.
// FREEBIE
2017-09-20 09:24:49 -04:00
Matthew Chen
3abcbdf981 Merge branch 'charlesmchen/databaseViewRegistrationCheckVsConcurrency' 2017-09-20 09:22:53 -04:00
Matthew Chen
bfd50a9e0e Make "database view registration complete" check thread-safe.
// FREEBIE
2017-09-20 09:21:05 -04:00
Matthew Chen
3d3f3bb590 Merge branch 'charlesmchen/readReceiptPreferencesCR' 2017-09-20 09:19:48 -04:00
Matthew Chen
8a4d67a6e4 Respond to CR.
// FREEBIE
2017-09-20 09:19:15 -04:00
Matthew Chen
183f0f1ccd Respond to CR.
// FREEBIE
2017-09-19 17:45:18 -04:00
Matthew Chen
bd360262cb Merge branch 'charlesmchen/readReceiptPreferences' 2017-09-19 17:36:40 -04:00
Matthew Chen
83c21c6159 Add setting for read receipts in app settings.
// FREEBIE
2017-09-19 17:35:42 -04:00
Matthew Chen
65732af3da New users opt-out of read receipts; legacy users opt-in.
// FREEBIE
2017-09-19 17:35:42 -04:00
Matthew Chen
40d728e022 Add read receipts preference.
// FREEBIE
2017-09-19 17:35:42 -04:00
Matthew Chen
80e5f281c6 Rename app preferences class.
// FREEBIE
2017-09-19 17:35:42 -04:00
Matthew Chen
c7fab5b920 Merge branch 'charlesmchen/readReceiptsProtos_' 2017-09-19 17:31:17 -04:00
Matthew Chen
74b2f30523 Revert "Modify read receipt photos to support sending read receipts to both linked devices and senders."
This reverts commit 37e67179c8a8d6ebfdfa124ef0c1229f220ed11d.
2017-09-19 17:30:48 -04:00
Matthew Chen
a7546aee63 Modify read receipt photos to support sending read receipts to both linked devices and senders.
// FREEBIE
2017-09-19 17:30:48 -04:00
Matthew Chen
39a961e376 Rework incoming read receipts handling.
// FREEBIE
2017-09-19 17:30:48 -04:00
Matthew Chen
737503549d Rework incoming read receipts handling.
// FREEBIE
2017-09-19 17:30:48 -04:00
Matthew Chen
2b1ea19960 Modify read receipt photos to support sending read receipts to both linked devices and senders.
// FREEBIE
2017-09-19 17:30:48 -04:00
Matthew Chen
0e7eaf7c62 Modify read receipt photos to support sending read receipts to both linked devices and senders.
// FREEBIE
2017-09-19 17:30:48 -04:00
Matthew Chen
3367292ba0 Merge branch 'hotfix/2.16.1' 2017-09-19 17:25:24 -04:00
Matthew Chen
8f2eb7adf1 Merge branch 'charlesmchen/improveStartupLogging' into hotfix/2.16.1 2017-09-19 17:23:14 -04:00
Matthew Chen
f92b221e6b Startup logging.
// FREEBIE
2017-09-19 17:22:56 -04:00
Matthew Chen
70602e3bca Startup logging.
// FREEBIE
2017-09-19 17:22:56 -04:00
Michael Kirk
7101d4aa3b bump build
// FREEBIE
2017-09-19 11:34:09 -04:00
Michael Kirk
7f6c27863f pull latest translations
// FREEBIE
2017-09-19 11:34:09 -04:00
Michael Kirk
3ead1c0d81 Merge pull request #2553 from WhisperSystems/mkirk-hotfix-2.16.1/pick-any-profile-photo
Show album organizer for profile picker
2017-09-19 10:54:23 -04:00
Michael Kirk
5e878b486e Show album organizer for profile picker
This is in line with attachment picking and let's the user find photos
outside of "moments".

// FREEBIE
2017-09-19 10:47:15 -04:00
Matthew Chen
05cc84ee11 Merge branch 'charlesmchen/flatButtonCR' 2017-09-19 09:41:16 -04:00
Matthew Chen
2affcd934f Respond to CR.
// FREEBIE
2017-09-19 09:40:29 -04:00
Matthew Chen
8ceca76453 Merge branch 'charlesmchen/modalActivityIndicatorCR' 2017-09-19 09:39:56 -04:00
Matthew Chen
c0f5bda2be Respond to CR.
// FREEBIE
2017-09-19 09:39:38 -04:00