Clark
d74b302edb
Add remaining non-group update messages for backup.
2024-01-03 15:12:45 -05:00
Greyson Parrelli
6230a7553d
Add some initial backupV2 network infrastructure.
2023-12-19 11:12:56 -05:00
Greyson Parrelli
befa396e82
Export backupV2 using actual desired file format.
2023-12-04 16:18:56 -05:00
Clark Chen
fb69fc5af2
Add backupV2 support for simple update messages.
2023-12-04 16:18:56 -05:00
Greyson Parrelli
b540b5813e
Setup backupV2 infrastructure and testing.
...
Co-authored-by: Clark Chen <clark@signal.org >
2023-12-04 16:18:56 -05:00
Nicholas
da84cde6da
Read first frame of backup to validate before proceeding.
...
Addresses #11952 .
2023-10-02 20:30:39 -04:00
Ehren Kret
c6473ca9e6
Minor improvement to Android Backup file format.
2023-07-12 15:48:51 -04:00
Clark
71aa17bad6
Verify number of backup frames written is read back.
2023-06-06 12:47:16 -04:00
Nicholas Tinsley
7ea9fc0c3b
Update AlertDialogs to MaterialAlertDialogs.
...
Addresses #12949 .
2023-06-06 12:47:16 -04:00
Greyson Parrelli
d8d95d8efe
Update SQLCipher to 4.5.4-S1
2023-05-05 12:48:53 -03:00
Greyson Parrelli
a01fb7ff1c
Fix foreign key constraint issues with backup restore.
2023-04-25 15:52:09 -04:00
Greyson Parrelli
deeaf2ba2e
Put guard against self-foreign-keys causing infinite recursion.
2023-04-20 13:50:12 -04:00
Cody Henthorne
4f06a0d27c
Improve performance from thread being updated to data available to render.
2023-04-20 13:50:12 -04:00
Greyson Parrelli
279ad7945e
Move to defined from_recipient_id and to_recipient_id columns on message table.
2023-04-20 13:50:11 -04:00
Cody Henthorne
055f4b09ee
Add additional backup folder failure debug info.
2023-04-12 16:31:27 -04:00
Greyson Parrelli
5914a4d1cf
Improved logging around backup export.
2023-03-24 14:39:51 -04:00
Greyson Parrelli
e559198495
Fix crash when creating backup.
2023-02-16 16:08:47 -05:00
Greyson Parrelli
af6f16bdb6
Move Backups.proto to Wire.
2023-02-14 14:03:09 -05:00
Greyson Parrelli
d8eac87219
Cleanup dangling MSL rows.
2023-02-09 13:41:32 -05:00
Cody Henthorne
89b0167fd2
Ensure backup job verification can be cancelled.
2023-02-07 11:19:26 -05:00
Greyson Parrelli
fe40e37da4
Fix full text search migration after table name change.
2023-01-26 20:25:28 -05:00
Greyson Parrelli
f149c0adb9
Remove MmsSmsColumns.
...
All the columns got moved to MessageTable.
I kept the types though and renamed the class to MessageTypes because
it's a lot of boring domain-specific code.
2022-12-30 16:54:49 -05:00
Greyson Parrelli
3850c9c89d
Remove isMms from MessageId.
2022-12-30 15:11:56 -05:00
Greyson Parrelli
e9d98b7d39
Migrate SMS messages into the MMS table.
2022-12-30 15:11:56 -05:00
Cody Henthorne
fb0aa55cbb
Fix instrumentation tests by forcing channel id usage to init channels.
2022-12-16 15:22:04 -05:00
Greyson Parrelli
bd11ed9f17
Fix table drop order during backup import.
...
Fixes #12671
2022-12-12 11:54:05 -05:00
Cody Henthorne
10df4ee0d1
Add additional info when backup verification fails.
2022-12-12 10:49:55 -05:00
Cody Henthorne
e5d196c642
Log backup verify failure independently from file not found.
2022-11-30 17:10:36 -05:00
Greyson Parrelli
7949996c5c
Renamed database classes to table classes.
...
Because they're not databases. They're tables.
2022-11-30 17:10:36 -05:00
Greyson Parrelli
cf00995b6f
Guarantee table export order is valid.
2022-11-16 15:05:47 -04:00
Nicholas Tinsley
b9f4dc3fe9
Specify exported status and PendingIntent mutability.
...
Also reduce shake sampling frequency, add coarse location permission.
Random things for targetSdk 32.
2022-09-28 11:33:35 -04:00
Cody Henthorne
05c16e4c70
Retry backup verify and rename with delay.
2022-08-24 17:09:01 -04:00
Cody Henthorne
41a7560e76
Do not fail backup when missing attachments.
2022-08-12 11:21:21 -04:00
Cody Henthorne
ac8a972c6e
Do not fail backup creation when sticker files are missing.
2022-08-11 11:25:36 -04:00
Cody Henthorne
019025ab8a
Improve backup creation exception messaging to user.
2022-08-10 16:14:45 -03:00
Cody Henthorne
cfebd0eeb9
Verify backup can be decrypted as part of creation flow.
2022-08-09 16:23:44 -04:00
Alex Hart
5212b33b47
Add sms export library and sample app.
2022-08-09 16:23:44 -04:00
Cody Henthorne
d4c633a0f2
Include Signal release notes channel in backups.
2022-08-04 17:12:30 -04:00
Greyson Parrelli
e6cc49368e
Update some dialogs to MaterialAlertDialog.
2022-06-15 08:32:20 -04:00
Cody Henthorne
4e01336b2f
Fix unclosed streams during backup export.
2022-05-26 14:24:57 -03:00
Greyson Parrelli
7fc9876b1e
Start transaction earlier in backup restore.
...
Fixes #12159
2022-04-15 16:07:14 -04:00
Sgn-32
48d7228ae7
Replace use of AlertDialog.Builder with MaterialAlertDialogBuilder.
2022-04-06 12:36:32 -04:00
Greyson Parrelli
77ea2deada
Move more util classes to core-util.
2022-04-06 12:36:32 -04:00
Greyson Parrelli
3c0b87bbca
Fix possible backup crash due to foreign key constraint.
2022-03-30 09:56:26 -04:00
Greyson Parrelli
8d4419705b
Update to libsignal-client 0.15.0
2022-03-28 19:07:20 -04:00
Greyson Parrelli
2b5d65ae04
Revert "Update to libsignal-client 0.15.0"
...
This reverts commit 3d5f04eba757563dd92366d994a96cf323b8d540.
2022-03-28 19:07:20 -04:00
Jordan Rose
1e316ea19f
Update to libsignal-client 0.15.0
2022-03-28 19:07:20 -04:00
Greyson Parrelli
135fde68c1
Migrate some cursor utils to core-util.
2022-03-28 19:07:20 -04:00
Greyson Parrelli
057231b9c3
Update libsignal-client to 0.14.0
2022-03-17 12:12:56 -04:00
Cody Henthorne
fa384e93dc
Fix crash importing backups.
2022-03-10 15:46:45 -05:00