added changelog, make OTR not hang, corrected Database Backend
This commit is contained in:
parent
3848bd0aec
commit
66bbb2f8b0
6 changed files with 29 additions and 16 deletions
10
fastlane/metadata/android/de/changelogs/111.txt
Normal file
10
fastlane/metadata/android/de/changelogs/111.txt
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
* Angefangen OTR Verschlüsselung zu integrieren
|
||||||
|
* aktualisierter Webrtc-Link
|
||||||
|
* Verbesserung der Übersetzungen
|
||||||
|
* Möglichkeit versteckten Speicher für Anhänge zu benutzen
|
||||||
|
* Verbesserung der Korrekturfunktion
|
||||||
|
* Verbesserung der Löschfunktion
|
||||||
|
* Verbesserung der A/V-Telefonie
|
||||||
|
* Neue Möglichkeit von Textformatierung
|
||||||
|
* Änderung der Registrierungsseite
|
||||||
|
* und vieles mehr
|
9
fastlane/metadata/android/en-US/changelogs/111.txt
Normal file
9
fastlane/metadata/android/en-US/changelogs/111.txt
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
* starting to integrate OTR encryption
|
||||||
|
* updated Webrtc
|
||||||
|
* improved translations
|
||||||
|
* option to use hidden storage for files
|
||||||
|
* improvement of text correction and deletion
|
||||||
|
* improvement of A/V calls and connection
|
||||||
|
* new text formatting function
|
||||||
|
* changed registration process
|
||||||
|
* and many more..
|
|
@ -309,4 +309,4 @@ public class OtrService extends OtrCryptoEngineImpl implements OtrEngineHost {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
|
@ -483,13 +483,13 @@ public class DatabaseBackend extends SQLiteOpenHelper {
|
||||||
}
|
}
|
||||||
if (oldVersion < 36 && newVersion >= 36) {
|
if (oldVersion < 36 && newVersion >= 36) {
|
||||||
// only rename videos, images, audios and other files directories
|
// only rename videos, images, audios and other files directories
|
||||||
final File oldPicturesDirectory = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + "/Monocles Messenger/Images/");
|
final File oldPicturesDirectory = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + "/Pix-Art Messenger/Images/");
|
||||||
final File oldFilesDirectory = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + "/Monocles Messenger/Files/");
|
final File oldFilesDirectory = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + "/Pix-Art Messenger/Files/");
|
||||||
final File oldAudiosDirectory = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + "/Monocles Messenger/Audios/");
|
final File oldAudiosDirectory = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + "/Pix-Art Messenger/Audios/");
|
||||||
final File oldVideosDirectory = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + "/Monocles Messenger/Videos/");
|
final File oldVideosDirectory = new File(Environment.getExternalStorageDirectory().getAbsolutePath() + "/Pix-Art Messenger/Videos/");
|
||||||
|
|
||||||
if (oldPicturesDirectory.exists() && oldPicturesDirectory.isDirectory()) {
|
if (oldPicturesDirectory.exists() && oldPicturesDirectory.isDirectory()) {
|
||||||
final File newPicturesDirectory = new File(Environment.getExternalStorageDirectory() + "/Monocles Messenger/Media/Monocles Messenger Images/");
|
final File newPicturesDirectory = new File(Environment.getExternalStorageDirectory() + "/Pix-Art Messenger/Media/Pix-Art Messenger Images/");
|
||||||
newPicturesDirectory.getParentFile().mkdirs();
|
newPicturesDirectory.getParentFile().mkdirs();
|
||||||
final File[] files = oldPicturesDirectory.listFiles();
|
final File[] files = oldPicturesDirectory.listFiles();
|
||||||
if (files == null) {
|
if (files == null) {
|
||||||
|
@ -500,7 +500,7 @@ public class DatabaseBackend extends SQLiteOpenHelper {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (oldFilesDirectory.exists() && oldFilesDirectory.isDirectory()) {
|
if (oldFilesDirectory.exists() && oldFilesDirectory.isDirectory()) {
|
||||||
final File newFilesDirectory = new File(Environment.getExternalStorageDirectory() + "/Monocles Messenger/Media/Monocles Messenger Files/");
|
final File newFilesDirectory = new File(Environment.getExternalStorageDirectory() + "/Pix-Art Messenger/Media/Pix-Art Messenger Files/");
|
||||||
newFilesDirectory.mkdirs();
|
newFilesDirectory.mkdirs();
|
||||||
final File[] files = oldFilesDirectory.listFiles();
|
final File[] files = oldFilesDirectory.listFiles();
|
||||||
if (files == null) {
|
if (files == null) {
|
||||||
|
@ -511,7 +511,7 @@ public class DatabaseBackend extends SQLiteOpenHelper {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (oldAudiosDirectory.exists() && oldAudiosDirectory.isDirectory()) {
|
if (oldAudiosDirectory.exists() && oldAudiosDirectory.isDirectory()) {
|
||||||
final File newAudiosDirectory = new File(Environment.getExternalStorageDirectory() + "/Monocles Messenger/Media/Monocles Messenger Audios/");
|
final File newAudiosDirectory = new File(Environment.getExternalStorageDirectory() + "/Pix-Art Messenger/Media/Pix-Art Messenger Audios/");
|
||||||
newAudiosDirectory.mkdirs();
|
newAudiosDirectory.mkdirs();
|
||||||
final File[] files = oldAudiosDirectory.listFiles();
|
final File[] files = oldAudiosDirectory.listFiles();
|
||||||
if (files == null) {
|
if (files == null) {
|
||||||
|
@ -522,7 +522,7 @@ public class DatabaseBackend extends SQLiteOpenHelper {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (oldVideosDirectory.exists() && oldVideosDirectory.isDirectory()) {
|
if (oldVideosDirectory.exists() && oldVideosDirectory.isDirectory()) {
|
||||||
final File newVideosDirectory = new File(Environment.getExternalStorageDirectory() + "/Monocles Messenger/Media/Monocles Messenger Videos/");
|
final File newVideosDirectory = new File(Environment.getExternalStorageDirectory() + "/Pix-Art Messenger/Media/Pix-Art Messenger Videos/");
|
||||||
newVideosDirectory.mkdirs();
|
newVideosDirectory.mkdirs();
|
||||||
final File[] files = oldVideosDirectory.listFiles();
|
final File[] files = oldVideosDirectory.listFiles();
|
||||||
if (files == null) {
|
if (files == null) {
|
||||||
|
|
|
@ -2897,9 +2897,6 @@ public class ConversationFragment extends XmppFragment implements EditMessage.Ke
|
||||||
} else if (mode == Conversation.MODE_SINGLE
|
} else if (mode == Conversation.MODE_SINGLE
|
||||||
&& conversation.smpRequested()) {
|
&& conversation.smpRequested()) {
|
||||||
showSnackbar(R.string.smp_requested, R.string.verify, this.mAnswerSmpClickListener);
|
showSnackbar(R.string.smp_requested, R.string.verify, this.mAnswerSmpClickListener);
|
||||||
// } else if (mode == Conversation.MODE_SINGLE
|
|
||||||
// && conversation.getNextEncryption() == Message.ENCRYPTION_OTR) {
|
|
||||||
// showSnackbar(R.string.otr_warning, R.string.readmore, OTRwarning);
|
|
||||||
} else if (mode == Conversation.MODE_SINGLE
|
} else if (mode == Conversation.MODE_SINGLE
|
||||||
&& conversation.hasValidOtrSession()
|
&& conversation.hasValidOtrSession()
|
||||||
&& (conversation.getOtrSession().getSessionStatus() == SessionStatus.ENCRYPTED)
|
&& (conversation.getOtrSession().getSessionStatus() == SessionStatus.ENCRYPTED)
|
||||||
|
|
|
@ -437,10 +437,7 @@ public abstract class XmppActivity extends ActionBarActivity {
|
||||||
}
|
}
|
||||||
conversation.setNextCounterpart(jid);
|
conversation.setNextCounterpart(jid);
|
||||||
listener.onPresenceSelected();
|
listener.onPresenceSelected();
|
||||||
} else if (!contact.showInRoster()) {
|
} else if (contact.showInRoster() || contact.isSelf()) {
|
||||||
showAddToRosterDialog(conversation);
|
|
||||||
}
|
|
||||||
if (contact.showInRoster() || contact.isSelf()) {
|
|
||||||
final Presences presences = contact.getPresences();
|
final Presences presences = contact.getPresences();
|
||||||
if (presences.size() == 0) {
|
if (presences.size() == 0) {
|
||||||
if (contact.isSelf()) {
|
if (contact.isSelf()) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue