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
Greyson Parrelli
265283fea5
Do not backup null key-values.
2022-02-17 17:09:26 -05:00
Greyson Parrelli
db534cd376
Migrate identity keys to SignalStore.
2022-02-16 14:12:34 -05:00
Cody Henthorne
8348badcd6
Periodically fetch release notes.
2022-02-02 16:50:58 -05:00
Cody Henthorne
c548816daa
Add contact and key sync message receive support.
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
8014a70134
Show backup progress as a percentage.
2021-12-20 13:31:18 -05:00
Cody Henthorne
31e0696395
Use long in exporter.
2021-12-08 15:07:22 -05:00
Greyson Parrelli
843ed24bbb
Introduce SignalDatabase as the main database entrypoint.
2021-11-18 12:36:52 -05:00
Greyson Parrelli
77cb9bc174
Update SQLCipher to 4.4.3-S8
...
This reverts commit e01381379c
.
2021-10-04 21:49:59 -04:00
Greyson Parrelli
e01381379c
Revert back to prod SQLCipher.
2021-10-01 15:11:33 -04:00
Cody Henthorne
e2cb522e87
Prevent part files from being deleted prematurely.
2021-09-16 14:17:38 -03:00
Greyson Parrelli
fa26eb2017
Switch back to mainline SQLCipher with true WAL mode.
2021-09-02 21:24:54 -04:00
Greyson Parrelli
faa36d417c
Switch back to mainline SQLCipher.
2021-08-26 16:05:52 -04:00
Greyson Parrelli
214e994e90
Update to SQLCipher with true WAL support.
2021-08-24 09:09:27 -03:00
Greyson Parrelli
427119cef2
Do not backup the avatar picker database.
2021-07-26 10:40:55 -04:00
Greyson Parrelli
57c0b8fd0f
Initial pre-alpha support for sender key.
2021-06-07 18:14:12 -04:00
Greyson Parrelli
d0e2fbf8e7
Fix issues with emoji search backup/restore.
2021-06-03 20:30:44 -04:00
Cody Henthorne
a644c81736
Actually skip emoji searchd ata in backup restore.
2021-06-03 11:34:41 -04:00
Cody Henthorne
504a70f3ee
Skip emoji search data in backup/restore.
2021-06-03 10:12:12 -04:00
Alex Hart
f2d5ea0391
Refactor app settings.
2021-05-12 12:23:00 -04:00
Greyson Parrelli
b053fbc4a7
Use Log.tag where appropriate.
2021-03-31 16:02:32 -03:00
Cody Henthorne
faa19acf81
Include additional settings in backup.
2021-03-17 14:12:40 -04:00
Cody Henthorne
5d96bc2d3a
Allow choose backup restore flow to work on pre-API29 devices.
2021-03-17 14:12:40 -04:00
Cody Henthorne
9366596f5f
Fix discrepancy in message counting between export and import backups.
2021-03-17 14:12:40 -04:00
Cody Henthorne
490944a02a
Improve UI/UX around device transfer.
2021-03-16 10:18:02 -04:00
Cody Henthorne
a9149c5dc0
Stop backup jobs from continuing to run if backups become disabled.
...
Fixes #10819
2021-03-12 16:08:22 -05:00
Cody Henthorne
75aab4c031
Add Device to Device Transfer UI.
2021-03-12 16:08:22 -05:00
Greyson Parrelli
01152ead61
Move the JobDatabase to a separate physical database.
...
Also removes maxInstancesPerFactory from DB, which was only used during job submission and had no need to be persisted.
2021-01-06 17:03:21 -04:00
Alex Hart
ce3872ce1a
Fix ACTION_OPEN_DOCUMENT_TREE crash when no file picker available.
...
Fixes #10131
2021-01-06 17:03:20 -04:00
Greyson Parrelli
c466dba8c4
Move the KeyValueDatabase to a separate physical database.
2021-01-06 17:03:20 -04:00
Greyson Parrelli
8e93bf9075
Create a core-util module with some common utilities.
2020-12-05 13:44:13 -05:00