Commit Graph

68 Commits (7da4f1f6ae4d0d32ac88460610f6b46d016a89bd)

Author SHA1 Message Date
Niels Andriesse 1822e87f7c Merge Signal 4.41.0 6 years ago
Niels Andriesse 0ef0140b0d Update package 6 years ago
Alan Evans 5ad02f724c Enable 64-bit.
* Multiply version codes by 10 and add a code for each abi in order to generate different version codes for the play store.
6 years ago
Greyson Parrelli 4a3c173adb Migrated to new JobManager. 6 years ago
Greyson Parrelli 9f04c28bfd Implemented conversation search.
You can now search for messages within a specific conversation.
6 years ago
Greyson Parrelli e6b4249cf3 Deprecate usage of the signaling key. 6 years ago
Greyson Parrelli 2acab563d9 Support for sealed sender - Part 2 7 years ago
Greyson Parrelli 547b7a3c6f Migrate legacy color palette.
We don't store non-user-selected colors in the database. That means that
when we update the palette, we still have to hash based off of the legacy
palette when generating a color if we want to migrate to a
similar-looking color.

Unfortunately, because the new palette is smaller, some colors are
"overloaded", meaning that when we hash based off of the legacy palette,
some colors will be more/less common than others. To fix this, we simply
persist all current colors in the database, then switch our hashing list
to what we really want.
7 years ago
Greyson Parrelli 87e6aa48bb Schedule jobs with WorkManager.
Should help solve most of our pressing targetSdk=26 migration issues.
7 years ago
Greyson Parrelli 11127c0d97 Clear external cache upon upgrade. 7 years ago
Greyson Parrelli 43068e0613 Reduce usage of Log.w() 7 years ago
Greyson Parrelli a498176043 Switch logs to use new Log class. 7 years ago
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.
7 years ago
Greyson Parrelli 0449647cf9 Implemented full-text search.
You can now use the search bar on the conversation list to find
conversations, messages, and contacts.
7 years ago
Moxie Marlinspike 0b0853a223 Clear cache on update 7 years ago
Moxie Marlinspike ca471b1408 Explicitly remove messages.db journal
Fixes #7636
7 years ago
Moxie Marlinspike 3bceb0d8ec Delete old message DB 7 years ago
Moxie Marlinspike 9f3c04dfb5 Migrate prekeys into database 7 years ago
Moxie Marlinspike 9d5d43cf3a Wait to process messages until after migration when screenlocked
Fixes #7390
7 years ago
Moxie Marlinspike 3633d805c8 More MasterSecret cleanup 7 years ago
Moxie Marlinspike f36b296e2e Migrate from SQLite and ciphertext blobs to SQLCipher + KeyStore 7 years ago
Moxie Marlinspike 8cd5ff5fa1 Mark directory retrieved on registered update 8 years ago
Moxie Marlinspike f855e161d9 Ensure notifications for new users won't be generated first fetch 8 years ago
Moxie Marlinspike 3e9bfcb3fd Delete "external" persistent blobs on cleanup
Also switch external persistent blog directory to cache

Fixes #6909
// FREEBIE
8 years ago
Moxie Marlinspike 17dd681dc8 Run all AsyncTasks on thread pool executor
Should Fix #7002
8 years ago
Moxie Marlinspike 5270dad789 Fix screen security preference migration
// FREEBIE
8 years ago
Moxie Marlinspike ba849bce2c Add support for incognito keyboard preference
Closes #6985
// FREEBIE
8 years ago
Moxie Marlinspike e172b84603 Fix crash on displaying unknown contact header
Fixes #6924

// FREEBIE
8 years ago
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
8 years ago
Moxie Marlinspike 82b5b35d3b Eliminate MediaNetworkRequirement style attachment job handling
// FREEBIE
8 years ago
Moxie Marlinspike f67eb5f9f3 Support for receiving arbitrary attachment types
// FREEBIE
8 years ago
Moxie Marlinspike c5bf84cf9c Make blocking SN changes the default for now
// FREEBIE
9 years ago
Moxie Marlinspike 0abe56171a Enable non-blocking safety number changes
// FREEBIE
9 years ago
Moxie Marlinspike 549e45e2d6 Disable non-blocking identity changes for iOS compat
// FREEBIE
9 years ago
Moxie Marlinspike 848a25664b Make fingerprint changes optionally non-blocking
Also complete the rename from "identity" to "safety numbers."

// FREEBIE
9 years ago
Moxie Marlinspike 09e52834a6 Refactor "parts" to contain MMS/PDU madness to MMS code paths.
Closes #4248
// FREEBIE
10 years ago
Moxie Marlinspike 94776c40e1 Put directory refresh into Signal migration
// FREEBIE
10 years ago
Moxie Marlinspike 0b20e99cd2 Refresh attributes to signal voice support on update.
// FREEBIE
10 years ago
Jake McGinty 0e06e2de97 fix queuing of pending parts that had data already
fixes #4061
Closes #4073
// FREEBIE
10 years ago
Moxie Marlinspike 2c48155769 Bump version to 2.26.3
// FREEBIE
10 years ago
Jake McGinty 923d9fb07b fix crash on pending self-sent media
fixes #4016
Closes #4017
// FREEBIE
10 years ago
Jake McGinty 80ce83ef9d Media download controls
Closes #3991
// FREEBIE
10 years ago
Moxie Marlinspike d6179bc12b Update notifications on background thread.
// FREEBIE
10 years ago
Moxie Marlinspike b0f7df93a4 Update migration versions.
// FREEBIE
10 years ago
Moxie Marlinspike fe552ba53f Add contacts to contact provider on upgrade.
// FREEBIE
10 years ago
Moxie Marlinspike 8d9ae731ef Only use MasterSecret for local message encryption.
Not for the axolotl store.

// FREEBIE
10 years ago
Moxie Marlinspike 6c367ac29c Reschedule pending push decrypt jobs.
// FREEBIE
10 years ago
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
10 years ago
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
10 years ago
Moxie Marlinspike d4493e700e Add GroupId for received messages.
// FREEBIE
10 years ago