Jake McGinty
4aa4ab50c4
remove unnecessary "Add Attachment" title
...
//FREEBIE
2015-05-20 15:44:18 -07:00
Moxie Marlinspike
fe4e2fcadb
Support for direct photo capture from app.
...
Make the send button toggle to an attach button when the
compose text and attachments are emmpty.
Part of #520
Closes #3186
// FREEBIE
2015-05-20 13:53:00 -07:00
Jake McGinty
c7d2ed4f7d
Fix 2.3.x fragment LayoutParams issue.
...
Closes #3167
// FREEBIE
2015-05-14 14:59:26 -07:00
Rhodey Orbits
b6e241b0dc
finish ConversationActivity on delete of empty thread
...
Fixes #3086
Closes #3124
// FREEBIE
2015-05-14 14:08:05 -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
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
9ba19df2af
Eliminate ghost thread when all messages deleted in a thread.
...
Fixes #2262
Closes #2842
// FREEBIE
2015-04-16 16:43:58 -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
1f9a0fab3c
Fix sendComplete UI updates on destroyed views
...
Fixes #2915
Closes #2924
// FREEBIE
2015-04-09 11:19:16 -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
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
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
Moxie Marlinspike
6c386d3fc9
Add http to invite url.
...
// FREEBIE
2015-03-25 11:18:38 -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
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
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
Moxie Marlinspike
da75268545
Temporary fix until jake fixes this shit
...
// FREEBIE
2015-03-07 09:02:38 -08:00
agrajaghh
9de62d0286
replace icons in the add attachment dialog
...
Closes #2535
2015-03-03 17:14:31 -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
a59feb7ad4
Rename PushAddress to TextSecureAddress
...
// FREEBIE
2015-02-27 16:57:51 -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
5fac189736
"All images" view for conversations
...
// FREEBIE
2015-02-18 15:47:47 -08:00
Jake McGinty
f818cfa32b
Unjank character count indicators
...
Fixes #1841
// FREEBIE
2015-02-16 13:25:44 -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
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
b88e470594
prevent recipient listener Activity context leak
...
Resolves #2372
Resolves #2425
// FREEBIE
2015-02-11 12:50:20 -08:00
Jake McGinty
62816ee51a
rounded ImageView instead of Bitmap, crop-select
...
// FREEBIE
2015-01-21 17:39:54 -10:00
Jake McGinty
b25b95f933
media constraints model
...
// FREEBIE
2015-01-12 13:20:25 -08:00
Jake McGinty
e67dafe9c8
set conversation actionbar statelessly
...
// FREEBIE
2015-01-04 13:14:09 -08:00
Jake McGinty
ebf6a2d833
remove pointless Bitmap allocation for ImageSlides
...
Fixes #2248
// FREEBIE
2014-12-29 13:49:37 -08:00
Jake McGinty
389128d1a3
fix edit-group intent extras
...
// FREEBIE
2014-12-29 12:58:54 -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
e8b947dfde
Pass recipient ids, not recipient objects
...
Fixes #2233
// FREEBIE
2014-12-22 14:53:28 -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
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
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
Moxie Marlinspike
426c56c77d
Support install link
...
Closes #2001
Fixes #1722
2014-12-12 18:31:20 -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
Moxie Marlinspike
3439657bba
Guard against fragment disappearing before callback.
...
// FREEBIE
2014-11-24 22:48:50 -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
f09abff407
Refactor out old classes.
2014-11-12 15:29:59 -08:00
Moxie Marlinspike
cafe03a70a
Transition the outbound pipeline to JobManager jobs.
2014-11-12 15:26:25 -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
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
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
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
a6c1fdd914
improve some content descriptions
...
// FREEBIE
2014-08-19 19:10:15 -07:00
Jake McGinty
530ad7bc86
new emoji drawer
...
// FREEBIE
Closes #1746
2014-07-26 13:35:03 -07:00
Jake McGinty
5ce6dc954a
move FLAG_SECURE to PassphraseRequiredMixin
...
Fixes #1402
// FREEBIE
2014-06-16 20:41:13 -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
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
ea0fa58265
Add preview of encryption channel in compose text hint.
2014-06-12 16:32:31 -07:00
McLoo
fb13d33e2e
Show drafts emojified when Android version is below KitKat
2014-06-12 11:30:50 -07:00
Veeti Paananen
bd889d8fa9
Reword the very confusing screen security setting
2014-06-12 09:22:39 -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
Jake McGinty
829097d891
send email addresses as mms
...
// FREEBIE
2014-06-03 12:35:56 -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
Moxie Marlinspike
1d07ca3e6f
Remove V1 code.
2014-04-16 11:47:51 -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
7b3f2c169a
Fix issue with weird exiting animation from conversation
...
Fixes #1312
// FREEBIE
2014-04-08 10:57:17 -07: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
Jake McGinty
54a882a11d
new send icons, fix logic for disabling/enabling
...
// FREEBIE
2014-04-03 09:49:50 -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
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
216446c55b
scroll to the new message in conversation
...
// FREEBIE
2014-03-26 15:12:01 -07:00
Jake McGinty
054fcdca8d
Merge pull request #1007 from SamWhited/issue998
...
s/Verify Recipient/Verify Identity/
2014-03-04 13:49:49 -08:00
Sam Whited
fa423e4432
s/Verify Recipient/Verify Identity/
2014-03-04 09:55:45 -05:00
Moxie Marlinspike
0f53c9d170
Merge pull request #966 from backspace/add-video-sharing
...
Support videos from other apps. Fixes #949
2014-03-03 11:01:02 -08:00
Buck Doyle
411e3ceff6
Support videos from other apps. Fixes #949
2014-03-03 11:55:34 -05:00
Benjamin Albrecht
0f6c7660cb
Use modern icons in info and alert dialogs for ICS+
2014-03-01 14:42:12 +01:00
Moxie Marlinspike
a3e900ecbe
Merge pull request #794 from SamWhited/issue788
...
Add option to disable screen security
2014-02-27 18:02:05 -08:00
Sam Whited
384fb3b2b5
Add option to disable screen security
...
See WhisperSystems/TextSecure#788
2014-02-27 19:00:39 -05:00
Benjamin Albrecht
bf60f90019
Don't show letter count inside a push group or when SMS mode is disabled
2014-02-27 09:32:19 +01:00
Moxie Marlinspike
82df23dd41
Temporarily bring back end session.
2014-02-25 17:38:55 -08:00
Moxie Marlinspike
2ab8c77748
Correctly update group title.
2014-02-24 00:37:11 -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
fc12f2cf8e
disable subtitle for push groups
...
// FREEBIE
2014-02-23 23:59:13 -08:00
Jake McGinty
86b3de2a93
group updates do things
...
// FREEBIE
2014-02-23 21:18:08 -08:00
Moxie Marlinspike
9298dded15
Only disable inactive *push* group conversations.
2014-02-23 14:37:41 -08:00
Jake McGinty
8794661433
fix "end session" inflation
...
// FREEBIE
2014-02-22 22:22:39 -08:00
Moxie Marlinspike
9c9866e7ee
Add 'leave group' functionality. Includes other bug fixes.
2014-02-22 10:54:43 -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
2a74dc8d82
Update the conversation UI after aborting a V1 session.
2014-02-20 12:06:11 -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
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