Michael Kirk
0ad794dfd9
Merge branch 'mkirk/better-envelope-logging'
2017-06-05 09:31:20 -04:00
Michael Kirk
ab378f79b4
better message receipt logging
...
// FREEBIE
2017-06-05 09:31:12 -04:00
Matthew Chen
01f2911462
Merge branch 'charlesmchen/obsoleteNotification'
2017-06-02 10:32:02 -04:00
Matthew Chen
7c78d62a0d
Remove obsolete TSUIDatabaseConnectionDidUpdateNotification notification.
...
// FREEBIE
2017-06-02 10:02:27 -04:00
Michael Kirk
05a96008e3
Merge branch 'mkirk/reject-unseen-id-calls'
2017-06-01 13:20:37 -07:00
Michael Kirk
ebd4800e21
return unseen identity rather than bool
...
This turns out to be more versitile for the client app
// FREEBIE
2017-05-31 17:40:59 -07:00
Michael Kirk
e10cc0c180
determine if recipient identity change is unseen
...
// FREEBIE
2017-05-31 16:51:11 -07:00
Matthew Chen
cd7a172b94
Revert "Remove obsolete TSUIDatabaseConnectionDidUpdateNotification notification."
...
This reverts commit f2fb2cb9dc .
// FREEBIE
2017-05-31 17:42:49 -04:00
Matthew Chen
f2fb2cb9dc
Remove obsolete TSUIDatabaseConnectionDidUpdateNotification notification.
...
// FREEBIE
2017-05-31 17:42:21 -04:00
Michael Kirk
0c46288cf9
Merge branch 'mkirk/dedicated-session-connection'
2017-05-31 11:32:57 -07:00
Michael Kirk
806a64ee53
Store session as Immutable to be clear about when it's mutated.
...
// FREEBIE
2017-05-31 11:32:52 -07:00
Michael Kirk
29e86901e7
Do not cache session objects
...
Ensure that any uncommitted session mutation doesn't hang around.
// FREEBIE
2017-05-31 11:32:52 -07:00
Matthew Chen
07b54039b2
Merge branch 'charlesmchen/incomingAndOutgoingDatabaseViews'
2017-05-31 10:04:19 -04:00
Matthew Chen
32d97bc6c7
Respond to CR.
...
// FREEBIE
2017-05-31 10:02:04 -04:00
Matthew Chen
09f7a9df4e
Add incoming and outgoing message database views.
...
// FREEBIE
2017-05-31 09:57:34 -04:00
Matthew Chen
888943a047
Merge branch 'charlesmchen/cleanupTimerUsage'
2017-05-31 09:54:00 -04:00
Matthew Chen
2b197197be
Clean up timer usage.
...
// FREEBIE
2017-05-31 09:53:30 -04:00
Matthew Chen
0a3e75ee8c
Merge branch 'charlesmchen/fixMarkAsRead'
2017-05-31 09:50:30 -04:00
Matthew Chen
e889f49e3b
Fix “mark as read” logic.
...
// FREEBIE
2017-05-30 11:01:54 -04:00
Matthew Chen
6acfab6a50
Merge branch 'charlesmchen/refineUnseenIndicator'
2017-05-30 10:10:54 -04:00
Matthew Chen
a5bebaf862
Respond to CR.
...
// FREEBIE
2017-05-30 10:05:13 -04:00
Matthew Chen
0eff3625c9
Respond to CR.
...
// FREEBIE
2017-05-30 10:05:13 -04:00
Matthew Chen
31e216519a
Respond to CR.
...
* Add [TSInteraction compareForSorting].
* Add a separate database view for safety number changes.
// FREEBIE
2017-05-30 10:05:13 -04:00
Matthew Chen
7c5a11b221
Changes for unseen indicator.
...
* Create separate database views for “unseen” and “unread” messages.
* Add “unseen tracking” to info and error messages.
* Rationalize “timestamp” vs. “receipt timestamp”.
* Ensure microsecond precision for interaction sorting.
* Add OWSFail() macros.
// FREEBIE
2017-05-30 10:05:13 -04:00
Matthew Chen
32d5e52142
DRY up the creation of database views.
...
// FREEBIE
2017-05-30 10:05:13 -04:00
Matthew Chen
6e94b3cccb
Add a database view for dynamic interactions.
...
// FREEBIE
2017-05-30 10:05:13 -04:00
Matthew Chen
c7cc023541
Merge branch 'charlesmchen/cacheAccountNames'
2017-05-30 09:51:16 -04:00
Matthew Chen
66927f206d
Cache display names for accounts.
...
// FREEBIE
2017-05-30 09:40:47 -04:00
Michael Kirk
33a2b05dca
Merge branch 'mkirk/remove-unnecessary-notifications'
2017-05-26 15:43:47 -07:00
Michael Kirk
42b35bb897
Don't notify for some error messages
...
Specifically:
- Don't play alert when building block offer
- Don't play/show redundant alert/lockscreen notifications for id changes
e.g.: if you share 100 groups with Bob, and Bob's SN change, you only
need *one* notification, even though we display the message in 100
group threads + 1 contact thread.
// FREEBIE
2017-05-26 15:43:35 -07:00
Michael Kirk
0eef7ccb8f
Merge branch 'mkirk/confirm-send'
2017-05-26 15:34:01 -07:00
Michael Kirk
09d7d8c027
Given a recipient id, returns any unconfirmed identity
...
// FREEBIE
2017-05-26 15:32:09 -07:00
Michael Kirk
0201fa34ce
Merge branch 'mkirk/profile-request'
2017-05-26 09:47:59 -07:00
Michael Kirk
5df67c8e5c
move constant per code review
...
// FREEBIE
2017-05-26 09:47:55 -07:00
Michael Kirk
fe075d2f77
Support for profile fetching so we can display SN changes upon entering
...
a thread
// FREEBIE
2017-05-26 09:47:55 -07:00
Matthew Chen
b89d16ea90
Merge branch 'charlesmchen/messageViewPerf2_'
2017-05-26 11:18:11 -04:00
Matthew Chen
ef9303dd03
Rename audio duration and image size methods in TSAttachmentStream.
...
// FREEBIE
2017-05-26 11:18:02 -04:00
Michael Kirk
12c45b8a47
Merge branch 'mkirk/log-error-on-send-failure'
2017-05-25 08:36:57 -07:00
Michael Kirk
3be70e9719
log error on failure
...
// FREEBIE
2017-05-25 08:36:45 -07:00
Michael Kirk
d782904d15
Merge branch 'mkirk/safety-numbers'
2017-05-24 18:05:36 -07:00
Michael Kirk
4a6a02c009
Ensure updates don't clobber
...
// FREEBIE
2017-05-24 18:01:48 -07:00
Michael Kirk
8ee57d9132
save identity to legacy identity store so we can switch versions while
...
testing
// FREEBIE
2017-05-24 18:01:48 -07:00
Michael Kirk
0001b6c493
Code style per code review, no functional changes
...
// FREEBIE
2017-05-24 18:01:48 -07:00
Michael Kirk
f2f3acb897
IdentityKeyStore changes
...
1) Always accept keys from incoming messages
2) Block sending only if it's a recent change, or if always
block is enabled
// FREEBIE
2017-05-24 18:01:48 -07:00
Matthew Chen
0a8c4203ea
Merge branch 'charlesmchen/socketManagerAssert'
2017-05-24 17:44:38 -04:00
Matthew Chen
07bf3b9af5
Remove invalid assert in socket manager.
...
// FREEBIE
2017-05-24 15:03:36 -04:00
Matthew Chen
289fd4f0cc
Merge branch 'charlesmchen/messageViewPerf2'
2017-05-24 09:59:03 -04:00
Matthew Chen
fe796d6c52
Cache image size and audio duration on attachments.
...
// FREEBIE
2017-05-23 09:39:54 -04:00
Matthew Chen
d612358256
Merge branch 'charlesmchen/manualCensorshipCircumvention'
2017-05-23 09:26:23 -04:00
Matthew Chen
58edbdfbd9
Let users manually specify the domain fronting country.
...
// FREEBIE
2017-05-22 20:33:26 -04:00