Commit Graph

212 Commits

Author SHA1 Message Date
Alex Hart
2aa0b3700f Move blurhash to its own module. 2026-02-02 12:17:16 -04:00
Alex Hart
471b214b4a Extract Media and TransformProperties to core/util/models. 2026-01-20 15:21:27 -04:00
Greyson Parrelli
bd38c4f5d2 Update Groups.proto to match shared spec. 2026-01-13 14:01:46 -05:00
Greyson Parrelli
1c5f4da20f Potential fix for flakey name collision test. 2026-01-13 12:20:29 -05:00
Greyson Parrelli
33d9840a78 Fix bad attachment table test. 2026-01-13 12:20:29 -05:00
Greyson Parrelli
7c11239875 Be more lenient with attachment restore conditions. 2026-01-08 07:39:51 -05:00
Cody Henthorne
d9ecab5240 Update local backup v2 support. 2026-01-08 07:39:42 -05:00
Greyson Parrelli
706d89db87 Introduce core-models module.
Needed to share some key components with feature modules without having
to depend on libsignal-service.
2025-12-02 16:00:54 -06:00
Michelle Tang
91b70038e6 Add ability to cancel a pending vote. 2025-10-17 19:46:42 -04:00
Cody Henthorne
75ce72ee83 Fix set archive transfer state race for duplicate attachments. 2025-10-15 15:26:34 -04:00
Michelle Tang
525175f04a Add polls to backups. 2025-10-15 15:26:34 -04:00
Alex Hart
1b9695cb98 Reject last-use kyber key sets that we've seen before. 2025-10-02 12:56:04 -04:00
Michelle Tang
b8e4ffb5ae Release polls behind feature flag. 2025-10-02 12:56:04 -04:00
Greyson Parrelli
c5753b96ff Update BackupMediaSnapshot to be based on attachments in backup frames. 2025-09-24 16:29:57 -04:00
Greyson Parrelli
a05d5ff5e6 Fix some issues with BackupMediaSnapshots. 2025-09-09 15:12:02 -04:00
Greyson Parrelli
4df6b87c13 Fix attachment table archive eligibility tests. 2025-09-05 19:33:50 -04:00
Greyson Parrelli
7d16e857d4 Fix unit tests around quote deduping. 2025-09-05 16:56:52 -04:00
Greyson Parrelli
662404d335 Migrate quotes to have a separate quoteTargetContentType. 2025-09-04 16:35:05 -04:00
Greyson Parrelli
c29d77d4a5 Do not generate archive thumbnails for quotes. 2025-09-04 16:35:05 -04:00
Greyson Parrelli
d4c1c39179 Generate thumbnails for quote attachments. 2025-09-04 16:35:05 -04:00
Cody Henthorne
f5b1857866 Fix various attachment reuse bugs causing archive issues. 2025-08-27 15:55:18 -04:00
Cody Henthorne
9ccdbb8e40 Rotate profile key when learning of a block by a linked device. 2025-08-21 14:52:33 -04:00
Greyson Parrelli
6af3f2ce42 Do not upload long text attachments to the archive. 2025-07-25 13:30:45 -04:00
Alex Hart
16776ad843 Filter messages that will expire within 24hrs from including attachments in backups. 2025-07-23 15:22:26 -04:00
Greyson Parrelli
4b75b9f1d6 Improve reconciliation task to reduce possible churn. 2025-07-16 12:42:36 -04:00
Alex Hart
049e9460a0 Ensure we are restoring media per spec with full media and thumbnail rules. 2025-07-16 12:42:36 -04:00
emir-signal
b42dcece48 Add support for call link epochs. 2025-07-10 09:12:48 -03:00
Greyson Parrelli
0f16be81b0 Bump libsignal to 0.76.0 2025-06-26 15:07:39 -04:00
Greyson Parrelli
ec5452744d Allow normal attachments to be validated with plaintextHashes. 2025-06-25 16:14:32 -04:00
Greyson Parrelli
607b83d65b Validate plaintext hashes for archived attachments. 2025-06-25 16:14:31 -04:00
Greyson Parrelli
38c8f852bf Do most of the proto and database groundwork for the new mediaName. 2025-06-25 16:14:31 -04:00
Greyson Parrelli
4f6a5de227 Refactor AttachmentCipherInputStream. 2025-06-18 16:45:41 -04:00
Greyson Parrelli
e7115a3a71 Switch the snapshot table to use incrementing versions. 2025-06-09 20:21:06 -04:00
lisa-signal
8c1e221afd Fix chat folder test. 2025-06-09 20:21:06 -04:00
lisa-signal
64ddc24720 Add test case for folder without chat. 2025-06-09 20:21:06 -04:00
Michelle Tang
e3ee3d3dba Add notification profiles to storage service. 2025-06-04 15:17:37 -04:00
Cody Henthorne
7b30ac1524 Fix various archive related attachment bugs.
Co-authored-by: Greyson Parrelli <greyson@signal.org>
2025-05-29 11:34:09 -04:00
Greyson Parrelli
f73d929feb Add additional CDN reconciliations to BackupMediaSnapshotSyncJob.
Co-authored-by: Cody Henthorne <cody@signal.org>
2025-05-06 17:58:47 -04:00
Michelle Tang
eb1cf8d62f Add chat folder support to storage service. 2025-04-09 15:27:46 -04:00
Greyson Parrelli
17216316f6 Dynamically compute MediaName and MediaId. 2025-03-31 14:44:06 -04:00
Michelle Tang
82bb18e218 Clean up chat folder records. 2025-03-26 13:59:11 -04:00
Cody Henthorne
d0b6d6fdeb Migrate to shared class hierarchy for unit based database tests. 2025-03-04 15:58:21 -05:00
Cody Henthorne
ecc573f6b5 Fix note to self sorting by profile name in search bug. 2025-02-11 15:31:06 -05:00
Alex Hart
0b24e42448 Improve call tab performance. 2025-01-16 16:24:29 -05:00
Alex Hart
adda6f9ba8 Remove bad instrumentation test. 2025-01-16 16:24:29 -05:00
Greyson Parrelli
b65610f060 Fix DatabaseConsistencyCheck SQL normalizer. 2025-01-13 21:49:50 -05:00
Jameson Williams
1509e3ed79 Convert tests from Hamcrest -> AssertK. 2025-01-13 21:49:49 -05:00
Alex Hart
f2b4bd0585 Implement initial support for IAP data. 2024-12-21 12:39:10 -05:00
Cody Henthorne
d1bfa6ee9e Add notification profile and chat folder backupv2 proto support. 2024-12-12 12:16:09 -05:00
Alex Hart
64ad33b959 Add InAppPaymentTableTest to verify functionality of update method. 2024-12-09 08:58:15 -05:00