Commit Graph

49 Commits (2add02c62f39db39484c13158d3d45b4ef1d7491)

Author SHA1 Message Date
Moxie Marlinspike 7f46e99f9c Use SIM country code when registered number is unavailable
Convert directory operations to Addresses

Fixes #6845
// FREEBIE
7 years ago
Moxie Marlinspike aacf50316d Escape addresses in thread, recipient pref, and group databases
Fixes #6847
// FREEBIE
7 years ago
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
7 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
7 years ago
Moxie Marlinspike 82b5b35d3b Eliminate MediaNetworkRequirement style attachment job handling
// FREEBIE
7 years ago
Mateo Hernandez 5e1d63696f Fix ConversationAdapterTest#testGetItemIdEquals()
Regression introduced at cb670d67

Fixes #6652
Closes #6779
// FREEBIE
7 years ago
Jonas Vautherin dd3cef5ec2 Refactor storage management to have a centralized,
clearer way to get the Signal output directories

Closes #6476
// FREEBIE
7 years ago
Moxie Marlinspike f67eb5f9f3 Support for receiving arbitrary attachment types
// FREEBIE
7 years ago
Siloportem 1d3f1cc79e Revert "Fixing broken unit test for ConversationAdapter"
Fixes #6250
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 #6308
This reverts commit 11463d410d.
7 years ago
Stuart Gilbert 11463d410d Fixing broken unit test for ConversationAdapter
The unit test for ConversationAdapter.getItemId() was
broken by this change: 7286fd9

Fixes #6088
// FREEBIE
8 years ago
Niklas Wenzel 770026d4ee Fix the faulty tests in AttachmentDatabaseTest.java
Fixes #5948
Closes #5952
8 years ago
Moxie Marlinspike b7d4294314 This is no longer testable =(
// FREEBIE
8 years ago
Moxie Marlinspike 541718fd11 Support for censorship circumvention in Egypt and UAE
// FREEBIE
8 years ago
Moxie Marlinspike b16a27c249 Update libsignal-service
Fixes #5928

// FREEBIE
8 years ago
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 #3474
Closes #5882
8 years ago
haffenloher 3c99d66ccd Accept verification SMSes with missing colons
Apparently some Argentinian mobile providers strip the colons from
Signal's verification SMS messages.

Fixes #5363
Fixes #3490
Closes #5371

// FREEBIE
8 years ago
Moxie Marlinspike 7b589c4300 TextSecure is now SignalService
// FREEBIE
8 years ago
Christian Ascheberg ec922704f4 prepare to use Signal in verification SMS text
Closes #5352
// FREEBIE
8 years ago
Moxie Marlinspike ccfea3c834 Fix broken test
Closes #4890
// FREEBIE
9 years ago
McLoo c7dd956f45 Fix for getting the device number with national prefix
Closes #2312
9 years ago
Jake McGinty 4314a4b42b add stable IDs to conversations
fixes #2856
Closes #4607
// FREEBIE
9 years ago
Jake McGinty cd085faecd move instrumentation test to unit tests
Closes #4593
// FREEBIE
9 years ago
Jake McGinty 43ebf829ca remove unmaintained espresso tests
we hardly knew ye
closes #4559
// FREEBIE
9 years ago
Jake McGinty 487f8cbb38 fix broken unit tests
fixes #4534
// FREEBIE
9 years ago
Moxie Marlinspike 69f5aacd25 Consider everything <= len(4) a short code, except short countries
// FREEBIE
9 years ago
RiseT e1f9519235 Replace 'my' with 'your'
See
https://www.google.com/design/spec/style/writing.html#writing-language

// FREEBIE
9 years ago
rafael81 750e25388f Update regular expression pattern for sms verification
Closes #4375
9 years ago
RiseT 08be47c03e Adjust a couple of strings in order to include calls AND messages.
Closes #4311
9 years ago
Moxie Marlinspike 23a2a5e5f3 Fix test
// FREEBIE
9 years ago
Jake McGinty 4ffb1ea95e in-conversation invite reminder
Closes #4250
// FREEBIE
9 years ago
Jake McGinty ae97495c47 only load partial conversation by default
Closes #4252
Fixes #3911
// FREEBIE
9 years ago
Moxie Marlinspike 09e52834a6 Refactor "parts" to contain MMS/PDU madness to MMS code paths.
Closes #4248
// FREEBIE
9 years ago
Jake McGinty cdf982a356 be safer when processing parts in AttachmentDownloadJob
Closes #4166
// FREEBIE
9 years ago
Moxie Marlinspike 4044da849e Replace all strings containing 'TextSecure' with 'Signal'
// FREEBIE
9 years ago
Jake McGinty fbc527145c re-introduce unit tests
Closes #4057
// FREEBIE
9 years ago
Jake McGinty df164a58c9 remove BitmapUtilTest
fixes #4014
// FREEBIE
9 years ago
Moxie Marlinspike 65ac2b3e18 Revert "use new android unit test support"
This reverts commit 06e137aee9.
9 years ago
Jake McGinty 06e137aee9 use new android unit test support
Closes #3904
// FREEBIE
9 years ago
Moxie Marlinspike 1fa29f89f9 Fix broken tests.
// FREEBIE
9 years ago
zipperle ff4929fcce URL decode numbers in quick response.
Fixes #3518
Closes #3522
9 years ago
Rhodey Orbits d98cb7b53f added test for forward of text message, detects #3413 and validates #3414
Closes #3416
// FREEBIE
9 years ago
Jake McGinty f72cd5b0ff fix "rough scaling" bitmaps
Fixes #3347
Closes #3408
// FREEBIE
9 years ago
Rhodey Orbits c318d42d14 fix the AdvancedPreferenceFragmentTest to use new string resource
introduced in 0cf9206170

Closes #3338
// FREEBIE
9 years ago
Rhodey Orbits 5fe7c687f3 1) renamed test build type to 'debugTest' because updated gradle
plugin doesn't allow build types to start with 'test'.

2) exclude support-annotations to avoid warning

Closes #3273
// FREEBIE
9 years ago
Rhodey Orbits 200fc0c599 fix the PartDatabase tests
Closes #3210
// FREEBIE
9 years ago
Rhodey Orbits d6a970133e 1) warn user that espresso tests delete contacts
2) don't leak verification code in logs

// FREEBIE
9 years ago
Rhodey Orbits 7cc2941053 1) created a new build flavor for espresso tests
2) create a new source set full of espresso tests
3) updated proguard-testing.pro
4) added test device numbers to .gitignore

// FREEBIE
9 years ago
Rhodey Orbits 6a1bbedae8 move magic SMS mocking code into own util class
// FREEBIE
9 years ago
Rhodey Orbits ce77cb81df move androidTest/ into new test/ directory
// FREEBIE
9 years ago