Greyson Parrelli
43068e0613
Reduce usage of Log.w()
2018-08-06 10:50:06 -04:00
Greyson Parrelli
a498176043
Switch logs to use new Log class.
2018-08-06 10:50:06 -04:00
Greyson Parrelli
df2c5d38b0
Don't notify new users if there is a pending SQLCipher migration.
...
If a user is upgrading to use the SQLCipher database (which happened
back in 4.16, so this only applies to relatively dormant users who are
just getting back into the app) and received a new "user X joind signal"
message, then it could screw up the migration. So we're just dropping
these notifications that happen in this narrow window.
2018-06-18 14:32:45 -07:00
Moxie Marlinspike
2c405d1769
Delete raw contacts that are marked for deletion
...
Fixes #7628
2018-04-16 17:33:26 -07:00
Moxie Marlinspike
f36b296e2e
Migrate from SQLite and ciphertext blobs to SQLCipher + KeyStore
2018-01-30 17:27:05 -08:00
Moxie Marlinspike
b307980d8c
Perform a contact sync with every directory refresh
2018-01-04 11:56:55 -08:00
Moxie Marlinspike
b58c87a56b
Only notify when address is in contacts
2017-12-07 11:53:17 -08:00
Moxie Marlinspike
7a5846a6d4
Move more system contact info into recipient database
...
1) Move contact URI, contact photo URI, and custom label
into recipient database, so there are no longer any
contact DB queries during Recipient object loading.
2) Use a SoftHashMap so that any referenced Recipient objects
can't get kicked out of the cache.
3) Don't load Recipient objects through the provider during sync.
This was a super expensive thing to do, and blew up the cache.
4) Only apply changes to Recipient objects during sync if they
are in the cache. Otherwise, there should be no outstanding
references, and the changes are fine going exclusively to
the DB.
2017-11-30 10:26:41 -08:00
Moxie Marlinspike
64c8b4b2ef
Support for selective permissions
2017-11-30 10:26:41 -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
66e1be1aeb
Don't invalidate entire recipient cache when contact data changes
2017-11-30 10:26:41 -08:00
Moxie Marlinspike
f17af19d09
Access all RecipientDatabase settings directly from Recipient
...
// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
d1790dfe17
Rename RecipientPreferences -> RecipientSettings
...
// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
8e6ca53023
Rename RecipientPreferencesDatabase -> RecipientDatabase
...
// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
e7c20499ec
Display profile name in when appropriate
...
Display in conversation list, conversation actionbar, group
messages, and group members list when address is not in system
contacts
// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
159fdb317f
Store system contacts display name in recipient preferences db
...
// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
f61c52aace
Consolidate user "capability" enums to a single value
...
// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
5a5e47f2df
Move "directory" information into RecipientPreferencesDatabase
...
// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
375207f073
Switch MMS groups to use the group database infrastructure
...
Eliminate the concept of 'Recipients' (plural). There is now just
a 'Recipient', which contains an Address that is either an individual
or a group ID.
MMS groups now exist as part of the group database, just like push
groups.
// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
7f46e99f9c
Use SIM country code when registered number is unavailable
...
Convert directory operations to Addresses
Fixes #6845
// FREEBIE
2017-08-02 12:51:46 -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
2f46c6ca1f
Don't redisplay notifications after they have been dismissed
...
Fixes #5751
Fixes #6218
// FREEBIE
2017-03-14 10:09:24 -07:00
Moxie Marlinspike
ea0945d406
Beta support for webrtc video and voice calling
...
// FREEBIE
2017-02-01 13:55:52 -08:00
Moxie Marlinspike
7e51d61c79
Ignore duplicate signal messages
...
Fixes #5579
// FREEBIE
2017-01-22 14:47:02 -08:00
Moxie Marlinspike
884d8b7f72
Store display name in Signal contacts
...
Fixes #5974
// FREEBIE
2017-01-05 12:42:28 -08:00
Moxie Marlinspike
541718fd11
Support for censorship circumvention in Egypt and UAE
...
// FREEBIE
2016-12-20 09:55:52 -08:00
Moxie Marlinspike
7b589c4300
TextSecure is now SignalService
...
// FREEBIE
2016-03-24 14:05:56 -07:00
haffenloher
72064d8827
Exclude the user's own number from notifyNewUsers
...
Closes #5229
// FREEBIE
2016-02-18 17:56:08 -08:00
agrajaghh
ed592950c0
setting to disable notifications for new contacts
...
also mute these notifications between 23:00 and 09:00
fixes #4572
Closes #4926
2015-12-24 07:47:25 -08:00
Moxie Marlinspike
8a3762b337
Don't issue new user notification if secure session exists
...
Fixes #4800
// FREEBIE
2015-12-10 05:04:03 -08:00
Moxie Marlinspike
b136fed6f7
Update contact DB on incoming messages
...
When we receive a Signal message from a previously unregistered
user, reflect that in the contact DB.
Fixes #3949
Closes #4492
// FREEBIE
2015-11-12 15:20:16 -08:00
Moxie Marlinspike
7bec5efe1a
Add 'Signal Call' option to contact card
...
Fixes #4392
Closes #4465
// FREEBIE
2015-11-12 15:20:16 -08:00
Jake McGinty
3e798a9863
batch invitation
...
// FREEBIE
2015-11-04 17:56:20 -08:00
Moxie Marlinspike
8d82033855
Notify when contacts join Signal
...
Closes #4314
// FREEBIE
2015-11-04 17:56:20 -08:00
Moxie Marlinspike
11a93fabe5
Synchronize with paired devices when a contact changes.
...
// FREEBIE
2015-11-04 17:56:19 -08:00
Moxie Marlinspike
31e20ca87e
Distinguish between secure and insecure call in conversation menu.
...
// FREEBIE
2015-09-30 14:30:11 -07:00
Moxie Marlinspike
7377e6c7da
Support for syncing and checking secure voice support.
...
// FREEBIE
2015-09-30 14:30:10 -07:00
Moxie Marlinspike
32cb489d1d
Make directory refresh async task more careful.
...
// FREEBIE
2015-07-16 11:15:56 -07:00
Moxie Marlinspike
704f2b91e2
Clean up contact queries.
...
// FREEBIE
2015-07-16 11:15:56 -07:00
Moxie Marlinspike
d1940fe0f9
Support for populating contacts DB with TS account type.
...
// FREEBIE
2015-07-16 11:15:56 -07:00
Moxie Marlinspike
004f050741
libtextsecure javadoc and minor API refactoring
...
// FREEBIE
2015-02-27 15:35:18 -08:00
Jake McGinty
fcde642563
Fix invalid transportation options
...
1) Accounts in the directory that don't have supports_sms can't
get encrypted SMS.
2) Push groups can't receive insecure SMS
// FREEBIE
Closes #2521
2015-02-27 13:00:18 -08:00
Moxie Marlinspike
0d01feebc3
Move directory refresh from a service over to a job.
...
// FREEBIE
2014-11-27 15:24:26 -08:00
Moxie Marlinspike
fb31319e52
Put everything under either internal or api.
2014-11-12 15:42:43 -08:00
Moxie Marlinspike
08ed90c5ec
Split out Util functions.
2014-11-12 15:42:43 -08:00
Moxie Marlinspike
28cb1ed85b
Move DirectoryUtil up to parent.
2014-11-12 15:29:59 -08:00
Moxie Marlinspike
601e233d47
Add account management interface to libtextsecure api
2014-11-12 15:28:08 -08:00
Jake McGinty
7d5e66eb6e
fix send icon merge botch, encryption icons logic
...
// FREEBIE
2014-04-03 12:12:59 -07:00
Jake McGinty
cbe87aa05c
outgoing group MMS should never be encrypted
...
// FREEBIE
2014-04-03 11:21:13 -07:00
Jake McGinty
ca6d8a8a0d
refactor and improve contact selection
...
* unify single and multi contact selection activities
* follow android listview design recommendations more closely
* add contact photos to selection
* change indicator for push to be more obvious
* cache circle-cropped bitmaps
* dedupe numbers when contact has multiple of same phone number
// FREEBIE
2014-04-01 14:56:45 -07:00