Commit Graph

619 Commits (31167d11ddecac64113f270a173feb9233c0120b)

Author SHA1 Message Date
Moxie Marlinspike 358c923891 Merge pull request #1630 from mcginty/remove-keys-list
remove ReviewIdentitiesActivity
11 years ago
Lukas Barth 2d9cd8eb52 Fixing race condition and other mistakes. Fixes #1603.
// FREEBIE
11 years ago
Jake McGinty 5121ab0eed temporarily disable encrypted backup
// FREEBIE
11 years ago
Jake McGinty f63f95404e remove ReviewIdentitiesActivity
// FREEBIE
11 years ago
Jake McGinty 5ce6dc954a move FLAG_SECURE to PassphraseRequiredMixin
Fixes #1402
// FREEBIE
12 years ago
Özgür Emir c85a8bbb38 Always show the time of the received message. 12 years ago
agrajaghh 0f9a6e6296 add custom phone number type 12 years ago
phenx-de d8cb893681 Fixes "subtitle is not updated when select all is pressed"
// FREEBIE
12 years ago
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.
12 years ago
Moxie Marlinspike 0d35e2bfa9 Fix the "Tap for X fallback" labels. 12 years ago
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.
12 years ago
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.
12 years ago
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
12 years ago
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
12 years ago
phenx-de a54d20f3ef Add "%s selected" subtitle to Conversation List batch mode. 12 years ago
phenx-de ea0fa58265 Add preview of encryption channel in compose text hint. 12 years ago
Moxie Marlinspike 359fe280e8 Fix for broken build (*ahem* @phenx-de *ahem*) =)
// FREEBIE
12 years ago
Jake McGinty 34e147838a use apply for preferences instead of commit
// FREEBIE
12 years ago
phenx-de d8e6a93584 Use contextual action bar menu for conversation items. 12 years ago
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.
12 years ago
McLoo fb13d33e2e Show drafts emojified when Android version is below KitKat 12 years ago
Pascal Hartig 92fd8ededd Sort contacts case-insentively
This fixes the case sensitive ordering of contacts in the view
for creating new conversations.

Fix #1502
12 years ago
agrajaghh 8713a85beb Add notification for key change event.
Fixes #1460
12 years ago
Marek Wehmer 9b82411c3d Better share intent handling.
1) Guess mime type from share intent EXTRA_STREAM uri.

2) Always include EXTRA_TEXT (if present)
12 years ago
Veeti Paananen bd889d8fa9 Reword the very confusing screen security setting 12 years ago
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.
12 years ago
Chris V b990202468 Allow passphrase unlock from "unlock" keyboard action. 12 years ago
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.
12 years ago
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
12 years ago
Moxie Marlinspike 68747142d6 Add correct contextual menu options on 'Send' button.
[Send TextSecure message | Send unencrypted SMS | Send encrypted SMS]

// FREEBIE
12 years ago
Lukas Barth 7c9282f306 Cache circle cropped photos on Recipient. 12 years ago
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.
12 years ago
Jabro 12e92b9cdf Added APN Settings for T-Mobile UK
Fixes #1558
12 years ago
Moxie Marlinspike df1c96a662 Do country code detection if we can't get the full number off SIM. 12 years ago
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
12 years ago
Moxie Marlinspike 12d217991c Use dynamic PBE iteration count.
Fixes #184
Fixes #247
12 years ago
Ruben Pollan 5785860631 Support for multiple APN settings on the same provider 12 years ago
Moxie Marlinspike addea8d340 Validate recipients at send time rather than when constructed.
Fixes #665
12 years ago
Jake McGinty 829097d891 send email addresses as mms
// FREEBIE
12 years ago
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
12 years ago
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
12 years ago
Jake McGinty ce7b8ab75a new passphrase prompt activity
// FREEBIE
12 years ago
agrajaghh 82bb0c07e8 Fix AlertDialog Background on Android 2.3 12 years ago
Jake McGinty 542e1984c1 sanely handle duplicate contacts in db
// FREEBIE
12 years ago
Jake McGinty dff6997a65 don't call replace() on null formattedNumber
Fixes #1397
// FREEBIE
12 years ago
Sebastian 03ecd79fe0 fix receiving utf-8 characters in multimedia push messages
Throw AssertionError instead of logging and trying to recover
12 years ago
Moxie Marlinspike 7a3d509ef4 Merge pull request #1437 from mcginty/mms-npe
prevent NPE in MMS logic
12 years ago
Jake McGinty 7a54f33f68 Merge pull request #1354 from agrajaghh/fix_empty_contact_filter
Fix empty contact filter not working properly
12 years ago
Jake McGinty d4b4667d5a prevent NPE in MMS logic
Fixes #1434
// FREEBIE
12 years ago
Jocelyn Thode 521fbc77c6 Add time to messages when they are within the week
//FREEBIE
12 years ago
Moxie Marlinspike 0574ec170a Display legacy message error when V1 message is received. 12 years ago
Moxie Marlinspike cebad39422 Collapse some v2 interfaces now that there's no v1. 12 years ago
Moxie Marlinspike 1d07ca3e6f Remove V1 code. 12 years ago
Jake McGinty df9afc4e7f revert RoutingActivity flags
// FREEBIE
12 years ago
agrajaghh e9a50ce6c3 fix empty contact filter 12 years ago
Jake McGinty ccb0cc6baf fix old code breaking build
// FREEBIE
12 years ago
Jake McGinty 454673cd0c Update ActionBar title on language change
Fixes #1329
// FREEBIE
12 years ago
Jake McGinty 0dc6ec294b use normal means to set actionbar icon
// FREEBIE
12 years ago
Santoso Wijaya 12dac6ccc3 ShareActivity, destruction of RecipientsPanel
// FREEBIE
12 years ago
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
12 years ago
Jake McGinty b715debefc mark auto-fallback to sms as forcedSms
// FREEBIE
12 years ago
Jake McGinty 7b3f2c169a Fix issue with weird exiting animation from conversation
Fixes #1312
// FREEBIE
12 years ago
Matt Enright 7ceaf59bcc Display send date for incoming messages
Fixes #597.
12 years ago
Moxie Marlinspike 4caff2e511 Merge pull request #1297 from McLoo/master
Stop recycled bitmap crashes
12 years ago
McLoo 5e8e13ed5a Stop recycled bitmap crashes
Fixes #792
12 years ago
Moxie Marlinspike 33ecc4d690 Add null check. // FREEBIE 12 years ago
Jake McGinty 7d5e66eb6e fix send icon merge botch, encryption icons logic
// FREEBIE
12 years ago
Moxie Marlinspike d4ac0c077d Merge pull request #1248 from mcginty/wrong-group-secure
outgoing group MMS should not be encrypted and considered push
12 years ago
Jake McGinty cbe87aa05c outgoing group MMS should never be encrypted
// FREEBIE
12 years ago
Jake McGinty d4d684b670 simplified layouts 12 years ago
Jake McGinty 54a882a11d new send icons, fix logic for disabling/enabling
// FREEBIE
12 years ago
Moxie Marlinspike 73e2f6ce59 Merge pull request #1272 from mcginty/flag-secure
hide screen security when unsupported
12 years ago
Moxie Marlinspike 54d2184c72 Merge pull request #1205 from mcginty/contact-select
refactor and improve contact selection
12 years ago
Jake McGinty 832763f695 UX for unencrypted fallback case 12 years ago
Moxie Marlinspike 40629a3bcf Fix decryption corner case when passphrase is disabled. 12 years ago
Moxie Marlinspike 5a3daf4846 Curve25519 keys to 1 mod 8 for ephemerals. 12 years ago
Moxie Marlinspike fd1a18d2d0 Don't display duplicate push messages. 12 years ago
Moxie Marlinspike ad5d6d5bb7 Add refresh path for PreKey queue. 12 years ago
Moxie Marlinspike 926d3c929f Handle simultaneous initiate protocol case.
1) Modify SessionRecord to store a list of "previous" sessions
   in addition to the current active session.  Previous sessions
   can be used for receiving messages, but not for sending
   messages.

2) When a possible "simultaneous initiate" is detected, push the
   current session onto the "previous session" stack instead of
   clearing it and starting over.

3) Additionally, mark the new session created on a received
   possible "simultaneous initiate" as stale for sending.  The
   next outgoing message would trigger a full prekey refresh.

4) Work to do: outgoing messages on the SMS transport should
   probably not use the existing session if it's marked stale
   for sending.  These messages need to fail and notify the user,
   similar to how we'll handle SMS fallback to push users before
   a prekey session is created.
12 years ago
thoughtbox 0d7363e36e Changed MMS Proxy setting for 24201 (Telenor)
Going forward, Telenor will be using FQDN.
12 years ago
Jake McGinty ca6d8a8a0d refactor and improve contact selection
* unify single and multi contact selection activities
* follow android listview design recommendations more closely
* add contact photos to selection
* change indicator for push to be more obvious
* cache circle-cropped bitmaps
* dedupe numbers when contact has multiple of same phone number

// FREEBIE
12 years ago
Moxie Marlinspike c414334059 Merge pull request #1228 from backspace/support-commas-in-contact-names
Remove commas in names in recipient list string
12 years ago
Moxie Marlinspike 24a38985cf Merge pull request #1249 from mcginty/convo-scroll
scroll to the new message in conversation
12 years ago
Brian Conway 60f2d4d6b6 Add APN for Aio wireless (USA).
Source: http://www.aiowireless.com/support/Apps-and-Services/Bring-Your-Own-Device-BYOD/customer/Bring-Your-Own-Android.html
12 years ago
Jake McGinty 06659fd98f hide screen security when unsupported
// FREEBIE
12 years ago
Dorian Scholz a183f8d387 Fix #641 by using standard intent to select group avatar.
The ACTION_GET_CONTENT used with cropping is not supported on all devices.
To make this work more reliably I removed the cropping and MediaStore.EXTRA_OUTPUT.
The image is now read via getContentResolver().openInputStream() which should work on all device including KitKat/CM11.
12 years ago
Jake McGinty 216446c55b scroll to the new message in conversation
// FREEBIE
12 years ago
Buck Doyle bc143059f6 Remove separators from names in recipient list
Fixes #1225 and #1174
12 years ago
Jake McGinty 33000582ed one more try at that one..
// FREEBIE
12 years ago
Jake McGinty e651f352bb fix NPE in isPushDestination
// FREEBIE
12 years ago
Buck Doyle cab4a06974 Remove commas in names in recipient list string
Fixes #1225
12 years ago
Moxie Marlinspike b860aeff85 Minor ConversationList scrolling optimization. 12 years ago
Jake McGinty d827ab1b36 more precise sms controls
// FREEBIE
12 years ago
Pat McLaughlin d229a4274c Also check cc for duplicates 12 years ago
3xo 64711771f0 Fix locale when using country codes. 12 years ago
Moxie Marlinspike ad54d2a05f Modify string tag.
//FREEBIE
12 years ago
Moxie Marlinspike 0b4fe84a41 Format-neutral compare numbers in MMS group with local device.
Closes #1018
12 years ago
Moxie Marlinspike b855a1805f Mark message details on pending messages as such.
Closes #1034
12 years ago
3xo 339193af12 Give user the opportunity to chose no LED-notification. 12 years ago
Manuel b6a9eb5bf2 Closes #913: Message ID is -1 when called in aggregate 12 years ago