Wykres commitów

21 Commity (7c60c3291873dd9e00c459b529cfff7a22da98f1)

Autor SHA1 Wiadomość Data
Alex Hart a15e97cc06 Filter story info to just the relevant people in that specific dlist.
Co-authored-by: Greyson Parrelli <greyson@signal.org>
2022-10-24 20:48:20 -03:00
Alex Hart 13eb89746b Add unit testing to story download enqueuer. 2022-09-13 13:07:41 -04:00
Greyson Parrelli 61498037f3
Add support for PniSignatureMessages. 2022-08-24 18:16:42 -04:00
Cody Henthorne 3252871ed5 Replace prekey jobs with one overall sync job. 2022-08-18 16:01:05 -04:00
Cody Henthorne 9bc25132c3 Add new My Story privacy settings. 2022-06-29 15:32:25 -04:00
Greyson Parrelli 9eeecaa73d Initialize WAL mode earlier. 2022-06-15 11:57:02 -04:00
Cody Henthorne bb963f9210 Add remote megaphone. 2022-05-12 10:42:21 -03:00
Greyson Parrelli d3096c56cb Basic client usage of CDSHv2.
This provides a basic (read: useful-for-development-yet-broken) client
usage of CDSHv2.
2022-04-15 16:07:14 -04:00
Cody Henthorne 2f5cb5f090
Add story distribution list deduplication handling. 2022-03-28 19:43:42 -04:00
Greyson Parrelli 135fde68c1 Migrate some cursor utils to core-util. 2022-03-28 19:07:20 -04:00
Greyson Parrelli c2627dda8d Migrate contact interactions to SystemContactsRepository. 2022-03-28 19:07:20 -04:00
Greyson Parrelli 803f94012a Handle profile key changes consistently. 2022-03-17 12:12:56 -04:00
Alex Hart 174cd860a0 Implement Stories feature behind flag.
Co-Authored-By: Greyson Parrelli <37311915+greyson-signal@users.noreply.github.com>
Co-Authored-By: Rashad Sookram <95182499+rashad-signal@users.noreply.github.com>
2022-03-08 10:41:36 -04:00
Alex Hart 7b499f96be Implement donation receipts. 2022-03-01 10:47:23 -05:00
Greyson Parrelli e8ad1e8ed1 Support PNI prekeys. 2022-02-16 14:12:34 -05:00
Cody Henthorne 14db5ce349
Improve profile fetching for large groups. 2022-02-09 16:01:56 -05:00
Greyson Parrelli 35f9437413 Delay database notifications until after a transaction has finished. 2022-01-24 12:04:48 -05:00
Greyson Parrelli e50787ae20 Trim abandoned reactions from backups.
When you create a backup (or do a device transfer), we skip messages
with expiration timers. However, we still (unintentionally) include the
reactions for those messages in the backup.

These 'abandoned' reactions were being associated with newly-sent
messages because the new messages had the same ID's as the expiring
messages we skipped in the backup.

It's worth noting that in order to hit this bug, you have to:
- Have messages that are expiring, but have not expired yet
- Those messages have to have reactions
- Those message have to be the most recent messages in your message table

Fixes #11327
2022-01-18 17:08:53 -05:00
Cody Henthorne 6c608e955e Add Notification profiles. 2021-12-08 15:07:22 -05:00
Greyson Parrelli ff038e3ade Fix some issues with restoring old backups.
There's a bug where if you restore a database with a different column
definition order than a new install, then column indexes in cursors
could be wrong. Closing and re-opening the database fixes this.

I also removed a reference to a possibly-closed database we were holding
onto in LiveRecipient.
2021-11-19 16:28:39 -05:00
Greyson Parrelli 843ed24bbb
Introduce SignalDatabase as the main database entrypoint. 2021-11-18 12:36:52 -05:00