Commit Graph

175 Commits

Author SHA1 Message Date
Greyson Parrelli
f04a0533cb Update SignalService.proto to match shared one. 2026-03-31 16:20:25 -03:00
Jesse Weinstein
30426ee42a Remove some unused classes.
Resolves signalapp/Signal-Android#14636
2026-03-11 15:41:44 -04:00
Cody Henthorne
ff50755ba2 Add sealed sender certificate validity constraint to send jobs. 2026-03-09 12:24:10 -04:00
Cody Henthorne
b4d781ddbb Reduce calls to sleep for WebSocket keep alives. 2026-02-24 16:50:01 -05:00
Alex Hart
58d2c92102 Move the rest of the permissions classes. 2026-02-11 18:08:57 -05:00
Alex Hart
5a19117850 Move lru and bottomsheet util to core modules. 2026-02-03 13:23:43 -04: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
Greyson Parrelli
44527f3763 Add a DiskSpaceNotLowConstraint and use for automatic attachment restore. 2025-11-07 15:20:05 -05:00
Greyson Parrelli
ca2cc722d4 Add separate column to track archive thumbnail status. 2025-09-04 16:35:06 -04:00
Greyson Parrelli
b87a060251 Use more sensible numberings for JobRunner ids. 2025-09-04 16:35:05 -04:00
Greyson Parrelli
a5c4c3b54a Small JobManager tweaks to scale more often and improve debugging info. 2025-09-04 16:35:05 -04:00
Cody Henthorne
21363f085e Add sticker specific restore flow and fix archive related sticker bugs. 2025-08-27 15:55:18 -04:00
Greyson Parrelli
1a1ddbfa39 Add additional logging around JobRunners. 2025-08-27 15:55:18 -04:00
Greyson Parrelli
b3d2e31bae Add dynamic scaling to our JobRunner system. 2025-08-21 14:52:34 -04:00
Cody Henthorne
2b56e00e89 Prevent potential deadlock when canceling jobs. 2025-08-21 14:52:33 -04:00
Greyson Parrelli
2190a4a58d Fix issue where we could enqueue unsatisfiable jobs during registration. 2025-08-12 13:00:35 -04:00
Greyson Parrelli
7b88b07170 Increase parallelization of attachment archive uploads. 2025-08-11 13:02:12 -04:00
Greyson Parrelli
f255160c4a Default the number of JobRunners to 8. 2025-08-11 13:02:12 -04:00
Greyson Parrelli
949bc8fb95 Add additional logging around JobManager memory state. 2025-08-06 15:50:14 -04:00
Alex Hart
53ee0648c0 Fix backups deletion pipeline. 2025-07-25 11:02:47 -04:00
Cody Henthorne
8ee80b0d27 Fix backup message job cancel and start bugs. 2025-07-16 14:21:59 -04:00
Greyson Parrelli
5d0f71e02c Fix duplicate numbers, remove shortcodes entirely. 2025-07-10 09:12:48 -03:00
Greyson Parrelli
6edfcfdc4e Properly order attachment archive copies. 2025-06-09 20:21:06 -04:00
Alex Hart
250ac481c8 Move cancel and retry to bg thread. 2025-04-15 13:15:16 -03:00
Greyson Parrelli
9c473fb570 Improve and centralize e164 utils. 2025-03-04 15:58:21 -05:00
Cody Henthorne
ca6c9d76b2 Add coroutine friendly blocking job run functions. 2025-02-18 16:51:14 -05:00
Greyson Parrelli
754d759d7d Add support for AttachmentBackfill sync messages. 2025-02-18 16:14:40 -05:00
Michelle Tang
d4c8c16df3 Notify a user when they link a device. 2025-01-13 21:49:50 -05:00
Michelle Tang
a7d7c1da8d Allow restoration over cellular 2024-12-09 08:58:15 -05:00
Grzegorz Bobryk
cafbf48783 Move from enum.values() to enum.entries.
Resolves #13767
2024-11-04 09:18:47 -05:00
Greyson Parrelli
a90df1e262 Get a big backupV2 import fully working. 2024-10-16 15:07:19 -04:00
Greyson Parrelli
5cafea2bde Add the concept of queuePriority to jobs. 2024-10-10 15:56:24 -04:00
Alex Hart
9ff2577efe Add CoroutineJob. 2024-10-07 17:01:27 -04:00
Cody Henthorne
93609106b0 Update restore progress banner UI/UX and job behavior. 2024-10-03 10:26:19 -04:00
Greyson Parrelli
a76f5e600e Fix flakiness of the backup tests.
It's possible that pending writes to the key value store (from using
.apply()) may not be finished by the time we take the DB snapshot,
resulting in us seeing stale data in the snapshot. Now we block on
writes finishing.
2024-09-21 22:51:24 -04:00
Greyson Parrelli
dc77226995 Address a FTS table configuration crash. 2024-09-16 09:51:14 -04:00
Cody Henthorne
816006c67e Refactor and cleanup backupv2 media restore. 2024-09-13 10:51:30 -04:00
Greyson Parrelli
06d475fb6e Move constraint filtering down into JobStorage to improve perf. 2024-07-26 23:43:53 +02:00
Greyson Parrelli
86cf8200b5 Remove cases where all jobs were expected to be in memory. 2024-07-26 23:43:53 +02:00
Alex Hart
d424a60345 Fix group call flickering missed. 2024-07-17 15:21:14 -04:00
Greyson Parrelli
863b443317 Convert SignalStore to kotlin. 2024-06-24 15:04:03 -04:00
Greyson Parrelli
d698f74d0b Rename FeatureFlags -> RemoteConfig. 2024-06-24 15:04:02 -04:00
Greyson Parrelli
664c22d8f1 Add mostly-working SVR3 implementation behind flag. 2024-06-21 09:19:47 -03:00
Greyson Parrelli
485b466bd2 Crash on RuntimeExceptions thrown during all Jobs. 2024-06-21 09:19:47 -03:00
Greyson Parrelli
b6a4e1f145 Rewrite the AppDependencies system. 2024-06-05 15:46:00 -04:00
Nicholas Tinsley
cfb4377de3 Apply automated ktlint 1.2.1 formatting. 2024-05-17 09:33:22 -04:00
Clark
ba4cdea75d Add cellular backup toggle for message backup. 2024-05-08 16:30:53 -03:00
Greyson Parrelli
a82b9ee25f Add a job to backfill attachment uploads to the archive service. 2024-04-18 16:24:13 -04:00
Greyson Parrelli
1d29b0166d Backfill missing attachment hashes. 2024-03-19 14:47:58 -04:00
Greyson Parrelli
c4842ae7c5 Attempt to prevent message retry loops. 2024-02-23 15:36:23 -05:00