Moxie Marlinspike
5f5ddd7c26
Generate SignedPreKey records, improve SignedPreKey cleanup.
2014-10-20 12:23:08 -07:00
Jake McGinty
2075bba86c
switch back to BufferedInputStream
...
// FREEBIE
2014-10-13 15:38:27 -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
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
Jake McGinty
020d61dd6e
migrate nav panel items to actionbar
...
Fixes #1819
Closes #1839
// FREEBIE
2014-08-19 15:20:57 -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
Veeti Paananen
9e74b5c892
Remove gray placeholder squares while loading emoji
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
530ad7bc86
new emoji drawer
...
// FREEBIE
Closes #1746
2014-07-26 13:35:03 -07:00
Moxie Marlinspike
9ef14a0f64
Upgrade to new GCM API.
2014-07-23 15:40:45 -07:00
Jake McGinty
f6e04d0f89
use latest android number as recipient number
...
Fixes #791
// FREEBIE
2014-07-14 16:22:15 -07:00
Özgür Emir
c85a8bbb38
Always show the time of the received message.
2014-06-16 15:57:39 -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
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
Jake McGinty
34e147838a
use apply for preferences instead of commit
...
// FREEBIE
2014-06-12 14:45:51 -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
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
Jocelyn Thode
521fbc77c6
Add time to messages when they are within the week
...
//FREEBIE
2014-04-17 16:10:27 +02: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
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
Jake McGinty
7d5e66eb6e
fix send icon merge botch, encryption icons logic
...
// FREEBIE
2014-04-03 12:12:59 -07:00
Jake McGinty
cbe87aa05c
outgoing group MMS should never be encrypted
...
// FREEBIE
2014-04-03 11:21:13 -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
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
2014-04-01 14:56:45 -07:00
Jake McGinty
06659fd98f
hide screen security when unsupported
...
// FREEBIE
2014-03-30 02:28:38 -07:00
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.
2014-03-27 12:44:56 +01:00
Jake McGinty
33000582ed
one more try at that one..
...
// FREEBIE
2014-03-25 03:31:44 -07:00
Jake McGinty
e651f352bb
fix NPE in isPushDestination
...
// FREEBIE
2014-03-24 17:02:39 -07:00
Jake McGinty
d827ab1b36
more precise sms controls
...
// FREEBIE
2014-03-13 20:59:20 -07:00
3xo
64711771f0
Fix locale when using country codes.
2014-03-12 16:56:24 -07:00
Veeti Paananen
42aeca26f1
Fix overdraw issues in the conversation view
...
Remove the redundant window background and row backgrounds to improve
drawing performance.
2014-03-05 08:03:55 +02:00
Jake McGinty
90169e9468
pending messages more accurately conveyed to user
2014-03-03 11:56:54 -08:00
Benjamin Albrecht
0f6c7660cb
Use modern icons in info and alert dialogs for ICS+
2014-03-01 14:42:12 +01:00
Sam Whited
384fb3b2b5
Add option to disable screen security
...
See WhisperSystems/TextSecure#788
2014-02-27 19:00:39 -05:00
Moxie Marlinspike
5a62856e46
Make SMS delivery reports optional.
2014-02-26 12:38:50 -08:00
Jake McGinty
630dce04fc
handle emoji density scaling more correctly
2014-02-25 16:24:33 -08:00
Moxie Marlinspike
d5f0415907
Merge branch 'master' of github.com:WhisperSystems/TextSecure
...
Conflicts:
src/org/thoughtcrime/securesms/GroupCreateActivity.java
src/org/thoughtcrime/securesms/database/GroupDatabase.java
2014-02-24 00:23:40 -08:00
Moxie Marlinspike
5000957b99
Listen for group updates, fix group updates, and Recipient marshing
2014-02-24 00:19:54 -08:00
Jake McGinty
f30304423d
lose SD card dependency, fix NPEs
...
// FREEBIE
2014-02-23 23:35:41 -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
Jake McGinty
7beab36c6a
updates to conversation menu, and updating of group info
...
// FREEBIE
2014-02-21 11:33:31 -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
918f223149
Add preference to disable the SMS channel all together.
...
1) If the SMS fallback preference is disabled, no outgoing
messages will succeed via the SMS transport.
2) If the SMS fallback preference is disabled, "mirroring" the
SMS db state when not the default system SMS app is disabled.
2014-02-20 14:49:31 -08:00
Moxie Marlinspike
19dddd7adf
Support for an 'end session' protocol message.
...
1) On the push side, this message is a flag in PushMessageContent.
Any secure message with that flag will terminate the current
sessin.
2) On the SMS side, there is an "end session" wire type and
the convention that a message with this wire type must be
secure and contain the string "TERMINATE."
2014-02-19 13:50:32 -08:00
Jake McGinty
0688dd0c2c
repurpose ImageDivet for avatar, minor lint, fix bitmap decoding
...
// FREEBIE
2014-02-19 00:01:37 -08:00
Moxie Marlinspike
3999171377
Introduce registration-time ID for detecting stale sessions.
...
1) At registration time, a client generates a random ID and
transmits to the the server.
2) The server provides that registration ID to any client
that requests a prekey.
3) Clients include that registration ID in any
PreKeyWhisperMessage.
4) Clients include that registration ID in their sendMessage
API call to the server.
5) The server verifies that the registration ID included in
an API call is the same as the current registration ID
for the destination device. Otherwise, it notifies the
sender that their session is stale.
2014-02-18 12:51:23 -08:00
Jake McGinty
abce678cb4
received group messages aren't processed as "meta" group stuff, oops.
2014-02-17 22:20:43 -08:00
Jake McGinty
877ed8f59c
Show TS group titles properly, hide MMS options
2014-02-17 20:25:40 -08:00
Moxie Marlinspike
9bb327db42
Handle SMS fallback preferences correctly, and fix directory sync.
2014-02-17 15:31:42 -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
Moxie Marlinspike
067799be06
Display group actions and correctly handle group delivery.
2014-02-14 15:59:57 -08:00
Jake McGinty
01a438de09
basic messaging when non-push users are added
2014-02-12 17:17:33 -08:00
Jake McGinty
9cd5a67ec5
directory changes to use number instead of token, group ui progress
2014-02-12 11:35:04 -08:00
Moxie Marlinspike
0af473d880
Merge branch 'groups' of github.com:WhisperSystems/TextSecure into groups
2014-02-03 11:52:27 -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
Jake McGinty
9fd2c4753e
ui wip
2014-01-25 23:39:56 -08:00
Moxie Marlinspike
49daa45dca
wip
2014-01-14 00:26:43 -08:00
Ruben Pollan
6cdd2aff0d
Suppress lint errors
2014-01-11 01:34:11 -10:00
Jake McGinty
28c1c5006b
icon, contact list and conversation redesign
2014-01-09 19:06:41 -10:00
Moxie Marlinspike
04b2c3772a
Support skipping password creation at setup
2014-01-07 16:27:00 -08:00
Moxie Marlinspike
dde2d2564a
Fix rebase errors
2014-01-06 19:49:35 -08:00
Moxie Marlinspike
1ab4e7e9de
Library accepts push connection certificate as argument.
2014-01-06 14:38:14 -08:00
Moxie Marlinspike
ce5f3c5157
Validate phone numbers when formatting.
2014-01-06 14:37:52 -08:00
Moxie Marlinspike
fde8d32848
Subtle rebase conflicts...
2014-01-06 14:37:51 -08:00
Moxie Marlinspike
ca3c82f581
Simply PushServiceSocket constructor.
2014-01-06 14:36:21 -08:00
Moxie Marlinspike
25a2ad7289
Add directory refreshing at 24hr intervals.
2014-01-06 14:35:54 -08:00
Moxie Marlinspike
5e6d39beea
Move classes into library
2014-01-06 14:35:53 -08:00
Moxie Marlinspike
0cc5837d7f
Support encrypted transport, properly handle multiple recipients.
...
1) Add encryption support for the transport layer. This obscures
metadata from the push messaging provider.
2) Better support the direction multiple destination messages is
headed (one unique message per recipient).
2014-01-06 14:35:53 -08:00
Moxie Marlinspike
68ec0a3727
Add last resort key and signaling key.
2014-01-06 14:35:53 -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
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
4bb337a3a0
Revised support for outgoing attachments
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
d7070e7ecf
Inserted the Registration activity into initial setup flow.
...
1) Added push messaging toggle to preferences.
2) Added push messaging registration screen to setup flow.
3) Migrated rest of SharedPreferences accessors to
TextSecurePreferences.
2014-01-06 14:30:03 -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
Veeti Paananen
10580a7f20
Fix crash when no SMS package is set
2013-12-03 09:06:16 +02:00
Moxie Marlinspike
b0216e1494
Finish KitKat compatibility details.
...
1) The system does actually enforce having a BROADCAST_SMS
permission on the SMS receiver. Break out the "delivered"
parts of this into a separate Receiver, so the permission
won't trip up GB devices.
2) The system does actually enforce having "quick response"
intents. Add a no-op for now.
3) Add a "make default" prompt.
4) Update settings to reflect what's going on in KitKat.
2013-12-02 12:31:59 -08:00
Gabe Conradi
e81756f443
Proper SMS support for KitKat.
2013-12-02 08:32:34 -08:00
joshua stein
99e3e596bb
Correctly preserve MMS image aspect ratios.
2013-10-10 01:43:48 -07:00
Moxie Marlinspike
4281df7a28
display emoji correctly on devices of all densities
2013-07-15 17:33:30 -07:00
joeykrim
c89cac8785
Changed new Thread() to use new AsyncTask()
...
Changed new Thread() to use new AsyncTask() - same as was done in src/org/thoughtcrime/securesms/service/KeyCachingService.java - d97252d8d6
2013-07-12 22:40:14 -04:00
Moxie Marlinspike
68b82c168e
Add in-app language selection support.
2013-06-29 18:03:55 -07:00
Moxie Marlinspike
93c222fe9c
Added "recent emoji" panel as an LRU cache.
2013-06-29 09:51:08 -07:00
Moxie Marlinspike
71e161c792
Switched to new emoji lookup pattern, added rendering support.
2013-06-28 16:56:30 -07:00
Moxie Marlinspike
2e31cfed11
Basic support for composing emoji
2013-06-27 20:57:27 -07:00
Moxie Marlinspike
903ab92f5f
Basic navigation drawer support.
2013-06-22 21:44:12 -07:00
Moxie Marlinspike
5263ac1f1a
Theme Support
...
1) Broke out the UI elements of the major Activites into stylable
attributes.
2) Created a 'light' and 'dark' theme for the newly stylable attrs.
3) Touched up some of the UI spacing.
4) Implemented dynamic theme switching support.
2013-06-21 12:14:40 -07:00
Moxie Marlinspike
a0a6c3f211
Handle failed bitmap decoding
2013-05-21 10:32:48 -07:00
Moxie Marlinspike
5d910a2997
Store last seen application version number at install time.
2013-05-07 16:31:11 -07:00
Moxie Marlinspike
2305a648fb
Minor refactoring
2013-05-06 08:40:55 -07:00