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
Alex Hart
e1bf23251f
Add support for Android 11 Conversation Bubbles.
2020-11-25 14:11:17 -04:00
Alex Hart
75062ada8a
Upgrade SDK to 30.
2020-11-18 13:38:27 -04:00
Greyson Parrelli
b5d6cb2a8d
Notify about accidentally disabled backups.
2020-10-29 13:32:55 -04:00
Alex Hart
e93d7518f3
Add some polish to backups changes.
2020-10-22 16:56:16 -04:00
Alex Hart
f4d3fe9176
Implement better backup failure notification strategy.
2020-10-22 16:56:16 -04:00
Alex Hart
ee3d7a9a35
Implement new workflow for scoped storage backup selection.
2020-10-15 16:19:17 -04:00
Alan Evans
8de4290c5b
Fix can create backups when timed backup is waiting for charging constraint.
2020-10-02 10:32:04 -03:00
Greyson Parrelli
9dc33eff3a
Remove thumbnails from the AttachmentDatabase.
...
Glide can do everything for us now, including video thumbnails.
2020-09-23 16:54:38 -04:00
Cody Henthorne
b8c7e86223
Fix improper deletion of stickers when restored from backup.
2020-09-08 14:07:56 -04:00
Greyson Parrelli
71f54701d2
Add additional safeguards around disappearing messages.
2020-06-19 10:17:23 -04:00