Nora Trapp
1cbe9c3ee7
PR Feedback
2021-08-16 13:28:08 -07:00
Nora Trapp
42b2575775
Add isHighPriority field and promise support to message sender job queue
2021-08-16 13:27:43 -07:00
Nora Trapp
fee1bbddad
Add exclusiveProcessIdentifier to SSKJobRecord
2021-08-16 13:27:00 -07:00
Michelle Linington
2470c2108f
PR Feedback: sendComplete should default false
2021-08-16 13:14:19 -07:00
Michelle Linington
93d584b239
IOS-1718: Foreign constraint failure on MessageSendLog
...
Fixes a bug where a incoming delivery receipt can race with an
in-progress send.
- When a message is preparing to be sent, a payload is inserted
- As sends are successful, recipient entries are added to indicate that
we're awaiting delivery acknowledgement.
- Once all recipient entries have been cleared (every recipient has
acked), we delete the payload.
If a message is being sent to A and B: A succeeds, but B is delayed, and
A acks before B can be sent, the payload entry will be cleared.
This change adds a "sendComplete" bit to the MSL table to indicate
whether or not the entry should be preserved even if all recipients have
acked.
2021-08-16 13:14:19 -07:00
Michelle Linington
f69c76c1ab
Migrate schema to account for new PendingReceipt properties
...
Most of this was done by Matthew. Thanks Matthew!
2021-08-04 22:17:42 -07:00
Michelle Linington
5b2312787b
PR Feedback and bug fixes
...
- Our SQL schema generator doesn't like "=="
- Various terrible compile time issues that I had missed
- Migrated OWSOutgoingResendResponse from Swift to ObjC. Mantle doesn't
do great with coding Swift objects. This fixed the bug that was
preventing resend from working. Resend works correctly now!
2021-07-21 22:58:51 -07:00
Michelle Linington
fd54a0af41
Regenerate SQL, minor comment fixes
2021-07-21 22:58:51 -07:00
Michelle Linington
51f3a58a61
Message send log recording and resend responses
2021-07-21 22:58:51 -07:00
Nora Trapp
80bb849f5b
Add message request flow to report spam
2021-06-30 09:54:26 -07:00
Nora Trapp
e439bb619e
Move isArchived, isMarkedUnread, and mutedUntilDate off of TSThread
2021-05-13 12:54:33 -07:00
Nora Trapp
43039a1384
Update schema
2021-04-30 11:46:31 -07:00
Nora Trapp
bf660c85ce
Add TSGroupMember table to allow performant querying of group membership
2021-04-08 13:44:00 -07:00
Nora Trapp
73f4044ebf
Fix db schema
2021-04-07 18:56:01 -07:00
Matthew Chen
cbfc7be372
Revisions to payments in SSK.
2021-04-06 13:57:07 -03:00
Matthew Chen
87ace3779d
Respond to CR and proto schema/reconciliation review.
2021-04-06 13:57:06 -03:00
Matthew Chen
a00d14ddc4
Payments: Models
2021-04-06 13:57:06 -03:00
Nora Trapp
63da30f617
Store mute as millisecond timestamp
2021-03-27 12:13:20 -07:00
Matthew Chen
d3eb77d6d3
Refine handling of unverified safety number changes.
2021-01-21 22:31:08 -03:00
Matthew Chen
3bb5f0777b
Add profile bio fields to database schema.
2021-01-14 22:25:45 -03:00
Michelle Linington
8998b1e767
Add eraId to GroupCallUpdate messages
...
By including eraId in GroupCallUpdate messages, we're able to identify
separate group calls after the fact. Each unique eraId will result in a
new entry in the database, even if the group call has since ended.
2020-11-24 20:59:37 -08:00
Nora Trapp
d8ca084b65
Tweak database fields and update RingRTC
2020-11-19 16:02:22 -08:00
Nora Trapp
b32c5bda4a
Add scaffolding for Group Call messages
2020-11-19 16:02:22 -08:00
Nora Trapp
f8cb80926c
Don't include deleted threads in the badge count
2020-09-23 14:53:28 -07:00
Matthew Chen
ce1dcbade5
Animated sticker support.
2020-09-02 13:44:15 -03:00
Nora Trapp
4b3908077b
Migration to add serverDeliveryTimestamp
2020-08-20 16:48:54 -07:00
Nora Trapp
d3b56cf454
Update schema
2020-08-14 20:44:04 -07:00
Nora Trapp
d6ad7868a3
PR Feedback
2020-08-04 14:18:10 -07:00
Nora Trapp
e8ec5330a0
Add mentions to the database
2020-08-04 14:08:29 -07:00
Matthew Chen
3b5d8ac8ba
Track last messaging date on user profile.
2020-07-08 11:04:01 -03:00
Matthew Chen
f55b0790b9
Track last fetch date on user profile.
2020-07-08 11:04:01 -03:00
Manpreet Singh
bad072f583
Fix index column typo threadUniqueId -> uniqueThreadId
2020-06-23 20:04:21 -07:00
Nora Trapp
b6d99789bf
Include marked unread threads in badge count
2020-06-19 12:01:20 -07:00
Nora Trapp
d0534ea642
Preserve conversation scroll position
2020-06-18 16:25:04 -07:00
Nora Trapp
552b6c6d64
PR Feedback
2020-06-07 09:44:58 -07:00
Nora Trapp
2425e28268
Send media messages on independent queue
2020-06-07 09:35:14 -07:00
Nora Trapp
3d084f958d
Mark as unread
2020-05-27 18:29:59 -07:00
Nora Trapp
4a3aadd2af
Fix wasRemotelyDeleted
2020-04-20 10:25:31 -07:00
Nora Trapp
3698125424
Track reaction read state
2020-04-20 10:25:31 -07:00
Nora Trapp
f0d7a9cb9c
Add early message handling for delivery receipts, reactions, and delete for everyone
2020-04-16 19:44:45 -07:00
Matthew Chen
d57cb36ace
Merge remote-tracking branch 'private/release/3.8.0'
2020-04-15 10:08:56 -03:00
Ehren Kret
035e7c2ec4
Migrate schema to add CDN key and number and add CDN2 constants
2020-04-14 08:53:59 -07:00
Matthew Chen
6ee2ad097e
Prepare for per-group queues in group message processing.
2020-04-13 17:36:36 -03:00
Matthew Chen
287ea95bf0
Fix uploadTimestamp nullability in schema.
2020-04-13 17:23:59 -03:00
Nora Trapp
12f0be1a62
Receive support for delete for everyone
2020-04-13 12:49:27 -07:00
Matthew Chen
7380ac3910
Add upload timestamp to attachment models.
2020-04-02 13:40:21 -03:00
Michael Kirk
f198d9037d
Merge tag '3.5.0.5'
2020-02-19 19:26:05 -07:00
Michael Kirk
e0fdfec82b
dump schema
2020-02-18 11:44:41 -07:00
Michael Kirk
314a050b09
CR: fix misspelled index name
2020-02-17 16:26:32 -07:00
Michael Kirk
2bed5d0cc3
persist pending read receipts
2020-02-16 13:13:12 -07:00