74 Commits

Author SHA1 Message Date
Niels Andriesse
1822e87f7c Merge Signal 4.41.0 2019-08-07 16:48:54 +10:00
Niels Andriesse
0ef0140b0d Update package 2019-07-24 12:30:23 +10:00
Greyson Parrelli
2a644437fb Add sticker support.
No sticker packs are available for use yet, but we now have the
latent ability to send and receive.
2019-05-30 01:08:01 -04:00
Greyson Parrelli
4a3c173adb Migrated to new JobManager. 2019-04-15 10:56:26 -04:00
Alan Evans
a7aa980e58 New dynamic locale system.
- Fixes 
2019-03-26 17:08:05 -03:00
Alan Evans
cfdcd61e51 Local build quality assurance task. 2019-03-21 11:19:07 -07:00
Greyson Parrelli
5b534c8b1a Update URL homograph rules. 2019-03-18 17:37:19 -07:00
Greyson Parrelli
64cf032181 Updated media send UI. 2019-03-18 15:09:56 -07:00
Alan Evans
a79df7d815
Automatic resConfig.
- Test to ensure language_entries list matches exactly the available resources.
2019-03-14 13:33:43 -03:00
Alan Evans
f010a3ec0d Consistent Recipient to add contact Intent export. 2019-03-12 11:29:59 -03:00
Greyson Parrelli
7fd6f5b3ff Fix search highlight in multi-whitespace bodies.
The way the highlight was done could get screwed up if you had multiple
whitespaces in a row. This particularly came up with messages with
multiple newlines.
2019-03-01 13:44:32 -08:00
Greyson Parrelli
b2d4608cdb Improved handling for URLs that are composed of mixed character sets. 2019-02-24 10:00:44 -08:00
Greyson Parrelli
9f04c28bfd Implemented conversation search.
You can now search for messages within a specific conversation.
2019-02-14 20:19:01 -08:00
Greyson Parrelli
cfff10622a Move conversation classes to their own package. 2019-02-14 14:29:12 -08:00
Greyson Parrelli
b769c7d9b6 Properly batch contact inserts.
Fixes 
2019-02-14 14:29:12 -08:00
Greyson Parrelli
3683e6a9e2 Revert "Apply contact updates in batches of 50."
This reverts commit 5d9d6ac12bd002d7c9086e5e29676e3d864ed7fa.
2019-02-06 00:54:03 -08:00
Greyson Parrelli
5d9d6ac12b Apply contact updates in batches of 50.
If batch sizes are too large, we'll get a Binder exception.

Fixes 
2019-02-01 12:47:34 -08:00
Greyson Parrelli
1502b0ae3e Add processing rules for partial US and BR phone numbers. 2019-01-15 11:57:42 -08:00
Greyson Parrelli
3b67382f67 Remove call log permissions, use SMS Retriever API during registration.
This is to adhere to the Play Store policy updates.

See: https://play.google.com/about/privacy-security-deception/permissions/
2019-01-13 19:25:40 -08:00
Greyson Parrelli
e63773e5c8 Added OrderEnforcer class to schedule ordered tasks. 2018-09-27 10:35:56 -07:00
Greyson Parrelli
a498176043 Switch logs to use new Log class. 2018-08-06 10:50:06 -04:00
Moxie Marlinspike
d567534609 replies 2018-04-16 17:33:26 -07:00
Moxie Marlinspike
5f7c30e840 Remove some old tests
Fixes 
2018-04-03 00:53:29 -07:00
Moxie Marlinspike
3633d805c8 More MasterSecret cleanup 2018-02-01 19:22:48 -08:00
Moxie Marlinspike
cb9bc9659b Support for read receipts
// FREEBIE
2017-10-01 22:36:52 -07:00
Moxie Marlinspike
7f46e99f9c Use SIM country code when registered number is unavailable
Convert directory operations to Addresses

Fixes 
// FREEBIE
2017-08-02 12:51:46 -07:00
Moxie Marlinspike
aacf50316d Escape addresses in thread, recipient pref, and group databases
Fixes 
// FREEBIE
2017-08-02 11:04:10 -07:00
Moxie Marlinspike
a67d0b18ff Be more liberal with external address formatting
A string like "bonbon" should just be "bonbon". That is apparently
a valid SMS source address.

// FREEBIE
2017-08-01 14:04:51 -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
Mateo Hernandez
5e1d63696f Fix ConversationAdapterTest#testGetItemIdEquals()
Regression introduced at cb670d67

Fixes 
Closes 
// FREEBIE
2017-07-05 14:13:35 -07:00
Jonas Vautherin
dd3cef5ec2 Refactor storage management to have a centralized,
clearer way to get the Signal output directories

Closes 
// FREEBIE
2017-05-06 14:06:04 -07:00
Moxie Marlinspike
f67eb5f9f3 Support for receiving arbitrary attachment types
// FREEBIE
2017-03-29 18:17:34 -07:00
Siloportem
1d3f1cc79e Revert "Fixing broken unit test for ConversationAdapter"
Fixes 
Commit 7286fd9 that broke this unit test was reverted so the change to
this unit test has also to be reverted since the unit test currently
fails.

Closes 
This reverts commit 11463d410dca3fc4757b9f476f77f8a72be08f17.
2017-02-26 10:13:15 -08:00
Stuart Gilbert
11463d410d Fixing broken unit test for ConversationAdapter
The unit test for ConversationAdapter.getItemId() was
broken by this change: 7286fd9

Fixes 
// FREEBIE
2017-02-01 13:55:52 -08:00
Niklas Wenzel
770026d4ee Fix the faulty tests in AttachmentDatabaseTest.java
Fixes 
Closes 
2017-01-12 10:23:35 -08:00
Moxie Marlinspike
b7d4294314 This is no longer testable =(
// FREEBIE
2017-01-07 11:36:50 -08:00
Moxie Marlinspike
541718fd11 Support for censorship circumvention in Egypt and UAE
// FREEBIE
2016-12-20 09:55:52 -08:00
Moxie Marlinspike
b16a27c249 Update libsignal-service
Fixes 

// FREEBIE
2016-12-14 16:17:42 -08:00
Niklas Wenzel
0d493a3af9 Get the automated tests up and running again
* Fix the build.gradle file
* Use the correct VisibleForTesting class
* Fix the Android test setUp() logic
* Enable a test in DeliveryReceiptJobTest.java where the @Test anotation was missing

It should be noted that the tests in AttachmentDatabaseTest.java fail.

Fixes 
Closes 
2016-11-24 08:13:46 -08:00
haffenloher
3c99d66ccd Accept verification SMSes with missing colons
Apparently some Argentinian mobile providers strip the colons from
Signal's verification SMS messages.

Fixes 
Fixes 
Closes 

// FREEBIE
2016-03-24 14:28:48 -07:00
Moxie Marlinspike
7b589c4300 TextSecure is now SignalService
// FREEBIE
2016-03-24 14:05:56 -07:00
Christian Ascheberg
ec922704f4 prepare to use Signal in verification SMS text
Closes 
// FREEBIE
2016-03-17 12:21:25 -07:00
Moxie Marlinspike
ccfea3c834 Fix broken test
Closes 
// FREEBIE
2015-12-23 13:28:43 -08:00
McLoo
c7dd956f45 Fix for getting the device number with national prefix
Closes 
2015-12-10 05:04:03 -08:00
Jake McGinty
4314a4b42b add stable IDs to conversations
fixes 
Closes 
// FREEBIE
2015-11-19 11:46:56 -08:00
Jake McGinty
cd085faecd move instrumentation test to unit tests
Closes 
// FREEBIE
2015-11-19 11:06:34 -08:00
Jake McGinty
43ebf829ca remove unmaintained espresso tests
we hardly knew ye
closes 
// FREEBIE
2015-11-19 10:30:26 -08:00
Jake McGinty
487f8cbb38 fix broken unit tests
fixes 
// FREEBIE
2015-11-19 10:30:26 -08:00
Moxie Marlinspike
69f5aacd25 Consider everything <= len(4) a short code, except short countries
// FREEBIE
2015-11-14 15:17:05 -08:00