Commit Graph

174 Commits

Author SHA1 Message Date
Elaine
659e897dc9
Allow nicknames to be saved and displayed 2024-04-05 09:35:57 -06:00
Max Radermacher
4cdae7175f
Stop using NSKeyedArchiver in SignalAccounts 2024-04-02 13:48:57 -05:00
Elaine
dc71e48e2e
Add nickname record 2024-04-01 12:47:15 -06:00
Sasha Weiss
2b791566d9
Mark calls as read when opening the relevant conversation 2024-03-21 10:18:40 -07:00
Sasha Weiss
2dd9eb6b83
Add outgoing support for call identifiers in CallLogEvent sync messages 2024-03-19 14:45:28 -07:00
Max Radermacher
0a24b7b357
Clean up recipient searches 2024-03-07 11:57:45 -06:00
Max Radermacher
7444b18ab8
Remove fts shadow tables from schema.sql 2024-03-01 12:13:49 -06:00
Sasha Weiss
a301e40ecc
Add missed-call badging to the Calls Tab 2024-02-27 14:55:15 -08:00
Max Radermacher
9d36e630dd
Add phone number sharing/discoverability fields 2024-02-14 18:45:46 -06:00
Sasha Weiss
36c959a6ff
Add support for "Delete All" from the Calls Tab 2024-02-13 11:01:57 -08:00
Sasha Weiss
6123790a61
Clean up deleted call records after 8h 2024-02-05 12:34:19 -08:00
Sasha Weiss
771d01769a
Add DeletedCallRecord database table and store 2024-01-31 15:06:23 -08:00
Sasha Weiss
056fb3a115
Add CallRecordQuerier 2024-01-03 11:11:35 -08:00
Harry
5da3a3a498
Stop using TSIncomingMessage.sourceDeviceId 2023-12-19 11:16:26 -08:00
Harry
0c53ff88fa
Rename TSOutgoingMessage.isFromLinkedDevice->wasNotCreatedLocally 2023-12-15 09:36:46 -08:00
Sasha Weiss
b954d87562
Update CallRecord state in response to ring updates 2023-12-11 15:02:25 -08:00
Sasha Weiss
7acc370f67
Suppress 409 errors on receipt credentials for very specific cases 2023-11-14 10:02:46 -08:00
Sasha Weiss
30680635f8
Prevent donation-complete sheets from popping on subscription renewal 2023-11-09 15:26:46 -08:00
Sasha Weiss
7f41ecaa8b
Support SEPA bank transfer donations 2023-11-06 13:49:40 -08:00
Sasha Weiss
7b4674eae4
Add timestamp to CallRecord 2023-10-17 12:11:49 -07:00
Sasha Weiss
c88a283166
Restructure CallRecord's UNIQUE constraints 2023-10-13 14:54:16 -07:00
Sasha Weiss
d5848b7dd4
Restructure CallRecord in preparation of group call disposition 2023-10-12 14:44:40 -07:00
Max Radermacher
0935c7e70e
Add PNI column to SignalRecipient 2023-09-06 17:31:16 -05:00
Harry
ecbb1057c9
[MOB] Payments activation request in chat 2023-08-24 15:38:13 -07:00
Harry
2ac759408a
[MOB] Payment messages in chat 2023-08-24 13:55:39 -07:00
Pete Walters
05b5391dc9
Mark unread revisions as read via Edit History 2023-08-14 15:59:54 -05:00
Marissa Le Coz
52bf8a41fc
React to remote changes of hidden recipient state 2023-07-19 19:25:54 -04:00
Pete Walters
82e51fe9cd
Add support for saving edit message drafts. 2023-07-07 15:38:35 -05:00
Pete Walters
9b235845ed
Update how edits are expired & deleted 2023-06-02 16:15:46 -05:00
Pete Walters
b91865f358
Fix unread behavior with edits 2023-06-02 13:58:30 -05:00
Pete Walters
cf37a8b1f9
Edit Message DB changes & conversation edit filtering 2023-05-03 17:22:10 -05:00
Max Radermacher
31f2f3d681
Improve MSL performance 2023-04-25 14:13:59 -07:00
Max Radermacher
0d8ef0f17e
Improve FailedAttachmentDownloadsJob perf 2023-04-25 12:22:20 -07:00
Harry
b6c6d60141
Fix long query for story replies 2023-04-18 13:08:03 -07:00
Sasha Weiss
5d7241d038
Add parsing support for the pni capability 2023-03-24 10:07:39 -07:00
Sasha Weiss
e5f1af6c2e
Support lookup-by-username 2023-02-08 10:16:57 -08:00
george-signal
5fe81c0ad3
Show video duratioin in All Media. 2023-02-03 16:00:46 -08:00
Evan Hahn
8d707a9c74
Add spam reporting tokens 2023-01-25 14:14:57 -06:00
Evan Hahn
6e97ff3c8f
Gifting: add PayPal support 2023-01-18 16:38:57 -06:00
Harry
b3136fb42c
Call Disposition
* Add CallEvent sync message proto

* Add CallRecord class and db table

* Renames and comments for clarity

* create and update CallRecord from local device call events

* Handle incoming call event sync messages

* Add outgoing call sync event piping

* Send call event sync messages

* Handle call record sync messages before the app is launched

* Mark TSCall interactions as read and update their status when getting call event sync messages

* Prevent CallKit race conditions by checking state before creating TSCall interactions

* Update chat call event text for unanswered and declined calls

* Remove incorrect debug assert which fires every time a call is missed in the background

* PR comments, mostly nits

* convert old debug assert into a log + task comment

* nit

* Update copy for in chat call logs

* Smaller PR comments

* Add foreign key to CallRecord's interactionUniqueId

* Update write transaction ordering comment

* run genstrings

* fix strings
2023-01-10 11:48:46 -08:00
Max Radermacher
921301cdb0
Add CDSv2 2022-12-14 16:30:35 -08:00
Sasha Weiss
ee4799b506 One-time donations via PayPal 2022-12-01 14:39:03 -08:00
Jordan Rose
a87651e7ed Handle incoming group call rings
This adds a table of "cancelled group rings", to handle out-of-order
delivery between a cancellation and a ring. (This can happen when the
cancellation comes from a linked device rather than the original
ringer, though it's very unlikely.) Thirty-minute-old cancellations
are cleared lazily.

This also adds a new IncomingCallControls to replace the usual
CallControls in a GroupCallViewController.

And finally, there's a lot of code that was 1:1-call-specific that now
handles group calls as well, either by being more general or by
checking which kind of call we have.
2022-11-07 09:48:53 -08:00
Sasha Weiss
c7dd7f4c84
Actions for donation megaphone 2022-11-03 11:39:37 -07:00
Max Radermacher
9db9d94085
Handle isComplete during incoming contact syncs 2022-10-19 09:29:52 -07:00
Harry
201f002499
Add lastReadTimestamp to StoryContextAssociatedData
* Add last read timestamp to StoryContextAssociatedData

* Write lastReadTimestamp on StoryContextAssociatedData

* Copy lastViewedTimestamp over to lastReadTimestamp to simplify badge query

* apply didSets for data that changed at rest
2022-10-18 11:18:06 -07:00
Sasha Weiss
151e8b8044
Migrate from ExperienceUpgradeId to ExperienceUpgradeManifest (#5163) 2022-10-17 09:55:12 -07:00
Harry
74228f424e
Add StoryContextAssociatedData to compute story tab badge count without hidden stories
* Add StoryContextAssociatedData and db migrations

* Remove hideStory from ThreadAssociatedData

* Remove lastViewedStoryTimestamp and lastReceivedStoryTimestamp from TSThread

* drop deprecated columns in db migration

* add indexes

* dump schema.sql

* Update unviewed stories SQL query

* fix thread fetching for incoming story messages

* reload story tab badge when StoryContextAssociatedData changes

* Add test for TSGroupModel backwards-compatible deserialization

* move db migration

* Only use StoryContextAssociatedData for story badge count

* update StoryContextAssociatedData lastReceivedTime when a story message is deleted

* catch group threads for outgoing story messages too

* clean up sql query

* Only update lastReceievedStoryTimestamp for remote deletions

* add latestUnexpiredTimestamp to StoryContextAssociatedData
2022-10-03 21:16:01 -07:00
Harry Sanabria
ad65ef501f Add lastReceivedStoryTimestamp to schema.sql 2022-09-22 17:05:06 -07:00
Nora Trapp
9776699137 Sync when contacts become unregistered 2022-09-15 14:09:03 -07:00