McLoo
c7dd956f45
Fix for getting the device number with national prefix
...
Closes #2312
2015-12-10 05:04:03 -08:00
Moxie Marlinspike
8a3762b337
Don't issue new user notification if secure session exists
...
Fixes #4800
// FREEBIE
2015-12-10 05:04:03 -08:00
Philippe Laferriere
03faff443c
Removed lazy class SmsTransportDetails
...
Moved constants into SmsCharacterCalculator.
Closes #4788
2015-12-03 11:52:12 -08:00
Geonu Kang
afb21203b7
Extract "Today" in device list item to string resource
...
Related to #4752
Closes #4780
// FREEBIE
2015-12-02 09:36:32 -08:00
Geonu Kang
e83827ab75
"image/jpg"->"image/jpeg" on MIME type checks and saving
...
Fixes #4602
Closes #4643
2015-11-27 13:04:59 -08:00
Moxie Marlinspike
2ab0029d49
Support for archive actions
...
Fixes #1141
Closes #4698
// FREEBIE
2015-11-27 12:45:23 -08:00
Moxie Marlinspike
785f737244
Limit 'last active' device timestamp to day level precision
...
Closes #4614
// FREEBIE
2015-11-26 07:24:57 -08:00
Jake McGinty
3bfb123b33
fix selfie horizontal flip
...
Closes #4635
// FREEBIE
2015-11-26 07:24:56 -08:00
Geonu Kang
c4f9bc2b5e
Improve date localization for API >= 18 (4.3, JELLY_BEAN_MR2)
...
Fixes #3102
Closes #4597
2015-11-26 07:24:56 -08:00
Moxie Marlinspike
fc5777e904
Manually encode voice messages to AAC with ADTS headers
...
Should resolve issues with platforms that don't support AMR (!).
Fixes #4640
Fixes #4652
Fixes #4647
// FREEBIE
2015-11-23 11:42:02 -08:00
Moxie Marlinspike
bfe4ad6c34
Voice notes
...
Closes #4610
Closes #3563
// FREEBIE
2015-11-19 17:37:48 -08:00
Jake McGinty
bcd08956bd
clear drafts immediately upon sending or new intent
...
fixes #3843
closes #3850
Closes #4571
// FREEBIE
2015-11-19 10:59:10 -08:00
heyimgay
ce1c6e2372
signalize attachment filename
...
Closes #4541
2015-11-19 10:42:49 -08:00
Christian Ascheberg
1d8aef1669
Plural group join message
...
Closes #4535
Fixes #4521
// FREEBIE
2015-11-19 10:40:57 -08:00
agrajaghh
9201d50f05
let the quick camera remember front/back mode
...
fixes #4438
closes #4440
//FREEBIE
2015-11-19 10:30:26 -08:00
agrajaghh
c4339813e6
migrate to AppCompatDialog
...
closes #3222
2015-11-19 10:30:26 -08:00
McLoo
6c20a4c08b
Change 'Title' to 'Group name' in group update message
...
closes #3424
//FREEBIE
2015-11-19 10:30:26 -08:00
Moxie Marlinspike
058bcf1f4a
More shortcode fixes for Germany
...
// FREEBIE
2015-11-16 11:35:11 -08:00
Moxie Marlinspike
69f5aacd25
Consider everything <= len(4) a short code, except short countries
...
// FREEBIE
2015-11-14 15:17:05 -08:00
Jake McGinty
5b1e5b18f9
reset contact selection after batch invite
...
fixes #4452
Closes #4498
// FREEBIE
2015-11-12 15:20:16 -08:00
Moxie Marlinspike
fb9ba8cb8d
Tint audio controls to be visible in dark theme
...
Fixes #4353
Closes #4466
// FREEBIE
2015-11-12 15:20:16 -08:00
Moxie Marlinspike
b136fed6f7
Update contact DB on incoming messages
...
When we receive a Signal message from a previously unregistered
user, reflect that in the contact DB.
Fixes #3949
Closes #4492
// FREEBIE
2015-11-12 15:20:16 -08:00
Jake McGinty
fb8d6cb538
contact selection reeemix
...
1) RecyclerView-based, with better long scroller
and more material-inspired look.
2) Add badge for Signal users to contact selection
list.
// FREEBIE
2015-11-12 15:20:16 -08:00
Moxie Marlinspike
7bec5efe1a
Add 'Signal Call' option to contact card
...
Fixes #4392
Closes #4465
// FREEBIE
2015-11-12 15:20:16 -08:00
Jake McGinty
d05097a6fd
Refactor group logic (no visual changes)
...
Closes #4480
// FREEBIE
2015-11-12 15:20:16 -08:00
RiseT
7f0b0803bc
Change 'SD card' to 'storage' & cosmetic corrections
...
Fixes #3920
2015-11-12 15:20:16 -08:00
Moxie Marlinspike
aade4c7af3
Correctly set audio mode
...
Fixes #4244
// FREEBIE
2015-11-04 17:56:20 -08:00
Jake McGinty
3e798a9863
batch invitation
...
// FREEBIE
2015-11-04 17:56:20 -08:00
Moxie Marlinspike
8d82033855
Notify when contacts join Signal
...
Closes #4314
// FREEBIE
2015-11-04 17:56:20 -08:00
Jake McGinty
8fd0ea39aa
Simplify excessively convoluted camera logic
...
1) QuickCamera logic moved into CameraView
2) The strategies for texture vs. surface view were too complex
with no observed gain. Better to remove and have to re-add
if necessary than assume it to be necessary.
3) Drop CWAC-Camera dependency - the device profiles weren't being
used very much and even that is deprecated so we'd be left on
our own with new hardware. Not worth it.
4) Selfies first.
5) Layout/orientation mathy logic from CWAC moved into CameraUtils,
with the hopes that most of it might be further simplified or
rendered unnecessary in the future.
Closes #4326
// FREEBIE
2015-11-04 17:56:20 -08:00
Moxie Marlinspike
11a93fabe5
Synchronize with paired devices when a contact changes.
...
// FREEBIE
2015-11-04 17:56:19 -08:00
Moxie Marlinspike
4271732b10
Be more rigorous about discerning media message thread.
...
Fixes #4312
// FREEBIE
2015-10-28 10:24:55 -07:00
Moxie Marlinspike
c258b4c7aa
Expand MMS-specific queries, properly parse incoming MMS.
...
// FREEBIE
2015-10-24 09:40:04 -07:00
Jake McGinty
4ffb1ea95e
in-conversation invite reminder
...
Closes #4250
// FREEBIE
2015-10-15 13:23:37 -07:00
Moxie Marlinspike
09e52834a6
Refactor "parts" to contain MMS/PDU madness to MMS code paths.
...
Closes #4248
// FREEBIE
2015-10-15 11:11:39 -07:00
Moxie Marlinspike
c041495834
Correctly parse RedPhone JSON.
...
Fixes #4182
// FREEBIE
2015-10-02 11:42:24 -07:00
Jake McGinty
3035dc4df9
Experience upgrade splash screen.
...
Behaves similarly to the DatabaseUpgradeActivity. You have a
static list of ExperienceUpgrade models that include a "trigger"
version, where when a user upgrades through it a notification
will appear, and there will be a splash explanation screen.
Right now the splash screens are basic and not too configurable,
but that can be reworked as upgrades demand.
Closes #4151
2015-09-30 18:29:54 -07:00
Moxie Marlinspike
31e20ca87e
Distinguish between secure and insecure call in conversation menu.
...
// FREEBIE
2015-09-30 14:30:11 -07:00
Moxie Marlinspike
7377e6c7da
Support for syncing and checking secure voice support.
...
// FREEBIE
2015-09-30 14:30:10 -07:00
Jake McGinty
99d3374d35
migrate conversation list to RecyclerView
...
fixes #2488
fixes #2333
// FREEBIE
2015-09-24 14:12:09 -07:00
Jake McGinty
9ea53d7b1e
fix gingerbread view issues
...
Closes #4085
// FREEBIE
2015-09-20 19:40:32 -07:00
Jake McGinty
6ae38d0718
fix glide bitmap locking issue
...
Closes #4086
// FREEBIE
2015-09-20 19:08:40 -07:00
Jake McGinty
92b2da0286
download control details
...
Closes #4063
// FREEBIE
2015-09-17 12:51:57 -07:00
Moxie Marlinspike
0794380ca8
Listen for recipient changes in conversations and group updates.
...
Closes #4079
// FREEBIE
2015-09-17 12:22:35 -07:00
Jake McGinty
415a61a09b
TransferControlView
...
Closes #4044
// FREEBIE
2015-09-17 12:22:01 -07:00
Jake McGinty
e077cc6581
advanced pref to use android emoji
...
// FREEBIE
2015-09-17 12:20:25 -07:00
Jake McGinty
551274f167
Large attachment support
...
Closes #4019
// FREEBIE
2015-09-17 12:20:25 -07:00
Jake McGinty
103686f89b
damnit, glide.
...
fixes #2957
// FREEBIE
2015-09-04 12:47:48 -07:00
Jake McGinty
6d0e783236
fix GB StringSet compat issue.
...
// FREEBIE
2015-09-03 14:04:47 -07:00
Jake McGinty
80ce83ef9d
Media download controls
...
Closes #3991
// FREEBIE
2015-09-03 11:40:55 -07:00
Sam Lanning
99adbe5784
Made some inner classes static (For Efficiency)
...
(and made one explicitly private)
Closes #3932
// FREEBIE
2015-09-02 12:46:56 -07:00
Jake McGinty
0c9d9e8dcf
use glide for encoding and resizing outgoing media
...
Closes #3915
// FREEBIE
2015-09-02 12:34:28 -07:00
Jake McGinty
1641fd91cf
let ThumbnailView handle remove button placement
...
Closes #3849
// FREEBIE
2015-09-02 12:23:24 -07:00
Moxie Marlinspike
120cde9917
Support for notification privacy settings.
...
// FREEBIE
2015-08-05 13:06:37 -07:00
Jake McGinty
c36c759c8b
fix EmojiTextView...
...
Closes #3837
// FREEBIE
2015-07-29 16:17:27 -07:00
Jake McGinty
5cf95f5b3d
fix issue with camera controls going missing
...
fixes #3775
Closes #3823
// FREEBIE
2015-07-29 16:17:27 -07:00
Jake McGinty
13bad6dfed
Smooth transition for custom keyboards and softkey
...
Closes #3786
Fixes #3780
// FREEBIE
2015-07-29 16:17:26 -07:00
Jake McGinty
24e14cbc73
fix gif NPE
...
// FREEBIE
2015-07-29 16:17:26 -07:00
Jake McGinty
f13ad54ba1
ditch RoundedImageView, make animated gifs work
...
// FREEBIE
2015-07-29 16:17:26 -07:00
Jake McGinty
39c0fc0e5a
add sane default emoji panel size
...
fixes #3661
Closes #3691
// FREEBIE
2015-07-20 16:12:29 -07:00
Jake McGinty
1a7ab6346f
re-enable direct capture
...
Closes #3664
// FREEBIE
2015-07-16 11:15:56 -07:00
Moxie Marlinspike
32cb489d1d
Make directory refresh async task more careful.
...
// FREEBIE
2015-07-16 11:15:56 -07:00
Moxie Marlinspike
704f2b91e2
Clean up contact queries.
...
// FREEBIE
2015-07-16 11:15:56 -07:00
Moxie Marlinspike
d1940fe0f9
Support for populating contacts DB with TS account type.
...
// FREEBIE
2015-07-16 11:15:56 -07:00
Jake McGinty
bc787f20e3
Resolve emoji keyboard layout issues
...
1) orientation changes are now properly handled
2) emoji panel will not overrun the actionbar and composition area
in space-contentious situations (quick reply popup)
Closes #3553
fixes #3501
fixes #3485
fixes #3199
// FREEBIE
2015-07-08 17:26:23 -07:00
Jake McGinty
54a37cc658
refactor direct capture
...
Closes #3516
// FREEBIE
2015-07-08 16:02:39 -07:00
Calvin Hu
c4a37e38ab
Add camera preview to message composition
2015-07-08 16:01:57 -07:00
Moxie Marlinspike
3c41f27298
Support for multi-device contact sync.
...
// FREEBIE
2015-06-24 18:30:55 -07:00
Moxie Marlinspike
2016fa315b
Support for quick reply from notifications.
...
Fixes #483
Closes #3455
// FREEBIE
2015-06-24 18:30:55 -07:00
Moxie Marlinspike
e16735bbbd
Switch from 180 -> 90 day expiration.
...
// FREEBIE
2015-06-18 10:03:10 -07:00
Jake McGinty
e420861151
decode bitmaps as RGB565
...
cuts decoding memory in half
Closes #3350
// FREEBIE
2015-06-18 10:03:10 -07:00
Jake McGinty
f72cd5b0ff
fix "rough scaling" bitmaps
...
Fixes #3347
Closes #3408
// FREEBIE
2015-06-12 09:17:24 -07:00
Moxie Marlinspike
40af2a81db
Support for per-recipient muting, blocking, and ringtones.
...
Fixes #757
Fixes #354
Fixes #222
Closes #1815
Closes #3378
// FREEBIE
2015-06-11 11:09:02 -07:00
Jake McGinty
3f6aae633e
reduce max image size on low-mem devices
...
Closes #3343
// FREEBIE
2015-06-09 08:24:14 -07:00
agrajaghh
570f79d91a
fix unit strings
...
Fixes #3295
Closes #3320
//FREEBIE
2015-06-03 11:44:50 -07:00
Jake McGinty
a3007c5906
Fix flickering emoji and periodic emoji vanishings
...
Fixes #3231
Closes #3233
// FREEBIE
2015-05-22 13:56:39 -07:00
agrajaghh
257660200a
add dark theme to PassphrasePromptActivity
...
Fixes #2296
Closes #2307
Closes #2627
2015-05-20 16:29:37 -07:00
Moxie Marlinspike
082985276f
Fix for media thumbnails flickering on model updates.
...
Only update ImageView contents when they have changed.
Fixes #1004
Fixes #2663
Closes #3184
// FREEBIE
2015-05-20 13:07:39 -07:00
Moxie Marlinspike
636b11abea
Refactor ContactSelectionListAdapter and associated views.
...
Fixes #3181
Closes #3197
// FREEBIE
2015-05-20 12:52:43 -07:00
Jake McGinty
fa39c23d44
ReceiveKeyActivity -> ReceiveKeyDialog
...
Closes #3158
// FREEBIE
2015-05-20 12:39:59 -07:00
Jake McGinty
cf420de65f
fix recent emoji pane
...
1) Make recent list properly update and invalidate.
2) Show most-recently-used first.
3) Refactoring
Closes #3171
// FREEBIE
2015-05-15 17:15:47 -07:00
Moxie Marlinspike
4f78309e51
Fix for deadlock if MessageNotifier called from UI thread.
...
Fixes #3173
// FREEBIE
2015-05-15 08:27:38 -07:00
Rhodey Orbits
d0f26f3e97
switch default led color to blue
...
Fixes #3115
Closes #3116
// FREEBIE
2015-05-14 14:23:35 -07:00
Jake McGinty
bf133c65c3
refactor emoji code into package
...
1) EmojiTextView and EmojiEditText are used instead of
using code to emojify text.
2) Emoji categories' code points are specified in XML
3) EmojiDrawer itself is a fragment, and its pages are
also fragments, allowing for better memory
management.
Fixes #2938
Fixes #2936
Closes #3153
// FREEBIE
2015-05-14 13:54:11 -07:00
Moxie Marlinspike
e62528d3e2
Fix for lollipop notifications not rendering generated avatars.
...
// FREEBIE
Fixes #3120
Closes #3122
2015-05-07 16:34:17 -07:00
Moxie Marlinspike
4ad9d6b5cc
Fix for drawable modification on background thread.
...
// FREEBIE
2015-05-07 11:34:07 -07:00
Moxie Marlinspike
41cad291f9
Display a generated avatar icon rather than a single default.
...
If the contact doesn't have an image, render a color-coded
background and the first letter of the contact's name.
1) Don't display anything during recipient resolution.
2) Display a # icon in material gray for recipients with no name.
3) Display a material group icon in material gray for groups with
no avatar icon set.
Closes #3104
// FREEBIE
2015-05-07 10:36:54 -07:00
Rhodey Orbits
8f002bd68d
fix handling of sms:, smsto:, mms:, mmsto: URIs
...
1) add VIEW action and BROWSABLE category to SmsSendtoActivity intent filter
2) created class Rfc5724Uri for processing RFC5724 SMS URIs
3) added a set of tests for new Rfc5724Uri class
4) updated SmsSendtoActivity to use Rfc5742Uri for processing VIEW intents
Fixes #2578
Closes #3030
// FREEBIE
2015-04-30 11:54:38 -07:00
Rhodey Orbits
d8521637bb
use Locale from DynamicLanguage for displaying dates
...
1) fixed DateUtils to use SimpleDateFormat for everything because it respects Locale
2) added getCurrentLocale() method to DynamicLanguage
3) allow PassphraseRequiredActionBarActivity.initFragment() to accept a Locale
4) updated classes that depend on DateUtils to pass down Locale from DynamicLanguage
Fixes #2684
Closes #2725
// FREEBIE
2015-04-23 13:56:31 -05:00
Rhodey Orbits
c6a4877391
Fix recent emoji sort order
...
The recent emoji tab was sorting emoji as last in last out instead
of last in first out. Also, if an emoji was already in the recent
emoji cache its order would not be updated on reinsert.
Fixes #2967
Closes #2946
// FREEBIE
2015-04-22 11:40:37 -07:00
Jake McGinty
f42d100f15
Use Glide for loading part thumbnails
...
Closes #2885
// FREEBIE
2015-04-21 14:27:51 -07:00
agrajaghh
8de695585d
remove unused EncryptedSmsCharacterCalculator
...
Closes #3000
//FREEBIE
2015-04-16 08:42:00 -07:00
Jake McGinty
64fc83326f
bump sdk to 22, update notifications
...
Notification updates include:
1) Setting theme colors
2) Using high-res contact photos
3) Updating the notification icon to latest
Closes #2935
Fixes #2923
Fixes #2732
Fixes #2548
// FREEBIE
2015-04-16 08:38:31 -07:00
Moxie Marlinspike
b9541a65b0
Fix list partitioning helper.
...
Fixes #2934
// FREEBIE
2015-04-12 10:07:30 -07:00
Moxie Marlinspike
0efdada928
Prompt user to rate app
...
Closes #2841
// FREEBIE
2015-04-02 17:30:30 -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
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
Jake McGinty
0ff99258ac
move routing logic to all activities
...
Fixes #2239
Closes #27923
// FREEBIE
2015-04-01 10:23:05 -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
62181a3d7f
migrate AlertDialog to material-dialogs
...
Closes #2743
2015-03-25 11:50:52 -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
073d019103
Fix SMIL regression
...
Closes #2654
// FREEBIE
2015-03-19 11:56:45 -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
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
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
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
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
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
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
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
Jake McGinty
f818cfa32b
Unjank character count indicators
...
Fixes #1841
// FREEBIE
2015-02-16 13:25:44 -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
Jake McGinty
b1bf33b13b
Fix SaveAttachmentTask NPE
...
resolves #2454
// FREEBIE
2015-02-11 11:42:36 -08:00
Jake McGinty
0fd52ad1fe
more succinct relative dates
...
// FREEBIE
2015-02-06 13:00:21 -08:00
Jake McGinty
8f3f2e6921
fix empty group update messages
...
// FREEBIE
2015-02-05 19:38:08 -08:00
Jake McGinty
2e253fb6a8
provisioning dialog rework
...
// 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
Jake McGinty
bade52d748
fix early recycling of thumbnail
...
// FREEBIE
2015-01-13 14:17:03 -10: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
348352cc71
Bitmap OOM and rotation fixes
...
// FREEBIE
2014-12-29 16:42:22 -08:00
Jake McGinty
2e141b2a90
group visual fixes
...
// FREEBIE
2014-12-29 14:34:09 -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
guiweber
d7419caa4b
Moved several hard-coded UI strings to strings.xml
...
Closes #2203
2014-12-29 12:29:48 -08:00
Jake McGinty
121b1493cc
thumbnail generation and disk caching
...
// FREEBIE
2014-12-24 14:46:50 -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
agrajaghh
cef203f261
rotate images based on exif information
...
Closes #1847
2014-12-13 16:45:39 -08:00
Jake McGinty
07bb07c342
streaming media
...
// FREEBIE
2014-12-12 18:49:32 -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
df12174458
Add support for notification reminders.
...
// FREEBIE
Closes #1623
Fixes #323
2014-12-11 19:38:46 -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
Moxie Marlinspike
4e98c350a5
Support localization in passphrase activity and lock notification.
...
// FREEBIE
Closes #1328
2014-12-11 15:04:32 -08: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
McLoo
49f77c9c06
Added l10n for message trimmer
...
//FREEBIE
Closes #2079
Closes #1868
2014-11-29 13:31:44 -08:00
Moxie Marlinspike
0d01feebc3
Move directory refresh from a service over to a job.
...
// FREEBIE
2014-11-27 15:24:26 -08:00
Moxie Marlinspike
d72a3ec669
Do thread trimming as JobManager job rather than AsyncTask.
...
// FREEBIE
2014-11-24 22:50:32 -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
601e233d47
Add account management interface to libtextsecure api
2014-11-12 15:28:08 -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
7df49811b7
replace ABS with AppCompat
...
// FREEBIE
2014-10-29 16:51:55 -07:00
Jake McGinty
53da1f849a
in-app image media preview
...
// FREEBIE
2014-10-28 00:50:01 -05: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
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