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
agrajaghh
3e890e11d9
add SwitchCompat to preferences
...
Closes #3137
2015-05-20 12:46:36 -07:00
Jake McGinty
fa39c23d44
ReceiveKeyActivity -> ReceiveKeyDialog
...
Closes #3158
// FREEBIE
2015-05-20 12:39:59 -07:00
Jake McGinty
fab2296927
turn RegistrationProblemsActivity into a dialog
...
// FREEBIE
2015-05-20 12:39:25 -07:00
Jake McGinty
0ee46bbe5f
new emoji category layout
...
Fixes #2962
Fixes #2954
Fixes #2941
// FREEBIE
2015-05-19 14:01:22 -07:00
Moxie Marlinspike
4c89b242be
Eliminate progess dialog during group members lookup.
...
It's just a flicker of confusion.
// FREEBIE
2015-05-18 15:48:43 -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
5ec9197912
Switch to CENTER_CROP for AvatarImageView
...
Fixes #3174
// FREEBIE
2015-05-15 17:14:20 -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
Jake McGinty
8011b308c2
invalidateSelf() on the main thread
...
Closes #3170
// FREEBIE
2015-05-15 07:20:46 -07:00
Jake McGinty
ab8593d5f3
invalidate emoji when load completes
...
Closes #3169
// FREEBIE
2015-05-14 16:39:15 -07:00
Jake McGinty
54db79bfdd
fix AppCompatEditText Transformation issues
...
Closes #3168
// FREEBIE
2015-05-14 16:14:16 -07:00
Jake McGinty
c7d2ed4f7d
Fix 2.3.x fragment LayoutParams issue.
...
Closes #3167
// FREEBIE
2015-05-14 14:59:26 -07:00
Rhodey Orbits
d0f26f3e97
switch default led color to blue
...
Fixes #3115
Closes #3116
// FREEBIE
2015-05-14 14:23:35 -07:00
Rhodey Orbits
b6e241b0dc
finish ConversationActivity on delete of empty thread
...
Fixes #3086
Closes #3124
// FREEBIE
2015-05-14 14:08:05 -07:00
Jake McGinty
75edb8c12c
missing import
...
// FREEBIE
2015-05-14 13:59:48 -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
Rhodey Orbits
ee73883214
remove 'Media message:' prefix from MMS notification notification
...
Fixes #2928
Closes #3152
// FREEBIE
2015-05-14 10:23:32 -07:00
Jake McGinty
488767550e
make ComposeText extend AppCompatEditText
...
Fixes #3134
Closes #3160
// FREEBIE
2015-05-14 10:08:20 -07:00
Moxie Marlinspike
437ffba4b1
Fix for NPE when Recipients is empty for thread.
...
// FREEBIE
2015-05-14 08:53:35 -07:00
Moxie Marlinspike
833fcd10ab
Fix for when a stored contact's name field is empty.
...
Display # instead of + in the avatar.
Closes #3141
// FREEBIE
2015-05-11 22:20:57 -07:00
Moxie Marlinspike
40ca2575da
For # too.
2015-05-09 09:10:36 -07:00
Moxie Marlinspike
68234959c4
Fix for occasional generated avatar mis-sizing in conversation.
...
Drawables are (strangely) mutable objects. We reuse a single
drawable for each recipient, but some avatar views (the
conversation list -- 40dp) are larger than others (the
conversation -- 30dp).
This results in a situation where TextDrawable doesn't render
itself appropriately, because the bounds are modified by a larger
view.
Giving the Drawable an intrinsic width and height resolves this
conflict.
// FREEBIE
2015-05-08 15:08:44 -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
Jake McGinty
2d8de5291e
Remove broken custom dialog theme
...
Closes #3121
// FREEBIE
2015-05-07 13:38:06 -07:00
Jake McGinty
4011208db3
prevent strange appcompat stack overflow
...
inspiration: http://stackoverflow.com/a/14167949
Fixes #3118
Closes #3119
// FREEBIE
2015-05-07 11:53:24 -07:00
Moxie Marlinspike
4ad9d6b5cc
Fix for drawable modification on background thread.
...
// FREEBIE
2015-05-07 11:34:07 -07:00
Christoph Haefner
417a4b86b6
Added QuickContact onclick in GroupMembersDialog
...
Fixes #2837
Closes #3033
2015-05-07 10:47:41 -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
Jake McGinty
8332342d75
verify glide isn't loading into destroyed activity
...
Fixes #3110
Closes #3114
// FREEBIE
2015-05-07 09:46:33 -07:00
Rhodey Orbits
cdd7a1042a
consider search query when selecting all threads
...
Fixes #2996
Closes #3112
// FREEBIE
2015-05-05 12:48:28 -07:00
Jake McGinty
72f3f79016
support repeating keyevents for emoji backspace
...
Fixes #2945
Closes #2988
// FREEBIE
2015-05-05 10:14:35 -07:00
Jake McGinty
ab82ff0b69
use IPv6 routing API then fallback to Lollipop
...
1) Utilize the hidden API requestRouteToHostAddress that takes an
InetAddress (IPv6-capable) instead of a forced IPv4 integer-
encoded address. Will fallback to the IPv4 one if reflection
fails for whatever reason.
2) If on Lollipop and our manual MMS code doesn't work, will try
to use the Lollipop API and give it 60 seconds instead of 30,
since I did run into the timeout not being long enough in
certain conditions and I'm thinking maybe it just wasn't long
enough for some carriers.
Closes #3105
// FREEBIE
2015-05-04 18:29:30 -07:00
Jake McGinty
b37c81ddf1
Upgrade to AppCompat v22.1
...
1) update material-dialogs to fix build
2) change to AppCompat autocomplete and fix visual bug in GB
Closes #3089
// FREEBIE
2015-04-30 16:51:16 -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
Jake McGinty
26c4d746d2
make part and mms insertion a single transaction
...
fixes #3051
closes #3059
// FREEBIE
2015-04-28 00:16:37 -05:00
Moxie Marlinspike
d0008b57b5
Fix for NPE on null PDUs
...
// FREEBIE
2015-04-24 17:33:17 -07:00
Jake McGinty
b3707021b1
maintain one ContactsDatabase instance per Loader
...
Fixes #3004
Closes #3041
Closes #3034
// FREEBIE
2015-04-23 14:28:39 -07:00
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
2015-04-23 12:08:19 -07:00
Jake McGinty
a330f6f689
Prevent NPE when thumbnail click not set
...
Fixes #3042
Fixes #3044
Closes #3046
// FREEBIE
2015-04-23 11:59:36 -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
Christoph Haefner
424a463b21
Add notification functionality to Android Wear devices.
...
This should allow for Android Wear device- and Pebble-users to
easily mark an incoming message as read via the smartwatch.
http://developer.getpebble.com/blog/2014/12/19/Leverage-Android-Actionable-Notifications/
Closes #3010
2015-04-23 10:25:22 -07:00
Rhodey Orbits
790c6980fe
improved challenge sms verification in SmsListener
...
some carriers prepend or append arbitrary text to sms messages
enroute, SmsListener failed to handle the append case.
Fixes #2919
Closes #3032
// FREEBIE
2015-04-23 10:17:08 -07:00
Moxie Marlinspike
95a94eeebf
Create our own dialog when GooglePlayServicesUtil can't.
...
Fixes #2505
Closes #3005
// FREEBIE
2015-04-22 13:49:14 -07:00
agrajaghh
bcd9aa84d6
show message timestamp in the notification
...
Fixes #2632
Closes #2635
2015-04-22 11:44:48 -07: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
Rhodey Orbits
9ba19df2af
Eliminate ghost thread when all messages deleted in a thread.
...
Fixes #2262
Closes #2842
// FREEBIE
2015-04-16 16:43:58 -07:00
Rhodey Orbits
dbc28746c0
allow scroll on message details view of long messages
...
Fixes #2686
Closes #2771
// FREEBIE
2015-04-16 15:04:19 -07:00
Moxie Marlinspike
efcdb7eb66
Add GroupId to PushNotificationReceivedJob
...
Pending message requests should probably be made sequentially.
// FREEBIE
2015-04-16 12:22:05 -07:00
Moxie Marlinspike
7ba75c3291
Use REST interface instead of WebSockets on GCM events.
...
Closes #2994
// FREEBIE
2015-04-16 11:50:40 -07:00
agrajaghh
8de695585d
remove unused EncryptedSmsCharacterCalculator
...
Closes #3000
//FREEBIE
2015-04-16 08:42:00 -07:00
Carey Metcalfe
7724964a36
Correct the notification repeat interval
...
Switch to 2min from 10sec.
Closes #3002
2015-04-16 08:39:40 -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
262c1e47ad
Fix NPE when outgoing media message is deleted.
...
// FREEBIE
2015-04-14 10:01:33 -07:00
Jake McGinty
6d2b87d385
don't change cursor if adapter is null
...
Fixes #2970
Closes #2977
// FREEBIE
2015-04-13 14:13:17 -07:00
Jake McGinty
a28408b29f
enforce NonNull on incoming MMS content location
...
Fixes #2959
Closes #2975
// FREEBIE
2015-04-13 13:47:27 -07:00
Jake McGinty
4a9028aedd
only set non-null bitmaps for notifications
...
Fixes #2960
Closes #2979
// FREEBIE
2015-04-13 13:45:46 -07:00
Jake McGinty
7aaedf500f
fix off-thread UI interactions in ConversationItem
...
Fixes #2966
Closes #2973
// FREEBIE
2015-04-13 10:35:30 -07:00
Moxie Marlinspike
1c90b59bb8
Don't attempt send failure notifications for deleted messages.
...
Fixes #2963
// FREEBIE
2015-04-13 08:57:20 -07:00
Moxie Marlinspike
b9541a65b0
Fix list partitioning helper.
...
Fixes #2934
// FREEBIE
2015-04-12 10:07:30 -07:00
Jake McGinty
77e846d24e
Fix cursor leak when resolving contact photos
...
Closes #2933
// FREEBIE
2015-04-10 10:07:22 -07:00
Adrian Chifor
58664fcddb
Call changeMasterSecretPassphrase in AsyncTask
...
Fixes #2768
Closes #2893
2015-04-09 12:41:52 -07:00
Rhodey Orbits
857135aab1
Fix media thumbnail view operation.
...
An extreme edge case wasn't happening on the UI thread.
Fixes #2800
Closes #2801
// FREEBIE
2015-04-09 12:28:45 -07:00
Jake McGinty
1cc581aed8
Migrate conversation list to RecyclerView
...
Closes #2890
// FREEBIE
2015-04-09 12:21:50 -07:00
Rhodey Orbits
f5724795cf
Update thread timestamp on draft creation.
...
Fixes #1055
Closes #2909
// FREEBIE
2015-04-09 11:29:37 -07:00
Jake McGinty
e4e24f7ae5
Enforce media constraints on group messages
...
Fixes #2913
Closes #2917
// FREEBIE
2015-04-09 11:21:16 -07:00
Jake McGinty
1f9a0fab3c
Fix sendComplete UI updates on destroyed views
...
Fixes #2915
Closes #2924
// FREEBIE
2015-04-09 11:19:16 -07:00
Jake McGinty
01020c1c09
Fix missing MasterSecret in PartProvider
...
Fixes #2706
Closes #2910
// FREEBIE
2015-04-06 15:05:54 -07:00
Rhodey Orbits
efb4f388a5
set list adapter to null when appropriate
...
set list adapter to null when (recipients or threadId == null) to
prevent old messages from being displayed when forwarding a
message to a recipient for which there is no existing
conversation.
Fixes #2883
Closes #2884
// FREEBIE
2015-04-06 10:22:34 -07:00
Moxie Marlinspike
b77afa8903
Upgrade to libtextsecure 1.2.5
...
Fixes #2703
// FREEBIE
2015-04-05 15:44:56 -07:00
Jake McGinty
34fa05cccc
Fix multi-thread intents launching a conversation
...
Fixes #2877
Closes #2880
// FREEBIE
2015-04-03 14:48:38 -07:00
Moxie Marlinspike
0efdada928
Prompt user to rate app
...
Closes #2841
// FREEBIE
2015-04-02 17:30:30 -07:00
Jake McGinty
0c7dba6d43
Pass MasterSecret into pref fragments
...
Fixes #2868
Closes #2870
// FREEBIE
2015-04-02 17:22:33 -07:00
Jake McGinty
c50658a4f5
Revert "Fix re-registering missing MasterSecret"
...
This reverts commit beceee846ada699e4e0235cdb2502b6eaf83fa63.
2015-04-02 17:22:31 -07:00
Rhodey Orbits
87760a795d
Add "new message to <number>" always.
...
Fixes #2660
Closes #2854
// FREEBIE
2015-04-02 14:32:25 -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
Moxie Marlinspike
b8a231c40f
Remove dynamicLanguage/dynamicTheme from VerifyIdentityActivity
...
This already happens in the parent.
Fixes #2853
// FREEBIE
2015-04-02 14:08:10 -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
Rhodey Orbits
db7a657001
fix LoaderManager inefficiencies
...
Redundant calls in ConversationActivity and ConversationListActivity
was causing unnecessary view invalidations.
Closes #2592
2015-04-02 13:33:23 -07:00
Jake McGinty
ca2c8b961e
Fix sharing text via ShareActivity intents
...
Fixes #2855
Closes #2865
// FREEBIE
2015-04-02 12:04:39 -07:00
Jake McGinty
796c5de5d5
Fix crash when username is null in mms auth
...
Fixes #2850
Closes #2863
// FREEBIE
2015-04-02 11:35:27 -07:00
Jake McGinty
beceee846a
Fix re-registering missing MasterSecret
...
// FREEBIE
Closes #2861
2015-04-02 11:33:30 -07:00
Jake McGinty
6c59eb052e
Prevent crash from strange SQLite error
...
Full fix may require packaging and using our own SQLite via JNI. Needs
further investigation.
Fixes #2506
Closes #2843
// FREEBIE
2015-04-01 10:23:05 -07:00
Jake McGinty
0ff99258ac
move routing logic to all activities
...
Fixes #2239
Closes #27923
// FREEBIE
2015-04-01 10:23:05 -07:00
Jake McGinty
141ee6565d
add @Nullable annotation to outoging mms api
...
Closes #2830
// FREEBIE
2015-04-01 10:23:05 -07:00
Jake McGinty
2f20bb89f3
use internal emoji pane for all android versions
...
1) Enter key by default (remove as option), still
keeping "Enter key sends" option
2) New material assets for emoji and keyboard icons,
inc a xxhdpi version finally
fixes #2300 , fixes #2251 , fixes #2183
Closes #2302
// FREEBIE
2015-04-01 10:20:31 -07:00
Jake McGinty
c04b675a1a
Fix null-response NPE in outgoing MMS
...
Fixes #2839
Closes #2840
// FREEBIE
2015-03-31 10:53:20 -07:00
Moxie Marlinspike
e70298e624
Catch malformed NOTIFY-IND
...
Fixes #2508
// FREEBIE
2015-03-31 09:12:22 -07:00
Jake McGinty
491440094b
Fix NPE when RetrieveConf is null
...
Fixes #2828
Closes #2829
// FREEBIE
2015-03-30 10:50:55 -07:00
Jake McGinty
349faf18fa
Fix missing timestamp in SendReq
...
// FREEBIE
2015-03-27 15:02:01 -07:00
Jake McGinty
6a6f900b7d
Fix NPE when 'from' missing in NotificationInd
...
Fixes #2806
// FREEBIE
2015-03-27 10:59:04 -07:00
Jake McGinty
17383ddfe0
fix NPE for incoming failed messages
...
Fixes #2807
// FREEBIE
2015-03-27 10:37:59 -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
6f600a80b8
fix merge conflict between #2743 and #2746
...
Closes #2789
//FREEBIE
2015-03-25 13:28:57 -07:00
agrajaghh
62181a3d7f
migrate AlertDialog to material-dialogs
...
Closes #2743
2015-03-25 11:50:52 -07:00
Moxie Marlinspike
6c386d3fc9
Add http to invite url.
...
// FREEBIE
2015-03-25 11:18:38 -07:00
Moxie Marlinspike
b9e6cff20c
Fix the build
...
Fixes #2787
2015-03-25 10:55:47 -07:00
Moxie Marlinspike
d65a7f1a25
Update invite strings.
...
// FREEBIE
Closes #2735
2015-03-25 10:49:52 -07:00
Rhodey Orbits
76d0f45b9b
append invite link to message draft instead of overwrite it.
...
Fixes #2583
// FREEBIE
2015-03-25 10:36:36 -07:00
agrajaghh
3a19ac432b
Display the phone number in the confirm dialog during registration
...
Closes #2746
2015-03-25 09:24:28 -07:00
NorthwestBased
6ec9ee89a7
Disallow zero-length passphrases.
...
Fixes #2751
Closes #2762
2015-03-25 09:19:53 -07:00
Moxie Marlinspike
472179b550
Ignores MMS WAP_PUSH_DELIVER_ACTION if we're not the default app.
...
Apparently some ROMs have a bug where they broadcast
WAP_PUSH_DELIVER_ACTION even when you're not the system's default
SMS/MMS app.
Fixes #2777
2015-03-25 08:57:08 -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
9a2c372c23
fix crash on android contact weirdness
...
Fixes #2722
Closes #2758
// FREEBIE
2015-03-23 13:53:22 -07:00
Jake McGinty
073d019103
Fix SMIL regression
...
Closes #2654
// FREEBIE
2015-03-19 11:56:45 -07:00
Jake McGinty
761ccf4b3f
Fix for inconsistent thumbnail aspect ratio
...
Problems arose from any app that targets below API 19 and uses
views that rely on RelativeLayouts giving correct measurement specs to
their onMeasure().
Resolves #2676
Closes #2712
// FREEBIE
2015-03-19 11:21:40 -07:00
Moxie Marlinspike
7a023b9fdc
Acquire wakelocks for incoming messages.
...
Closes #2717
// FREEBIE
2015-03-19 11:19:53 -07:00
Jake McGinty
9f804047f5
lazily initialize emoji drawer
...
Saves a good amount of inflation time in onCreate for new conversations.
Closes #2585
Closes #2636
// FREEBIE
2015-03-19 11:16:52 -07:00
agrajaghh
0f572d1e5d
adapt SMS strings in preferences
...
Fixes #2672
Closes #2682
//FREEBIE
2015-03-16 11:02:22 -07:00
Moxie Marlinspike
142f84703b
Make clickable conversation items batch selectable
...
Fixes #2679
// FREEBIE
2015-03-16 10:32:39 -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
71eeb7ca83
Fix ClassCastException for notifications
...
Resolves #2691
Closes #2692
// FREEBIE
2015-03-15 09:31:21 -07:00
Moxie Marlinspike
fc3aaed8a8
Remove unused layouts and strings.
...
// FREEBIE
2015-03-13 11:58:49 -07:00
Jake McGinty
13227b6aa5
disable fancy new thumbnail preview
...
It was causing OOMEs on old devices.
// FREEBIE
2015-03-13 11:30:15 -07:00
Moxie Marlinspike
cc65fab226
Update message details activity display when resending SMS/MMS
...
// FREEBIE
2015-03-13 11:29:44 -07:00
Moxie Marlinspike
e142cb6d26
Prompt for registration on install until successful.
...
Closes #2657
// FREEBIE
2015-03-12 18:36:34 -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
96896bf8f1
disconnect radio regardless of MMS exception
...
Fixes #2498
Closes #2544
// FREEBIE
2015-03-12 12:29:32 -07:00
agrajaghh
b3552ee347
add dynamicTheme and dynamicLanguage to MessageDetailsActivity
...
Closes #2640
//FREEBIE
2015-03-12 11:22:12 -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
41fadc3437
Use libtextsecure 1.2.2
...
// FREEBIE
2015-03-10 18:59:12 -07:00
Moxie Marlinspike
078df0f029
Update key conflict message in place.
...
// FREEBIE
2015-03-09 13:15:24 -07:00
Moxie Marlinspike
9f9293cd61
Pending indicator was not cleared on recycled views.
...
// FREEBIE
2015-03-09 13:14:39 -07:00
Moxie Marlinspike
c05aca19ae
Minimal-diff change to fix NPE.
...
Fixes #2623
// FREEBIE
2015-03-08 11:37:18 -07:00
Moxie Marlinspike
e7eb0ec2b3
Fix for missing messages bug
...
Fixes #2609
// FREEBIE
2015-03-07 09:02:59 -08:00
Moxie Marlinspike
da75268545
Temporary fix until jake fixes this shit
...
// FREEBIE
2015-03-07 09:02:38 -08: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
Rhodey Orbits
ce22e54359
Update message timesamps on resume.
...
Fixes #2519 .
Closes #2593
// FREEBIE
2015-03-05 18:20:39 -08:00
Rhodey Orbits
7ce7ec56eb
1) created a new string constant for 'Passphrase'.
...
2) modified 'App protection' preference group summary to be more verbose.
3) dropped the colons from 'Appearance' preference group summary.
4) dropped the colons from and 'SMS and MMS' preference group summary.
2015-03-05 18:20:39 -08:00
Jake McGinty
d6e0199e05
fix MessageDetailsActivity home button
...
// FREEBIE
2015-03-05 17:07:07 -08:00
Moxie Marlinspike
301ed0b255
Move passphrase disabled preference set to after secret generation.
...
Fixes #2588
2015-03-05 13:09:18 -08:00
agrajaghh
9de62d0286
replace icons in the add attachment dialog
...
Closes #2535
2015-03-03 17:14:31 -08:00
agrajaghh
a2b5bf54c8
remove PassphraseTimeoutPreference since its no longer used
...
closes #2565
//FREEBIE
2015-03-03 17:03:17 -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
ed5b3f8679
Break out libtextsecure
...
// FREEBIE
Closes #2542
2015-03-02 08:25:19 -08:00
Moxie Marlinspike
a59feb7ad4
Rename PushAddress to TextSecureAddress
...
// FREEBIE
2015-02-27 16:57:51 -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
Jake McGinty
ac0a1c0bc1
Conflicts UI touch-ups:
...
1) Fix i18n and layout naming.
2) Error header for message details.
3) Add back button to message details.
// FREEBIE
Closes #2593
2015-02-27 12:26:35 -08:00
Moxie Marlinspike
3f93731300
Adapt Conflicts UI to work with single-recipient failures.
2015-02-27 12:26:09 -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
Sebastian Kürten
79dbf2746f
Added new media icons for audio/video
...
Added icons new icons, deleted an old one.
Using new icons in AudioSlide/VideoSlide.
Closes #2304
2015-02-23 13:13:39 -08:00
Moxie Marlinspike
d4493e700e
Add GroupId for received messages.
...
// FREEBIE
2015-02-23 09:53:32 -08:00
Jake McGinty
5fac189736
"All images" view for conversations
...
// FREEBIE
2015-02-18 15:47:47 -08:00
Moxie Marlinspike
d3271f548c
Support for retrieving stored messages via websocket.
...
1) When registering with server, indicate that the server should
store messages and send notifications.
2) Process notification GCM messages, and connect to the server
to retrieve actual message content.
2015-02-18 11:09:01 -08:00
Moxie Marlinspike
299dd86c77
Support matching to account for telcos inserting SMS prefixes.
...
// FREEBIE
Fixes #1944
2015-02-16 20:25:19 -08:00
Jake McGinty
f818cfa32b
Unjank character count indicators
...
Fixes #1841
// FREEBIE
2015-02-16 13:25:44 -08:00
Jake McGinty
8277e4e102
Fix NPE when InetAddress.getByName() is null
...
Resolves #2189
// FREEBIE
2015-02-16 13:07:59 -08:00
Jake McGinty
242dbef54e
Prevent NPE when MMS's FROM PduHeader is missing
...
Fixes #1448
// FREEBIE
2015-02-16 13:07:30 -08:00
Andy Martin
7ab739b22b
clear the current text box when deleting a draft-only thread.
...
otherwise the draft will be immediately re-saved (preventing
thread deletion).
// FREEBIE
Closes #2474
Fixes #2473
2015-02-15 09:41:55 -08:00
Moxie Marlinspike
224b06f05a
Theme the HMS picker.
...
// FREEBIE
Closes #2353
2015-02-13 15:06:50 -08:00
Moxie Marlinspike
724dced820
Define a max message length to display.
...
// FREEBIE
Closes #2294
2015-02-13 14:32:11 -08:00
Sam Lanning
b8ca0e57ad
Only initialise EmojiGrid when not in edit mode
...
Suppress initialisation of the emoji_grid_layout.xml when the
EmojiDrawer is being used in a layout where the editor is shown,
to prevent an NPE when an editor is being used.
// FREEBIE
Closes #2288
2015-02-13 14:23:05 -08:00
AsamK
fe5fc411a7
Save drafts for recipients without an existing thread
...
- Save drafts without thread in draft database
- Clear drafts when deleting conversation(s), otherwise
the drafts stay in the database and will reappear when a thread
with the same threadId is created
Closes #1510
2015-02-13 14:16:19 -08:00
Jake McGinty
442f56cdc3
prevent NPE in GroupCreateActivity
...
Occurs when a returned Recipient is null when returning from contact
selection activity.
Fixes #2466
// FREEBIE
2015-02-12 13:36:47 -08:00
Jake McGinty
1aec794a34
widen LGE menu workaround constraints
...
// FREEBIE
2015-02-12 13:16:03 -08:00
Jake McGinty
5bd8d6c69d
Check the part stream is non-null before decoding
...
// FREEBIE
Closes #2459
2015-02-12 10:32:53 -08:00
Moxie Marlinspike
aa26785c00
Reinclude SC provider for consistency.
...
// FREEBIE
Fixes #2461
2015-02-12 10:30:45 -08:00
Jake McGinty
b88e470594
prevent recipient listener Activity context leak
...
Resolves #2372
Resolves #2425
// FREEBIE
2015-02-11 12:50:20 -08:00
Jake McGinty
f38677794a
stop giving long-living static objects Activity contexts
...
// FREEBIE
2015-02-11 12:50:19 -08:00
Jake McGinty
ac4db41435
lower memory consumption from previews
...
// FREEBIE
2015-02-11 12:50:19 -08:00
Jake McGinty
3a9d521ffe
Workaround LG-related menu issues, pt. 2
...
fixes #2444
// FREEBIE
2015-02-11 12:44:40 -08:00
Jake McGinty
b1bf33b13b
Fix SaveAttachmentTask NPE
...
resolves #2454
// FREEBIE
2015-02-11 11:42:36 -08:00
Moxie Marlinspike
352418d2d7
Don't notify on MMS delivery failure if message has been deleted.
...
// FREEBIE
Fixes #2453
2015-02-11 10:29:05 -08:00
Jake McGinty
f092e85b62
Workaround for LGE-related NPEs
...
See: https://code.google.com/p/android/issues/detail?id=78154
Fixes #2424
Closes #2428
// FREEBIE
2015-02-09 09:15:44 -08:00
Moxie Marlinspike
b3c42dee7e
Merge pull request #2416 from mcginty/better-relative-dates
...
more succinct relative dates
2015-02-06 16:20:23 -08:00
Jake McGinty
dbd8a4083c
Fix NPE when encrypted MMS has bad base64 encoding
...
// FREEBIE
2015-02-06 13:01:36 -08:00
Jake McGinty
0fd52ad1fe
more succinct relative dates
...
// FREEBIE
2015-02-06 13:00:21 -08:00
Moxie Marlinspike
8031c788d9
Merge pull request #2415 from mcginty/empty-group-updates
...
fix empty group update messages
2015-02-05 19:49:09 -08:00
Jake McGinty
8f3f2e6921
fix empty group update messages
...
// FREEBIE
2015-02-05 19:38:08 -08:00
Jake McGinty
65c262acef
increase unread visibility in conv list
...
// FREEBIE
2015-02-05 18:41:54 -08:00
AsamK
d586893402
Also crop contact photos in ShareList
...
// FREEBIE
2015-02-05 14:14:48 -08:00
Moxie Marlinspike
57c17e705f
Fix provisioning dialog strings.
...
// FREEBIE
Closes #2368
2015-01-24 10:16:33 -08:00
Jake McGinty
2e253fb6a8
provisioning dialog rework
...
// FREEBIE
2015-01-24 10:15:47 -08:00
Moxie Marlinspike
0c32001fe4
Support for multi-device provisioning flow.
...
// FREEBIE
2015-01-24 10:15:47 -08:00
Jake McGinty
810abe0275
material actionbar and fab
...
// FREEBIE
2015-01-21 19:01:23 -10:00
Jake McGinty
62816ee51a
rounded ImageView instead of Bitmap, crop-select
...
// FREEBIE
2015-01-21 17:39:54 -10:00
Calvin Hu
a0599c1639
add theme to import/export activity
...
closes #2359
2015-01-16 10:41:01 -10:00
Jake McGinty
42da687602
Revert "add theme to import/export activity"
...
This reverts commit e64c0676362451f1861ea8b2439fc191831fa702.
2015-01-14 10:23:10 -10:00
Calvin Hu
e64c067636
add theme to import/export activity
2015-01-14 10:03:02 -10:00
Calvin Hu
c89fbabbf3
refresh contacts database on new db query
2015-01-13 15:16:30 -10:00
Moxie Marlinspike
778b8b490c
Merge pull request #2346 from mcginty/thumbnail-early-recycle
...
fix early recycling of thumbnail
2015-01-13 16:21:15 -08:00
Jake McGinty
bade52d748
fix early recycling of thumbnail
...
// FREEBIE
2015-01-13 14:17:03 -10:00
Jake McGinty
f536e45378
don't fail on null received text parts
...
Fixes #2340
// FREEBIE
2015-01-13 10:15:18 -10:00
Jake McGinty
1505ec8c35
catch ContentProvider SecurityExceptions to avoid crashes
...
// FREEBIE
2015-01-13 10:00:19 -10:00
Jake McGinty
d41efdbd1c
prepareMessageMedia before we encrypt
...
and fail more nicely when pdu composition fails
// FREEBIE
Closes #2338
2015-01-13 11:59:03 -08:00
Jake McGinty
156cb4034e
don't copy data when no dataUri
...
Fixes #2336
// FREEBIE
2015-01-13 11:57:46 -08:00
Jake McGinty
b25b95f933
media constraints model
...
// FREEBIE
2015-01-12 13:20:25 -08:00
Moxie Marlinspike
a0ed0842a0
Add expiration check on build freshness.
...
// FREEBIE
2015-01-12 09:12:10 -08:00
Jake McGinty
12845da91a
use PartDatabase to look up thumbnails async
...
// FREEBIE
Closes #2286
2015-01-11 18:10:53 -08:00
Jake McGinty
3e6e28e688
remove unused activities and fragments
...
// FREEBIE
2015-01-08 19:16:43 -08:00
Jake McGinty
9fed60628d
fix temp file permission denied
...
// FREEBIE
2015-01-05 17:01:32 -08:00
Jake McGinty
e67dafe9c8
set conversation actionbar statelessly
...
// FREEBIE
2015-01-04 13:14:09 -08:00
Jake McGinty
b6822b310e
don't populate data from uri when there is none
...
Fixes #2282
Closes #2283
// FREEBIE
2014-12-31 16:00:28 -08:00
Jake McGinty
b39e41c803
media preview orientation
...
// FREEBIE
2014-12-29 16:50:19 -08:00
Jake McGinty
348352cc71
Bitmap OOM and rotation fixes
...
// FREEBIE
2014-12-29 16:42:22 -08:00
Moxie Marlinspike
bec5e45605
Fix for old-skool SMS key exchange UI behavior.
...
Also fixes SMS "end session" messages failing to end session.
// FREEBIE
2014-12-29 15:09:13 -08:00
Moxie Marlinspike
4d8004ab21
Merge pull request #2276 from mcginty/group-meta-colors
...
group visual fixes
2014-12-29 14:37:45 -08:00
Jake McGinty
2e141b2a90
group visual fixes
...
// FREEBIE
2014-12-29 14:34:09 -08:00
Moxie Marlinspike
ed556fbd3a
Support for multi-select in the conversation list.
...
// FREEBIE
Closes #1601
Closes #2214
Fixes #2188
Fixes #786
2014-12-29 13:54:59 -08:00
Jake McGinty
ebf6a2d833
remove pointless Bitmap allocation for ImageSlides
...
Fixes #2248
// FREEBIE
2014-12-29 13:49:37 -08:00
Moxie Marlinspike
25028b7178
Update to jobmanager 0.10.0
...
// FREEBIE
2014-12-29 13:32:37 -08:00
Jake McGinty
389128d1a3
fix edit-group intent extras
...
// FREEBIE
2014-12-29 12:58:54 -08:00
Moxie Marlinspike
6e85677c52
Support 'WiFi calling' devices.
...
// FREEBIE
Fixes #2254
Fixes #2240
Fixes #2160
Closes #2263
2014-12-29 12:51:39 -08:00
Moxie Marlinspike
1443d846c4
Use "singleTask" to ensure a single ConversationActivity instance.
...
1) Mark the Activity as singleTask.
2) Process onNewIntent for updates.
3) Propagate onNewIntent to the ConversationFragment.
Fixes #2232
Fixes #1532
Fixes #146
Fixes #851
Closes #2266
2014-12-29 12:49:15 -08:00
guiweber
d7419caa4b
Moved several hard-coded UI strings to strings.xml
...
Closes #2203
2014-12-29 12:29:48 -08:00
Jake McGinty
e277f9f6d1
fix some missing recipient parcel bugs
...
// FREEBIE
2014-12-29 11:43:10 -08:00
McLoo
3f0932ff7b
replace unlocalized 'at' in message details date
...
Making this a string resource has the potential for crashes.
Leaving it out completely is a little confusing.
The dash is the perfect solution - until a better date formatter is used.
Closes #2215
2014-12-26 11:05:34 -08:00
Jake McGinty
0a61534e03
fix recipient handling for media preview
...
// FREEBIE
2014-12-24 15:11:13 -08:00
Jake McGinty
121b1493cc
thumbnail generation and disk caching
...
// FREEBIE
2014-12-24 14:46:50 -08:00
Jake McGinty
b89b986a9e
use PartAuthority when fetching part streams
...
resolves the self-send case
Fixes #2259
// FREEBIE
2014-12-24 13:27:53 -08:00
Jake McGinty
9e7928873b
properly update transport options location
...
// FREEBIE
2014-12-24 13:17:41 -08:00
Moxie Marlinspike
21591dc6b1
Fix build.
...
// FREEBIE
2014-12-23 15:42:32 -08:00
McLoo
3ec95f7a8e
More l10n - for decrypting errors
...
//FREEBIE
Closes #2231
2014-12-23 12:53:38 -08:00
Oliver Gasser
33d466a5cc
Include group titles in search
...
When searching for messages only simple threads matching the
contact names are returned as search results. With this commit
also group converstations where the group title matches the search
term are displayed in the result. This makes search results more
consistent with the conversation list as now all conversation
titles (i.e. contact names and group titles) are searched through.
Fixes #1954
Closes #2216
2014-12-23 12:40:30 -08:00
Jake McGinty
e8b947dfde
Pass recipient ids, not recipient objects
...
Fixes #2233
// FREEBIE
2014-12-22 14:53:28 -08:00
Moxie Marlinspike
60a343120d
Merge pull request #2230 from mcginty/manual-mms-pref-validation
...
Catch issues with bad MMSC URIs, add validation
2014-12-16 18:00:52 -08:00
McLoo
8af74e93a2
Replace button text to cancel TS registration
...
in RegistrationActivity from "skip" to "cancel", when coming from the reminder
Closes #2219
2014-12-16 16:09:26 -08:00
Jake McGinty
e650349bb7
Catch issues with bad MMSC URIs, add validation
...
Fixes #2202
// FREEBIE
2014-12-16 16:01:22 -08:00
agrajaghh
44a4570870
remove double rotation of group avatars
...
//FREEBIE
2014-12-16 14:33:46 -08:00
Jake McGinty
ec18da8aa9
memory-friendly resize for circle cropping
...
Fixes #2224
// FREEBIE
2014-12-15 19:57:51 -08:00
McLoo
4a8a939f64
Enabled audio and video drafts
...
All slide types do have an "image", changing the check order enables audio and video drafts.
//FREEBIE
2014-12-14 20:16:35 +01:00
agrajaghh
cef203f261
rotate images based on exif information
...
Closes #1847
2014-12-13 16:45:39 -08:00
Moxie Marlinspike
d7de5415b5
Skip drafts and outbox messages during imports.
...
// FREEBIE
Closes #1468
Fixes #892
2014-12-12 19:35:52 -08:00
McLoo
188d11bc23
Added l10n for ZXing intent message box
...
Closes #2147
2014-12-12 19:05:31 -08:00
Tal Hacohen
990902845a
Change creation of drafts to onStop method.
...
Drafts were created only on destroy of the conversation activity.
Moved it to be on stop for the activity.
Closes #1985
2014-12-12 18:51:52 -08:00
Jake McGinty
07bb07c342
streaming media
...
// FREEBIE
2014-12-12 18:49:32 -08:00
Aaron M Brown
a09e0afbd6
Explain size limit for large attachments in toasts.
...
// FREEBIE
Fixes #2100
Closes #2172
2014-12-12 18:45:06 -08:00
Aaron M Brown
bbea017d5a
Make message details reflect 24-hour system preference.
...
Fixes #2150
Closes #2163
2014-12-12 18:37:40 -08:00
Moxie Marlinspike
426c56c77d
Support install link
...
Closes #2001
Fixes #1722
2014-12-12 18:31:20 -08:00
Moxie Marlinspike
642334da1f
Merge pull request #2212 from agrajaghh/betterpicker_translateable
...
make summary of passphrase timeout translatable
2014-12-12 17:04:29 -08:00
McLoo
b44acd82e6
Added l10n for message details
...
//FREEBIE
Closes #2173
2014-12-12 16:43:45 -08:00
agrajaghh
3c7e319029
make summary of passphrase timeout translatable
...
//FREEBIE
2014-12-13 01:37:06 +01:00
Lukas Barth
715b1ea10d
Reset query string when search is collapsed
...
Closes #2041
2014-12-12 16:30:17 -08:00
Moxie Marlinspike
6b05f7905b
Use betterpicker for HMS timeout.
...
// FREEBIE
Closes #1890
2014-12-12 16:07:02 -08:00
agrajaghh
0b62cf372b
whitespace cleanup
...
//FREEBIE
Closes #1779
2014-12-12 14:39:51 -08:00
Moxie Marlinspike
b7badec752
Switch to forked ShortcutBadger.
...
// FREEBIE
2014-12-12 11:49:48 -08:00
Jake McGinty
c448a833f5
another minor pref tweak for mms fallback
...
1) fix summary for outgoing sms/mms
2) disable mms option when TS-users is unselected, same as the fallback
approval option.
// FREEBIE
2014-12-11 22:46:59 -08:00
Jake McGinty
761049d6f8
minor preferences tweaks
...
1) shorten some summaries
2) add summaries to appearance subscreen
3) move common summary functions to common parent class
// FREEBIE
2014-12-11 22:12:12 -08:00
Moxie Marlinspike
df12174458
Add support for notification reminders.
...
// FREEBIE
Closes #1623
Fixes #323
2014-12-11 19:38:46 -08:00
agrajaghh
6e7566f781
remove workaround for nested PreferenceScreen's
...
Closes #2208
//FREEBIE
2014-12-11 19:36:15 -08:00
Jake McGinty
30232c1635
transport selection refactor
...
Closes #1724
// FREEBIE
2014-12-11 19:27:24 -08:00
Bastian Köcher
4a088410ae
"add contact" button for unknown contacts
...
Closes #1551
2014-12-11 18:59:29 -08:00
Jake McGinty
b05967f2c9
Show drafts in conversation list snippets
...
// FREEBIE
2014-12-11 18:27:54 -08:00