Greyson Parrelli
71a34dac5f
Fix backup/import issue with expiring messages.
...
There was an issue where we were backing up group receipts and attachments
that were for expiring messages (which are already excluded from the backup).
This commit excludes these items from the backup, and for backups made
before this change, this commit also deletes these invalid entries at
the end of the restore process.
We also do a little database migration to cleanup any bad state that may
have been imported in the past.
2018-06-21 19:07:27 -07:00
Greyson Parrelli
0449647cf9
Implemented full-text search.
...
You can now use the search bar on the conversation list to find
conversations, messages, and contacts.
2018-05-21 16:36:59 -04:00
Moxie Marlinspike
0b0853a223
Clear cache on update
2018-04-12 17:19:18 -07:00
Moxie Marlinspike
ca471b1408
Explicitly remove messages.db journal
...
Fixes #7636
2018-04-05 03:50:33 -07:00
Moxie Marlinspike
3bceb0d8ec
Delete old message DB
2018-04-04 05:09:43 -07:00
Moxie Marlinspike
9f3c04dfb5
Migrate prekeys into database
2018-03-05 16:11:49 -08:00
Moxie Marlinspike
9d5d43cf3a
Wait to process messages until after migration when screenlocked
...
Fixes #7390
2018-02-04 11:26:02 -08:00
Moxie Marlinspike
3633d805c8
More MasterSecret cleanup
2018-02-01 19:22:48 -08:00
Moxie Marlinspike
f36b296e2e
Migrate from SQLite and ciphertext blobs to SQLCipher + KeyStore
2018-01-30 17:27:05 -08:00
Moxie Marlinspike
8cd5ff5fa1
Mark directory retrieved on registered update
2017-11-30 13:30:15 -08:00
Moxie Marlinspike
f855e161d9
Ensure notifications for new users won't be generated first fetch
2017-11-30 10:26:41 -08:00
Moxie Marlinspike
3e9bfcb3fd
Delete "external" persistent blobs on cleanup
...
Also switch external persistent blog directory to cache
Fixes #6909
// FREEBIE
2017-11-03 10:53:37 -07:00
Moxie Marlinspike
17dd681dc8
Run all AsyncTasks on thread pool executor
...
Should Fix #7002
2017-10-23 13:03:32 -07:00
Moxie Marlinspike
5270dad789
Fix screen security preference migration
...
// FREEBIE
2017-10-04 12:37:53 -07:00
Moxie Marlinspike
ba849bce2c
Add support for incognito keyboard preference
...
Closes #6985
// FREEBIE
2017-10-03 18:57:23 -07:00
Moxie Marlinspike
e172b84603
Fix crash on displaying unknown contact header
...
Fixes #6924
// FREEBIE
2017-09-06 15:49:10 -07:00
Moxie Marlinspike
737810475e
Remove the Canonical Address Database
...
This was a holdover from Signal's origins as a pure SMS app.
It causes problems, depends on undefined device specific behavior,
and should no longer be necessary now that we have all the
information we need to E164 all numbers.
// FREEBIE
2017-07-31 12:02:29 -07:00
Moxie Marlinspike
82b5b35d3b
Eliminate MediaNetworkRequirement style attachment job handling
...
// FREEBIE
2017-07-21 15:59:27 -07:00
Moxie Marlinspike
f67eb5f9f3
Support for receiving arbitrary attachment types
...
// FREEBIE
2017-03-29 18:17:34 -07:00
Moxie Marlinspike
c5bf84cf9c
Make blocking SN changes the default for now
...
// FREEBIE
2016-11-14 13:36:48 -08:00
Moxie Marlinspike
0abe56171a
Enable non-blocking safety number changes
...
// FREEBIE
2016-11-11 19:07:35 -08:00
Moxie Marlinspike
549e45e2d6
Disable non-blocking identity changes for iOS compat
...
// FREEBIE
2016-10-05 10:27:32 -07:00
Moxie Marlinspike
848a25664b
Make fingerprint changes optionally non-blocking
...
Also complete the rename from "identity" to "safety numbers."
// FREEBIE
2016-09-25 14:27:40 -07:00
Moxie Marlinspike
09e52834a6
Refactor "parts" to contain MMS/PDU madness to MMS code paths.
...
Closes #4248
// FREEBIE
2015-10-15 11:11:39 -07:00
Moxie Marlinspike
94776c40e1
Put directory refresh into Signal migration
...
// FREEBIE
2015-10-02 07:55:59 -07:00
Moxie Marlinspike
0b20e99cd2
Refresh attributes to signal voice support on update.
...
// FREEBIE
2015-09-30 18:24:40 -07:00
Jake McGinty
0e06e2de97
fix queuing of pending parts that had data already
...
fixes #4061
Closes #4073
// FREEBIE
2015-09-14 18:06:03 -07:00
Moxie Marlinspike
2c48155769
Bump version to 2.26.3
...
// FREEBIE
2015-09-09 17:14:55 -07:00
Jake McGinty
923d9fb07b
fix crash on pending self-sent media
...
fixes #4016
Closes #4017
// FREEBIE
2015-09-04 11:42:58 -07:00
Jake McGinty
80ce83ef9d
Media download controls
...
Closes #3991
// FREEBIE
2015-09-03 11:40:55 -07:00
Moxie Marlinspike
d6179bc12b
Update notifications on background thread.
...
// FREEBIE
2015-08-12 10:44:27 -07:00
Moxie Marlinspike
b0f7df93a4
Update migration versions.
...
// FREEBIE
2015-07-16 11:17:04 -07:00
Moxie Marlinspike
fe552ba53f
Add contacts to contact provider on upgrade.
...
// FREEBIE
2015-07-16 11:15:56 -07:00
Moxie Marlinspike
8d9ae731ef
Only use MasterSecret for local message encryption.
...
Not for the axolotl store.
// FREEBIE
2015-07-16 11:15:56 -07:00
Moxie Marlinspike
6c367ac29c
Reschedule pending push decrypt jobs.
...
// FREEBIE
2015-06-25 11:17:42 -07:00
Moxie Marlinspike
7b3bd2fbf7
Replace rather than insert into push db on duplicate incoming.
...
Combined with the switch to server acked messages, this will
prevent the race condition that occurred when an incoming message
showed up at exactly the moment the app updated.
It'd be great if we could just do REPLACE INTO, but it's too
late to add a UNIQUE() constraint. =(
Fixes #2287
Closes #3029
// FREEBIE
2015-04-23 12:08:19 -07:00
Moxie Marlinspike
534df06794
Support granular "custom" MMS preferences.
...
1) Make each MMS preference an individual choice between custom
and default.
2) Display default values.
Closes #2487
// FREEBIE
2015-03-05 18:42:34 -08:00
Moxie Marlinspike
d4493e700e
Add GroupId for received messages.
...
// FREEBIE
2015-02-23 09:53:32 -08:00
Jake McGinty
f092e85b62
Workaround for LGE-related NPEs
...
See: https://code.google.com/p/android/issues/detail?id=78154
Fixes #2424
Closes #2428
// FREEBIE
2015-02-09 09:15:44 -08:00
Jake McGinty
28f63cf335
Revert "Try to fix LGE menu button NPEs"
...
This reverts commit f3a3aaca60
.
2014-11-25 09:23:57 +02:00
Jake McGinty
f3a3aaca60
Try to fix LGE menu button NPEs
...
fix based on https://code.google.com/p/android/issues/detail?id=78154
// FREEBIE
2014-11-25 09:17:27 +02:00
Moxie Marlinspike
e9b383d277
Add jobs for pending push messages during migration.
...
// FREEBIE
2014-11-21 12:53:40 -08:00
Moxie Marlinspike
a3f1d9cdfd
Beginning of libtextsecure refactor.
...
1) Break out appropriate components.
2) Switch the incoming pipeline from SendReceiveService to
the JobManager.
2014-11-12 15:21:32 -08:00
Moxie Marlinspike
4cdc0a3e61
Make signed prekey generation happen through the job queue.
2014-10-21 12:47:08 -07:00
Moxie Marlinspike
14b8f97de2
Reorganize session store load/store operations.
2014-10-20 12:14:17 -07:00
Moxie Marlinspike
9ef14a0f64
Upgrade to new GCM API.
2014-07-23 15:40:45 -07:00
Moxie Marlinspike
40698212bb
Create a Curve25519 asymmetric master secret for users without.
...
Fixes #1701
2014-07-18 22:16:12 -07:00
Moxie Marlinspike
7987362c25
Fix for bug where messages are stuck in pending state after upgrade.
2014-02-25 20:57:18 -08:00
Moxie Marlinspike
5b22a7bdcb
Create Curve25519 identities in the next release.
2014-02-20 12:46:51 -08:00
Moxie Marlinspike
c38a8aa699
Migrate to Curve25519.
...
1) Generate a Curve25519 identity key.
2) Use Curve25519 ephemerals and identities for v2 3DHE agreements.
3) Initiate v2 key exchange messages.
4) Accept v1 key exchange messages.
5) TOFU Curve25519 identities.
2014-01-06 14:36:22 -08:00