Jake McGinty
6e3751a0c5
sane fallback for media selection on exception
...
Fixes #1763
// FREEBIE
2014-10-17 17:41:42 -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
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
Jake McGinty
7f51f9fd5b
apntool and ApnDatabase
...
// FREEBIE
2014-08-20 10:36:39 -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
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
phenx-de
ea0fa58265
Add preview of encryption channel in compose text hint.
2014-06-12 16:32:31 -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
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
Ruben Pollan
5785860631
Support for multiple APN settings on the same provider
2014-06-03 16:24:20 -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
Jake McGinty
d4b4667d5a
prevent NPE in MMS logic
...
Fixes #1434
// FREEBIE
2014-04-28 14:05:05 -07:00
thoughtbox
0d7363e36e
Changed MMS Proxy setting for 24201 (Telenor)
...
Going forward, Telenor will be using FQDN.
2014-04-02 12:47:05 +02:00
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
2014-03-31 08:09:10 -07:00
Moxie Marlinspike
dec7fd4c8a
Fix for NPE with audio attachments.
2014-02-25 17:54:49 -08:00
Moxie Marlinspike
52ff4ecfd2
Fix to make emoji work in push groups.
2014-02-24 17:01:28 -08:00
Moxie Marlinspike
9c9866e7ee
Add 'leave group' functionality. Includes other bug fixes.
2014-02-22 10:54:43 -08:00
Moxie Marlinspike
a6e1d56cde
Refactor group messaging protocol.
...
// FREEBIE
2014-02-21 17:51:52 -08:00
Moxie Marlinspike
ccd1691b22
Make 'push' status a type bit on both incoming and outgoing msgs.
2014-02-20 23:00:38 -08:00
Moxie Marlinspike
2026330f8a
Remove dead code.
2014-02-20 18:27:43 -08:00
Moxie Marlinspike
ff238a1ce9
Indicate a message was delivered via push in its delivery status.
2014-02-20 16:14:58 -08:00
Moxie Marlinspike
9614dc9055
Refactor group database model and flow.
...
1) Use existing DB types instead of adding new columns.
2) Store group attributes in message body, like everything else.
2014-02-19 21:07:47 -08:00
Moxie Marlinspike
b9f4fba98a
Handle identity key mismatch on outgoing group messages.
...
Additionally, make the group creation process asynchronous.
2014-02-17 11:43:37 -08:00
Jake McGinty
9b41675f8f
single contact selection
2014-02-14 16:21:48 -08:00
Moxie Marlinspike
067799be06
Display group actions and correctly handle group delivery.
2014-02-14 15:59:57 -08:00
Moxie Marlinspike
0ace469d74
Support for multi-device.
...
1) In addition to the Recipient interface, there is now
RecipientDevice. A Recipient can have multiple corresponding
RecipientDevices. All addressing is done to a Recipient, but
crypto sessions and transport delivery are done to
RecipientDevice.
2) The Push transport handles the discovery and session setup
of additional Recipient devices.
3) Some internal rejiggering of Groups.
2014-02-02 19:38:06 -08:00
Moxie Marlinspike
49daa45dca
wip
2014-01-14 00:26:43 -08:00
Ruben Pollan
c134709009
Add apn settings for some providers
2014-01-10 21:03:45 -10:00
Moxie Marlinspike
4380b46a35
Correctly update MMS security status.
2014-01-06 14:37:51 -08:00
Moxie Marlinspike
51b9affe90
Add federation support for attachment retrieval.
2014-01-06 14:36:21 -08:00
Moxie Marlinspike
0dd36c64a4
Basic support for encrypted push-based attachments.
...
1) Move the attachment structures into the encrypted message body.
2) Encrypt attachments with symmetric keys transmitted in the
encryptd attachment pointer structure.
3) Correctly handle asynchronous decryption and categorization of
encrypted push messages.
TODO: Correct notification process and network/interruption
retries.
2014-01-06 14:35:53 -08:00
Moxie Marlinspike
cddba2738f
Make encoding/decoding more explicit.
2014-01-06 14:35:53 -08:00
Moxie Marlinspike
1cc2762656
Refactor relationship between SessionCipher and Message.
2014-01-06 14:35:52 -08:00
Moxie Marlinspike
b8f663b69c
Move common crypto classes into TextSecureLibrary.
...
1) Move all the crypto classes from securesms.crypto.
2) Move all the crypto storage from securesms.database.keys
3) Replace the old imported BC code with spongycastle.
2014-01-06 14:35:51 -08:00
Moxie Marlinspike
fb378a6e00
Change attachment retrieval interface
2014-01-06 14:33:53 -08:00
Moxie Marlinspike
9287d413ac
Support for incoming attachments.
...
1) Refactored MMS layer to use abstracted types.
2) Added support for retrieving attachment IDs.
2014-01-06 14:33:52 -08:00
Moxie Marlinspike
fd045f2354
Refactor MMS send/download to be synchronous.
...
1) Make the radio change a synchronous action with a timeout.
2) Move the send logic into an MmsTransport, in preparation for
UniversalTransport composition.
3) Move the download logic into a synchronous receiver.
2014-01-06 14:33:52 -08:00
Moxie Marlinspike
1ac06312a0
Move directory and push service socket into library.
2014-01-06 14:21:50 -08:00
Moxie Marlinspike
a200d29514
Move most of Util into library
2014-01-06 14:21:50 -08:00
Moxie Marlinspike
21eee19380
Split into library project and add shared preferences layer of indirection.
2014-01-06 14:20:59 -08:00
Moxie Marlinspike
d260cdcc9f
Add giffgaff APN defaults. // FREEBIE
2013-12-17 16:57:40 -08:00
Moxie Marlinspike
496d5e21d2
Add Slovenia APN defaults
2013-12-17 16:53:35 -08:00