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
Jabro
1d0c9536fc
Support for ShortcutBadger
...
// FREEBIE
Closes #1574
Closes #1952
Fixes #1526
Fixes #321
2014-12-11 17:23:21 -08:00
Moxie Marlinspike
3c4ac4b105
Add option that allows disabling MMS fallback with TS users.
...
// FREEBIE
Closes #1444
2014-12-11 16:12:36 -08:00
3xo
ff05642f3e
Enable progress indicator on group update
...
Closes #1165
2014-12-11 16:05:07 -08:00
Moxie Marlinspike
4e98c350a5
Support localization in passphrase activity and lock notification.
...
// FREEBIE
Closes #1328
2014-12-11 15:04:32 -08:00
Lukas Barth
e5e5b93884
Add k-9 style avatars to group conversations
...
Closes #1107
2014-12-11 14:40:44 -08:00
agrajaghh
2f6cefca8a
refactor preferences into multiple PreferenceFragments
2014-12-11 14:02:28 -08:00
agrajaghh
55ee288c36
Refactor notification for encrypted messages.
...
Closes #1184
2014-12-11 12:13:08 -08:00
Moxie Marlinspike
978f769d6d
Notify on incoming messages when locked.
...
// FREEBIE
Fixes #2149
2014-12-04 15:49:09 -08:00
Moxie Marlinspike
9d693eef30
Fix for fallback behavior.
...
// FREEBIE
2014-12-03 14:16:34 -08:00
Jake McGinty
15613894f0
load image previews asynchronously
...
// FREEBIE
2014-12-03 13:03:03 +00:00
Jake McGinty
a88fbba49f
use Loader when conversation is updated instead of requery
...
// FREEBIE
2014-12-03 04:47:38 +00:00
Jake McGinty
f3f173f653
support mms basic auth
...
// FREEBIE
2014-12-02 08:59:43 +00:00
Tal Hacohen
9ef1ea283b
Fix notification display order.
...
Messages in notifications were showing in reverse order,
that is newest on top instead of newest at the bottom making
multiple messages hard to read.
Closes #1984
2014-11-30 08:35:51 -08:00
christian mock
32153ec379
Use "sms_body" extra from Intent
...
Closes #2071
2014-11-29 19:31:25 -08:00
McLoo
49f77c9c06
Added l10n for message trimmer
...
//FREEBIE
Closes #2079
Closes #1868
2014-11-29 13:31:44 -08:00
Moxie Marlinspike
a1da22cee9
Use constant.
...
// FREEBIE
Closes #1988
2014-11-29 13:12:53 -08:00
Jake McGinty
b0891fa986
move log submission to new library
...
// FREEBIE
Closes #1655
2014-11-29 11:42:25 -08:00
Moxie Marlinspike
b57763f397
Display 'me' for device's local number in group membership list.
...
// FREEBIE
Fixes #1494
Closes #1505
2014-11-28 10:46:50 -08:00
Moxie Marlinspike
0d01feebc3
Move directory refresh from a service over to a job.
...
// FREEBIE
2014-11-27 15:24:26 -08:00
Jake McGinty
28f63cf335
Revert "Try to fix LGE menu button NPEs"
...
This reverts commit f3a3aaca6051b5ae464c026ff8d72e51a1d5a8a6.
2014-11-25 09:23:57 +02:00
Jake McGinty
f3a3aaca60
Try to fix LGE menu button NPEs
...
fix based on https://code.google.com/p/android/issues/detail?id=78154
// FREEBIE
2014-11-25 09:17:27 +02:00
agrajaghh
908e8b8746
fix for ringtone selection with android-support-v4-preferencefragment
2014-11-25 09:08:30 +02:00
Jake McGinty
4573f3cb77
reorder window feature requests in MediaPreviewActivity
...
ActionBar is initialized in a different way by AppCompat v20 compared to
ABS or v21 even...
// FREEBIE
2014-11-25 08:55:40 +02:00
Moxie Marlinspike
d72a3ec669
Do thread trimming as JobManager job rather than AsyncTask.
...
// FREEBIE
2014-11-24 22:50:32 -08:00
Moxie Marlinspike
3439657bba
Guard against fragment disappearing before callback.
...
// FREEBIE
2014-11-24 22:48:50 -08:00
Moxie Marlinspike
4ccb7ebab6
Don't completely disable GCM.
...
// FREEBIE
2014-11-24 10:48:33 -08:00
Jake McGinty
bf69a90b69
rollback to appcompat v20
...
v21 appears to just not be ready for production given the bugs.
// FREEBIE
2014-11-24 19:09:33 +02:00
Moxie Marlinspike
bf19307916
Make GCM re-registration failure notification based.
...
// FREEBIE
2014-11-23 17:12:35 -08:00
Moxie Marlinspike
d42c4229fd
Update to latest zxing QR code scanner.
...
Closes #2078
// FREEBIE
2014-11-22 09:47:02 -08:00
Moxie Marlinspike
e9b383d277
Add jobs for pending push messages during migration.
...
// FREEBIE
2014-11-21 12:53:40 -08:00
Moxie Marlinspike
ea9a5decac
Update gradle-witness and actually use spongycastle.
...
// FREEBIE
2014-11-20 16:46:35 -08:00
Jake McGinty
eaf89735b8
encapsulated delivery icon to separate from lock
...
and as a bonus some tweaked text sizes and colors
// FREEBIE
2014-11-19 12:56:44 -08:00
Moxie Marlinspike
174324e2a0
Potential fix for BroadcastReceiver crash.
...
// FREEBIE
2014-11-18 14:55:16 -08:00
Moxie Marlinspike
35821d444e
Move responsibility for Context injection out of JavaSerializer.
...
// FREEBIE
2014-11-16 17:23:33 -08:00
Moxie Marlinspike
5b08791086
Fix regression with providers being registered.
...
// FREEBIE
2014-11-14 15:44:49 -08:00
Jake McGinty
43adc75428
add icon back
...
// FREEBIE
2014-11-15 02:04:17 +03:00
Moxie Marlinspike
9215322846
Abstract out TrustStore interface.
...
// FREEBIE
2014-11-12 17:09:59 -08:00
Moxie Marlinspike
bea26e83da
Correctly process push messages with identity key conflicts.
2014-11-12 15:42:43 -08:00
Moxie Marlinspike
a85dbce041
Correctly handle PKWM via SMS.
2014-11-12 15:42:43 -08:00
Moxie Marlinspike
baaa3514d4
Fix delivery receipts in group messages.
...
Fixes #2056
Fixes #2067
Fixes #2087
2014-11-12 15:42:43 -08:00
Moxie Marlinspike
71fdaac1b2
Fix regressions for registration.
2014-11-12 15:42:43 -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
0d102f76cc
Move ListenableFutureTask up to parent.
2014-11-12 15:38:23 -08:00
Moxie Marlinspike
28cb1ed85b
Move DirectoryUtil up to parent.
2014-11-12 15:29:59 -08:00
Moxie Marlinspike
cd9b20dc9d
Move dependency up to parent.
2014-11-12 15:29:59 -08:00
Moxie Marlinspike
f09abff407
Refactor out old classes.
2014-11-12 15:29:59 -08:00
Moxie Marlinspike
0d06d50a65
Let's have JobManager only deal with checked exceptions.
...
Also, switch to Builder for JobManager construction.
2014-11-12 15:29:58 -08:00
Moxie Marlinspike
d9d4ec9d9d
Fix some bugs with PKWM padding and attachment detection.
2014-11-12 15:29:58 -08:00
Moxie Marlinspike
9a6f65988f
Add support for dependency injection, and accompanying tests.
2014-11-12 15:29:58 -08:00
Moxie Marlinspike
601e233d47
Add account management interface to libtextsecure api
2014-11-12 15:28:08 -08:00
Moxie Marlinspike
ae178fc4ec
Move API around a little, eliminate TransportDetails interface.
2014-11-12 15:26:25 -08:00
Moxie Marlinspike
cafe03a70a
Transition the outbound pipeline to JobManager jobs.
2014-11-12 15:26:25 -08:00
Moxie Marlinspike
99f42e2ee1
Move API around.
2014-11-12 15:21:32 -08:00
Moxie Marlinspike
a3f1d9cdfd
Beginning of libtextsecure refactor.
...
1) Break out appropriate components.
2) Switch the incoming pipeline from SendReceiveService to
the JobManager.
2014-11-12 15:21:32 -08:00
Jake McGinty
4cab657ebe
clear pending slides when attachment reselected
...
Fixes #2012
// FREEBIE
2014-10-29 18:50:11 -07:00
Jake McGinty
7df49811b7
replace ABS with AppCompat
...
// FREEBIE
2014-10-29 16:51:55 -07:00
Jake McGinty
ff2ac8a66e
refactor ListenableFutureTask and make saves async
...
// FREEBIE
2014-10-28 02:25:41 -05:00
Jake McGinty
53da1f849a
in-app image media preview
...
// FREEBIE
2014-10-28 00:50:01 -05:00
Jake McGinty
34aece0b43
revert content-type generics
...
// FREEBIE
2014-10-22 19:37:04 -07:00
Moxie Marlinspike
9768de2d5e
Short circuit self-send.
...
// FREEBIE
2014-10-22 18:28:03 -07:00
Moxie Marlinspike
4cdc0a3e61
Make signed prekey generation happen through the job queue.
2014-10-21 12:47:08 -07:00
Moxie Marlinspike
b568ce70b2
Make delivery receipts work correctly for groups.
2014-10-20 21:06:34 -07:00
Moxie Marlinspike
b308996885
Switch to using our own JobManager.
...
// FREEBIE
2014-10-20 19:13:06 -07:00
Moxie Marlinspike
73d896f378
Index shouldn't be unique.
2014-10-20 19:02:42 -07:00
Moxie Marlinspike
36ec1d84a1
Implement delivery receipts.
...
1) Support a "receipt" push message type.
2) Identify messages by timestamp.
3) Introduce a JobManager to handle the queue for network
dependent jobs.
2014-10-20 19:02:42 -07:00
Moxie Marlinspike
20cf775b1e
Fix up routing activity actions.
2014-10-20 14:55:34 -07:00
Moxie Marlinspike
73b75a4a27
Fix build.
2014-10-20 12:25:40 -07:00
Moxie Marlinspike
27b5bf54cc
Remove 1 mod 8.
2014-10-20 12:25:39 -07:00
Moxie Marlinspike
819982af7b
Rearrange decrypt API.
...
1) Change SessionBuilder to only establish sessions via
KeyExchangeMessage and PreKeyBundles.
2) Change SessionCipher to decrypt either WhisperMessage
or PreKeyWhisperMessage items, automatically building
a session for the latter.
3) Change SessionCipher to tear down new sessions built
with PreKeyWhisperMessages if the embedded WhsiperMessage
fails to decrypt.
2014-10-20 12:25:38 -07:00
Moxie Marlinspike
42cf53e487
Rename "pendingPreKey" to "unacknowledgedPreKeyMessage"
2014-10-20 12:23:15 -07:00
Moxie Marlinspike
3f299936bf
Only create signed prekey if push registered.
2014-10-20 12:23:14 -07:00
Moxie Marlinspike
5f5ddd7c26
Generate SignedPreKey records, improve SignedPreKey cleanup.
2014-10-20 12:23:08 -07:00
Moxie Marlinspike
0d532afd8e
Rename 'device key' to 'signed prekey'.
2014-10-20 12:17:24 -07:00
Moxie Marlinspike
07fd17ccda
Add padding for push messages.
...
1) Use 'bit padding.'
1) By default, pad at 160 byte increments.
2014-10-20 12:17:23 -07:00
Moxie Marlinspike
811479d168
Add first cut of protocol v3 support.
...
1) Use the new /v2/keys API for storing/retrieving prekey bundles.
2) For sessions built with PreKeyBundle and PreKeyWhisperMessage,
use a v3 ratcheting session when available.
2014-10-20 12:17:23 -07:00
Moxie Marlinspike
931605a1c4
Move identity key verification into libaxolotol. With tests.
2014-10-20 12:14:18 -07:00
Moxie Marlinspike
a601c56af1
Collapse SessionRecord, SessionState, and PreKeyRecord interfaces.
2014-10-20 12:14:17 -07:00
Moxie Marlinspike
5a3c19fe3e
Javadocs, and some minor refactoring.
2014-10-20 12:14:17 -07:00
Moxie Marlinspike
af45e5d544
SessionBuilder improvements, more extensive SessionBuilder tests.
2014-10-20 12:14:17 -07:00
Moxie Marlinspike
72af8b11c2
Move session construction and KeyExchangeMessage into libaxolotl.
...
1) Add plain two-way key exchange support libaxolotl by moving
all the KeyExchangeMessage code there.
2) Move the bulk of KeyExchangeProcessor code to libaxolotl
for setting up sessions based on retrieved prekeys, received
prekeybundles, or exchanged key exchange messages.
2014-10-20 12:14:17 -07:00
Moxie Marlinspike
a1db221caf
Collapse KeyExchangeMessage and KeyExchangeProcessor interfaces.
2014-10-20 12:14:17 -07:00
Moxie Marlinspike
14b8f97de2
Reorganize session store load/store operations.
2014-10-20 12:14:17 -07:00
Moxie Marlinspike
d902c12941
Break core ratchet out into libaxolotol.
...
1) Break the core cryptography functions out into libaxolotol.
2) The objective for this code is a Java library that isn't
dependent on any Android functions. However, while the
code has been separated from any Android functionality,
it is still an 'android library project' because of the
JNI.
2014-10-20 12:10:02 -07:00
Jake McGinty
31167d11dd
use wildcard media types, don't crash on preview fail
...
// FREEBIE
2014-10-17 17:59:56 -07:00
Jake McGinty
6e3751a0c5
sane fallback for media selection on exception
...
Fixes #1763
// FREEBIE
2014-10-17 17:41:42 -07:00
Jake McGinty
b5941fb3fd
actually fallback when mms local params unset
...
// FREEBIE
2014-10-15 17:14:12 -07:00
Jake McGinty
2075bba86c
switch back to BufferedInputStream
...
// FREEBIE
2014-10-13 15:38:27 -07:00
Jake McGinty
89fb80fcc5
MmsConnection refactor
...
- Use Apache HttpClient v4.x, only library that seems to like HTTP proxies
- Remove custom redirect logic in favor of library's
Fixes #1904
// FREEBIE
2014-10-13 12:26:38 -07:00
Jake McGinty
b8a3e87f3d
custom redirect logic
...
// FREEBIE
2014-09-15 14:13:27 -07:00
Jake McGinty
7316f17674
don't crash if we can't get an mccmnc
...
Fixes #1916
// FREEBIE
2014-09-14 17:46:07 -07:00
Veeti Paananen
609e69a801
Show date and year for ancient (> 1 year old) messages
...
The timestamp shown for very old messages only includes the time without
a date at all. Fix it. FREEBIE.
2014-09-08 15:08:46 -07:00
Jake McGinty
1b3bd32805
fallback to rough scaling if low memory
...
// FREEBIE
2014-09-05 13:00:26 -07:00
Moxie Marlinspike
877f2a25a9
Merge pull request #1887 from mcginty/mms-3xx
...
allow url client to follow redirects before checking response code
2014-08-29 15:23:00 -07:00
Jake McGinty
eb462f0345
force redirects, get inputstream first
2014-08-29 16:34:25 -05:00
Moxie Marlinspike
102b40543d
Merge pull request #1886 from mcginty/mms-bad-pdu-logging
...
enable more verbose PDU parse logging
2014-08-29 14:33:25 -07:00
Jake McGinty
12077c6dad
enable more verbose PDU parse logging
...
// FREEBIE
2014-08-29 16:29:36 -05:00
Jake McGinty
7441c191a7
Format outgoing MMS using SMIL.
...
// FREEBIE
Closes #1879
2014-08-29 14:29:24 -07:00
Lukas Barth
b355991b0b
Remove superfluous repetition
...
//FREEBIE
2014-08-29 15:33:19 +02:00
Jake McGinty
a0842f329f
disable localized collators in ApnDB
...
// FREEBIE
2014-08-20 13:41:59 -07:00
Jake McGinty
9b495d8c83
prevent another cursor leak
...
// FREEBIE
2014-08-20 12:29:40 -07:00
Moxie Marlinspike
5264ebed67
Avoid leaking cursor.
...
// FREEBIE
Closes #1838
2014-08-20 10:36:39 -07:00
Jake McGinty
7f51f9fd5b
apntool and ApnDatabase
...
// FREEBIE
2014-08-20 10:36:39 -07:00
Moxie Marlinspike
40495a2261
Merge pull request #1854 from mcginty/content-description
...
improve some content descriptions
2014-08-19 21:00:20 -07:00
Jake McGinty
a6c1fdd914
improve some content descriptions
...
// FREEBIE
2014-08-19 19:10:15 -07:00
Jake McGinty
020d61dd6e
migrate nav panel items to actionbar
...
Fixes #1819
Closes #1839
// FREEBIE
2014-08-19 15:20:57 -07:00
Moxie Marlinspike
f4e9c4a710
Minor MMS cleanup.
...
// FREEBIE
Closes #1827
2014-08-13 14:40:19 -07:00
Jake McGinty
28e14f47cf
use URLConnection for MMS because it's better
...
// FREEBIE
2014-08-13 12:36:47 -07:00
Jake McGinty
213715a0dc
braces around loop, proper spacing
...
// FREEBIE
2014-08-12 18:23:18 -07:00
Moxie Marlinspike
7b0479ff0f
requestRouteToHost of URL rather than MMSC on MMS Download
...
// FREEBIE
Closes #1806
2014-08-12 17:31:28 -07:00
rymdhund
feabbb33d2
MMS Fixes
...
1) Respect proxyIfPossible flag and make sure to try all mms APNs
2) Reorder mmsc connection process
2014-08-12 17:30:19 -07:00
rymdhund
d3da409774
Add time to saved media filenames
...
see #1689
// FREEBIE
2014-08-12 16:09:26 -07:00
Jake McGinty
b61e7839f4
prevent MMS notification NPE
...
// FREEBIE
2014-08-10 21:15:55 -07:00
Jake McGinty
306c127803
fix EmojiLRU concurrency exception
...
// FREEBIE
2014-08-04 16:51:44 -07:00
Jake McGinty
239a11bfd2
fix unused argument
...
// FREEBIE
2014-08-04 15:30:52 -07:00
Jake McGinty
de63b0dd96
make reminder a custom view, make push reminder
...
// FREEBIE
2014-08-04 15:25:53 -07:00
Jake McGinty
eb4ac40051
don't use old emoji recents, broken
...
Fixes #1782
// FREEBIE
2014-08-04 15:23:43 -07:00
Moxie Marlinspike
8726dd51be
Can't toast on this thread.
...
// FREEBIE
2014-08-02 23:15:57 -07:00
Moxie Marlinspike
861d27279d
Whoops, add GcmRegistrationService to Manifest.
...
// FREEBIE
2014-08-01 14:33:17 -07:00
Veeti Paananen
9e74b5c892
Remove gray placeholder squares while loading emoji
2014-08-01 13:40:19 -07:00
Veeti Paananen
3597915d17
Add a backspace key to the emoji drawer
2014-08-01 13:40:19 -07:00
Veeti Paananen
40ce0cebe0
Fix emoji backwards compatibility recents crash
...
The old emoji drawer stored emoji with a .png suffix. Replace it during
list deserialization.
2014-07-31 02:49:36 +03:00
Jake McGinty
7d688846f9
Move default SMS and system import to "reminders"
...
// FREEBIE
Closes #1730
2014-07-27 01:09:39 -07:00
McLoo
acc7c4c1c6
Null check for cipher text to prevent NPE on decryption
...
Fixes #1703
Closes #1728
// FREEBIE
2014-07-26 23:02:11 -07:00
Jake McGinty
530ad7bc86
new emoji drawer
...
// FREEBIE
Closes #1746
2014-07-26 13:35:03 -07:00
Jake McGinty
bea3c33223
disable passphrase creation on registration
...
// FREEBIE
Closes #1726
2014-07-25 17:46:50 -07:00
Moxie Marlinspike
9ef14a0f64
Upgrade to new GCM API.
2014-07-23 15:40:45 -07:00
Moxie Marlinspike
40698212bb
Create a Curve25519 asymmetric master secret for users without.
...
Fixes #1701
2014-07-18 22:16:12 -07:00
Veeti Paananen
19ae5043cc
Add number of messages to the notification number attribute
...
Although not used by stock Android, many custom ROM's (and possibly OEM
versions?) have a setting to display the "number" count of a notification
overlayed on the status bar icon. Add support for this.
Closes #1637
2014-07-16 11:50:42 -07:00
rymdhund
d1dd50e31c
Add date to saved media filenames
...
Fixes #1689
Closes #1693
2014-07-16 11:46:18 -07:00
Jake McGinty
f6e04d0f89
use latest android number as recipient number
...
Fixes #791
// FREEBIE
2014-07-14 16:22:15 -07:00
Jake McGinty
da0eb5a779
no longer load a recipient for each filter text
...
// FREEBIE
2014-06-24 20:33:04 -07:00
McLoo
d429f9113b
Replace XML serializer in plaintext export
...
Fixes #342
- using regex pattern/matcher to escape chars below 0x0020 and
above 0xd7ff
- using String.Replace to escape XML entities
- changed XmlPullParser from Xml.newPullParser() to
XmlPullParserFactory parser to fix import on GB
2014-06-24 13:02:36 -07:00
Moxie Marlinspike
8f85eb1822
Remove unused files.
...
Fixes #1522
// FREEBIE
2014-06-24 08:32:59 -07:00
Moxie Marlinspike
358c923891
Merge pull request #1630 from mcginty/remove-keys-list
...
remove ReviewIdentitiesActivity
2014-06-23 11:17:17 -07:00
Lukas Barth
2d9cd8eb52
Fixing race condition and other mistakes. Fixes #1603 .
...
// FREEBIE
2014-06-23 11:16:37 -07:00
Jake McGinty
5121ab0eed
temporarily disable encrypted backup
...
// FREEBIE
2014-06-22 16:40:02 -07:00
Jake McGinty
f63f95404e
remove ReviewIdentitiesActivity
...
// FREEBIE
2014-06-22 16:21:30 -07:00
Jake McGinty
5ce6dc954a
move FLAG_SECURE to PassphraseRequiredMixin
...
Fixes #1402
// FREEBIE
2014-06-16 20:41:13 -07:00
Özgür Emir
c85a8bbb38
Always show the time of the received message.
2014-06-16 15:57:39 -07:00
agrajaghh
0f9a6e6296
add custom phone number type
2014-06-16 15:27:33 -07:00
phenx-de
d8cb893681
Fixes "subtitle is not updated when select all is pressed"
...
// FREEBIE
2014-06-16 09:33:35 -07:00
Michael Kaiser
1ad54e7b88
Fix more leaked service connections
...
PassphraseRequiredMixin might check for a bound service at a time where
the bind has been requested but the service connection has not been
established yet, and therefore fail to call unbindService, leading to a
leaked service connection. This fixes #1518 .
2014-06-15 19:28:09 -07:00
Moxie Marlinspike
0d35e2bfa9
Fix the "Tap for X fallback" labels.
2014-06-13 17:48:56 -07:00
Moxie Marlinspike
983bf672cf
Fix UI side of broken MMS fallback.
...
1) Actually tell the SendReceiveService to send the MMS if it is
one.
2) Display the correct string (SMS vs MMS) in the fallback dialog.
2014-06-13 17:39:29 -07:00
Moxie Marlinspike
1c2e1a07f5
Fixes for outgoing SMS/MMS direct and fallback behavior.
...
1) Correct MMS fallback settings.
2) Prevent SMS/MMS messages from leaking out under certain
circumstances when they shouldn't.
2014-06-13 17:15:46 -07:00
Moxie Marlinspike
2d739a324e
Validate MMS delivery destination.
...
We can't depend on validated Recipients anymore, so this adds
parity to the validation the SMS transport does now.
Fixes #1592
2014-06-13 16:15:33 -07:00
Moxie Marlinspike
ba1055df8e
Correct contextual send language.
...
1) Use "secure" and "insecure" vs "encrypted" and "unencrypted.
2) Use MMS instead of SMS where appropriate.
Fixes #1602
2014-06-13 15:24:38 -07:00
phenx-de
a54d20f3ef
Add "%s selected" subtitle to Conversation List batch mode.
2014-06-13 09:35:36 -07:00
phenx-de
ea0fa58265
Add preview of encryption channel in compose text hint.
2014-06-12 16:32:31 -07:00
Moxie Marlinspike
359fe280e8
Fix for broken build (*ahem* @phenx-de *ahem*) =)
...
// FREEBIE
2014-06-12 16:27:51 -07:00
Jake McGinty
34e147838a
use apply for preferences instead of commit
...
// FREEBIE
2014-06-12 14:45:51 -07:00
phenx-de
d8e6a93584
Use contextual action bar menu for conversation items.
2014-06-12 14:27:34 -07:00
Moxie Marlinspike
0e6773b4b7
Remove directory refresh preference.
...
This is present on the contact screen now, so there's no longer
any need for it here.
2014-06-12 11:58:24 -07:00
McLoo
fb13d33e2e
Show drafts emojified when Android version is below KitKat
2014-06-12 11:30:50 -07:00
Pascal Hartig
92fd8ededd
Sort contacts case-insentively
...
This fixes the case sensitive ordering of contacts in the view
for creating new conversations.
Fix #1502
2014-06-12 10:56:46 -07:00
agrajaghh
8713a85beb
Add notification for key change event.
...
Fixes #1460
2014-06-12 10:40:46 -07:00
Marek Wehmer
9b82411c3d
Better share intent handling.
...
1) Guess mime type from share intent EXTRA_STREAM uri.
2) Always include EXTRA_TEXT (if present)
2014-06-12 10:23:56 -07:00
Veeti Paananen
bd889d8fa9
Reword the very confusing screen security setting
2014-06-12 09:22:39 -07:00
Moxie Marlinspike
d51adab76b
Use "date sent" as timestamp for push, "date received" for SMS.
...
The "sent time" is not reliable on SMS messages. This switches
to using "sent time" by default for push messages, but "received
time" for SMS messages.
2014-06-12 08:59:54 -07:00
Chris V
b990202468
Allow passphrase unlock from "unlock" keyboard action.
2014-06-11 21:45:03 -07:00
Pascal Hartig
7208018097
Clear search when opening the drawer
...
Before this change opening the drawer while a filter was active
would hide the search bar but keep the conversation list filtered,
so there was no indication of an active filter.
2014-06-11 18:12:07 -07:00
Moxie Marlinspike
c719a48a2c
Move media attachment long-click event to context menu.
...
Long-click on a media attachment will now bring up the normal
context menu for a ConversationItem long-click, but with the
addition of a "save attachment" option.
This allows users to long-click on messages with media in them
and still see the other contextual menu options.
// FREEBIE
2014-06-11 18:04:14 -07:00
Moxie Marlinspike
68747142d6
Add correct contextual menu options on 'Send' button.
...
[Send TextSecure message | Send unencrypted SMS | Send encrypted SMS]
// FREEBIE
2014-06-11 15:34:01 -07:00
Lukas Barth
7c9282f306
Cache circle cropped photos on Recipient.
2014-06-11 12:33:57 -07:00
Lukas Barth
fa3cb871d0
Use ACTION_OPEN_DOCUMENT for Android >= KitKat.
...
Fixes #926 .
We have to do this, since with the new Storage Access Framework,
otherwise we can open the Uri only *once*. This would work well
unless someone saves a draft and goes back to the conversation -
then the Uri is opened again without the required permissions.
See:
https://developer.android.com/guide/topics/providers/document-provider.html#client
...for details.
2014-06-11 11:58:55 -07:00
Jabro
12e92b9cdf
Added APN Settings for T-Mobile UK
...
Fixes #1558
2014-06-09 12:43:19 +02:00
Moxie Marlinspike
df1c96a662
Do country code detection if we can't get the full number off SIM.
2014-06-03 19:16:27 -07:00
Michael Bennett
468eb3382c
Add sorting by default phone number
...
Currently the order of numbers is times contacted -> displayName ->
phone type (mobile vs. home, etc.). This adds whether the number has
been saved as the default number for a contact to sort numbers belonging
to the same contact.
Fixes #580
2014-06-03 18:18:41 -07:00
Moxie Marlinspike
12d217991c
Use dynamic PBE iteration count.
...
Fixes #184
Fixes #247
2014-06-03 17:59:11 -07:00
Ruben Pollan
5785860631
Support for multiple APN settings on the same provider
2014-06-03 16:24:20 -07:00
Moxie Marlinspike
addea8d340
Validate recipients at send time rather than when constructed.
...
Fixes #665
2014-06-03 14:58:19 -07:00
Jake McGinty
829097d891
send email addresses as mms
...
// FREEBIE
2014-06-03 12:35:56 -07:00
Michael Kaiser
1cb4d479f1
Finish activity before restarting it
...
The current activity needs to be finished before calling startActivity.
Otherwise, activities with launchMode singleTask (ConversationListActivity)
will receive a new Intent instead of getting restarted. And in response
to the new Intent, they will run onResume once again and trigger a second restart.
Fixes #1292
2014-05-20 10:16:48 -07:00
McLoo
023d776e96
Reactivate a group if a contact gets readded
...
Fixes #723 //FREEBIE
Removes the own number from group on leaving, to receive a proper
re-added message
2014-05-19 13:18:28 -07:00
Jake McGinty
ce7b8ab75a
new passphrase prompt activity
...
// FREEBIE
2014-05-19 12:16:42 -07:00
agrajaghh
82bb0c07e8
Fix AlertDialog Background on Android 2.3
2014-05-16 17:18:57 -07:00
Jake McGinty
542e1984c1
sanely handle duplicate contacts in db
...
// FREEBIE
2014-05-16 09:16:20 -07:00
Jake McGinty
dff6997a65
don't call replace() on null formattedNumber
...
Fixes #1397
// FREEBIE
2014-05-16 09:13:50 -07:00
Sebastian
03ecd79fe0
fix receiving utf-8 characters in multimedia push messages
...
Throw AssertionError instead of logging and trying to recover
2014-05-01 15:06:44 -07:00
Moxie Marlinspike
7a3d509ef4
Merge pull request #1437 from mcginty/mms-npe
...
prevent NPE in MMS logic
2014-05-01 13:05:01 -07:00
Jake McGinty
7a54f33f68
Merge pull request #1354 from agrajaghh/fix_empty_contact_filter
...
Fix empty contact filter not working properly
2014-05-01 14:18:25 -05:00
Jake McGinty
d4b4667d5a
prevent NPE in MMS logic
...
Fixes #1434
// FREEBIE
2014-04-28 14:05:05 -07:00
Jocelyn Thode
521fbc77c6
Add time to messages when they are within the week
...
//FREEBIE
2014-04-17 16:10:27 +02:00
Moxie Marlinspike
0574ec170a
Display legacy message error when V1 message is received.
2014-04-16 11:47:51 -07:00
Moxie Marlinspike
cebad39422
Collapse some v2 interfaces now that there's no v1.
2014-04-16 11:47:51 -07:00
Moxie Marlinspike
1d07ca3e6f
Remove V1 code.
2014-04-16 11:47:51 -07:00
Jake McGinty
df9afc4e7f
revert RoutingActivity flags
...
// FREEBIE
2014-04-14 14:49:15 -07:00
agrajaghh
e9a50ce6c3
fix empty contact filter
2014-04-13 15:00:04 +02:00
Jake McGinty
ccb0cc6baf
fix old code breaking build
...
// FREEBIE
2014-04-11 10:00:30 -07:00
Jake McGinty
454673cd0c
Update ActionBar title on language change
...
Fixes #1329
// FREEBIE
2014-04-10 17:55:03 -07:00
Jake McGinty
0dc6ec294b
use normal means to set actionbar icon
...
// FREEBIE
2014-04-10 17:52:58 -07:00
Santoso Wijaya
12dac6ccc3
ShareActivity, destruction of RecipientsPanel
...
// FREEBIE
2014-04-10 13:16:14 -07:00
Jake McGinty
e2f7c1529a
group and contact list fixes
...
1) Updating a group without changing the avatar will keep that
avatar
2) Prohibit adding non-push users to an existing push group
3) Add Android contacts to the same database. Takes a small amount
more time and memory, but allows queries to not be a hack, and
enables us to dedupe numbers in JB and higher devices.
// FREEBIE
2014-04-10 11:14:06 -07:00
Jake McGinty
b715debefc
mark auto-fallback to sms as forcedSms
...
// FREEBIE
2014-04-10 10:50:35 -07:00
Jake McGinty
7b3f2c169a
Fix issue with weird exiting animation from conversation
...
Fixes #1312
// FREEBIE
2014-04-08 10:57:17 -07:00
Matt Enright
7ceaf59bcc
Display send date for incoming messages
...
Fixes #597 .
2014-04-05 14:39:58 -07:00
Moxie Marlinspike
4caff2e511
Merge pull request #1297 from McLoo/master
...
Stop recycled bitmap crashes
2014-04-05 13:38:45 -07:00
McLoo
5e8e13ed5a
Stop recycled bitmap crashes
...
Fixes #792
2014-04-04 23:49:12 +02:00
Moxie Marlinspike
33ecc4d690
Add null check. // FREEBIE
2014-04-03 14:01:15 -07:00
Jake McGinty
7d5e66eb6e
fix send icon merge botch, encryption icons logic
...
// FREEBIE
2014-04-03 12:12:59 -07:00
Moxie Marlinspike
d4ac0c077d
Merge pull request #1248 from mcginty/wrong-group-secure
...
outgoing group MMS should not be encrypted and considered push
2014-04-03 11:22:00 -07:00
Jake McGinty
cbe87aa05c
outgoing group MMS should never be encrypted
...
// FREEBIE
2014-04-03 11:21:13 -07:00
Jake McGinty
d4d684b670
simplified layouts
2014-04-03 09:59:32 -07:00
Jake McGinty
54a882a11d
new send icons, fix logic for disabling/enabling
...
// FREEBIE
2014-04-03 09:49:50 -07:00
Moxie Marlinspike
73e2f6ce59
Merge pull request #1272 from mcginty/flag-secure
...
hide screen security when unsupported
2014-04-02 22:14:08 -07:00
Moxie Marlinspike
54d2184c72
Merge pull request #1205 from mcginty/contact-select
...
refactor and improve contact selection
2014-04-02 22:11:44 -07:00
Jake McGinty
832763f695
UX for unencrypted fallback case
2014-04-02 22:10:51 -07:00