mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-26 09:27:54 +00:00
Remove encrypted SMS transport, simplify transport options.
Closes #2647 // FREEBIE
This commit is contained in:
@@ -78,7 +78,7 @@
|
||||
android:contentDescription="@string/conversation_activity__emoji_toggle_description"
|
||||
android:padding="10dp"/>
|
||||
|
||||
<EditText
|
||||
<org.thoughtcrime.securesms.components.ComposeText
|
||||
android:id="@+id/embedded_text_editor"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
@@ -89,7 +89,7 @@
|
||||
android:paddingRight="0dp"
|
||||
android:imeOptions="actionSend|flagNoEnterAction|flagNoExtractUi"
|
||||
android:inputType="textShortMessage|textAutoCorrect|textCapSentences|textMultiLine"
|
||||
android:maxLength="1000"
|
||||
android:maxLength="2000"
|
||||
android:maxLines="4"
|
||||
android:nextFocusForward="@+id/send_button"
|
||||
android:nextFocusRight="@+id/send_button"
|
||||
|
@@ -1,53 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="15dp"
|
||||
android:paddingLeft="15dp"
|
||||
android:paddingBottom="15dp"
|
||||
android:paddingRight="10dp">
|
||||
|
||||
<CheckBox android:id="@+id/data_users"
|
||||
style="@style/TextSecureDialogPrimaryText"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:checkMark="?android:attr/listChoiceIndicatorMultiple"
|
||||
android:singleLine="true"
|
||||
android:text="@string/preferences__sms_outgoing_push_users" />
|
||||
|
||||
<TextView
|
||||
style="@style/TextSecureDialogSecondaryText"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="-5dp"
|
||||
android:layout_marginLeft="32dp"
|
||||
android:textSize="12sp"
|
||||
android:text="@string/preferences__sms_outgoing_push_users_description" />
|
||||
|
||||
<CheckBox android:id="@+id/ask_before_fallback_data"
|
||||
style="@style/TextSecureDialogPrimaryText"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
android:checkMark="?android:attr/listChoiceIndicatorMultiple"
|
||||
android:text="@string/preferences__sms_fallback_ask_before_sending_sms_mms"
|
||||
android:layout_marginLeft="25dp" />
|
||||
|
||||
<CheckBox android:id="@+id/never_send_mms"
|
||||
style="@style/TextSecureDialogPrimaryText"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="14sp"
|
||||
android:checkMark="?android:attr/listChoiceIndicatorMultiple"
|
||||
android:text="@string/preferences__sms_fallback_never_send_mms"
|
||||
android:layout_marginLeft="25dp" />
|
||||
|
||||
<CheckBox android:id="@+id/non_data_users"
|
||||
style="@style/TextSecureDialogPrimaryText"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:checkMark="?android:attr/listChoiceIndicatorMultiple"
|
||||
android:text="@string/preferences__sms_fallback_non_push_users" />
|
||||
|
||||
</LinearLayout>
|
@@ -77,7 +77,8 @@
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button android:id="@+id/skipButton"
|
||||
android:text="@string/registration_activity__skip"
|
||||
android:visibility="gone"
|
||||
android:text="@android:string/cancel"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="5dip"
|
||||
|
@@ -1,13 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item android:title="@string/conversation_insecure__security"
|
||||
android:id="@+id/menu_security"
|
||||
android:icon="?menu_unlock_icon"
|
||||
app:showAsAction="ifRoom">
|
||||
<menu>
|
||||
<item android:title="@string/conversation_insecure__menu_start_secure_session"
|
||||
android:id="@+id/menu_start_secure_session" />
|
||||
|
||||
</menu>
|
||||
</item>
|
||||
</menu>
|
@@ -143,48 +143,6 @@
|
||||
<item>custom</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="transport_selection_entries_text">
|
||||
<item>@string/ConversationActivity_transport_insecure_sms</item>
|
||||
<item>@string/ConversationActivity_transport_secure_sms</item>
|
||||
<item>@string/ConversationActivity_transport_textsecure</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="transport_selection_entries_media">
|
||||
<item>@string/ConversationActivity_transport_insecure_mms</item>
|
||||
<item>@string/ConversationActivity_transport_secure_mms</item>
|
||||
<item>@string/ConversationActivity_transport_textsecure</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="transport_selection_entries_compose_text">
|
||||
<item>@string/conversation_activity__type_message_sms_insecure</item>
|
||||
<item>@string/conversation_activity__type_message_sms_secure</item>
|
||||
<item>@string/conversation_activity__type_message_push</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="transport_selection_entries_compose_media">
|
||||
<item>@string/conversation_activity__type_message_mms_insecure</item>
|
||||
<item>@string/conversation_activity__type_message_mms_secure</item>
|
||||
<item>@string/conversation_activity__type_message_push</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="transport_selection_values">
|
||||
<item>insecure_sms</item>
|
||||
<item>secure_sms</item>
|
||||
<item>textsecure</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="transport_selection_icons_light">
|
||||
<item>@drawable/ic_send_sms_insecure</item>
|
||||
<item>@drawable/ic_send_sms_secure</item>
|
||||
<item>@drawable/ic_send_push</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="transport_selection_icons_dark">
|
||||
<item>@drawable/ic_send_sms_insecure_dark</item>
|
||||
<item>@drawable/ic_send_sms_secure</item>
|
||||
<item>@drawable/ic_send_push</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="pref_repeat_alerts_entries">
|
||||
<item>@string/preferences__never</item>
|
||||
<item>@string/preferences__one_time</item>
|
||||
|
@@ -31,7 +31,8 @@
|
||||
<attr name="conversation_send_button_sms_secure" format="reference"/>
|
||||
<attr name="conversation_send_button_sms_insecure" format="reference"/>
|
||||
<attr name="conversation_delivery_delivered" format="reference"/>
|
||||
<attr name="conversation_transport_indicators" format="reference"/>
|
||||
<attr name="conversation_transport_sms_indicator" format="reference"/>
|
||||
<attr name="conversation_transport_push_indicator" format="reference"/>
|
||||
<attr name="conversation_transport_popup_background" format="reference"/>
|
||||
<attr name="conversation_emoji_toggle" format="reference"/>
|
||||
<attr name="conversation_keyboard_toggle" format="reference"/>
|
||||
|
@@ -78,15 +78,11 @@
|
||||
<string name="ConversationItem_error_received_stale_key_exchange_message">Error, received stale key exchange message.</string>
|
||||
<string name="ConversationItem_received_key_exchange_message_click_to_process">Received key exchange message, click to process.</string>
|
||||
<string name="ConversationItem_group_action_left">%1$s has left the group.</string>
|
||||
<string name="ConversationItem_click_to_approve_sms">Tap for SMS fallback</string>
|
||||
<string name="ConversationItem_click_to_approve_mms">Tap for MMS fallback</string>
|
||||
<string name="ConversationItem_click_for_details">Tap for details</string>
|
||||
<string name="ConversationItem_click_to_approve_unencrypted">Tap for unsecured fallback</string>
|
||||
<string name="ConversationItem_click_to_approve_sms_dialog_title">Fallback to SMS?</string>
|
||||
<string name="ConversationItem_click_to_approve_mms_dialog_title">Fallback to MMS?</string>
|
||||
<string name="ConversationItem_click_to_approve_unencrypted_sms_dialog_title">Fallback to unencrypted SMS?</string>
|
||||
<string name="ConversationItem_click_to_approve_unencrypted_mms_dialog_title">Fallback to unencrypted MMS?</string>
|
||||
<string name="ConversationItem_click_to_approve_unencrypted_dialog_message">This message will <b>not</b> be encrypted because a secure session could not be established.\n\nSend unsecured message?</string>
|
||||
<string name="ConversationItem_click_to_approve_unencrypted_dialog_message">This message will <b>not</b> be encrypted because the recipient is no longer a TextSecure user.\n\nSend unsecured message?</string>
|
||||
<string name="ConversationItem_unable_to_open_media">Can\'t find an app able to open this media.</string>
|
||||
|
||||
<!-- ConversationActivity -->
|
||||
@@ -117,8 +113,6 @@
|
||||
<string name="ConversationActivity_are_you_sure_you_want_to_leave_this_group">Are you sure you want to leave this group?</string>
|
||||
<string name="ConversationActivity_transport_insecure_sms">Insecure SMS</string>
|
||||
<string name="ConversationActivity_transport_insecure_mms">Insecure MMS</string>
|
||||
<string name="ConversationActivity_transport_secure_sms">Secure SMS</string>
|
||||
<string name="ConversationActivity_transport_secure_mms">Secure MMS</string>
|
||||
<string name="ConversationActivity_transport_textsecure">TextSecure</string>
|
||||
<string name="ConversationActivity_get_with_it">Get with it: %s</string>
|
||||
<string name="ConversationActivity_install_textsecure">Install TextSecure: %s</string>
|
||||
@@ -294,10 +288,6 @@
|
||||
<string name="ReceiveKeyActivity_you_may_wish_to_verify_this_contact">You may wish to verify
|
||||
this contact.
|
||||
</string>
|
||||
<string name="ReceiveKeyActivity_the_signature_on_this_key_exchange_is_trusted_but">The
|
||||
signature on this key exchange is trusted, but you have the \'automatically complete key
|
||||
exchanges\' setting disabled.
|
||||
</string>
|
||||
<string name="ReceiveKeyActivity_processing">Processing</string>
|
||||
<string name="ReceiveKeyActivity_processing_key_exchange">Processing key exchange…</string>
|
||||
|
||||
@@ -453,10 +443,6 @@
|
||||
<!-- QuickResponseService -->
|
||||
<string name="QuickResponseService_sorry_quick_response_is_not_yet_supported_by_textsecure">Sorry, Quick Response is not yet supported by TextSecure!</string>
|
||||
|
||||
<!-- auto_initiate_activity -->
|
||||
<string name="auto_initiate_activity__you_have_received_a_message_from_someone_who_supports_textsecure_encrypted_sessions_would_you_like_to_initiate_a_secure_session">You have received a message from someone who supports TextSecure encrypted sessions. Would you like to initiate a secure session?</string>
|
||||
<string name="auto_initiate_activity__initiate_exchange">Initiate exchange</string>
|
||||
|
||||
<!-- change_passphrase_activity -->
|
||||
<string name="change_passphrase_activity__old_passphrase">OLD PASSPHRASE:</string>
|
||||
<string name="change_passphrase_activity__new_passphrase">NEW PASSPHRASE:</string>
|
||||
@@ -581,7 +567,7 @@
|
||||
|
||||
<!-- registration_activity -->
|
||||
<string name="registration_activity__textsecure_can_use_instant_messages_to_avoid_sms_charges_when_communicating_with_other_textsecure_users">
|
||||
Registering is free and increases privacy when messaging other TextSecure users. Please verify your phone number.
|
||||
Verify your phone number to connect with TextSecure.
|
||||
</string>
|
||||
<string name="registration_activity__your_country">YOUR COUNTRY</string>
|
||||
<string name="registration_activity__your_country_code_and_phone_number">YOUR COUNTRY CODE AND
|
||||
@@ -590,7 +576,6 @@
|
||||
<string name="registration_activity__phone_number">PHONE NUMBER</string>
|
||||
<string name="registration_activity__register">Register</string>
|
||||
<string name="registration_activity__registration_will_transmit_some_contact_information_to_the_server_temporariliy">Registration transmits some contact information to the server. It is not stored.</string>
|
||||
<string name="registration_activity__skip">Skip</string>
|
||||
|
||||
<!-- registration_problems -->
|
||||
<string name="registration_problems__some_possible_problems_include">Some possible problems
|
||||
@@ -689,7 +674,6 @@
|
||||
<string name="AndroidManifest__public_identity_key">Public identity key</string>
|
||||
<string name="AndroidManifest__change_passphrase">Change passphrase</string>
|
||||
<string name="AndroidManifest__verify_identity">Verify identity</string>
|
||||
<string name="AndroidManifest__complete_key_exchange">Complete key exchange</string>
|
||||
<string name="AndroidManifest__log_submit">Submit debug logs</string>
|
||||
<string name="AndroidManifest__media_preview">Media Preview</string>
|
||||
<string name="AndroidManifest__media_overview">All images</string>
|
||||
@@ -730,13 +714,11 @@
|
||||
<string name="preferences__choose_your_contact_entry_from_the_contacts_list">Choose your contact entry from the contacts list.</string>
|
||||
<string name="preferences__change_passphrase">Change passphrase</string>
|
||||
<string name="preferences__change_my_passphrase">Change my passphrase</string>
|
||||
<string name="preferences__complete_key_exchanges">Complete key exchanges</string>
|
||||
<string name="preferences__enable_passphrase">Enable passphrase</string>
|
||||
<string name="preferences__passphrase_summary">Passphrase %s</string>
|
||||
<string name="preferences__enable_local_encryption_of_messages_and_keys">Enable local encryption of messages and keys</string>
|
||||
<string name="preferences__screen_security">Screen security</string>
|
||||
<string name="preferences__screen_security_summary">Screen security %s</string>
|
||||
<string name="preferences__automatically_complete_key_exchanges_for_new_sessions_or_for_existing_sessions_with_the_same_identity_key">Automatically complete key exchanges for new sessions or for existing sessions with the same identity key</string>
|
||||
<string name="preferences__disable_screen_security_to_allow_screen_shots">Block screenshots in the recents list and inside the app</string>
|
||||
<string name="preferences__forget_passphrase_from_memory_after_some_interval">Forget passphrase from memory after some interval</string>
|
||||
<string name="preferences__timeout_passphrase">Timeout passphrase</string>
|
||||
@@ -840,13 +822,6 @@
|
||||
<!-- refreshing push directory from menu -->
|
||||
<string name="push_directory__menu_refresh">Refresh contact list</string>
|
||||
|
||||
<!-- conversation_button_context -->
|
||||
<string name="conversation_button_context__send_textsecure_message">Send TextSecure message</string>
|
||||
<string name="conversation_button_context__send_secure_sms">Send secure SMS</string>
|
||||
<string name="conversation_button_context__send_insecure_sms">Send unsecured SMS</string>
|
||||
<string name="conversation_button_context__send_secure_mms">Send secure MMS</string>
|
||||
<string name="conversation_button_context__send_insecure_mms">Send unsecured MMS</string>
|
||||
|
||||
<!-- conversation_callable -->
|
||||
<string name="conversation_callable__menu_call">Call</string>
|
||||
|
||||
|
@@ -48,7 +48,8 @@
|
||||
<item name="conversation_send_button_sms_secure">@drawable/ic_send_sms_secure</item>
|
||||
<item name="conversation_send_button_sms_insecure">@drawable/ic_send_sms_insecure</item>
|
||||
<item name="conversation_delivery_delivered">@drawable/ic_delivery_delivered_dark</item>
|
||||
<item name="conversation_transport_indicators">@array/transport_selection_icons_light</item>
|
||||
<item name="conversation_transport_sms_indicator">@drawable/ic_send_sms_insecure_dark</item>
|
||||
<item name="conversation_transport_push_indicator">@drawable/ic_send_push</item>
|
||||
<item name="conversation_transport_popup_background">@color/white</item>
|
||||
<item name="conversation_emoji_toggle">@drawable/ic_emoji_dark</item>
|
||||
<item name="conversation_keyboard_toggle">@drawable/ic_ime_dark</item>
|
||||
@@ -173,7 +174,8 @@
|
||||
<item name="conversation_send_button_sms_secure">@drawable/ic_send_sms_secure</item>
|
||||
<item name="conversation_send_button_sms_insecure">@drawable/ic_send_sms_insecure_dark</item>
|
||||
<item name="conversation_delivery_delivered">@drawable/ic_delivery_delivered_dark</item>
|
||||
<item name="conversation_transport_indicators">@array/transport_selection_icons_dark</item>
|
||||
<item name="conversation_transport_sms_indicator">@drawable/ic_send_sms_insecure_dark</item>
|
||||
<item name="conversation_transport_push_indicator">@drawable/ic_send_push</item>
|
||||
<item name="conversation_transport_popup_background">@color/black</item>
|
||||
<item name="conversation_emoji_toggle">@drawable/ic_emoji_light</item>
|
||||
<item name="conversation_keyboard_toggle">@drawable/ic_ime_light</item>
|
||||
|
@@ -15,10 +15,6 @@
|
||||
android:title="@string/preferences__make_default_sms_app"
|
||||
android:summary="@string/preferences__make_textsecure_the_default_sms_mms_app" />
|
||||
|
||||
<org.thoughtcrime.securesms.components.OutgoingSmsPreference
|
||||
android:key="pref_outgoing_sms"
|
||||
android:title="@string/preferences__sms_fallback" />
|
||||
|
||||
<CheckBoxPreference android:defaultValue="false"
|
||||
android:key="pref_delivery_report_sms"
|
||||
android:summary="@string/preferences__request_a_delivery_report_for_each_sms_message_you_send"
|
||||
|
Reference in New Issue
Block a user