Andy Staudacher
61a7062030
Remove obsolete workaround for DE/FI/SK shortcodes
...
libphonenumber supports these since December 2015 / January 2016.
Most of these changes went into libphonenumber-7.2.2 (Dec 15, 2015),
the last changes related to this into libphonenumber-7.2.4 (Jan 28, 2016).
This was about adding EU-wide helplines 116xxx (http://ec.europa.eu/digital-agenda/en/116-helplines ).
See: https://github.com/googlei18n/libphonenumber/blob/master/java/release_notes.txt
Closes #6130
2018-03-07 09:59:43 -08:00
FeuRenard
0efda2df91
Make toast after saving attachment translatable
...
Closes #7374
2018-03-07 09:41:33 -08:00
FeuRenard
527e39eee8
Don't save white space drafts
...
Fixes #7308
Closes #7383
2018-03-07 09:33:57 -08:00
Moxie Marlinspike
110d33ddf8
Support for Registration Lock PINs
2018-03-05 16:13:56 -08:00
Moxie Marlinspike
d28dc670ea
Migrate to Android fingerprints and auth for Signal screen lock
2018-03-05 16:11:49 -08:00
Moxie Marlinspike
24e573e537
Support for full backup/restore to sdcard
2018-03-05 16:11:49 -08:00
Moxie Marlinspike
9f3c04dfb5
Migrate prekeys into database
2018-03-05 16:11:49 -08:00
Moxie Marlinspike
6239508b39
Clean file names for belt and suspenders
2018-03-05 16:11:49 -08:00
Moxie Marlinspike
71c7ef5b5e
Support for custom call ringtone selection and per-chat ringtones
2018-03-05 16:11:49 -08:00
Moxie Marlinspike
18aa202695
Really really delay SMS processing until sqlcipher migration completes
...
Blocking the SMS job on the screen lock isn't enough, since then
the job races against the migration.
Fixes #7390
2018-02-26 14:02:12 -08: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
8bba45f396
Add swipe gestures to media view
...
Fixes #2355
Closes #6632
2018-01-04 11:11:49 -08:00
Moxie Marlinspike
4acedd2a4b
Fix notification ringtone problems
...
Default ringtone was often showing up as a call tone
Silent wasn't working correctly globally
2017-12-19 14:42:00 -08:00
Moxie Marlinspike
f315b1db80
Make save attachment task toast location instead of snackbar
2017-12-08 15:21:46 -08:00
Moxie Marlinspike
b58c87a56b
Only notify when address is in contacts
2017-12-07 11:53:17 -08:00
Moxie Marlinspike
06e0d7d72d
Appease the linter
2017-12-05 11:52:03 -08:00
Moxie Marlinspike
3523952ef9
As of 'N' we can no longer offer external ringtone selection
...
1. Replace custom ringtone picker with system Intent, since we
don't need it anymore. Fixes #7174
2. Make sure 'silent' ringtone selection is stored appropriately
Fixes #7115 Closes #7141
3. Replace any existing file:// notification URIs with the system
default Fixes #7234
2017-12-01 12:55:24 -08:00
Moxie Marlinspike
4cb2ac7b27
Use FileProvider for external camera capture Uri on L+
...
Fixes #7237
2017-12-01 11:06:37 -08:00
Moxie Marlinspike
acfc9d75e0
Use startForegroundService instead of startService on Android 8
2017-11-30 10:26:41 -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
e37c06c563
Show dialog if another device registered with same number
2017-11-15 16:29:00 -08:00
Moxie Marlinspike
21ddc1dbba
Fix profile crash
...
Fixes #7192
2017-11-14 10:50:17 -08:00
Moxie Marlinspike
90ff0e58b0
Update registration flow
2017-11-14 10:50:17 -08:00
Moxie Marlinspike
ad6ae10a41
Fix scaling issue when loading emoji sprites
...
Fixes #5973
// FREEBIE
2017-11-06 08:11:36 -08:00
Moxie Marlinspike
b80408bcb4
Use Glide for all contact photo caching
...
// FREEBIE
2017-10-11 17:47:12 -07:00
Moxie Marlinspike
10f224ede5
Update to glide 4.x
...
// FREEBIE
2017-10-11 17:47:12 -07:00
Moxie Marlinspike
17dd681dc8
Run all AsyncTasks on thread pool executor
...
Should Fix #7002
2017-10-23 13:03:32 -07:00
Veeti Paananen
eb456ef2b0
Fix implicit locale string formatting bugs
...
Depending on the phone language the default format may use Arabic
numerals, etc. when not desired.
Bug: fixes #7006
Closes #7040
2017-10-04 11:36:43 -07:00
Moxie Marlinspike
ba849bce2c
Add support for incognito keyboard preference
...
Closes #6985
// FREEBIE
2017-10-03 18:57:23 -07:00
Moxie Marlinspike
c09d2951b1
Fix preference compat crash
...
Fixes #7018
// FREEBIE
2017-10-03 10:43:06 -07:00
Moxie Marlinspike
d0e781ccb4
Sync read receipt configuration to sibling devices
...
// FREEBIE
2017-10-01 22:36:52 -07:00
Moxie Marlinspike
e5e0bc2333
Reorganize preference widgets
...
// FREEBIE
2017-10-01 22:36:52 -07:00
Moxie Marlinspike
cb9bc9659b
Support for read receipts
...
// FREEBIE
2017-10-01 22:36:52 -07:00
Moxie Marlinspike
a39d9bf132
Fix for RTL layout detection crash on < API 17
...
Fixes #6987
// FREEBIE
2017-09-25 09:05:41 -07:00
Moxie Marlinspike
f3d943270c
Be more conservative with handlers and references
...
Expiring message timers could end up leaking references and
executing work even after their conversation item was no longer
visible
Maybe fixes #6898
// FREEBIE
2017-09-09 23:46:48 -07:00
Moxie Marlinspike
5173921ce0
Fix bad MMS group creation logic
...
Fixes #6939
Fixes #6938
// FREEBIE
2017-09-07 20:41:34 -07:00
Moxie Marlinspike
2add02c62f
Add splash screen for setting profiles
...
// FREEBIE
2017-09-03 19:45:43 -07:00
Markus Brenneis
66062f200a
Work around SmsMessage.calculateLength NPE on broken ROMs
...
//FREEBIE
2017-08-28 10:43:14 -07: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
6924f0519e
No need for a RecipientFactory any longer
...
// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
1b2f52209d
Display unknown sender footer for unknown senders
...
// FREEBIE
2017-08-28 10:30:50 -07:00
Moxie Marlinspike
df99deb480
Insert profile creation into registration flow, fix capture
...
// 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
1893047a78
Profile creation activity
...
// 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
aacf50316d
Escape addresses in thread, recipient pref, and group databases
...
Fixes #6847
// FREEBIE
2017-08-02 11:04: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
0b39224d88
getMemoryClass -> getLargeMemoryClass
...
Fixes #6812
// FREEBIe
2017-07-21 16:01:32 -07:00
Moxie Marlinspike
82b5b35d3b
Eliminate MediaNetworkRequirement style attachment job handling
...
// FREEBIE
2017-07-21 15:59:27 -07:00
Moxie Marlinspike
074e46b2d9
Enable verification syncing
...
// FREEBIE
2017-06-23 13:59:06 -07:00
Moxie Marlinspike
8208bbf3c0
Remove stale identity approval preference (no longer used)
...
Fixes #6745
// FREEBIE
2017-06-19 09:27:35 -07:00
Moxie Marlinspike
76c28cfa7a
Add support for SN verification
...
// FREEBIE
2017-06-09 19:58:01 -07:00
Moxie Marlinspike
d507756821
Some identity key handling changes
...
1) Prefetch identity keys when possible
2) Always accept prefetched keys or keys from incoming messages
3) Block sending only if it's a recent change, or if always
block is enabled
// FREEBIE
2017-05-31 14:51:48 -07:00
Moxie Marlinspike
51d6144591
Significant MMS changes
...
1) Remove all our PDU code and switch to the PDU code from the
klinker library
2) Switch to using the system Lollipop MMS library by default,
and falling back to our own custom library if that fails.
3) Format SMIL differently, using code from klinker instead of
what we've pieced together.
4) Pull per-carrier MMS media constraints from the XML config
files in the klinker library, instead of hardcoding it at 280kb.
Hopefully this is an improvement, but given that MMS is involved,
it will probably make things worse instead.
2017-05-08 18:14:55 -07:00
Jonas Vautherin
dd3cef5ec2
Refactor storage management to have a centralized,
...
clearer way to get the Signal output directories
Closes #6476
// FREEBIE
2017-05-06 14:06:04 -07:00
Moxie Marlinspike
66d1d88686
Fix file push media constraint
...
// FREEBIE
2017-04-25 10:01:09 -07:00
Moxie Marlinspike
9bf198bb81
Add media constraints for arbitrary file types
...
Fixes #6573
// FREEBIE
2017-04-24 15:53:22 -07:00
Ahmed Ibrahim Khalil
c2796285d5
Fix copying links when scrolling in #6343
...
Closes #6565
// FREEBIE
2017-04-23 16:25:57 -07:00
Moxie Marlinspike
25c7459464
Add support for notification priority preference
...
Fixes #6315
// FREEBIE
2017-04-21 23:05:59 -07:00
Moxie Marlinspike
8e7c7a9c54
Improve video thumbnail generation and handling on send side
...
For direct attach only
// FREEBIE
2017-04-21 23:05:59 -07:00
Moxie Marlinspike
2b79e131a7
Support for sending arbitrary file types
...
// FREEBIE
2017-04-21 23:05:59 -07:00
Ahmed Ibrahim Khalil
c3164a8e84
Support copying links on long click.
...
Fixes #6343
Closes #6454
2017-04-21 23:05:59 -07:00
Moxie Marlinspike
5f5db5ded7
Support for message body text size preference
...
// FREEBIE
2017-04-14 22:59:30 -07:00
Moxie Marlinspike
e5a287b4e5
Add preference for SMS invitation prompt
...
// FREEBIE
2017-04-14 20:51:22 -07:00
Moxie Marlinspike
0a4d1569fb
Clean up file name some on save
...
Rusty Bird points out that we don't want the save action to create
files outside the parent or hidden files.
// FREEBIE
2017-04-10 09:14:59 -07:00
Moxie Marlinspike
b0bd6ad729
Fix for crash when opening group conversation
...
Fixes #6464
// FREEBIE
2017-03-31 16:52:50 -07:00
FeuRenard
07c8db824e
Disable screen during earpiece voice note playback
...
Fixes #6437
Closes #6445
// FREEBIE
2017-03-31 09:13:00 -07:00
Moxie Marlinspike
f67eb5f9f3
Support for receiving arbitrary attachment types
...
// FREEBIE
2017-03-29 18:17:34 -07:00
Moxie Marlinspike
0d11b3dd26
Lets limit GCM refresh to every 6hrs, and only retry once
...
// FREEBIE
2017-03-17 10:40:34 -07:00
Christian Ascheberg
3506f2db12
Improve group update descriptions
...
Closes #5416
// FREEBIE
2017-03-14 14:26:14 -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
9b8719e2d5
Support for website distribution build with auto-updating APK
...
// FREEBIE
2017-02-27 23:53:36 -08:00
Moxie Marlinspike
1669731329
Support for using Signal without Play Services
...
This is now possible with beta calling, so non-GCM users are a
part of beta calling by default.
// FREEBIE
2017-02-20 12:00:03 -08:00
Moxie Marlinspike
acca4a72d3
Improve default SMS subscription id intelligence
...
Fixes #5266
// FREEBIE
2017-02-19 12:29:33 -08:00
Moxie Marlinspike
f541e33356
Publish TURN-only ICE candidates in some situations
...
1) Incoming call is from a number not in user's address book
2) Turn-only preference is enabled for all incoming/outgoing calls
// FREEBIE
2017-02-19 12:29:33 -08:00
Moxie Marlinspike
143fb1fe21
Make header decorations play well together
...
// FREEBIE
2017-02-19 12:29:33 -08:00
Moxie Marlinspike
d9b42c4369
Support for a "new messages" divider in conversations
...
// FREEBIE
2017-02-19 12:29:33 -08:00
Moxie Marlinspike
f3e47f7b60
Support for minimized controls during video call
...
// FREEBIE
2017-02-11 20:48:42 -08:00
Moxie Marlinspike
ea0945d406
Beta support for webrtc video and voice calling
...
// FREEBIE
2017-02-01 13:55:52 -08:00
Moxie Marlinspike
15a389c171
Don't calculate date header item for adapter header
...
Fixes #6098
// FREEBIE
2017-01-25 18:00:26 -08:00
Moxie Marlinspike
d46d3b72c8
Make the sticky date header only visible during scroll
...
// FREEBIE
2017-01-25 16:38:36 -08:00
Moxie Marlinspike
b575b4e6ae
Fix for intermittent crash
...
// FREEBIE
2017-01-24 17:51:32 -08:00
Moxie Marlinspike
4c815db076
Support for sticky date headers
...
Closes #4696
// FREEBIE
2017-01-23 16:44:38 -08:00
Benedikt Constantin Radtke
4461ebf662
check if image decoding succeeded before using the result
...
Fixes #6061
Closes #6080
// FREEBIE
2017-01-22 22:05:27 -08:00
Moxie Marlinspike
7e51d61c79
Ignore duplicate signal messages
...
Fixes #5579
// FREEBIE
2017-01-22 14:47:02 -08:00
Moxie Marlinspike
235a8472d9
Remove dedicated MMS download controls
...
// FREEBIE
2017-01-20 15:26:17 -08:00
Moxie Marlinspike
e270e8d429
ViewStub for AudioView in ConversationItems
...
// FREEBIE
2017-01-20 09:11:40 -08:00
Moxie Marlinspike
508a666e76
ViewStub for ReminderView, lazy create AttachmentTypeSelector
...
// FREEBIE
2017-01-19 11:47:02 -08:00
Moxie Marlinspike
3d6cbdd775
ViewStub for entire AttachmentManager
...
// FREEBIE
2017-01-19 11:47:02 -08:00
Moxie Marlinspike
bb5dcb7131
Start increasing frequency of signed prekey rotation
...
// FREEBIE
2017-01-06 09:19:58 -08:00
Moxie Marlinspike
884d8b7f72
Store display name in Signal contacts
...
Fixes #5974
// FREEBIE
2017-01-05 12:42:28 -08:00
Moxie Marlinspike
d2be49af42
Support for tiling image view and large image viewing
...
Fixes #5949
Fixes #5574
Fixes #4380
// FREEBIE
2017-01-02 17:17:48 -08:00
FeuRenard
cde92256a6
Convert file save toast string to plural
...
Closes #5961
// FREEBIE
2017-01-02 17:17:48 -08:00
Moxie Marlinspike
541718fd11
Support for censorship circumvention in Egypt and UAE
...
// FREEBIE
2016-12-20 09:55:52 -08:00
Moxie Marlinspike
a4c17e5325
Support for generating video thumbnails
...
// FREEBIE
2016-12-12 17:38:05 -08:00
Moxie Marlinspike
1b44bdcd3c
Support for stickers and scribbles
...
// FREEBIE
2016-12-12 17:37:00 -08:00
RiseT
43e1d452c7
Change DateUtils string 'Now' to 'Just now'
...
Changes the DateUtils string 'Now' to 'Just now' which is a better fit
imho.
Used for messages in the conversation view that e. g. just have been
received.
// FREEBIE
Closes #5761
2016-11-28 09:16:38 -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 #3474
Closes #5882
2016-11-24 08:13:46 -08:00
Moxie Marlinspike
b55a7ff5c0
Add copy and compare safety numbers from clipboard actions
...
// FREEBIE
2016-11-14 19:50:29 -08: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
haffenloher
23544fae8a
Increase JPEG quality & slow down quality decrease
...
Related #672
Closes #5772
//FREEBIE
2016-10-25 12:23:21 -07:00
Moxie Marlinspike
69d0242574
Giphy integration
...
// FREEBIE
2016-10-18 10:28:42 -07:00
Moxie Marlinspike
549e45e2d6
Disable non-blocking identity changes for iOS compat
...
// FREEBIE
2016-10-05 10:27:32 -07:00
FeuRenard
d00441e20d
Implement onStartLoading() in DeviceListLoader
...
Fixes #4641
Closes #5682
// FREEBIE
2016-09-25 14:58:27 -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
893f106189
Fix divide by zero error
...
Fixes #5674
// FREEBIE
2016-09-09 11:53:37 -07:00
FeuRenard
e4fccbe26e
Calculate SMS characters respecting encoding
...
Fixes #1171
Closes #5448
// FREEBIE
2016-08-31 19:51:34 -07:00
Moxie Marlinspike
d7e4928f22
Support for disappearing messages
...
// FREEBIE
2016-08-28 17:03:23 -07:00
Marcus Ofenhed
31970c4644
Stop crash on multiple attachment selected
...
Fixed #5272
Closes #5440
// FREEBIE
2016-05-20 13:32:53 -07:00
Moxie Marlinspike
f2b81d88ba
Check file uri sharing owner rather than prohibiting outright
...
Fixes #5381
// FREEBIE
2016-03-25 17:08:43 -07:00
Moxie Marlinspike
7b589c4300
TextSecure is now SignalService
...
// FREEBIE
2016-03-24 14:05:56 -07:00
McLoo
fd43dbdcdb
Be more specific when toasting "Success!"
...
Closes #4871
//FREEBIE
2016-03-09 15:58:26 -08:00
Geonu Kang
a2f478570a
Add MIME type to PersistentBlobProvider
...
Fixes #4536
Closes #4689
2016-02-24 10:51:58 -08:00
haffenloher
72064d8827
Exclude the user's own number from notifyNewUsers
...
Closes #5229
// FREEBIE
2016-02-18 17:56:08 -08:00
Andreas Fehn
238471b847
Allow saving all attachments of a thread
...
Closes #3975
2016-02-18 17:52:01 -08:00
Moxie Marlinspike
6da86e482d
Support for dual-sim SMS/MMS functionality
...
Allow source selection for sending SMS/MMS, and display the
SIM that received SMS/MMS.
Fixes #555
Closes #5199
// FREEBIE
2016-02-09 16:53:15 -08:00
Moxie Marlinspike
bc4dd7d002
Add Slovakia to list of 6-digit shortcodes that libphonenumber misses
...
Fixes #4478
// FREEBIE
2016-02-02 14:15:19 -08:00
Moxie Marlinspike
ce12e381a5
Revert "Update libphonennumber for new shortcode metadata"
...
This reverts commit 8c58d031bd31f0da39e9516f24a713948e8f992f.
wtf is wrong with google
2016-02-02 14:12:56 -08:00
Moxie Marlinspike
8c58d031bd
Update libphonennumber for new shortcode metadata
...
Fixes #4478
// FREEBIE
2016-02-01 10:54:38 -08:00
Moxie Marlinspike
4a261bcf68
Check result of bitmap size operation for failure
...
Fixes #5046
// FREEBIE
2016-01-30 15:22:55 -08:00
agrajaghh
4fa6680f83
RTL support
...
Closes #4916
Fixes #4714
2015-12-24 07:47:25 -08:00
agrajaghh
94452e7784
add more debugging info to direct capture
...
should help debugging #4899
closes #4941
//FREEBIE
2015-12-24 07:47:25 -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
3efcb5dfa1
Fix libphonenumber shortcode data for Finland
...
Fixes #4853
// FREEBIE
2015-12-10 05:04:03 -08:00
Christian Ascheberg
4696837f2f
warn user before build expires
...
Closes #4322
// FREEBIE
2015-12-10 05:04:03 -08:00
McLoo
c7dd956f45
Fix for getting the device number with national prefix
...
Closes #2312
2015-12-10 05:04:03 -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
Philippe Laferriere
03faff443c
Removed lazy class SmsTransportDetails
...
Moved constants into SmsCharacterCalculator.
Closes #4788
2015-12-03 11:52:12 -08:00
Geonu Kang
afb21203b7
Extract "Today" in device list item to string resource
...
Related to #4752
Closes #4780
// FREEBIE
2015-12-02 09:36:32 -08:00
Geonu Kang
e83827ab75
"image/jpg"->"image/jpeg" on MIME type checks and saving
...
Fixes #4602
Closes #4643
2015-11-27 13:04:59 -08:00
Moxie Marlinspike
2ab0029d49
Support for archive actions
...
Fixes #1141
Closes #4698
// FREEBIE
2015-11-27 12:45:23 -08:00
Moxie Marlinspike
785f737244
Limit 'last active' device timestamp to day level precision
...
Closes #4614
// FREEBIE
2015-11-26 07:24:57 -08:00
Jake McGinty
3bfb123b33
fix selfie horizontal flip
...
Closes #4635
// FREEBIE
2015-11-26 07:24:56 -08:00
Geonu Kang
c4f9bc2b5e
Improve date localization for API >= 18 (4.3, JELLY_BEAN_MR2)
...
Fixes #3102
Closes #4597
2015-11-26 07:24:56 -08:00
Moxie Marlinspike
fc5777e904
Manually encode voice messages to AAC with ADTS headers
...
Should resolve issues with platforms that don't support AMR (!).
Fixes #4640
Fixes #4652
Fixes #4647
// FREEBIE
2015-11-23 11:42:02 -08:00
Moxie Marlinspike
bfe4ad6c34
Voice notes
...
Closes #4610
Closes #3563
// FREEBIE
2015-11-19 17:37:48 -08:00
Jake McGinty
bcd08956bd
clear drafts immediately upon sending or new intent
...
fixes #3843
closes #3850
Closes #4571
// FREEBIE
2015-11-19 10:59:10 -08:00
heyimgay
ce1c6e2372
signalize attachment filename
...
Closes #4541
2015-11-19 10:42:49 -08:00
Christian Ascheberg
1d8aef1669
Plural group join message
...
Closes #4535
Fixes #4521
// FREEBIE
2015-11-19 10:40:57 -08:00
agrajaghh
9201d50f05
let the quick camera remember front/back mode
...
fixes #4438
closes #4440
//FREEBIE
2015-11-19 10:30:26 -08:00
agrajaghh
c4339813e6
migrate to AppCompatDialog
...
closes #3222
2015-11-19 10:30:26 -08:00
McLoo
6c20a4c08b
Change 'Title' to 'Group name' in group update message
...
closes #3424
//FREEBIE
2015-11-19 10:30:26 -08:00
Moxie Marlinspike
058bcf1f4a
More shortcode fixes for Germany
...
// FREEBIE
2015-11-16 11:35:11 -08:00
Moxie Marlinspike
69f5aacd25
Consider everything <= len(4) a short code, except short countries
...
// FREEBIE
2015-11-14 15:17:05 -08:00
Jake McGinty
5b1e5b18f9
reset contact selection after batch invite
...
fixes #4452
Closes #4498
// FREEBIE
2015-11-12 15:20:16 -08:00
Moxie Marlinspike
fb9ba8cb8d
Tint audio controls to be visible in dark theme
...
Fixes #4353
Closes #4466
// FREEBIE
2015-11-12 15:20:16 -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
Jake McGinty
fb8d6cb538
contact selection reeemix
...
1) RecyclerView-based, with better long scroller
and more material-inspired look.
2) Add badge for Signal users to contact selection
list.
// 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
d05097a6fd
Refactor group logic (no visual changes)
...
Closes #4480
// FREEBIE
2015-11-12 15:20:16 -08:00
RiseT
7f0b0803bc
Change 'SD card' to 'storage' & cosmetic corrections
...
Fixes #3920
2015-11-12 15:20:16 -08:00
Moxie Marlinspike
aade4c7af3
Correctly set audio mode
...
Fixes #4244
// FREEBIE
2015-11-04 17:56:20 -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
Jake McGinty
8fd0ea39aa
Simplify excessively convoluted camera logic
...
1) QuickCamera logic moved into CameraView
2) The strategies for texture vs. surface view were too complex
with no observed gain. Better to remove and have to re-add
if necessary than assume it to be necessary.
3) Drop CWAC-Camera dependency - the device profiles weren't being
used very much and even that is deprecated so we'd be left on
our own with new hardware. Not worth it.
4) Selfies first.
5) Layout/orientation mathy logic from CWAC moved into CameraUtils,
with the hopes that most of it might be further simplified or
rendered unnecessary in the future.
Closes #4326
// 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
4271732b10
Be more rigorous about discerning media message thread.
...
Fixes #4312
// FREEBIE
2015-10-28 10:24:55 -07:00
Moxie Marlinspike
c258b4c7aa
Expand MMS-specific queries, properly parse incoming MMS.
...
// FREEBIE
2015-10-24 09:40:04 -07:00
Jake McGinty
4ffb1ea95e
in-conversation invite reminder
...
Closes #4250
// FREEBIE
2015-10-15 13:23:37 -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
c041495834
Correctly parse RedPhone JSON.
...
Fixes #4182
// FREEBIE
2015-10-02 11:42:24 -07:00
Jake McGinty
3035dc4df9
Experience upgrade splash screen.
...
Behaves similarly to the DatabaseUpgradeActivity. You have a
static list of ExperienceUpgrade models that include a "trigger"
version, where when a user upgrades through it a notification
will appear, and there will be a splash explanation screen.
Right now the splash screens are basic and not too configurable,
but that can be reworked as upgrades demand.
Closes #4151
2015-09-30 18:29:54 -07: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
Jake McGinty
99d3374d35
migrate conversation list to RecyclerView
...
fixes #2488
fixes #2333
// FREEBIE
2015-09-24 14:12:09 -07:00
Jake McGinty
9ea53d7b1e
fix gingerbread view issues
...
Closes #4085
// FREEBIE
2015-09-20 19:40:32 -07:00
Jake McGinty
6ae38d0718
fix glide bitmap locking issue
...
Closes #4086
// FREEBIE
2015-09-20 19:08:40 -07:00
Jake McGinty
92b2da0286
download control details
...
Closes #4063
// FREEBIE
2015-09-17 12:51:57 -07:00
Moxie Marlinspike
0794380ca8
Listen for recipient changes in conversations and group updates.
...
Closes #4079
// FREEBIE
2015-09-17 12:22:35 -07:00
Jake McGinty
415a61a09b
TransferControlView
...
Closes #4044
// FREEBIE
2015-09-17 12:22:01 -07:00
Jake McGinty
e077cc6581
advanced pref to use android emoji
...
// FREEBIE
2015-09-17 12:20:25 -07:00
Jake McGinty
551274f167
Large attachment support
...
Closes #4019
// FREEBIE
2015-09-17 12:20:25 -07:00
Jake McGinty
103686f89b
damnit, glide.
...
fixes #2957
// FREEBIE
2015-09-04 12:47:48 -07:00
Jake McGinty
6d0e783236
fix GB StringSet compat issue.
...
// FREEBIE
2015-09-03 14:04:47 -07:00
Jake McGinty
80ce83ef9d
Media download controls
...
Closes #3991
// FREEBIE
2015-09-03 11:40:55 -07:00
Sam Lanning
99adbe5784
Made some inner classes static (For Efficiency)
...
(and made one explicitly private)
Closes #3932
// FREEBIE
2015-09-02 12:46:56 -07:00
Jake McGinty
0c9d9e8dcf
use glide for encoding and resizing outgoing media
...
Closes #3915
// FREEBIE
2015-09-02 12:34:28 -07:00
Jake McGinty
1641fd91cf
let ThumbnailView handle remove button placement
...
Closes #3849
// FREEBIE
2015-09-02 12:23:24 -07:00
Moxie Marlinspike
120cde9917
Support for notification privacy settings.
...
// FREEBIE
2015-08-05 13:06:37 -07:00
Jake McGinty
c36c759c8b
fix EmojiTextView...
...
Closes #3837
// FREEBIE
2015-07-29 16:17:27 -07:00
Jake McGinty
5cf95f5b3d
fix issue with camera controls going missing
...
fixes #3775
Closes #3823
// FREEBIE
2015-07-29 16:17:27 -07:00
Jake McGinty
13bad6dfed
Smooth transition for custom keyboards and softkey
...
Closes #3786
Fixes #3780
// FREEBIE
2015-07-29 16:17:26 -07:00
Jake McGinty
24e14cbc73
fix gif NPE
...
// FREEBIE
2015-07-29 16:17:26 -07:00
Jake McGinty
f13ad54ba1
ditch RoundedImageView, make animated gifs work
...
// FREEBIE
2015-07-29 16:17:26 -07:00
Jake McGinty
39c0fc0e5a
add sane default emoji panel size
...
fixes #3661
Closes #3691
// FREEBIE
2015-07-20 16:12:29 -07:00
Jake McGinty
1a7ab6346f
re-enable direct capture
...
Closes #3664
// FREEBIE
2015-07-16 11:15:56 -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
Jake McGinty
bc787f20e3
Resolve emoji keyboard layout issues
...
1) orientation changes are now properly handled
2) emoji panel will not overrun the actionbar and composition area
in space-contentious situations (quick reply popup)
Closes #3553
fixes #3501
fixes #3485
fixes #3199
// FREEBIE
2015-07-08 17:26:23 -07:00
Jake McGinty
54a37cc658
refactor direct capture
...
Closes #3516
// FREEBIE
2015-07-08 16:02:39 -07:00
Calvin Hu
c4a37e38ab
Add camera preview to message composition
2015-07-08 16:01:57 -07:00
Moxie Marlinspike
3c41f27298
Support for multi-device contact sync.
...
// FREEBIE
2015-06-24 18:30:55 -07:00
Moxie Marlinspike
2016fa315b
Support for quick reply from notifications.
...
Fixes #483
Closes #3455
// FREEBIE
2015-06-24 18:30:55 -07:00
Moxie Marlinspike
e16735bbbd
Switch from 180 -> 90 day expiration.
...
// FREEBIE
2015-06-18 10:03:10 -07:00
Jake McGinty
e420861151
decode bitmaps as RGB565
...
cuts decoding memory in half
Closes #3350
// FREEBIE
2015-06-18 10:03:10 -07:00
Jake McGinty
f72cd5b0ff
fix "rough scaling" bitmaps
...
Fixes #3347
Closes #3408
// FREEBIE
2015-06-12 09:17:24 -07:00
Moxie Marlinspike
40af2a81db
Support for per-recipient muting, blocking, and ringtones.
...
Fixes #757
Fixes #354
Fixes #222
Closes #1815
Closes #3378
// FREEBIE
2015-06-11 11:09:02 -07:00
Jake McGinty
3f6aae633e
reduce max image size on low-mem devices
...
Closes #3343
// FREEBIE
2015-06-09 08:24:14 -07:00
agrajaghh
570f79d91a
fix unit strings
...
Fixes #3295
Closes #3320
//FREEBIE
2015-06-03 11:44:50 -07:00
Jake McGinty
a3007c5906
Fix flickering emoji and periodic emoji vanishings
...
Fixes #3231
Closes #3233
// FREEBIE
2015-05-22 13:56:39 -07:00
agrajaghh
257660200a
add dark theme to PassphrasePromptActivity
...
Fixes #2296
Closes #2307
Closes #2627
2015-05-20 16:29:37 -07:00
Moxie Marlinspike
082985276f
Fix for media thumbnails flickering on model updates.
...
Only update ImageView contents when they have changed.
Fixes #1004
Fixes #2663
Closes #3184
// FREEBIE
2015-05-20 13:07:39 -07:00
Moxie Marlinspike
636b11abea
Refactor ContactSelectionListAdapter and associated views.
...
Fixes #3181
Closes #3197
// FREEBIE
2015-05-20 12:52:43 -07:00
Jake McGinty
fa39c23d44
ReceiveKeyActivity -> ReceiveKeyDialog
...
Closes #3158
// FREEBIE
2015-05-20 12:39:59 -07:00
Jake McGinty
cf420de65f
fix recent emoji pane
...
1) Make recent list properly update and invalidate.
2) Show most-recently-used first.
3) Refactoring
Closes #3171
// FREEBIE
2015-05-15 17:15:47 -07:00
Moxie Marlinspike
4f78309e51
Fix for deadlock if MessageNotifier called from UI thread.
...
Fixes #3173
// FREEBIE
2015-05-15 08:27:38 -07:00
Rhodey Orbits
d0f26f3e97
switch default led color to blue
...
Fixes #3115
Closes #3116
// FREEBIE
2015-05-14 14:23:35 -07:00
Jake McGinty
bf133c65c3
refactor emoji code into package
...
1) EmojiTextView and EmojiEditText are used instead of
using code to emojify text.
2) Emoji categories' code points are specified in XML
3) EmojiDrawer itself is a fragment, and its pages are
also fragments, allowing for better memory
management.
Fixes #2938
Fixes #2936
Closes #3153
// FREEBIE
2015-05-14 13:54:11 -07:00
Moxie Marlinspike
e62528d3e2
Fix for lollipop notifications not rendering generated avatars.
...
// FREEBIE
Fixes #3120
Closes #3122
2015-05-07 16:34:17 -07:00
Moxie Marlinspike
4ad9d6b5cc
Fix for drawable modification on background thread.
...
// FREEBIE
2015-05-07 11:34:07 -07:00
Moxie Marlinspike
41cad291f9
Display a generated avatar icon rather than a single default.
...
If the contact doesn't have an image, render a color-coded
background and the first letter of the contact's name.
1) Don't display anything during recipient resolution.
2) Display a # icon in material gray for recipients with no name.
3) Display a material group icon in material gray for groups with
no avatar icon set.
Closes #3104
// FREEBIE
2015-05-07 10:36:54 -07:00
Rhodey Orbits
8f002bd68d
fix handling of sms:, smsto:, mms:, mmsto: URIs
...
1) add VIEW action and BROWSABLE category to SmsSendtoActivity intent filter
2) created class Rfc5724Uri for processing RFC5724 SMS URIs
3) added a set of tests for new Rfc5724Uri class
4) updated SmsSendtoActivity to use Rfc5742Uri for processing VIEW intents
Fixes #2578
Closes #3030
// FREEBIE
2015-04-30 11:54:38 -07:00
Rhodey Orbits
d8521637bb
use Locale from DynamicLanguage for displaying dates
...
1) fixed DateUtils to use SimpleDateFormat for everything because it respects Locale
2) added getCurrentLocale() method to DynamicLanguage
3) allow PassphraseRequiredActionBarActivity.initFragment() to accept a Locale
4) updated classes that depend on DateUtils to pass down Locale from DynamicLanguage
Fixes #2684
Closes #2725
// FREEBIE
2015-04-23 13:56:31 -05:00
Rhodey Orbits
c6a4877391
Fix recent emoji sort order
...
The recent emoji tab was sorting emoji as last in last out instead
of last in first out. Also, if an emoji was already in the recent
emoji cache its order would not be updated on reinsert.
Fixes #2967
Closes #2946
// FREEBIE
2015-04-22 11:40:37 -07:00
Jake McGinty
f42d100f15
Use Glide for loading part thumbnails
...
Closes #2885
// FREEBIE
2015-04-21 14:27:51 -07:00
agrajaghh
8de695585d
remove unused EncryptedSmsCharacterCalculator
...
Closes #3000
//FREEBIE
2015-04-16 08:42:00 -07:00
Jake McGinty
64fc83326f
bump sdk to 22, update notifications
...
Notification updates include:
1) Setting theme colors
2) Using high-res contact photos
3) Updating the notification icon to latest
Closes #2935
Fixes #2923
Fixes #2732
Fixes #2548
// FREEBIE
2015-04-16 08:38:31 -07:00
Moxie Marlinspike
b9541a65b0
Fix list partitioning helper.
...
Fixes #2934
// FREEBIE
2015-04-12 10:07:30 -07:00
Moxie Marlinspike
0efdada928
Prompt user to rate app
...
Closes #2841
// FREEBIE
2015-04-02 17:30:30 -07:00
Rhodey Orbits
f4fe024e50
Correct default value of 'pref_key_ringtone'.
...
Fixes #2793
Closes #2831
// FREEBIE
2015-04-02 14:31:19 -07:00
Moxie Marlinspike
797b296f3a
Break long filter thread id calls up into chunks of 900.
...
// FREEBIE
Fixes #2462
Closes #2860
2015-04-02 14:27:00 -07:00
Jake McGinty
5cb94f02b3
Fix failed SMIL generation when part name is null
...
Fixes #2851
Closes #2866
// FREEBIE
2015-04-02 13:43:44 -07:00
Jake McGinty
0ff99258ac
move routing logic to all activities
...
Fixes #2239
Closes #27923
// FREEBIE
2015-04-01 10:23:05 -07:00
Sam Whited
dbda758841
Add pref to change MMS user agent
...
Closes #2363
// FREEBIE
2015-03-26 15:48:53 -07:00
Jake McGinty
427c9a6b21
Use new MMS APIs in Lollipop onwards
...
Fixes #1937
Closes #2727
2015-03-26 11:05:41 -07:00
agrajaghh
62181a3d7f
migrate AlertDialog to material-dialogs
...
Closes #2743
2015-03-25 11:50:52 -07:00
Rhodey Orbits
f38bd7b187
fix initialization of emoji cache
...
Fixes #2700
Closes #2719
// FREEBIE
2015-03-23 15:02:31 -07:00
Jake McGinty
073d019103
Fix SMIL regression
...
Closes #2654
// FREEBIE
2015-03-19 11:56:45 -07:00
Jake McGinty
b47bd97e9e
fix message details 12-hour time formatting
...
Resolves #2695
// FREEBIE
2015-03-15 20:28:23 -07:00
Jake McGinty
4185006147
add borderless thumbnails, "bubble" refactor
...
Closes #2430
// FREEBIE
2015-03-12 18:23:08 -07:00
Moxie Marlinspike
a4e18c515c
Remove encrypted SMS transport, simplify transport options.
...
Closes #2647
// FREEBIE
2015-03-12 17:53:38 -07:00
Rhodey Orbits
2011391e65
Fix notifications for media messages without text.
...
They now read 'media message' in italics.
Closes #2649
2015-03-12 17:30:23 -07:00
Jake McGinty
b998c5f86c
Add missing MSISDN headers to MMS send request
...
Fixes #1935
Fixes #2451
Closes #2605
// FREEBIE
2015-03-12 11:18:20 -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
5602a3dfc0
Update to latest version of libtextsecure for simplified interface.
...
1) Switch to new TextSecureAddress addressing, rather than mixing
long-based recipient IDs into libtextsecure.
2) Get rid of RecipientFormattingException throws in calls to
RecipientFactory.
Closes #2570
2015-03-03 12:25:09 -08: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
00d7b5c284
Better UX handling on identity key mismatches.
...
1) Migrate from GSON to Jackson everywhere.
2) Add support for storing identity key conflicts on message rows.
3) Add limited support for surfacing identity key conflicts in UI.
2015-02-27 12:26:09 -08:00