Commit 1c8d1daa authored by Bastien Le Querrec's avatar Bastien Le Querrec

change package name to org.SecuredText.SecuredText

parent fe08cf48
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="org.BastienLQ.SecuredText"
package="org.SecuredText.SecuredText"
android:versionCode="2"
android:versionName="0.2.0">
<permission android:name="org.BastienLQ.SecuredText.ACCESS_SECRETS"
<permission android:name="org.SecuredText.SecuredText.ACCESS_SECRETS"
android:label="Access to SecuredText Secrets"
android:protectionLevel="signature" />
<uses-permission android:name="org.BastienLQ.SecuredText.ACCESS_SECRETS"/>
<uses-permission android:name="org.SecuredText.SecuredText.ACCESS_SECRETS"/>
<uses-permission android:name="android.permission.READ_PROFILE"/>
<uses-permission android:name="android.permission.WRITE_PROFILE"/>
<uses-permission android:name="android.permission.READ_CONTACTS"/>
......@@ -254,7 +254,7 @@
<receiver android:name=".service.SmsDeliveryListener"
android:exported="true">
<intent-filter>
<action android:name="org.BastienLQ.SecuredText.services.MESSAGE_SENT"/>
<action android:name="org.SecuredText.SecuredText.services.MESSAGE_SENT"/>
</intent-filter>
</receiver>
......@@ -276,7 +276,7 @@
android:enabled="true"
android:exported="true">
<intent-filter>
<action android:name="org.BastienLQ.SecuredText.notifications.CLEAR"/>
<action android:name="org.SecuredText.SecuredText.notifications.CLEAR"/>
</intent-filter>
</receiver>
......@@ -287,7 +287,7 @@
<receiver android:name=".service.RegistrationNotifier"
android:exported="false">
<intent-filter>
<action android:name="org.BastienLQ.SecuredText.REGISTRATION_EVENT" />
<action android:name="org.SecuredText.SecuredText.REGISTRATION_EVENT" />
</intent-filter>
</receiver>
......@@ -300,13 +300,13 @@
<receiver android:name=".notifications.MessageNotifier$ReminderReceiver">
<intent-filter>
<action android:name="org.BastienLQ.SecuredText.MessageNotifier.REMINDER_ACTION"/>
<action android:name="org.SecuredText.SecuredText.MessageNotifier.REMINDER_ACTION"/>
</intent-filter>
</receiver>
<receiver android:name=".notifications.MessageNotifier$DeleteReceiver">
<intent-filter>
<action android:name="org.BastienLQ.SecuredText.MessageNotifier.DELETE_REMINDER_ACTION"/>
<action android:name="org.SecuredText.SecuredText.MessageNotifier.DELETE_REMINDER_ACTION"/>
</intent-filter>
</receiver>
</application>
......
......@@ -14,7 +14,7 @@ The following steps should help you (re)build SecuredText from the command line.
1. Checkout the source somewhere on your filesystem with
git clone https://github.com/BastienLQ/SecuredText.git
git clone https://github.com/SecuredText/SecuredText.git
2. Make sure you have the [Android SDK](https://developer.android.com/sdk/index.html) installed somewhere on your system.
3. Ensure that the following packages are installed from the Android SDK manager:
......@@ -51,7 +51,7 @@ Setting up a development environment
2. Make sure the "Android Support Repository" is installed in the Android Studio SDK.
3. Make sure the latest "Android SDK build-tools" is installed in the Android Studio SDK.
4. Create a new Android Studio project. from the Quickstart pannel (use File > Close Project to see it), choose "Checkout from Version Control" then "git".
5. Paste the URL for the SecuredText project when prompted (https://github.com/BastienLQ/SecuredText.git).
5. Paste the URL for the SecuredText project when prompted (https://github.com/SecuredText/SecuredText.git).
6. Android studio should detect the presence of a project file and ask you whether to open it. Click "yes".
7. Default config options should be good enough.
8. Project initialisation and build should proceed.
......
# SecuredText [![Build Status](https://travis-ci.org/BastienLQ/SecuredText.svg?branch=master)](https://travis-ci.org/BastienLQ/SecuredText)
# SecuredText [![Build Status](https://travis-ci.org/SecuredText/SecuredText.svg?branch=master)](https://travis-ci.org/SecuredText/SecuredText)
SecuredText is a messaging app for simple private communication with friends to communicate securely.
## Contributing Bug reports
We use GitHub for bug tracking. Please search the existing issues for your bug and create a new one if the issue is not yet tracked!
https://github.com/BastienLQ/SecuredText/issues
https://github.com/SecuredText/SecuredText/issues
## Contributing Code
Instructions on how to setup your development environment and build SecuredText can be found in [BUILDING.md](https://github.com/BastienLQ/SecuredText/blob/master/BUILDING.md).
Instructions on how to setup your development environment and build SecuredText can be found in [BUILDING.md](https://github.com/SecuredText/SecuredText/blob/master/BUILDING.md).
If you're new to the SecuredText codebase, we recommend going through our issues and picking out a simple bug to fix (check the "easy" label in our issues) in order to get yourself familiar.
......
package org.BastienLQ.SecuredText;
package org.SecuredText.SecuredText;
import static android.support.test.espresso.Espresso.*;
import static android.support.test.espresso.action.ViewActions.*;
......
package org.BastienLQ.SecuredText;
package org.SecuredText.SecuredText;
import android.app.Activity;
import android.app.Instrumentation.ActivityMonitor;
......@@ -6,7 +6,7 @@ import android.preference.PreferenceManager;
import android.test.ActivityInstrumentationTestCase2;
import android.util.Log;
import org.BastienLQ.SecuredText.crypto.MasterSecretUtil;
import org.SecuredText.SecuredText.crypto.MasterSecretUtil;
public class RoutedInstrumentationTestCase extends ActivityInstrumentationTestCase2<RoutingActivity> {
private static final String TAG = RoutedInstrumentationTestCase.class.getSimpleName();
......
package org.BastienLQ.SecuredText;
package org.SecuredText.SecuredText;
import android.content.Context;
import android.test.InstrumentationTestCase;
......
package org.BastienLQ.SecuredText.database;
package org.SecuredText.SecuredText.database;
import org.BastienLQ.SecuredText.SecuredTextTestCase;
import org.SecuredText.SecuredText.SecuredTextTestCase;
import static org.assertj.core.api.Assertions.assertThat;
......
package org.BastienLQ.SecuredText.database;
package org.SecuredText.SecuredText.database;
import android.net.Uri;
import org.BastienLQ.SecuredText.SecuredTextTestCase;
import org.BastienLQ.SecuredText.crypto.MasterSecret;
import org.SecuredText.SecuredText.SecuredTextTestCase;
import org.SecuredText.SecuredText.crypto.MasterSecret;
import java.io.FileNotFoundException;
import java.io.InputStream;
......
package org.BastienLQ.SecuredText.jobs;
package org.SecuredText.SecuredText.jobs;
import android.test.AndroidTestCase;
import org.BastienLQ.SecuredText.SecuredTextTestCase;
import org.BastienLQ.SecuredText.crypto.MasterSecret;
import org.BastienLQ.SecuredText.dependencies.AxolotlStorageModule;
import org.SecuredText.SecuredText.SecuredTextTestCase;
import org.SecuredText.SecuredText.crypto.MasterSecret;
import org.SecuredText.SecuredText.dependencies.AxolotlStorageModule;
import org.whispersystems.libaxolotl.ecc.Curve;
import org.whispersystems.libaxolotl.state.SignedPreKeyRecord;
import org.whispersystems.libaxolotl.state.SignedPreKeyStore;
......
package org.BastienLQ.SecuredText.jobs;
package org.SecuredText.SecuredText.jobs;
import org.mockito.ArgumentCaptor;
import org.mockito.Mockito;
import org.BastienLQ.SecuredText.SecuredTextTestCase;
import org.BastienLQ.SecuredText.crypto.MasterSecret;
import org.SecuredText.SecuredText.SecuredTextTestCase;
import org.SecuredText.SecuredText.crypto.MasterSecret;
import org.whispersystems.textsecure.api.TextSecureMessageSender;
import org.whispersystems.textsecure.api.push.TextSecureAddress;
import org.whispersystems.textsecure.api.push.exceptions.NotFoundException;
......@@ -19,7 +19,7 @@ import static org.mockito.Matchers.any;
import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.verify;
import static org.BastienLQ.SecuredText.dependencies.SecuredTextCommunicationModule.TextSecureMessageSenderFactory;
import static org.SecuredText.SecuredText.dependencies.SecuredTextCommunicationModule.TextSecureMessageSenderFactory;
public class DeliveryReceiptJobTest extends SecuredTextTestCase {
......
package org.BastienLQ.SecuredText.util;
package org.SecuredText.SecuredText.util;
import android.test.AndroidTestCase;
import junit.framework.AssertionFailedError;
import org.BastienLQ.SecuredText.SecuredTextTestCase;
import org.SecuredText.SecuredText.SecuredTextTestCase;
import org.whispersystems.textsecure.api.util.InvalidNumberException;
import org.whispersystems.textsecure.api.util.PhoneNumberFormatter;
......
package org.BastienLQ.SecuredText.service;
package org.SecuredText.SecuredText.service;
import android.content.Intent;
import android.test.InstrumentationTestCase;
......
......@@ -16,7 +16,7 @@
<fragment
android:id="@+id/fragment_content"
android:name="org.BastienLQ.SecuredText.ConversationFragment"
android:name="org.SecuredText.SecuredText.ConversationFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_above="@+id/bottom_container" />
......@@ -69,7 +69,7 @@
android:orientation="horizontal"
android:background="?conversation_editor_background">
<org.BastienLQ.SecuredText.components.EmojiToggle
<org.SecuredText.SecuredText.components.EmojiToggle
android:id="@+id/emoji_toggle"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
......@@ -96,7 +96,7 @@
android:contentDescription="@string/conversation_activity__compose_description"
android:textColor="?conversation_editor_text_color" />
<org.BastienLQ.SecuredText.components.SendButton
<org.SecuredText.SecuredText.components.SendButton
android:id="@+id/send_button"
android:layout_width="wrap_content"
android:layout_height="fill_parent"
......@@ -122,7 +122,7 @@
</LinearLayout>
</RelativeLayout>
<org.BastienLQ.SecuredText.components.EmojiDrawer
<org.SecuredText.SecuredText.components.EmojiDrawer
android:id="@+id/emoji_drawer"
android:visibility="gone"
android:layout_weight="1.1"
......
<?xml version="1.0" encoding="utf-8"?>
<org.BastienLQ.SecuredText.ConversationItem
<org.SecuredText.SecuredText.ConversationItem
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/conversation_item"
android:layout_width="fill_parent"
......@@ -30,4 +30,4 @@
android:layout_marginBottom="8dp"
android:visibility="gone"/>
</org.BastienLQ.SecuredText.ConversationItem>
</org.SecuredText.SecuredText.ConversationItem>
<?xml version="1.0" encoding="utf-8"?>
<org.BastienLQ.SecuredText.ConversationItem android:id="@+id/conversation_item"
<org.SecuredText.SecuredText.ConversationItem android:id="@+id/conversation_item"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingRight="10dip"
......@@ -168,4 +168,4 @@
</LinearLayout>
</RelativeLayout>
</org.BastienLQ.SecuredText.ConversationItem>
</org.SecuredText.SecuredText.ConversationItem>
<?xml version="1.0" encoding="utf-8"?>
<org.BastienLQ.SecuredText.ConversationItem
<org.SecuredText.SecuredText.ConversationItem
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/conversation_item"
......@@ -199,4 +199,4 @@
android:visibility="gone" />
</RelativeLayout>
</org.BastienLQ.SecuredText.ConversationItem>
</org.SecuredText.SecuredText.ConversationItem>
......@@ -8,7 +8,7 @@
<fragment
android:id="@+id/fragment_content"
android:name="org.BastienLQ.SecuredText.ConversationListFragment"
android:name="org.SecuredText.SecuredText.ConversationListFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:layout="@layout/conversation_list_fragment" />
......
<?xml version="1.0" encoding="utf-8"?>
<org.BastienLQ.SecuredText.ConversationListItem
<org.SecuredText.SecuredText.ConversationListItem
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
......@@ -98,4 +98,4 @@
android:ellipsize="end" />
</LinearLayout>
</org.BastienLQ.SecuredText.ConversationListItem>
</org.SecuredText.SecuredText.ConversationListItem>
......@@ -4,7 +4,7 @@
android:layout_height="fill_parent">
<fragment android:id="@+id/fragment_content"
android:name="org.BastienLQ.SecuredText.CountrySelectionFragment"
android:name="org.SecuredText.SecuredText.CountrySelectionFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</FrameLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<org.BastienLQ.SecuredText.components.KeyboardAwareLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
<org.SecuredText.SecuredText.components.KeyboardAwareLinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/container"
android:orientation="vertical"
android:layout_width="match_parent"
......@@ -32,4 +32,4 @@
android:layout_height="match_parent"
android:background="#ff333333" />
</org.BastienLQ.SecuredText.components.KeyboardAwareLinearLayout>
\ No newline at end of file
</org.SecuredText.SecuredText.components.KeyboardAwareLinearLayout>
\ No newline at end of file
......@@ -21,7 +21,7 @@
android:orientation="horizontal"
android:gravity="center_vertical">
<org.BastienLQ.SecuredText.components.ImageDivet android:id="@+id/avatar"
<org.SecuredText.SecuredText.components.ImageDivet android:id="@+id/avatar"
android:layout_width="70dp"
android:layout_height="70dp"
position="bottom_right"
......@@ -88,7 +88,7 @@
</RelativeLayout>
</RelativeLayout>
<org.BastienLQ.SecuredText.components.PushRecipientsPanel android:id="@+id/recipients"
<org.SecuredText.SecuredText.components.PushRecipientsPanel android:id="@+id/recipients"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingLeft="15dp"
......
<?xml version="1.0" encoding="utf-8"?>
<org.BastienLQ.SecuredText.components.SquareLinearLayout
<org.SecuredText.SecuredText.components.SquareLinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
......@@ -12,4 +12,4 @@
android:scaleType="centerCrop"
android:contentDescription="@string/media_preview_activity__image_content_description" />
</org.BastienLQ.SecuredText.components.SquareLinearLayout>
</org.SecuredText.SecuredText.components.SquareLinearLayout>
<?xml version="1.0" encoding="utf-8"?>
<org.BastienLQ.SecuredText.MessageRecipientListItem
<org.SecuredText.SecuredText.MessageRecipientListItem
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
......@@ -88,4 +88,4 @@
</LinearLayout>
</org.BastienLQ.SecuredText.MessageRecipientListItem>
</org.SecuredText.SecuredText.MessageRecipientListItem>
......@@ -10,7 +10,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/contact_selection_list_fragment"
android:name="org.BastienLQ.SecuredText.PushContactSelectionListFragment">
android:name="org.SecuredText.SecuredText.PushContactSelectionListFragment">
</fragment>
</LinearLayout>
\ No newline at end of file
......@@ -10,7 +10,7 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/contact_selection_list_fragment"
android:name="org.BastienLQ.SecuredText.PushContactSelectionListFragment">
android:name="org.SecuredText.SecuredText.PushContactSelectionListFragment">
</fragment>
</LinearLayout>
\ No newline at end of file
......@@ -6,7 +6,7 @@
android:layout_height="wrap_content"
android:orientation="vertical" >
<org.BastienLQ.SecuredText.contacts.RecipientsEditor android:id="@+id/recipients_text"
<org.SecuredText.SecuredText.contacts.RecipientsEditor android:id="@+id/recipients_text"
android:layout_height="wrap_content"
android:capitalize="sentences"
android:autoText="true"
......
......@@ -6,7 +6,7 @@
android:layout_height="match_parent">
<fragment android:id="@+id/fragment_content"
android:name="org.BastienLQ.SecuredText.ShareFragment"
android:name="org.SecuredText.SecuredText.ShareFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
......
<?xml version="1.0" encoding="utf-8"?>
<org.BastienLQ.SecuredText.ShareListItem
<org.SecuredText.SecuredText.ShareListItem
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
......@@ -43,4 +43,4 @@
android:ellipsize="marquee" />
</LinearLayout>
</org.BastienLQ.SecuredText.ShareListItem>
</org.SecuredText.SecuredText.ShareListItem>
......@@ -6,7 +6,7 @@
android:layout_height="wrap_content"
android:orientation="vertical" >
<org.BastienLQ.SecuredText.contacts.RecipientsEditor android:id="@+id/recipients_text"
<org.SecuredText.SecuredText.contacts.RecipientsEditor android:id="@+id/recipients_text"
android:layout_height="wrap_content"
android:capitalize="sentences"
android:autoText="true"
......
......@@ -3,7 +3,7 @@
<!--
These strings are the source of the SecuredText Google Play Store description.
https://play.google.com/store/apps/details?id=org.BastienLQ.SecuredText&hl=en
https://play.google.com/store/apps/details?id=org.SecuredText.SecuredText&hl=en
The sparse numbering of the string variables allows inserting additional lines
later without the need to renumber existing strings.
......
......@@ -3,31 +3,31 @@
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<org.BastienLQ.SecuredText.components.CustomDefaultPreference
<org.SecuredText.SecuredText.components.CustomDefaultPreference
app:custom_pref_toggle="pref_apn_mmsc_custom_host"
android:key="pref_apn_mmsc_host"
android:title="@string/preferences__mmsc_url"
android:inputType="textUri" />
<org.BastienLQ.SecuredText.components.CustomDefaultPreference
<org.SecuredText.SecuredText.components.CustomDefaultPreference
app:custom_pref_toggle="pref_apn_mms_custom_proxy"
android:key="pref_apn_mms_proxy"
android:title="@string/preferences__mms_proxy_host"
android:inputType="textUri" />
<org.BastienLQ.SecuredText.components.CustomDefaultPreference
<org.SecuredText.SecuredText.components.CustomDefaultPreference
app:custom_pref_toggle="pref_apn_mms_custom_proxy_port"
android:key="pref_apn_mms_proxy_port"
android:title="@string/preferences__mms_proxy_port"
android:inputType="number"/>
<org.BastienLQ.SecuredText.components.CustomDefaultPreference
<org.SecuredText.SecuredText.components.CustomDefaultPreference
app:custom_pref_toggle="pref_apn_mmsc_custom_username"